---+ 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}%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r4 - 15 Jul 2017
-
IvoVanGeel
Home
Site map
LANIS web
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2010-2019 by LANIS