Android 12+ Recovery Problem
Shazid MashrafiAndroid 12+ has a problem thats causing recoveries to stop working. It gets stuck at recovery loading screen.
Prevention
Go to root/system/build.prop then add this:
persist.sys.binary_xml=false
This should prevent recovery from being stuck.
Cure
If u can boot to android and not rooted
- Eject SD Card
- Enable USB Debugging
- Connect phone to PC
- Open CMD and run this:
adb devices (make sure device was detected)
adb shell rm -rf /data/system/storage.xml.
Then, try to reboot recovery.
If you can boot to android + if you are rooted
- Just eject SD card
- Then go to root/data/system
- Delete storage.xml file
If you can't boot to android
- Format data using fastboot (RIP your files)
Thank EeetsReyoooJeeeX for the fixes.
Remember guys, Prevention is better than cure.😉
Some roms already implemented fixes to this problem by default. In those roms you don't need to do anything. To be sure ask developer about this issue before flashing.