[Q] Factory Data Reset on Encrypted Phone: Trials and Tribulations
I've owned every Samsung Galaxy and both Nexus 7's and have successfully done all the basics (rooting, CWM, custom ROM) using Odin, ADB, and Fastboot. I've reached a problem that has stymied me, and Googling has thus far revealed no solutions.
Hopefully this question isn't as stupid as it seems to me.
My AT&T Galaxy S4 has been rooted, has CWM recovery installed, and is running SlimBean's version of Android 4.3.
The phone was encrypted using the ROM's encryption (Settings >> Security >> Encrypt Phone). There is no decrypt option.
I installed the latest version of the ROM without realising that CWM's "Wipe Data/Factory Reset" option yielded errors due to the phone's encryption. Very stupid of me. Now, the phone works if I can get it to boot, but getting it to boot is a huge hassle that involves wiping /cache and re-installing the ROM every time.
I need to wipe data/factory reset and re-install the ROM in order to prevent the reboot problem from constantly occurring. I cannot do this from CWM due to the encryption of the phone.
Things I have tried:
1) Using ADB to mount and format system, data, cache
2) Using recovery to mount and format system, data, cache
For both, mounting and formatting system and cache were successful. Mounting and formatting data was unsuccessful.
3) Rebooting into Fasboot and using fastboot -w
For this, my Windows PC and my friend's Mac didn't recognise the device.
4) Using AirDroid to wipe data remotely
Using avast! to wipe data remotely
Using Android Device Manager to wipe data remotely
Asking my Exchange Admin at work to wipe the data remotely (maybe?)
None of these worked. The phone just rebooted like normal.
1. How can I wipe data/factory reset my encrypted phone?
2. How can I format the /data on my encrypted phone? Is this the only way to achieve (1)?
3. If I borrow a friend's Mac, and install Android SDK, would fastboot -w work on an encrypted phone?