Magic of ADB and Android shell
summary
Shows how to attach a debugger over adb with adb track-jdwp and port forwarding, how the jdwp daemon makes Android Studio know an app is running, and how clicking debug forces the main thread to suspend. Demos include using emulator adb root and remounting system rw to edit preinstalled apps, rebooting to bootloader/recovery/sideload, exploring /data and packages.xml, and the surprise counts: 13 threads for a tiny app and 165 system services on Android 10.
AI-written summary · about
chapters (11)
- 0:00Start
- 5:13Development machine
- 6:58Application state tracking
- 19:52Root access/Secure mode
- 24:26Android shell = Linux shell
- 25:50Toybox utilities
- 27:05Runtime utilities
- 28:16Useful shell commands
- 32:30data
- 37:43System services
- 38:20service call statusbar 1/2
related talks
40mMagic of ADB
01h 02mAndroid Platform Debugging and Development
42mADB Break on through to the other side
50mADB, Break On Through To the Other Side
41mExploring Android internals with ADB
33mDebugging: All You Need to Know
20mLife is too short not to use ADB commands
47mAndroid Debug Bridge: Step to the Other Side of the Black Mirror
