Skip to content

Add install sessions, per-user package state and per-app SSAID - #1308

Merged
abrignoni merged 1 commit into
mainfrom
feat/abx-package-state
Sep 4, 2026
Merged

Add install sessions, per-user package state and per-app SSAID#1308
abrignoni merged 1 commit into
mainfrom
feat/abx-package-state

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Three more artifacts from system ABX records that no module reads today.

  • Package Install Sessions (system/install_sessions.xml): the package being installed, its label, the installer and initiating packages, the staged size and directory, and the created, updated and committed times. A session started outside a store names that source instead.
  • Package State Per User (system/users//package-restrictions.xml): one row per package per user, with the per-user first install time as hexadecimal milliseconds, and whether the package is stopped, disabled, never launched or has component overrides. This is per user, so it differs from the device-wide install time already reported from packages.xml.
  • SSAID Per App (system/users//settings_ssaid.xml): the value each app reads back as its Android ID, per user.

These files appear as ABX and as plain XML, and in both forms some carry more than one root element, so a single-root read is retried in the multiple-root mode. One image carried a per-user package state file that is neither ABX nor XML; it is logged and skipped, and the notes say so. Undocumented integers are reported as stored. Measured on 23 Android corpora.

🤖 Generated with Claude Code

Three more artifacts from system ABX records that no module read: the
package installer's session list, with the package being installed, the app
that started the install and the created, updated and committed times; the
per-user package state, with the per-user first install time and whether a
package is stopped, disabled or never launched; and the SSAID the platform
issued to each app per user.

These records appear as ABX and as plain XML, and in both forms some of
them carry more than one root element, so the reader retries in the
multiple-root mode and falls back to wrapping plain XML. sample_data
measured on 23 Android corpora.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit d7a1635 into main Sep 4, 2026
10 checks passed
@abrignoni
abrignoni deleted the feat/abx-package-state branch September 4, 2026 02:54
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