Skip to content

Add native Android storage inspector - #6

Draft
isomorphisms wants to merge 1 commit into
storage-inspector-debug-viewfrom
native-storage-inspector
Draft

Add native Android storage inspector#6
isomorphisms wants to merge 1 commit into
storage-inspector-debug-viewfrom
native-storage-inspector

Conversation

@isomorphisms

Copy link
Copy Markdown
Owner

Stacks on PR #4 (storage-inspector-debug-view) and turns its read-only storage contract into the first phone-visible developer inspector.

Scope

  • NDK NativeActivity; no WebView, browser renderer, Python runtime, or app Java/Kotlin code
  • C performs rooted O_NOFOLLOW traversal and file opens directly against <internal files>/state
  • Android framework ScrollView/TextView only paints the debug text
  • overview totals and classification totals
  • bounded tab-manifest parsing (20 shown, 64 KiB per manifest)
  • bounded physical-file rows with canonical/derived/snapshot/cache/secret/unknown classification
  • bounded 1 MiB tail of canonical visits.jsonl with stable byte offsets
  • secret/unknown/cache/snapshot content remains metadata-only
  • resume refreshes the view; the inspector never creates or mutates storage

This deliberately does not add cache deletion, index rebuilding, renderer wake/kill controls, or normal browser UI. Those are separate maintenance/browser slices.

Validation

  • host C syntax check passes with -Wall -Wextra -Wpedantic
  • host smoke check covers schema classification, bounded summary parsing, and refusal to follow a symlink escape
  • CI runs the existing Python storage/history contract plus a real Android debug APK build and uploads the APK artifact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant