~/talk

Ways of using hidden Android APIs in system and vendor development

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [android]
links:none on file
slides:none on file

Five concrete ways to reach hidden Android code: reflection for quick private field/method access; adding a merged framework+android.jar dependency and swapping Android Studio’s SDK to browse system sources; wholesale system source copy; targeted minimal copy with a wrapper module that restores unit tests return; and vendor SDKs that integrate with SDK Manager. The assistant overlay use case is solved by registering status bar callbacks (service can be nullable across vendors) and routing system UI visibility flags to hide the overlay. Beware non-SDK lists, signature/privileged checks, and SELinux enforcement.

AI-written summary · about

  1. 0:00Introduction to hidden APIs
  2. 1:52Using reflection for hidden APIs
  3. 4:20Adding special dependency
  4. 9:19Copying system sources
  5. 12:28Targeted system source copy
  6. 14:54Using vendor SDK
  7. 17:23Android security layers
  8. 23:49Protecting from hidden API use
  9. 24:53Summary and Q&A
~/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.