Friday, April 1, 2016

Recovering data after failed encryption?

I have a rooted Galaxy S6 Edge. I decided to encrypt the device. When I started, it said "Encrypting" in a full screen display with a padlock. I left it running overnight, and when I woke up, it was still on this screen. I had only told it to encrypt used space, of which there wasn't nearly enough for it to take that long, so I figured it crashed. I rebooted the phone, and when I turned it back on, it took me to a screen saying the encryption failed and I had to erase all the data before I could use it again. What I'm thinking is that maybe it set the flag to display the "encryption failed, reset phone" message, but froze before it could actually encrypt anything. Since I turned it off before it could finish, it never cleared the flag.

Now, when I click the "Reset Phone" button, it instantly reboots into a recovery menu. These are the options:
  • reboot system now
  • apply update from ADB
  • apply update from external storage
  • apply update from cache
  • wipe data/factory reset
  • wipe cache partition
  • reboot to bootloader
  • power down
  • view recovery logs

Unfortunately, I can't access a terminal or anything, because it won't let me do anything outside the recovery menu or the "reset phone" screen, even in safe mode, and neither of those have USB debugging active. The "apply update from ADB" option in the recovery menu just says "Update from ADB is disabled" and doesn't enable USB debugging. I can also access a "Maintenance Boot Mode" menu (by holding down Power and Vol- for a few seconds) which gives me "Normal Boot", "Factory Reset", "Safe Mode", "Power down", and "USB Debug Mode", which looks promising, but while it enables USB debugging, it shows up as "offline" in ADB.

That being said, does anyone know how I can reset this flag, to enable me to use my phone without wiping it?


from xda-developers http://ift.tt/236D01Z
via IFTTT

No comments:

Post a Comment