Remove All Ads from XDA
Thread Deleted Email Thread
Prev Previous Post   Next Post Next
It has been asked a few times in the CM7 thread how to compile Cyanogenmod7 for our folio. Here is an more or less easy way. The only prerequisite is a working ubuntu system (tried on 11.04-x64).


Step 1
Make sure you have the "Canonical Partner" repository enabled (somwhere in system>manage system>synaptic >> settings>repositories>other software)

Step 2
Download the attached zip file. Extract the files to ~/Cyanogenmod

Step 3
Open a terminal and type "cd Cyanogenmod". Then type "chmod +x *". Don't close the terminal yet.

Step 4
Run the first setup script as root by typing "sudo ./". In this step all the packages required to compile CM are installed. You will have to accept the licence of the java package in the process.

Step 5
Run the second setup script as a regular user by typing "./". Here the Cyanogenmod repositories are set up. You will need to enter a name and an email address. This is only used to identify your patches if you want to submit something. Additionally some required files will be downloaded from my dropbox.

Step 6
Run the third setup script as root by typing "sudo ./". Here some files from an image file are extracted. The root is needed to mount the loop device. After this step you should be ready to make you first bacon...


Pretty easy now.

1) Run "./" and chose the first option -> Updates from the repository are pulled and the proprietary files from my older build (has been downloaded in setup step 5) are copied to where they belong.
2) Run "./" and chose 2 -> The build process starts. This will take about 30 min on a quadcore (number of usable cores is autodetected).
3) Run "./" and chose 3 -> Everything will be packed into a flashable zip file in ~/Cyanogenmod/.

The zip will contain a stable version of my ClockworkMod(Mod) and the Google apps.

If you want to make a new build run "./" and chose 4 to clean up. Then start at 1) again.

Enjoy your bacon hot and crispy.


€: Replaced attachement due to a small error I just encountered. Gapps were not correctly included...
Attached Files
File Type: zip - [Click for QR Code] (3.7 KB, 529 views)
The Following 6 Users Say Thank You to mblaster For This Useful Post: [ View ] Gift mblaster Ad-Free
Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes