Quote:
Originally Posted by locerra
Instructions to build (all blocks of code start from the root of the cm directory). - setup build system (plenty of guides on how to do this)
- clone the ics branch of the cyanogenmod repository (plenty of guides for this as well)
- clone device trees:
Code:
$ cd device/samsung
$ git clone git@github.com:ohanar/android_device_samsung_c210-common.git c210-common
$ git clone git@github.com:ohanar/android_device_samsung_p6800.git p6800 # if building for the p6800
$ git clone git@github.com:ohanar/android_device_samsung_p6810.git p6810 # if building for the p6810
- patch cm:
Code:
$ cd frameworks/base
$ git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_frameworks_base refs/changes/44/14544/1 && git checkout FETCH_HEAD
$ cd ../../hardware/samsung
$ git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_hardware_samsung refs/changes/27/14427/1 && git checkout FETCH_HEAD
- extract proprietary files:
Code:
$ . build/envsetup.sh
$ cd device/samsung/p6800 # if building for the p6800
$ cd device/samsung/p6810 # if building for the p6810
$ ./extract-files.sh
- build (will take a long time):
Code:
$ . build/envsetup.sh
$ brunch p6800 # if building for the p6800
$ brunch p6810 # if building for the p6810
|
Many thanks for this locerra. About to give it a try. Sorry if this is RTFG (reading google) but I'm at the point of extracting proprietary files. I just have adb working on my VirtualBox. The possibly stupid question being: must I have your CM9 ROM installed to get them right? I read this is the case of other CM9 custom ROM build. The question being
-can I use the one of the stock HC 3.2?
-If not just by curiosity what did the people creating the first build actually used?
I'd like to get wifi going or help test here, I read you are busy testing some suggestion. If you want me to test thing or any other people once I successfully generate the ROM, please let me know
Thanks again.
---------- Post added at 10:29 AM ---------- Previous post was at 10:21 AM ----------
Quote:
Originally Posted by poisike
Building from source is a pain with VirtualBox (believe me i know). Building ICS for GT8.9 takes more then 4 hours for me. I have a dual core AMD with 4GB memory. Thats why i don't really want to build for GT7.7, it takes so long to change something, build and then test.
About building for GT7.7. First you need to somehow get the proprietary files. I can't get adb to work with VirtualBox,
|
Yes seems to be long, for me it took about more than 1h30 but less than 2 hours on Kindlefire testing build.
I got adb working on VirtualBox 4.1.12 on WIN7 64 bit host with Oracle_VM_VirtualBox_Extension_Pack-4.1.12-77245 installed. I attach the Android[400] USB device right at the setting of the VM and enabled USB2
|