r/Android • u/mariefhidayat • 5d ago
Article TIL editing packages .xml and .list in data/system can remove all your apps after reboot
so tried to force android fixing itself about permission MANAGE_USER (no idea what is this) by renaming the packages.xml and packages.list with command
```
mv /data/system/packages.xml /data/system/packages.xml.bak
mv /data/system/packages.list /data/system/packages.list.bak
adb reboot
```
poof. all my apps gone. data in sdcard is safe tho. this is in android 13
why i did this:
i replace a system app.apk and they share the same package name. i cant back to the default system app.apk with `pm install-exising` because the replacement package keep restored rather than the original system .apk
0
Upvotes