Tuesday, April 24, 2012

HowTo - Building Android ICS from Source

1. Download the Source via git

$ git://github.com/CyanogenMod/android.git -b gingerbread

I personally recommend CyanogenMod version, because it was the only version that worked for me.

2. Obtaining hardware-related proprietary binaries (important)

3. Build *

$ bash
$ source build/envsetup.sh
$ lunch
$ make -j4

4. Flash the device

$ adb reboot bootloader
$ fastboot flashall -w

---

* Possible error:

make: *** No rule to make target `vendor/cyanogen/proprietary/RomManager.apk', needed by `out/target/product/galaxys/system/app/RomManager.apk'. Stop.

Solution:

Step 1. Don't panic.

Step 2. Type in

$ cd vendor/cyanogen 
$ ./get-rommanager 

Step 3. Problem Solved.


No comments:

Post a Comment