~/talk

AOSP customization

Talkat droidcon London 2022 · 2022-10-27..10-28· [android]
links:none on file
slides:none on file

AOSP is >100 GB across over 1,000 git repositories and builds on Linux; the emulator image builds out of the box while Pixel devices need vendor binary blobs. Useful tools: repo for syncing manifests, lunch and make to build, AIDEGen to generate IDE projects, and GitLab to import thousands of repos. Practical recipes include embedding a Gradle app as a privileged system APK (convert signing keys into JKS), exporting an emulator ZIP and properties XML, and creating a “cheat” SDK from intermediate classes so hidden system APIs compile. Use cs.android.com to search the code.

AI-written summary · about

  1. 0:00Introduction to AOSP
  2. 1:11AOSP structure overview
  3. 2:37AOSP build images explained
  4. 4:02Building for emulator
  5. 5:08Building for Google devices
  6. 5:50Using Lineage for customization
  7. 6:53Customization options in AOSP
  8. 8:22AOSP tooling requirements
  9. 10:56Setting up a build server
  10. 11:38Recommended development tools
  11. 12:24GitLab for AOSP source control
  12. 14:11AOSP tooling repo and lunch
  13. 17:21AOSP build systems
  14. 18:49First AOSP build steps
  15. 19:50AIDEGen for IDE integration
  16. 21:16Developing for AOSP framework
  17. 21:59System apps development flow
  18. 24:26Embedding app in AOSP build
  19. 27:44Creating emulator images
  20. 30:56Deploying system apps locally
  21. 33:46Using restricted APIs in AOSP
  22. 36:16Custom SDK for local development
  23. 39:10Searching AOSP codebase
~/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.