~/talk

Developing system apps without AOSP

Talkat Android Makers by droidcon 2023 · 2023-04-27..04-28· [android]
slides:none on file

Claim: system apps can be developed without full AOSP by reusing AOSP test keys and userdebug images and by calling protected APIs directly. Practical steps include convert AOSP test keys with openssl and keytool, use userdebug emulator or GSI on Pixel via simg2img and adb root/remount to sign and install APKs into /system, and choose between reflection, fake interfaces or a custom engineering SDK (dex tools) to call hidden APIs. Notes: AOSP builds take ~2–2.5 hours on a beefy Linux machine and Android 13 adds a working virtual device API for virtual input and displays.

AI-written summary · about

  1. 0:00Introduction and challenges
  2. 2:05Custom Android landscapes
  3. 5:15Defining system apps
  4. 7:30Development setup
  5. 10:15Emulators and testing
  6. 14:56Writing system applications
  7. 19:15Calling system APIs
  8. 24:52Navigating AOSP code
  9. 31:04Conclusion and permissions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.