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:

mkdir /work/CM10.2
cd /work/CM10.2

Now check out the source code using:

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
repo sync

Get prebuilt apps

Navigate to the vendor/cm directory and run get-prebuilts:

(cd vendor/cm; ./get-prebuilts)

Get Galaxy S Plus specific code

Run 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)

Building

Prepare your shell for building the code by running:

. build/envsetup.sh

Now start the build by running:

brunch ariesve

-- IvoVanGeel - 28 Nov 2013

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 28 Nov 2013 - IvoVanGeel
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS