BetterKnownInstalled v1.5.1
Fixes
- Fixed vending UID extraction — v1.5.0 could fail to resolve
com.android.vending'suserId, falling back to0or the wrong UID. Now uses robustgrep+cutextraction with a fallback to existing Play Store app entries. - Fixed system apps being incorrectly patched — v1.5.0 only checked
system="true"/system="1", missing updated system apps living in/data/app/without that flag. Now properly skips apps withcodePathunder/system/,/vendor/,/product/,/odm/,/oem/, and/apex/. - Fixed single-line XML corruption —
packages.xmlcan be a single massive line. The old logic would skip the entire file if any system app appeared on it. The file is now normalized to one tag per line during processing, then collapsed back to preserve the original format.
Changes
- Replaced the
while readfrom v1.5.0 with v1.4.0's provensedpass engine. - Introduced a
SYS_SKIPvariable to keep system-app guards DRY across all 8 sed passes. - Added a sanity check: aborts if
vending_uidresolves to0.
Technical
- Engine:
sed(v1.4.0-style) with line normalization - System skip:
codePath+systemflag checks - UID source:
com.android.vendingself-entry → existing Play Store app fallback