If you have built using my script before PLEASE download and run this script! http://fzservers.com/clean.sh
How to build your own CyanogenMod 7:
Install the Build Packages
Install using the package manager of your choice:
For 32-bit & 64-bit systems:
For 64-bit only systems:
NOTE: gcc-4.3-multilib g++-4.3-multilib is no longer available for Ubuntu 11.04 64-bit, but should still build without issue.
NOTE: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:
Create the Directories
You will need to set up some directories in your build environment.
To create them:
Install the Repository
Now enter the following to initialize the repository:
Copy proprietary files
Download RomManager
NOTE: This only needs to be done when an update to RomManager is released. If you are-up-to date, you may skip to Building CyanogenMod.
Download RomManager which is needed by the build:
Check for updates
First, check for updates in the source:
Configure Build & Compile
Now, the environment must be configured to build and the ROM compiled, from code, for the Thunderbolt.
Now for the lazy people who don't want to type all that crap:
Download and run the clean script: http://fzservers.com/clean.sh
Then download and run the new script: http://fzservers.com/newmecha.sh
You can do whatever you like while it runs. If you have never created a CyanogenMod repo on your local system then go out to dinner, grab some coffee, call your mother or do something time consuming because this will be a LONG wait depending on your Internet connection. The build will run as soon as the script sets everything up and again it is LOOOONG depending on the performance of your system.
Everything will be located in
Once it's done you can locate the flashable .zip in the "out" directory of your CyanogenMod repo. Happy crackflashing to all!
How to build your own CyanogenMod 7:
Install the Build Packages
Install using the package manager of your choice:
For 32-bit & 64-bit systems:
Code:
git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
Code:
g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
NOTE: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:
Code:
add-apt-repository "deb [URL=http://archive.canonical.com/]http://archive.canonical.com/[/URL] maverick partner"
You will need to set up some directories in your build environment.
To create them:
Code:
mkdir -p ~/bin<br />
mkdir -p ~/android/system
Code:
curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo<br />
chmod a+x ~/bin/repo<br />
PATH=~/bin:$PATH
Code:
cd ~/android/system/<br />
repo init -u [URL=git://github.com/ProTekk/android.git]git://github.com/ProTekk/android.git[/URL] -b gingerbread<br />
repo sync -j16
Code:
git clone [URL=git://github.com/koush/proprietary_vendor_htc.git]git://github.com/koush/proprietary_vendor_htc.git[/URL] ~/android/system/vendor/htc
NOTE: This only needs to be done when an update to RomManager is released. If you are-up-to date, you may skip to Building CyanogenMod.
Download RomManager which is needed by the build:
Code:
cd ~/android/system/device/htc/mecha<br />
~/android/system/vendor/cyanogen/get-rommanager
First, check for updates in the source:
Code:
cd ~/android/system/<br />
repo sync
Now, the environment must be configured to build and the ROM compiled, from code, for the Thunderbolt.
Code:
. build/envsetup.sh && brunch mecha
Download and run the clean script: http://fzservers.com/clean.sh
Then download and run the new script: http://fzservers.com/newmecha.sh
You can do whatever you like while it runs. If you have never created a CyanogenMod repo on your local system then go out to dinner, grab some coffee, call your mother or do something time consuming because this will be a LONG wait depending on your Internet connection. The build will run as soon as the script sets everything up and again it is LOOOONG depending on the performance of your system.
Everything will be located in
Code:
~/android/system