mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 20:18:34 +00:00
![topjohnwu](/assets/img/avatar_default.png)
Reinstalling system apps as data creates tons of issues. Calling pm path <pkg> is extremely expensive and doesn't work in post-fs-data. Parse through packages.xml to get APK path and UID at the same time. As a bonus, we don't need to traverse /data/app for packages anymore.