[Q] Can't get rid of encryption - AT&T Samsung Galaxy S II Skyrocket SGH-I727

I'm really stuck and need some help here, thanks in advance. So basically about a month ago I encrypted my rocket to use on my company's Exchange, but it turns out they don't support Android so that was a waste. At the time I was running Stock ROM ICS (Rogers), before then I had dabbled with Paranoid and a few others. I had CWD 5.5 installed.
Yesterday I was eager to try the new 4.1.2 JB leak, so I flashed it through CWD and all went well.. until it booted. It stops me just as it loads and gives me the message "Enter encryption key to unlock storage". It's been a while so I couldn't remember my PW, so I tried 100x until it said wiping data. I figured maybe it worked the same way as Blackberry, but even still after wiping it wanted the password and now when I enter anything in, it just reboots the phone.
Getting nowhere I went back into CWD, reset to factory default, wiped the caches etc, formatted system/data, and then reinstalled Stock ROM 4.0.(Rogers) using ODIN. That booted OK so I figured I managed to rid of the encryption, so again I installed CWD, and then the leaked 4.1.2 but again it's still giving me the same message!!! Arg! I've wiped all the caches a million times, formatted the system and data, reset factory defaults 10x, I've even tried flashing 4.1.2 Leak using TWRP but still no luck. I'm assuming I'm getting that message because it's still encrypted, so how the heck do I rid of this encryption? I'm thinking I have to re-partition the internal SD? Please help, I'm eager to try the new 4.1.2. Thanks

No amount of wiping /system, /data, or /cache will remove the encryption settings/keys because they are not stored in any of those partitions. They are stored in a partition that is not accessible by 'ordinary means'.
Did you perform the factory reset in CWM or in the stock recovery? I would suggest to use ODIN to flash back to the stock ICS ROM and recovery, boot to the stock recovery, factory reset from there, then reboot and make sure that encryption is no longer enabled in settings in the stock ROM.
If that's all good, then use ODIN to flash CWM and use it to flash a custom ROM.

Some info on Android encryption

Still no luck! arrg!! So I first used ODIN and install the Stock 2.3 Rogers ROM, I went into settings and reset back to factory. I rebooted, and went into the Stock Recovery however Up down arrow's worked but the enter "power button" wasn't working, so it doesn't look like i could choose reset factory from within stock recovery. Anyways, I rebooted into Download mode, used ODIN to install the STOCK 4.04 Rogers ROM, and rebooted. I checked the settings and it looked like encryption was off, or at least it had the option to encrypt. All signs anyways looked like it was off. I then installed TWRP 2.2, upgraded to 2.3, then flashed the leaked 4.1.2. And again when I rebooted, after the ATT logo I'm presented with the "Enter password to use encrypted device storage". I'm guessing it's still encrypted? And why is the stock google leaked 4.1.2 asking for the password but not the Rogers stock 4.04 ROM? Anything else I can try? It's also strange that when I enter the stock recovery mode the power button isn't funtioning as the enter key. Up down enter keys work, also if I press the home button, or maybe it was the back button it reboots. Thanks for the replies, hopefully there's more I can try. Maybe re-partitioning the entire internal SD?

Success... but lost cell unlock.
So after another Stock ICS Rogers ROM install, I went into backup and reset and did a factory reset. There's an option to delete the USB as well, which I may have been skipping... but I checked it off this time, then rebooted into the Recovery mode using TWRP 2.3. This time around I also made a few changes. I used the 4.1.2 debloat, but there's an option in TWRP to format the Android Secur... which I did... just because I wanted to nuke everything. So now yaahh!!! 4.1.2 boots up and no more encryption issues. Bad news, my phone is no longer unlocked
Idea's on the unlock?

NM... looks like using the debloat 4.1.2 I forgot to toss in the Radio, because using the regular 4.1.2 I tried again it works good. That'll be the last time I ever touch encryption.

To delete encrypted partitions successfully you need to install the android version which at least supports encryption. For example, if you install android 2.3 and you do a factory reset won't work for the internal sdcard, but probably will if you install android 4.1.2.

Related

[Stock] Boot loop, wipe doesn't help

I've got a T-Mobile phone with stock updated to the last version, with TWRP 2.6.3.0 and root. Everything worked fine for a couple of months.
A month ago the phone started to boot loop with no apparent reason. I've wiped everything, re installed stock, rooted and used the phone again. I've thought it might be an app updated that screwed something.
Anyway, I've only got the basic apps on the phone and today it happened again. I've read that I need to boot into bootloader and selecr "CLEAR STORAGE", I've tried that but it goes into recovery and there I can only wipe the data. I've did that and rebooted and it didn't help.
Any other ways to fix this without re installing the rom?
I think that if you use the clear storage option, you will have to reinstall the rom. I believe it wipes the system partition as well.
If you want to do this, you should flash the stock recovery (get it here)
Go into the bootloader and select the clear storage option.
Then you can flash CWM or TWRP recovery again and install the ROM.

Pressed factory reset by accident

Now it's my turn. Pressed factory reset by accident in boot loader. Can get to TWRP but it says E: Unable to mount storage
e:Unable to mount /sdcard/TWRP/twps. when trying to read settings file. etc...
Advanced File manager in TWRP shows /sdcard/TWRP
Any ideas???? If I try to mount data in TWRP my Mac wants to initialize.
Thanks
TWRP shows internal storage 0 mb
I flashed the stock recovery, then ran it and somehow it booted right into CM11. Everything was lost, but it's working again.
Factory reset wipe everything! Including SD card.
null0seven said:
Factory reset wipe everything! Including SD card.
Click to expand...
Click to collapse
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
808phone said:
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
Click to expand...
Click to collapse
I had the same issue, pressed by mistake factory reset in bootloader some time ago. I was pressing vol down to reach recovery, there was a slight lag and I pressed it a second time the immediately I've pressed power...so cursor has jumped 2 rows then executed. I've solved it only by flashing stock recovery and resetting to factory settings again, then flashed TWRP.
Now why you still had CM11...well not 100% sure but in TWRP when you wipe to factory the system partition is not formatted. I've paid attention once to the messages during a wipe and it was formatting data, cache, dalvik and android secure but not system. A reason can be that while flashing any ROM, the install script formats system at the beginning so theres no need to do that with factory reset.
Now I can only think that the factory reset from bootloader does the same and system is not wiped. Theoretically it is correct...system is read only especially on a stock non rooted device and resetting it to factory practically means that any trace of personal settings/aps and so on should be erased. And those are not stored on the system partition. There is also no hidden place on the phone where a recovery image of the original android OS is kept so this is not like on the laptops where you reset to factory and Windows is reinstalled from the recovery partition. My guess is that the factory reset just wipes all partitions that contain personal data and settings and leave system intact. So after a wipe and reboot is like you first start it.
You still had CM11 cause the wipe didn't format system...If anyone has a better explanation I would be glad to hear it. So From my point of view nothing went wrong and has nothing to do with the Maximus recovery or it's compatibility with CM11. It would have happen the same if you have used any other stock recovery
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
null0seven said:
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
Click to expand...
Click to collapse
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Rapier said:
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Click to expand...
Click to collapse
I don't want to try it again but I wonder if moonshine's factory reset is incompatible with cm11?
Dont understand what do you mean by "incompatible". The factory reset from bootloader is not the same thing as the one from a custom recovery. You shouldn't do a factory reset from bootloader regardless of the ROM you're using
Moonshine is an S-Off method, I didn't used it myself so I don't know what factory reset option is in there
Sent from nowhere over the air...
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
808phone said:
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
Click to expand...
Click to collapse
The reset to factory from bootloader exists because on stock ROM there's no custom recovery that has that option....so it's in bootloader. For it to work properly though, you must have the stock recovery also. If you have a custom recovery like twrp/cwm and use the wipe from bootloader it'll mess your sd cause phone is not able to perform the wipe properly with that custom recovery. That's why, in order to get back to normal you should flash back stock recovery and perform the wipe from bootloader again.
Sent from nowhere over the air...
Thank you for the clarification. It makes sense. Too bad that reset is so close to the recovery command. It's pretty weird that I didn't have to run the wipe from the stock boot loader again. It ran and rebooted the phone into CM11. Anyway, I am glad I am back to running. Thanks.

cyanogenmod 7 on galaxy 3, no free space/factory reset after every reboot

hi, i've been experimenting with a samsung gt-i5800 which i was given for free if i could unbrick it (it only needed factory restored) i've successfully rooted it and decided to have a go at installing a custom rom, because i was fed up of having to use a static ip address to connect to wifi.
i used odin to put cyanogenmod 7 on it. it worked, and i'm happy with the mod, but it's showing that there's 0kb of internal storage, and every time it's rebooted it behaves as if it's been factory reset (settings, contacts apps etc are all gone) i've read a few topics about these problems, apparently the solution is to wipe it and reinstall the custom rom.
what i'm not entirely clear about is what is meant by wiping it. i'm assuming it doesn't just mean using the recovery menu to factory restore again? what exactly do i need to delete and how do i do it safely? thanks!
i figured out how to use CWM recovery to properly clear it out, then reinstalled from a zip with CWM, it's now working properly.
however i still had the same problem with the rom the second time i installed it with odin, even after using CWM recover to wipe it. it only started working properly after installing it with CWM

[Q] Bootloop after flashing stock ROM via Odin. I think I've tried everything.

The Wifi on my phone wasn't turning on, even after factory reset, so I reflashed stock ROM via Odin (v3.07)
I got stuck in a bootloop, and after factory reset via the stock recovery + wipe of cache partition, it was still stuck.
I then re-flashed the stock ROM. Still stuck.
Tried using Kies 3, with the firmware upgrade and installation tab. Said something about not supporting my phone when I was prompted to plug it in. (SM-G355H; Samsung Galaxy Core II Duos)
I then found an unofficial version of CWM v6 for my phone (there's no official support), and quickly flashed that (via Odin 3.09; which is what I use from this point on), forgetting that my phone was no longer rooted. I wiped davlik cache and data. Still stuck. Then I rooted my phone. Stuck.
Then I reflashed stock ROM (this time, I downloaded from another website) (to test my luck, I tried seeing if simply a factory reset and cache wipe would work. It did not) rooted my phone, and flashed CWM. Wiped davlik cache. Still stuck.
By the way, when I wipe davlik cache it says:
Warning: no file_contexts
E:unknown volume for path [/sd-ext]
Davlik Cache wiped.
Any ideas on what to do now? I can't send it to a manufacturer / repair store where I live. I'm thinking maybe I should untick Auto Reboot and/or F. Reset Time when flashing, use an earlier version of Odin or the ROM itself, or maybe there is something I can do with ADB? I'm not very familiar with it, but I'm more than willing to learn. I just need some direction...
Update: Flashed with Auto Reboot unticked. Still in bootloop.
Flashed with same ROM, different country. Still in bootloop.
Alright, I fixed it by using Kies, via firmware upgrade and installation. You have to ignore where it says that your device is not supported, and just leave it to download. If you get stuck on the setup screen like I did, try cache wipe + factory reset. If it doesn't work flash an earlier version of the firmware. You might be using the wrong region (It's not always your country), use Kies to check. When it tells you what pda/ modem / csc it wants to update the region will be in parentheses ( eg ACR). Use all of them possible

"Encryption Failed" - Phone Will Not Factory Reset

After searching through countless threads on this site, I've had no avail in resetting my Rogers Samsung Galaxy S6 running XtreStoLite 2.2.
A little while ago, I thought it would be a good idea to encrypt my phone with a custom ROM installed. I knew I had recovery and download mode, so I thought It'd be no biggie. Left the phone on overnight encrypting, came back 24 hours later and knew that it hung somewhere. Booted it up and this screen came up: Reset it and restored from TWRP backup, the same screen right here came up: http ://i.imgur.com/J37aZaq .png (sorry XDA will not let me post links, remove spaces) after this, I tried pressing the "reset device" button without success. It just rebooted the phone. Tried to restore from a different backup, no avail, then I tried to flash my custom ROM again through TWRP, no avail. I download ODIN and flashed stock Samsung firmware onto it and it still gave me this screen when I was done. Tried going into TWRP and factory resetting (where it wipes all partitions) and nothing happened. Currently, I'm trying to flash my Samsung Galaxy S6 with the stock firmware through ODIN with the "re-parition" box checked.
It seems there's a hardware flag of some sort stopping this from working. I mean, my file system is brand new, reset to factory defaults, I even checked with ADB and everything has been formatted. Checked with TWRP file manager and everything is good. But I can't get past the "Encryption Failed" screen.
Help me! Thanks.
fix
did you fix this?
Hi, i am encountering the same problem with my G920F.
I have the XtreStoLite_Deo_Mod_v.2.3 and also TWRP installed
I started encrypting but it got stuck so i rebooted my phone and got the same message (Encryption failed, please do a factory reset). So i did the reset but the same screen appeared. I also tried restoring from a back-up from TWRP but the same screen was still there. So i decided to do a full wipe and restore the phone with a twrp back up witch was on my laptop. But when i am in TWRP i can not copy files to (or from) my phone. So it is not possible to get the backup on my phone. I am able to get in to download mode and connect the phone with odin.
My questions are :
- what was the solution to the problem?
- What causes the copying error? And what is the solution? So i can put the backup on my phone and try to restore it this way.
- What are my option with odin? Can i use the TWRP files in odin?
Thanks a lot in advance
Jules
Solved the issue. After a full wipe i installed a stock firmware with odin. It still displayed encryption failed after reboot. But after the factory reset the notification was gone.
I have fixed this
Best solution is on a stock rom to reset. If rooted with recovery -format and wipe all data, reset, let sit at boot for a while, go into recovery and install new rom from USB-OTG, or odin from download mode.

Categories

Resources