Skip to content

v1.5.2 (1520)

Latest

Choose a tag to compare

@0x11DFE 0x11DFE released this 03 Sep 21:28

BetterKnownInstalled v1.5.2

Fixes

  • Tightened system-app detection — v1.5.1 used a blacklist of partitions (/system/, /vendor/, /product/, /odm/, /oem/, /apex/) to skip system apps. This still leaked some updated system packages living in /data/app/. The logic is now inverted to a whitelist: only packages with codePath="/data/app/" are processed, with an additional guard for system="true"/system="1".
  • Fixed missing packageSource injection — v1.5.1 only replaced an existing packageSource attribute if its value was not 2. Apps that never had the attribute (e.g., sideloaded installs) were left without it. The attribute is now added when missing and replaced when incorrect.
  • Improved boolean cleanupisOrphaned and installInitiatorUninstalled are now stripped for both "true" and "1" values, covering both XML string styles.

Changes

  • Replaced blacklist-based SYS_SKIP with a concise whitelist (/data/app/ + system flag).
  • Reduced SYS_SKIP from 8 lines to 4, making future maintenance easier.
  • No functional changes to the sed engine, UID extraction, or normalization pipeline.

Technical

  • Engine: sed (v1.4.0-style) with line normalization
  • Scope: codePath="/data/app/" whitelist, with system="true"/"1" guard
  • UID source: com.android.vending self-entry → existing Play Store app fallback

Full Changelog

1510...1520