[Q] Factory Reset on an Encrypted Device Unsuccessful [now solved] - Galaxy S 4 Q&A, Help & Troubleshooting

A few little things were acting up on my phone, so I decided to reflash and start anew. The only big hiccup is that my phone was encrypted.
Through TWRP, I have performed a Factory Reset, which was unsuccessful. I then went through Format Data to remove the encryption:
Format Data will wipe all of your apps, backups, pictures, videos, media, and removes encryption on internal storage. This cannot be undone. Press back to cancel. Type yes to continue.
Click to expand...
Click to collapse
This unfortunately did not do a thing, even after rebooting recovery before I flashed the rom. I am prompted for my encryption password during pre-boot. I've tried various backups that I still have (including the original from when I got my device); sometimes the password is accepted, other times I am prompted to continuously try again. When the password is accepted, I am stuck with a blank screen; after a few seconds, my phone vibrates once, then after a few seconds more, it vibrates multiple times, like when an app crashes. These restores do apply; the boot animations and Samsung logo change based on which backup I tried.
As long as I can get to a state where I can flash new roms and boot without the encryption prompt, I don't mind having to root again, losing internal data (which should've happened above), or having to reconfigure everything (that's half the fun).
adb and TWRP are still functional. I'm downloading the stock recovery and factory images to give them a try as well, though the download is crawling and it will be some time before I can test it.
Has anyone else successfully solved this?
Edit: Solved.Flashed all factory images, performed a factory reset, re-rooted, set up TWRP again, and got back to a current rom. For anyone else who runs into this in the future, I had to use the stock recovery, not CWM or TWRP, to successfully wipe my device.

Related

[Q] 10.1 Retail Encrypted + CWM...Options?

I have 10.1 Retail that was upgraded to 3.1 OTA prior to doing any of the tasks described here: http://forum.xda-developers.com/showthread.php?t=1130574 I then loaded CWM 4.0.0.4 using those instructs and was about to pull the root trigger until I caught the buzz about the encrypted ones bricking. Encryption option is greyed out in Settings with no apparent option to unencrypt, and if I initiate a factory reset, it reboots and has the icon like it's going to wipe, but it immediately bails and reboots whereupon I get the encryption password screen and, after entering pass, it boots up having preserved all settings. Same thing happens when initiating factory restore through CWM. Just wondering if I have any other options to unencrypt right now so i can root?
I had this same problem. I have a 32GB retail version that I encrypted early on.
Long story short is that you need to revert the original recovery (part8.img) and then you can factory reset. Once you factory reset, the encryption will be removed and you can then reload CWM and root per the instructions.
thank you much. perfectly rooted now. good thing i backed up part8.img.

[SOLVED] Can't quite reset to stock

I've tried to reset my A500 to stock a number of ways and flashed a number of update.zip's (the latest here). In each case it appears that data isn't being cleared and I get constant FCs so I can't get into settings to do a factory reset. Because of the FCs, I can't get CWM back on and therefor I can't format/wipe data that way.
What approach could I use then to clear data so I can get rid of these FC's?
I can't install CWM via ADB because "Development" isn't checked and I can't get through the UI to enable it. I tried flashing the update-recovery-thor2002ro-rev1.*.zip using power+volDown and got the triangle+exclamation.
I imagine for the same reason, I cannot flash any other 3rd party ROMs (for the hopes one would wipe data).
I'm all out of ideas and need advice. I suspect I need a signed update.zip that would wipe data.
Thanks to this post, I was able to clear data without CWM, ADB, or a working ROM.
Here's a YouTube video (from Acer) on how to do this. "Locked" is to the left when the tablet is landscape, facing you, volume on the top left.
Still waiting for it to move from "Erasing cache..." to find out if this resolves my larger issue, but at least it's progress.

TWRP prompts for password

I rooted my phone using casual
found here http://forum.xda-developers.com/showthread.php?t=2297900
This is my first time using TWRP, I am more accustomed to CMW.......but TWRP is fairly straight forward
twice now, I have gone from CM10 back to a stock rom. On both occasions after stock based rom was installed, and all my apps downloaded etc, i would restart the phone and it would stick at the initial splash screen.
When I start up TWRP, it prompts me for a password, which I NEVER set.I can click cancel and seemingly access all the features, but if i try to wipe cache or even restore a back, the process failed.
Through trial and error I have found, that by wiping Data I can eventually get TWRP to behave and restore a CM backup
I eventually may want to go back stock, but don't want to run into this again.
Any advice is appreciated. I am not sure if I should just get CWM or if TWRP is still fine
U mean the swipe to unlock screen?
TWRP has reset back to default settings, have you tried that?
mine does too sometimes; hit the back softkey or cancel.

Phone won't boot since I encrypted the storage

I have a Samsung Galaxy S4 i9505 (unlocked version). It was using the stock v4.4.2 but it was rooted and the bootloader was unlocked, I also had a different Recovery installed (Can't remember which one but it wasn't Clockwork). I am no longer using the phone so it doesn't contain any data that I need. I was preparing the phone to sell it so I decided to encrypt the storage as I read that that doing this would remove any possibility of old data being taken off.
During encryption setup, I had to enter a PIN before I could have it encrypted so I entered one. Once it finished encrypting (took quite a while), it rebooted and asked me for the PIN to decrypt the device, I entered the PIN. It seemed like it accepted this but then it rebooted. It kept doing this so I thought no big deal as it probably already achieved what I wanted. So I did a factory reset via the Recovery. However, the encrypted partition still persisted after the factory reset.
So then I decided to use Odin (v3.09) along with the latest stock ROM (v4.4.2 I9505XXUGNG8) to write over the whole phone thinking this would reset it. But the encrypted partition still persists and it keeps rebooting after I enter my PIN.
How can I completely factory reset the phone including removing the encrypted storage? I don't need any data on the phone, just need to reset it completely back to factory.
TIA
Probably flash a custom recovery and then:
In TWRP, under "Wipe" menu, there is "Format Data" function, which will effectively remove the encryption from the device
(alongside with all the data of course).
ps the information you had about encrypting your device is wrong. Basically when you delete a file from you phone, there is no way currently possible to get it back. That is caused by TRIM. Not even professional companies can restore it as of yet. So once you delete it, it's really gone.
Lennyz1988 said:
Probably flash a custom recovery and then:
In TWRP, under "Wipe" menu, there is "Format Data" function, which will effectively remove the encryption from the device
(alongside with all the data of course).
ps the information you had about encrypting your device is wrong. Basically when you delete a file from you phone, there is no way currently possible to get it back. That is caused by TRIM. Not even professional companies can restore it as of yet. So once you delete it, it's really gone.
Click to expand...
Click to collapse
Ok, I'll give that a go.
This is a similar article to what I read about needing to encrypt the device to truly remove your personal data: http://gadgets.ndtv.com/mobiles/fea...elete-all-data-from-your-android-phone-603731
What about files that haven't been explicitly deleted? Say for example if I left all the files undeleted but I just did a factory reset, will those files be recoverable? That's what I want to protect against.
Techno79 said:
Ok, I'll give that a go.
This is a similar article to what I read about needing to encrypt the device to truly remove your personal data: http://gadgets.ndtv.com/mobiles/fea...elete-all-data-from-your-android-phone-603731
What about files that haven't been explicitly deleted? Say for example if I left all the files undeleted but I just did a factory reset, will those files be recoverable? That's what I want to protect against.
Click to expand...
Click to collapse
That articel is mistaken. As of Android 4.3, files that are deleted can't be recovered. A factory reset should be enough. It will also wipe your internal storage.
Thank you. Phone is all sorted now and back to a factory reset

Selling my 6P, but can't seem to fully reset it, nor remove password from TWRP

Been working on this for a while now, but can't figure out how to get around it.
The phone is currently runing a custom 8.1.1 ROM and I have TWRP 3.2.0.0 installed.
I've done full wipes and factory resets, but the phone never seems to fully reset. I am fine with losing everything on the phone. I just want it 100% clean so I can sell it, which of course includes getting rid of the password on TWRP so the next user can mess around in there.
I have access to TWRP, the password is mine. But I can't seem to remove it, and every time I wipe and reset the phone it still asks me for my old device password with the owner message present as well.
I have also tried to format data, but it is unable to mount the data partition it seems, which I am guessing is due to encryption.
What's my fastest way to a reset and clean phone? I'm getting desperate here since I'm running out of time.
Edit: Through no change in process of my own, it suddenly completely reset. Now I'm more curious as to why.. Can anyone explain so I can avoid this issue in the future?
for me, the only way is to flash the full factory image from the Google site
First clear data and than flash software

Categories

Resources