Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
How to Build Cyanogenmod 10.2 for Samsung Galaxy S PlusInstall repo utilityCreate the directory $HOME/bin if it does not exist yet:mkdir $HOME/bin
Fetch the repo utility code:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo
Make the repo utility script executable by running:
chmod a+rx $HOME/bin/repo
Add the $HOME/bin directory to your PATH (if not already present):
export PATH=${PATH}:$HOME/bin
Check out Cyanogenmod 10.2 Source CodeCreate a directory to hold the CM 10.2 source code:mkdir /work/CM10.2 cd /work/CM10.2Now check out the source code using: repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2 repo sync Get prebuilt appsNavigate to the vendor/cm directory and runget-prebuilts :
(cd vendor/cm; ./get-prebuilts) Get Galaxy S Plus specific codeRun the following command to checkout the Samsung Galaxy S Plus specific directory:(cd device/samsung; git clone git://github.com/AriesVE-DevCon-TEAM/android_device_samsung_ariesve.git -b cm-10.2 ariesve)This will check out the code into the directory device/samsung/ariesve Run the following command to fetch the vendor code (into vendor/samsung/ariesve): mkdir vendor/samsung (cd vendor/samsung; git clone git://github.com/ivendor/android_vendor_samsung_ariesve.git -b jellybean ariesve)Run the following command to fetch the Samsung Galaxy S Plus kernel source code: (cd kernel/samsung; git clone https://github.com/AriesVE-DevCon-TEAM/samsung-kernel-msm7x30.git -b cm-10.2 msm7x30) Fixing problems with repositoryExecute the following commands to fix problems in the CM10.2 repositories:cp hardware/qcom/media/mm-core/inc/QCMediaDefs.h frameworks/av/media/libstagefright/ cp hardware/qcom/media/mm-core/inc/QCMetaData.h frameworks/av/media/libstagefright/ cp hardware/qcom/media/mm-core/inc/QOMX_AudioExtensions.h frameworks/av/media/libstagefright/ cp hardware/qcom/media/mm-core/inc/OMX_QCOMExtns.h frameworks/av/media/libstagefright/ cp hardware/qcom/media/mm-core/inc/QCMediaDefs.h frameworks/av/media/libmediaplayerservice BuildingPrepare your shell for building the code by running:. build/envsetup.shNow start the build by running: brunch ariesve | ||||||||
Changed: | ||||||||
< < | -- IvoVanGeel - 28 Nov 2013 | |||||||
> > | -- Ivo van Geel - 28 Nov 2013 | |||||||
\ No newline at end of file |