---+ How to Build Cyanogenmod 10.2 for Samsung Galaxy S Plus ---++ Install repo utility Create 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 Code Create a directory to hold the CM 10.2 source code: <verbatim> mkdir /work/CM10.2 cd /work/CM10.2 </verbatim> Now check out the source code using: <verbatim> repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2 repo sync </verbatim> ---++ Get prebuilt apps Navigate to the vendor/cm directory and run =get-prebuilts=: <verbatim> (cd vendor/cm; ./get-prebuilts) </verbatim> ---++ Get Galaxy S Plus specific code Run the following command to checkout the Samsung Galaxy S Plus specific directory: <verbatim> (cd device/samsung; git clone git://github.com/AriesVE-DevCon-TEAM/android_device_samsung_ariesve.git -b cm-10.2 ariesve) </verbatim> 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): <verbatim> mkdir vendor/samsung (cd vendor/samsung; git clone git://github.com/ivendor/android_vendor_samsung_ariesve.git -b jellybean ariesve) </verbatim> Run the following command to fetch the Samsung Galaxy S Plus kernel source code: <verbatim> (cd kernel/samsung; git clone https://github.com/AriesVE-DevCon-TEAM/samsung-kernel-msm7x30.git -b cm-10.2 msm7x30) </verbatim> ---++ Fixing problems with repository Execute the following commands to fix problems in the CM10.2 repositories: <verbatim> 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 </verbatim> ---++ Building Prepare your shell for building the code by running: <verbatim> . build/envsetup.sh </verbatim> Now start the build by running: <verbatim> brunch ariesve </verbatim> -- %USERSIG{IvoVanGeel - 28 Nov 2013}%
This topic: Main
>
WebHome
>
HowToBuildCyanogenmod102ForSamsungGalaxySPlus
Topic revision: r4 - 15 Jul 2017 - IvoVanGeel
Copyright © 2010-2019 by LANIS