Slide 1

Slide 1 text

AOSP and Mods

Slide 2

Slide 2 text

What is AOSP

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Open Handset Alliance

Slide 9

Slide 9 text

What is CyanogenMod

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Alternatives ● Omni ROM ● Paranoid Android ● AOKP ● Free Xperia Project ● Replicant OS

Slide 12

Slide 12 text

How to get AOSP code

Slide 13

Slide 13 text

$ curl https://storage.googleapis.com/git-repo- downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo

Slide 14

Slide 14 text

$ mkdir aosp && cd aosp $ repo init -u https://android.googlesource.com/platform/manifest // For a specific branch “-b android-5.0.1_r1” $ repo sync

Slide 15

Slide 15 text

Compiling ● GNU/Linux or Mac system ● 64bit environment for 2.3 or later ● Minimum 100GB free space ● Python 2.x, GNU Make, JDK 7 (JDK 5 for froyo, 7 for Gingerbread to Kitkat) ● Minimum 8GB RAM

Slide 16

Slide 16 text

How to compile

Slide 17

Slide 17 text

$ export USE_CCACHE=1 $ source build/envsetup.sh $ lunch // aosp_arm-eng ARM emulator → // full_mako-userdebug Nexus 4 → // user production → // user_debug preferred for debugging → // eng development config with additional debugging tools → $ make -j4

Slide 18

Slide 18 text

// CyanogenMod $ breakfast $ brunch

Slide 19

Slide 19 text

$ adb reboot bootloader $ fastboot flashall -w Notes * make fastboot adb * proprietary binaries

Slide 20

Slide 20 text

$ mm $ mmm

Slide 21

Slide 21 text

* http://source.android.com/ * http://wiki.cyanogenmod.org/ * http://xda-university.com/ * http://docs.omnirom.org/

Slide 22

Slide 22 text

Thank You! Jishnu Mohan http://j15h.nu [email protected]