← Writing

Series · 6 articles

Android system debugging

App detection of modified Android systems: packages, permissions, logs, attestation, and startup failures.

Investigate the evidence Android apps can observe: attestation, packages, permissions, logs and native system calls. Read the limits of each observation alongside the implementation; local changes do not establish hardware-backed trust.

Read in the order below: start with the constraints, then follow the implementation and debugging details.

In this series

  1. Google Wallet card-add failure despite Play Integrity STRONG

    11 min read
  2. StockMask: caller-aware LineageOS feature filtering in system_server

    12 min read
  3. Android READ_LOGS: auditing permission and SELinux context

    10 min read
  4. Android app-context audits: UID, SELinux and mount namespaces

    9 min read
  5. Rooted Android detection: userspace signals and attestation limits

    10 min read
  6. PayPal startup crash: filesystem device numbers and App Zygote errno

    22 min