Presentation is loading. Please wait.

Presentation is loading. Please wait.

<whitone@netstudent.polito.it> Android: Modding & Hacking whitone <whitone@netstudent.polito.it> 2012/12/12.

Similar presentations


Presentation on theme: "<whitone@netstudent.polito.it> Android: Modding & Hacking whitone <whitone@netstudent.polito.it> 2012/12/12."— Presentation transcript:

1 <whitone@netstudent.polito.it>
Android: Modding & Hacking whitone 2012/12/12

2 A mobile-centric Linux distro
What is Android? A mobile-centric Linux distro patched Linux kernel Bionic Libc Dalvik Java VM App Framework Pag. 2 2012/12/12 whitone CorsoAvanzatoLinux 2012

3 Android Architecture Pag. 3 2012/12/12
whitone CorsoAvanzatoLinux 2012

4 Android Version Usage Pag. 4 2012/12/12
whitone CorsoAvanzatoLinux 2012

5 Android kernel patches
low memory killer Viking Killer wake lock /sys/power/wake_lock early suspend /sys/power/request_state timed gpio userspace driver Pag. 5 2012/12/12 whitone CorsoAvanzatoLinux 2012

6 Android kernel patches
ashmem cache pmem contiguous malloc binder IPC ram console /proc/last_kmsg android debug bridge Pag. 6 2012/12/12 whitone CorsoAvanzatoLinux 2012

7 Android kernel patches
… more on: linux-kernel-source / drivers / staging / android Pag. 7 2012/12/12 whitone CorsoAvanzatoLinux 2012

8 Bionic Libc embedded optimized no fully POSIX
not compatible with GNU Libc native programs must linked to this library Pag. 8 2012/12/12 whitone CorsoAvanzatoLinux 2012

9 Dalvik Java VM register-based architecture low memory requirements
Java bytecode (.class) Dalvik Executable (.dex) low memory requirements Pag. 9 2012/12/12 whitone CorsoAvanzatoLinux 2012

10 Android Packages (APK)
Android Applications Android Packages (APK) installation via: Google Play Store storage (usb hd, sd, ...) adb Pag. 10 2012/12/12 whitone CorsoAvanzatoLinux 2012

11 root of a typical linux tree
File System /system root of a typical linux tree /data apps data /cache apps cache /mnt storage Pag. 11 2012/12/12 whitone CorsoAvanzatoLinux 2012

12 application framework
File System in /system: bin, etc, lib, usr framework application framework app system apps media bootanimation.zip Pag. 12 2012/12/12 whitone CorsoAvanzatoLinux 2012

13 File System … also in /system: build.prop fonts xbin vendor
roboto (android > 4.0) xbin optional utilities vendor vendor addons Pag. 13 2012/12/12 whitone CorsoAvanzatoLinux 2012

14 com.android.providers.settings
File System in /data: app user apps data user data com.android.providers.settings dalvik-cache dex files Pag. 14 2012/12/12 whitone CorsoAvanzatoLinux 2012

15 Android Debug Bridge adb Android SDK install android-tools
or android-tools-adb Android SDK available also for Mac and Win Pag. 15 2012/12/12 whitone CorsoAvanzatoLinux 2012

16 limited standard cmds getprop, setprop
Android Debug Bridge adb shell limited standard cmds getprop, setprop netcfg input am busybox Pag. 16 2012/12/12 whitone CorsoAvanzatoLinux 2012

17 android_metadata language system volume secure lock SQLite 3
Settings Database android_metadata language system volume secure lock SQLite 3 Pag. 17 2012/12/12 whitone CorsoAvanzatoLinux 2012

18 Simple Boot Animation Pag. 18 2012/12/12
whitone CorsoAvanzatoLinux 2012

19 Simple Boot Animation Pag. 19 2012/12/12
whitone CorsoAvanzatoLinux 2012

20 Android NDK $ arm-linux-androideabi- <TAB>
Android Toolchain Android NDK $ arm-linux-androideabi- <TAB> Pag. 20 2012/12/12 whitone CorsoAvanzatoLinux 2012

21 Useful Links Official Android Dev XDA Developers Android NDK
developer.android.com XDA Developers Android NDK developer.android.com/sdk/ndk/index.html Pag. 21 2012/12/12 whitone CorsoAvanzatoLinux 2012


Download ppt "<whitone@netstudent.polito.it> Android: Modding & Hacking whitone <whitone@netstudent.polito.it> 2012/12/12."

Similar presentations


Ads by Google