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

Introduction to Android System Development

Introduction to Android System Development

Basics for Android system development. And how to compile and contribute to CyanogenMod.

Jishnu Mohan

January 27, 2016
Tweet

More Decks by Jishnu Mohan

Other Decks in Technology

Transcript

  1. $ adb devices $ adb shell $ adb logcat $

    adb reboot bootloader $ fastboot boot recovery.img $ fastboot flash recovery recovery.img $ fastboot flashall -w
  2. GNU/Linux or Mac system 64 bit 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. $ mkdir android && cd android $ repo init -u

    https://github.com/CyanogenMod/android.git // for a specific branch “-b cm-12.1” $ repo sync // -j 1 // default - 4
  4. $ breakfast <device> // lunch for aosp // aosp_arm-eng ARM

    emulator → // full_mako-userdebug Nexus 4 → // user production → // user_debug preferred for debugging → // eng development config with additional debugging tools →
  5. $ git config --global review.review.cyanogenmod.org.username "gerrit username" // or add

    following to .gitconfig [review "review.cyanogenmod.com"] username = jishnu