Refinement release over 1.5.1:
- Whitelist approach: only touches apps withcodePath="/data/app/"— no more maintaining a blacklist of/system,/vendor,/product,/odm,/oem,/apex. Everything outside/data/app/is automatically skipped, plus the usualsystem="true"/"1"guard
-packageSource="2"is now added when missing, not just replaced if wrong. Sideloaded apps get patched correctly too
-isOrphanedandinstallInitiatorUninstalledare now stripped for both"true"and"1"values
- CleanerSYS_SKIP— 4 lines instead of 8, easier to maintain
If v1.5.1 was working for you, this just makes the scope more correct. If you had edge cases with system apps still getting touched, this should close the gap.
Update and reboot. Feedback welcome as always.