How to decrypt/wipe? - Nexus 5 Q&A, Help & Troubleshooting

I have encrypted my N5 (custom 5.1) and now I am unable to decrypt it, factory reset or wipe it in anyway from the bootloader.
Factory reset from the system's menu pretty much reboots the phone. Attempt of any kind of wipe from the bootloader fails and does nothing either.
wat do? i don't mind a full wipe, just tell me how lol.
edit: sorry, kinda wrong subforum i guess. feel free to move my topic

Crunozaur said:
I have encrypted my N5 (custom 5.1) and now I am unable to decrypt it, factory reset or wipe it in anyway from the bootloader.
Factory reset from the system's menu pretty much reboots the phone. Attempt of any kind of wipe from the bootloader fails and does nothing either.
wat do? i don't mind a full wipe, just tell me how lol.
edit: sorry, kinda wrong subforum i guess. feel free to move my topic
Click to expand...
Click to collapse
Factory reset within Android just boots into recovery and performs a factory reset there.
It should work, but if it doesn't then flash factory images using fastboot or LG Flashtool.

Ok, I see. Nexus Root Toolkit to the rescue then I guess

Crunozaur said:
I have encrypted my N5 (custom 5.1) and now I am unable to decrypt it, factory reset or wipe it in anyway from the bootloader.
Factory reset from the system's menu pretty much reboots the phone. Attempt of any kind of wipe from the bootloader fails and does nothing either.
wat do? i don't mind a full wipe, just tell me how lol.
edit: sorry, kinda wrong subforum i guess. feel free to move my topic
Click to expand...
Click to collapse
Umm... What are you trying to do when you try to format userdata in fastboot mode? Why dont you go straight to the recovery and do a factory reset from there? What are the steps you do to achive a factory reset?

Related

Factory Reset not working in any recovery

Hi All,
I am having a problem with doing factory reset. Irrespective of what recovery I am using, I seem to get stuck after the factory reset has started message. I have attached a screenshot. Please help
androidmaniac123 said:
Hi All,
I am having a problem with doing factory reset. Irrespective of what recovery I am using, I seem to get stuck after the factory reset has started message. I have attached a screenshot. Please help
Click to expand...
Click to collapse
Are you trying to wipe the phone or refresh a new ROM?
Can you try a different recovery?
What about a USB push?
cory_booth said:
Are you trying to wipe the phone or refresh a new ROM?
Can you try a different recovery?
What about a USB push?
Click to expand...
Click to collapse
I am trying to use the Wipe Data/Factory reset option. I have tried, ClockworkMod, CWM Touch and TWRP with no success. I am not sure if it has anything to do with flipping the internal sd card and external sd card
androidmaniac123 said:
I am trying to use the Wipe Data/Factory reset option. I have tried, ClockworkMod, CWM Touch and TWRP with no success. I am not sure if it has anything to do with flipping the internal sd card and external sd card
Click to expand...
Click to collapse
From what I can remember, you are not supposed to do a "Factory Reset." It has nothing to go back to. You are only supposed to wipe data and caches. If you can, reboot into recovery doing 3 finger, it still works, and reflash your rom. If you do the wipe data it will do what you need. The factory reset is a no no.
androidmaniac123 said:
flipping the internal sd card and external sd card
Click to expand...
Click to collapse
Not sure what you mean by that...
If you have a rooted phone with a custom recovery - or a factory phone and able to access their recovery...
Factory Reset should wipe the phone and user data and reload whatever ROM is on the phone - fresh...
If you have tried multiple recoverys to no avail...
You may want to try and reinstall your ROM and then do a reset...
If that still don't work - you are on Samsung right? - Grab Odin and push a new package to the phone and try that way.
Have you checked to see if your phone "Privacy" menu has a Factory Reset option?
Does that work?
netlagger said:
From what I can remember, you are not supposed to do a "Factory Reset." It has nothing to go back to. You are only supposed to wipe data and caches. If you can, reboot into recovery doing 3 finger, it still works, and reflash your rom. If you do the wipe data it will do what you need. The factory reset is a no no.
Click to expand...
Click to collapse
In CWM, there is just one option to wipe data/factory reset. My ROM is working perfectly but its just that when i switch ROMS, I cannot do a full wipe. I have been flashing ROMs the same way for years now and only for past month I have been facing this issue.
netlagger said:
From what I can remember, you are not supposed to do a "Factory Reset." It has nothing to go back to. You are only supposed to wipe data and caches. If you can, reboot into recovery doing 3 finger, it still works, and reflash your rom. If you do the wipe data it will do what you need. The factory reset is a no no.
Click to expand...
Click to collapse
I disagree with my experiences... Struggling for years with a Thunderbolt, I flashed tons of ROMs...
While I didn't like Factory Resets, I did do them from time to time to see if it would help (never did with the Thunderbolts)...
When I Factory Reset, even with a custom ROM, the phone was reset like factory - but using whatever ROM was loaded on the phone.
---------- Post added at 11:44 PM ---------- Previous post was at 11:31 PM ----------
androidmaniac123 said:
In CWM, there is just one option to wipe data/factory reset. My ROM is working perfectly but its just that when i switch ROMS, I cannot do a full wipe. I have been flashing ROMs the same way for years now and only for past month I have been facing this issue.
Click to expand...
Click to collapse
CWM has two mainstream wipes...
Wipe Cache - a menu option
Wipe Davlik - under Advanced...
Or it should...
Please read forum rules before posting
Questions and help issues go in Q&A and Help sections
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
androidmaniac123 said:
Hi All,
I am having a problem with doing factory reset. Irrespective of what recovery I am using, I seem to get stuck after the factory reset has started message. I have attached a screenshot. Please help
Click to expand...
Click to collapse
Wipe<advanced wipe<and check system/data/cache/dalvik cache
Sent from my SCH-I535 using Tapatalk 4 Beta
androidmaniac123 said:
I am trying to use the Wipe Data/Factory reset option. I have tried, ClockworkMod, CWM Touch and TWRP with no success. I am not sure if it has anything to do with flipping the internal sd card and external sd card
Click to expand...
Click to collapse
I would say flipping the SD cards might be what is causing the issue. If you can, save whatever data you need and go back to 100% stock! This includes relocking the bootloader, which will FORCE ALL DATA to be wiped. After you do this, reroot and try again!
P.S. I believe you can run the fastboot oem unlock command without having to relock the bootloader. Again, this will COMPLETELY WIPE ALL DATA out!
z06mike said:
I would say flipping the SD cards might be what is causing the issue. If you can, save whatever data you need and go back to 100% stock! This includes relocking the bootloader, which will FORCE ALL DATA to be wiped. After you do this, reroot and try again!
P.S. I believe you can run the fastboot oem unlock command without having to relock the bootloader. Again, this will COMPLETELY WIPE ALL DATA out!
Click to expand...
Click to collapse
Guys thanks for your inputs and help. Appreciated I found out the issue. For some reason /data does not get mounted automatically. I had to mount and then do a factory reset. That fixed the problem. Thanks again guys!:good:

[Q] No OS Installed for Nexus 5?

Hello everyone I am scared I bricked my phone.
So I tried installing a rom and did a factory reset deleting everything (including the OS). I did root the phone but something went wrong so I factory reset it. Now when I press the power button I get the "google" black screen and nothing. I then shut it down and went to the bootloader. I stupidly forgot to recover my old stuff like an idiot and now the phone has OS.
Can you help me with a step by step guide to restore this phone?
Flash the factory image to get it back to stock (see nice, big sticky thread in General), then try again
am3606 said:
Hello everyone I am scared I bricked my phone.
So I tried installing a rom and did a factory reset deleting everything (including the OS). I did root the phone but something went wrong so I factory reset it. Now when I press the power button I get the "google" black screen and nothing. I then shut it down and went to the bootloader. I stupidly forgot to recover my old stuff like an idiot and now the phone has OS.
Can you help me with a step by step guide to restore this phone?
Click to expand...
Click to collapse
Factory reset is a misnomer, as it does not restore the phone to its factory state. All factory reset does is erase the data partition (along with cache and internal storage obviously). Any changes you make to the system ROM, kernel, recovery, etc. persist after a factory reset. The only way to restore the phone to its factory state is to flash the factory image. Refer to the tutorial to flash the factory image. Next time do your homework before you start tinkering.

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.

[Q] Random Reboots

No matter what rom i'm running I get random reboots. I even took the update from Verizon to 4.4.3 and still recived random reboots. Is this just me? I have also ran safe mode and get them.
Have you tried a factory reset?. If not try that. Don't do it from security settings though. Do it through fasboot. Just be sire to save anything you don't want to lose.
Yes and have tried multiple roms. IT does it not matter what rom or what settings I have.
Sounds like a complete wipe via fastboot may be your only fix. Just be sure to back up all the stuff youbwanna save cause it gonna wipe it clean. I am stock and was having same issue did the reset and everything fine now. I however forgot to make a back up lol
How do I do that? I tried the factory reset option and it took me back to TWRP
Make sure quick boot is turned off in battery settings. Then power down device. Power back on holding down volume and power. Your phone will boot to a white screen. Then use volume down to cycle to factory reset. Only thing is I'm not entirely sure what it will do to s-off and unlocked bootloader. You may want to Google that and see what it says
I've had my m8 for several weeks and never had a random reboot, that's on both stock and custom Rom. If the factory reset doesn't fix it, you may have a hardware issue
Factory reset doesn't work on a custom recovery
tjamscad said:
Factory reset doesn't work on a custom recovery
Click to expand...
Click to collapse
Better: You should not try a factory reset from settings if you have a custom recovery installed. It can lead to unintended consequences......
And why would you? That's what a recovery is for! TWRP and CWM both have the factory reset option, which basically just wipes /data (without /data/media), cache and Dalvik. And that's what you need 95% of the time. For the rest format data.
A factory reset doesnt clear everything. I have done a few and nothing ever seems to be reset. When I did it from hboot I was required to set up phone again as if it had just been powered on for the first time.
berndblb said:
Better: You should not try a factory reset from settings if you have a custom recovery installed. It can lead to unintended consequences......
And why would you? That's what a recovery is for! TWRP and CWM both have the factory reset option, which basically just wipes /data (without /data/media), cache and Dalvik. And that's what you need 95% of the time. For the rest format data.
Click to expand...
Click to collapse
For the record,twrp wipe was what I was referring to when I said factory reset. I thought about saying wipe, but was afraid of how that might be interpreted.
mdorrett said:
A factory reset doesnt clear everything. I have done a few and nothing ever seems to be reset. When I did it from hboot I was required to set up phone again as if it had just been powered on for the first time.
Click to expand...
Click to collapse
A factory reset in TWRP (at least on every version I've used) wipes /data without wiping /data/media, cache and Dalvik.
Meaning it wipes all your apps and settings without wiping your personal files, but rquiring ou to go through setup again. Just did exactly that before installing CleanROM 2.0. If you had a different result I don't know which option in TWRP you chose.....

[Q] Factory reset did not remove encryption

So I am going to RMA my phone and I thought it would be a good idea to encrypt then factory reset. So I tried this and my phone boots up and all but it still asks for an decryption key.
What should I do?
skyguy126 said:
So I am going to RMA my phone and I thought it would be a good idea to encrypt then factory reset. So I tried this and my phone boots up and all but it still asks for an decryption key.
What should I do?
Click to expand...
Click to collapse
Enter recovery, format data, reboot to bootloader, and re-install stock via fastboot.
kibmikey1 said:
Enter recovery, format data, reboot to bootloader, and re-install stock via fastboot.
Click to expand...
Click to collapse
I just reflashed the userdata partition and it worked. Thanks anyway though!

Categories

Resources