Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AOSP and Mods

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Jishnu Mohan Jishnu Mohan
December 19, 2014

AOSP and Mods

Presented at Swathanthra 2014 (http://icfoss.org/fs2014/program_details.html)

Avatar for Jishnu Mohan

Jishnu Mohan

December 19, 2014
Tweet

More Decks by Jishnu Mohan

Other Decks in Programming

Transcript

  1. $ 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
  2. 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
  3. $ export USE_CCACHE=1 $ source build/envsetup.sh $ lunch <device> //

    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
  4. $ adb reboot bootloader $ fastboot flashall -w Notes *

    make fastboot adb * proprietary binaries