How to delete data? - Nexus 5 Q&A, Help & Troubleshooting

I've broke touch, screen works but i can't no more reset as my nexus 5 is encrypted and i can't get access on it, any can help?

If the bootloader is unlocked, you could try erasing data, cache, or flashing a new userdata.img file to the phone in fastboot.

audit13 said:
If the bootloader is unlocked, you could try erasing data, cache, or flashing a new userdata.img file to the phone in fastboot.
Click to expand...
Click to collapse
I never unlocked it or rooted the phone

Since the bootloader is locked, you won't be able to flash any files to the phone. You could try erasing data and cache partitions from fastboot.

audit13 said:
Since the bootloader is locked, you won't be able to flash any files to the phone. You could try erasing data and cache partitions from fastboot.
Click to expand...
Click to collapse
Solved with nexus root toolkit

So you were able to unlock the bootloader? I have never used the nrt.

audit13 said:
So you were able to unlock the bootloader? I have never used the nrt.
Click to expand...
Click to collapse
Exactly, unlocked and resetted

Related

Can't get past Google Screen

I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
You flashed the factory images?
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
Do a data factory reset and wipe the cache both in recovery and reboot bro.
gee2012 said:
Do a data factory reset and wipe the cache both in recovery and reboot bro.
Click to expand...
Click to collapse
Thinking the same thing. But.. I can admit getting in a hurry and flashing the wrong image! :laugh:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
Click to expand...
Click to collapse
Long press the power button force it to reboot. As soon as the screen goes black hold down the volume down button. That will boot you into the bootloader, from there you can get to recovery. Factory reset, wipe cache.
You flashed stock recovery?
If you have stock recovery go to the bootloader like I said earlier. Choose recovery. Then you will see android laying down. Press volume up and power button at the same time. Do a factory reset.
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
Click to expand...
Click to collapse
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
gee2012 said:
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
Click to expand...
Click to collapse
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
bobyum said:
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
Click to expand...
Click to collapse
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
gee2012 said:
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
Click to expand...
Click to collapse
Unfortunately, it didnt help Still stuck at writing bootloader...
beaver2233 said:
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup, that might work better maybe
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
bobyum said:
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
Click to expand...
Click to collapse
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Thanks all for the help! Will try it tomorrow. Hopefully it works
wantabe said:
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Click to expand...
Click to collapse
I'd go one better and look to do a COMPLETE reflash - userdata and all! I'd also rename bootloader-hammerhead-hhz11k.img to bootloader.img and radio-hammerhead-m8974a-1.0.25.0.23.img to radio.img as it means there's less to get wrong! SO, to recap:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot format cache
I'd then boot into the stock recovery and perform a factory reset to make sure everything is in order and then reboot. I've done this exact method a number of times on my Nexus 5 and it works every time
EddyOS said:
I'd go one better and rename bootloader-hammerhead-hhz11k.img and radio-hammerhead-m8974a-1.0.25.0.23.img to just bootloader.img and radio.img to make it easier - less to type out and get wrong!
Click to expand...
Click to collapse
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
wantabe said:
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
Click to expand...
Click to collapse
As I hardly have any data to backup bar some custom ring tones I always reflash the userdata partition to be thorough. As for the reboots, I've just done it from habit, again just to be thorough. If it still doesn't work after that then it's goosed!
Try using the backup bootloader. Press and hold both volume buttons with the power button. That will take you into the backup bootloader.
Thanks to everyone for helping but I could not even get past writing the bootloader to the phone. I honestly think the flash storage and failed so will be RMAing. Hopefully they will accept it...

[Q] Unlock bootloader with twrp installed?

I have twrp installed, and locked the bootloader. Now when I try oem unlock, it takes me to twrp, but doesn't unlock the bootloader. My touch screen doesn't work, so I am trying to install cwm, so I can use the volume and power buttons to navigate. I was trying to erase my data in bastboot. But after erasing userdata and cache, it now bootloops. Just want device wiped. Maybe reflash stock? Any help would be great! Thanks

[Q] Update stock even if rooted

I am thinking of just going on stock android but i like adblock. So i will end up rooting my phone, i was wondering if there is a way to update Lollipop rooted without having to restore. I dont mind loosing my root after every update, i can always re root
thanks guys
rolgar20 said:
I am thinking of just going on stock android but i like adblock. So i will end up rooting my phone, i was wondering if there is a way to update Lollipop rooted without having to restore. I dont mind loosing my root after every update, i can always re root
thanks guys
Click to expand...
Click to collapse
Download new factory images
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
reboot into your custom recovery
flash the latest SuperSU (http://download.chainfire.eu/supersu)
Elluel said:
Download new factory images
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
reboot into your custom recovery
flash the latest SuperSU (http://download.chainfire.eu/supersu)
Click to expand...
Click to collapse
Wouldn't that wipe my data?
rolgar20 said:
Wouldn't that wipe my data?
Click to expand...
Click to collapse
The only things that will wipe your data:
unlocking the bootloader (which I assume you already have unlocked due to having root access)
flashing userdata.img (if you read my previous post, I left this out)
wiping the data partition in recovery
factory reset option in Android (which really just boots into recovery and wipes data from there)
Elluel said:
The only things that will wipe your data:
unlocking the bootloader (which I assume you already have unlocked due to having root access)
flashing userdata.img (if you read my previous post, I left this out)
wiping the data partition in recovery
factory reset option in Android (which really just boots into recovery and wipes data from there)
Click to expand...
Click to collapse
Wonderful, thanks!

[Q] Partition Problem on my Nexus 5 (32GB before, 16GB after)

Hello sorry for my bad English I speak Spanish.
I have a Nexus 5 32 GB but now it is 16GB ...
Last month I updated my smartphone to Android 5.1.0 (manually) from bootloader:
fastboot flash bootloader bootloader-hammerhead-hhz12f.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.25.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot
When I tried to copy my music I received the "Insufficient memory storage" message :crying:. I checked the Storage menu and it says that my smartphone has only 16GB now . I don't understand what happened because I always update my smartphone from bootloader.
Do a factory reset in the stock recovery and clear cache. This is a common problem. Back up first
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Do a factory reset in the stock recovery and clear cache. This is a common problem. Back up first
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I forgot tell you but I tried flashing Android 4.4 and other official ROMs but I still have the same problem.
hectorkrrillo said:
I forgot tell you but I tried flashing Android 4.4 and other official ROMs but I still have the same problem.
Click to expand...
Click to collapse
That is why you have to do a factery reset in stock recovery.
Problem
I have some problem :/
pipo406 said:
I have some problem :/
Click to expand...
Click to collapse
Do a factory reset in stock recovery
If factory reset does not work (didn't for me for some reason), install TWRP recovery, go to Wipe and choose Format Data. This worked for me. Of course all your data will be lost, but if you backed up, no harm done.
eross said:
If factory reset does not work (didn't for me for some reason), install TWRP recovery, go to Wipe and choose Format Data. This worked for me. Of course all your data will be lost, but if you backed up, no harm done.
Click to expand...
Click to collapse
Ohhh!! Thanks! My phone has 32GB again! :good::good::good:.... I had root on my Nexus 5 and TWRP recovery, I did just "Format Data" from TWRP and wala! 32GB is back... I didn't try to apply factory reset from ROM because I have root.
hectorkrrillo said:
Ohhh!! Thanks! My phone has 32GB again! :good::good::good:.... I had root on my Nexus 5 and TWRP recovery, I did just "Format Data" from TWRP and wala! 32GB is back... I didn't try to apply factory reset from ROM because I have root.
Click to expand...
Click to collapse
Glad to hear that :good:

How to erase CACHE PARTITION ?

I ran into a problem today when I tried to repair my Z5 Dual, I unplugged my phone in the beginning (NOT EVEN 5 Seconds). Then my phone started showing SOFTWARE UPDATE FAILED PLEASE CONNECT YOUR PHONE TO YOUR COMPUTER. I have a lot of important data in my phone which I need. I thought of just erasing the cache partition. But when I try via fastboot it says that REMOTE: COMMAND NOT ALLOWED HERE. Is there any other way to erase the cache partition? is there any other tool for erasing the cache partition alone? If the above doesn't work us there any way to recover the files in the internal storage. I have also encrypted some files using galleryvault that's why I prefer wiping cache and trying to boot up instead of flashing a new ROM with USERDATA box unchecked. Any help would really be appreciated.
Wipe it in twrp if you have it.
L33Tgod said:
Wipe it in twrp if you have it.
Click to expand...
Click to collapse
I haven't unlocked the bootloader.. No modifications to my phone. Is there any other way?
ajithpoison said:
I haven't unlocked the bootloader.. No modifications to my phone. Is there any other way?
Click to expand...
Click to collapse
Then just flash .ftf using flashtool without wiping anything

Categories

Resources