Make sure you have set up your build environment first.
Ok, first you need to install repo, google's git script.
mkdir ~/bin PATH=~/bin:$PATH curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo
Now you need to initiate git and download the CM9 source. use
repo syncto download source and update.
mkdir - p ~/cm9/vendor/zte/ cd ~/cm9 repo init -u git://github.com/cyanogenmod/android.git -b ics repo sync -j4
Next step is to download our device config.....
mkdir ~/cm9/device/zte cd ~/cm9/device/zte git clone git://github.com/ColdFusionX/android_device_zte_skate.git skate
......and ZTE proprietary files
cd ~/cm9/vendor/zte/ git clone git://github.com/koush/proprietary_vendor_zte.git -b ics
Downloading Kernel Source (skip this step first time, if you get stuck on the kernel error because it didn't download automatially then follow this and skip to the last step)
cd ~/cm9 mkdir -p kernel/zte cd kernel/zte git clone git://github.com/CyanogenMod/zte-kernel-msm7x27.git -b ics zte-kernel-msm7x27
Update prebuilts (ROM Manager, Terminal Emulator)
cd ~/cm9/vendor/cm ./get-prebuilts
Now to compile...this will download the kernel source first time round, As far as I know CCACHE is optional...
cd ~/cm9 export USE_CCACHE=1 CM_SNAPSHOT=1 . build/envsetup.sh lunch cm_skate-eng make bacon -j4
Good Luck!
This will show you how to build ColdFusionX 2, I have'nt gone to in depth, so if it's a bit complicated mix and match instructions from the CM9 tutorial above
mkdir cm10 && cd cm10 repo init git://github.com/CyanogenMod/android.git -b jellybean
Download
local_manifest.xml 837bytes
58 downloads and move to .repo/repo sync
Apply patches from here and here
To apply Konsta's patches cd to bionic and frameworks/av respectively and apply like this:
git am *.patch
To apply C3C0's patch:
gedit kernel/zte/zte-kernel-msm7x27/drivers/net/wireless/bcm4319
Add this line:
-Wno-array-bounds
underneath:
-Idrivers/net/wireless/bcm4319 -Idrivers/net/wireless/bcm4319/include \
Get prebults:
vendor/cm/get-prebuilts
Setup build, lunch and compile:
export USE_CCACHE=1 CM_EXPERIMENTAL=1 CM_EXTRAVERSION=[yourname] . build/envsetup.sh lunch cm_skate-userdebug make bacon -j4
CM10.1 (rough guide)
Initialise the env.
repo init -u https://github.com/androidarmv6/android.git -b cm-10.1
Download the cm10 manifest above and replace all projects with these.
<project name="androidarmv6/android_device_zte_skate" path="device/zte/skate" /> <project name="androidarmv6/android_device_zte_msm7x27-common" path="device/zte/msm7x27-common" /> <project name="androidarmv6/android_kernel_zte_msm7x27" path="kernel/zte/msm7x27" />
Sync with the sources
repo sync -j32
Build.
. build/envsetup.sh brunch skate
Please post any errors you get while building. We will be able to help you.
Edited by razzmataz1478, 27 February 2013 - 08:59 PM.







Sign In
Create Account



Back to top










