Factory Reset After Encryption Issues

kingrat

Senior Member
Sep 3, 2010
366
31
0
A little background - I was running Shostock2 6.2 everything worked except GPS (don't know why) and I installed our new BYOD solution for work (Lotus Traveler) and I had to encrypt my phone, etc to read my work emails on my own phone. Everything worked and no problems.

I was wanting to upgrade my phone to the New ShoStock3 v1.4 and using CWM it installs and reboots and asked for a password. This is after I did factory reset and wipe everything. I also runt he wipe scripts but some how the encryption remains.

If I enter the password the phone just hangs and never starts so I end up restoring it with my nandoid backup and it works fine.

so the next thing I did was use Odin to install a clean ICS which works and it will boot up fine so I thought I was out of the woods and I try to installed Shostock and I get the password thing again and the same issue occurs.

does anyone know why one rom does this and the other doesnt?


I search the forum a dozen or so times and found out I need to use adb/fastboot to reformat the areas that CWM can't access since it is encrypted. They poster gave this example below:

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache

My question is where do I get these files from? can I extract them from a CWM rom or is there another way?
 
Last edited:

122ninjas

Senior Member
Jul 26, 2012
3,197
941
253
Arizona
A little background - I was running Shostock2 6.2 everything worked except GPS (don't know why) and I installed our new BYOD solution for work (Lotus Traveler) and I had to encrypt my phone, etc to read my work emails on my own phone. Everything worked and no problems.

I was wanting to upgrade my phone to the New ShoStock3 v1.4 and using CWM it installs and reboots and asked for a password. This is after I did factory reset and wipe everything. I also runt he wipe scripts but some how the encryption remains.

If I enter the password the phone just hangs and never starts so I end up restoring it with my nandoid backup and it works fine.

so the next thing I did was use Odin to install a clean ICS which works and it will boot up fine so I thought I was out of the woods and I try to installed Shostock and I get the password thing again and the same issue occurs.

does anyone know why one rom does this and the other doesnt?


I search the forum a dozen or so times and found out I need to use adb/fastboot to reformat the areas that CWM can't access since it is encrypted. They poster gave this example below:

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache

My question is where do I get these files from? can I extract them from a CWM rom or is there another way?
Why not just go to sho2 and remove encryption then flash?

Sent from my GS4 running CM11 Kandy Kane
 

122ninjas

Senior Member
Jul 26, 2012
3,197
941
253
Arizona
I assume that I was not clear, ugggg


CMW cannot overwrite ENCRYPTED files... IT CANNOT SEE THEM SO HENCE IT CANNOT ERASE THEM..


Can someone answer who knows what to do?
He is saying that we don't have fastboot so none of what you are saying is possible. Also have you flashed back to sho2, removed encryption and then flashed?
 

kingrat

Senior Member
Sep 3, 2010
366
31
0
since then it wont allow me to recover using the backup.

additionally before when I tried to decrypt and removed all the software it would still would not work.

I tried all the obvious things..


anyone else?
 

creepyncrawly

Senior Member
Sep 3, 2010
2,770
3,276
0
Usuallly, you can get around the encryption by entering the wrong password continuously until the phone bypasses the encryption. If I remember correctly, I think it takes 5 times. After you get it booted, it should be ok. Try that and see if it helps.
 

kingrat

Senior Member
Sep 3, 2010
366
31
0
Usuallly, you can get around the encryption by entering the wrong password continuously until the phone bypasses the encryption. If I remember correctly, I think it takes 5 times. After you get it booted, it should be ok. Try that and see if it helps.
When I do this it just reboots and goes again and again..
 

creepyncrawly

Senior Member
Sep 3, 2010
2,770
3,276
0
OK. Still on ShoStock3, enter recovery and perform a wipe data/factory reset. When you get the password request, then follow the above instructions until the wipe goes through, then it should boot. I think.
 
  • Like
Reactions: 4-2ndtwin
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone