I have rooted OnePlus 5t, I used Lucky Pacher to disable Package Installer and when I reboot my device I got boot loop... Is there something I can do beside factory rest? is there an option to enable it via recovery or fastboot mode?
I have OrangeFox recovery mode
This is the XML file package-restrictions.xml
:
https://drive.google.com/file/d/1FThuUEt4pII_FBVpSUl7sjWoXLiq_zcG/view?usp=sharing
https://pastebin.com/XXE455pJ
/data/system/users/0/package-restrictions.xml
. Edit out the related lines or changeenabled=
toenabled=1
. Reference: my own answer here – Firelord Jun 17 '21 at 14:18adb shell
and execute these two commands:busybox sed -i '/1570736/s/enabled="2"/enabled="1"/' /data/system/users/0/package-restrictions.xml
andgrep 1570736 /data/system/users/0/package-restrictions.xml
. Report the output. It should haveenabled="1"
. If it does, reboot the device and see if the boot loop still persists. Report your observation back here. – Firelord Jun 17 '21 at 15:07adb shell
and run this command:busybox sed -i '/1570736/d' /data/system/users/0/package-restrictions.xml
– Firelord Jun 17 '21 at 15:10adb shell
. A custom recovery always give you a shell with default root access, (that # means root), so you don't need to runsu
. Just enter my commands withoutbusybox
word in them and report your findings. – Firelord Jun 17 '21 at 18:22com.android.phone has stopped working
non stop! I can't use my phone... It's endless LOL what happened? – Joe Jun 17 '21 at 18:40