Ok so I tore my touch screen digitizer and just decided to sell the motherboard and working parts because this is my 3rd time breaking the phone and I'm ready for a new one. The screen turns on but the touch doesn't work and the problem is that I have a pattern lock on my phone that prevents me from being able to access and delete my data from the internal SD card. (Unlock phone to access data). Also, I just flashed the new Sense 5 rom but didn't enable Developer Options so I can't use ADB. Help?
dcaples002 said:
Ok so I tore my touch screen digitizer and just decided to sell the motherboard and working parts because this is my 3rd time breaking the phone and I'm ready for a new one. The screen turns on but the touch doesn't work and the problem is that I have a pattern lock on my phone that prevents me from being able to access and delete my data from the internal SD card. (Unlock phone to access data). Also, I just flashed the new Sense 5 rom but didn't enable Developer Options so I can't use ADB. Help?
Click to expand...
Click to collapse
If your phone is S-off or you didn't supercid you could RUU.
Alernatively, you could boot to fastboot and do
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot erase cache
fastboot erase webtop
fastboot erase preinstall
Ofcourse this will wipe EVERYTHING. So the person to buy it will have to be smart enough to get stuff on it again.
exad said:
If your phone is S-off or you didn't supercid you could RUU.
Alernatively, you could boot to fastboot and do
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot erase cache
fastboot erase webtop
fastboot erase preinstall
Ofcourse this will wipe EVERYTHING. So the person to buy it will have to be smart enough to get stuff on it again.
Click to expand...
Click to collapse
What if I just wanted to erase my data and apps? Should I just do "Fastboot erase Userdata" and "fastboot erase cache"?
dcaples002 said:
What if I just wanted to erase my data and apps? Should I just do "Fastboot erase Userdata" and "fastboot erase cache"?
Click to expand...
Click to collapse
That should do it.
exad said:
That should do it.
Click to expand...
Click to collapse
Is threre a way to factory reset via adb or fastboot?
Sent from my HTC One XL using xda premium
31ken31 said:
Is threre a way to factory reset via adb or fastboot?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Not that I know of
Sent from my HTC One X using xda app-developers app
31ken31 said:
Is threre a way to factory reset via adb or fastboot?
Click to expand...
Click to collapse
Wouldn't that be the same as erase userdata?
redpoint73 said:
Wouldn't that be the same as erase userdata?
Click to expand...
Click to collapse
userdata wipes the entire sdcard
Related
hi there,
so i bought a used nexus s as a secondary phone. the touchscreen goes unresponsive and i have to press power/sleep button so it turns off and back on again, then it will start responding and stop again after few seconds.
i tried AirKernel stable and marmite_v8.7. same issue. tried stock 4.1.2 and cm10 stable and problem is still there
nolimitzz said:
hi there,
so i bought a used nexus s as a secondary phone. the touchscreen goes unresponsive and i have to press power/sleep button so it turns off and back on again, then it will start responding and stop again after few seconds.
i tried AirKernel stable and marmite_v8.7. same issue. tried stock 4.1.2 and cm10 stable and problem is still there
Click to expand...
Click to collapse
When does that happen? It happens to me sometimes when someone calls me while another app was open. I think it's an android issue.
ej8989 said:
When does that happen? It happens to me sometimes when someone calls me while another app was open. I think it's an android issue.
Click to expand...
Click to collapse
it happens while i am setting up the phone. i flashed the phone with stock 4.1.2, on first boot the phone will ask for wifi name etc. it happens that early so no apps installed yet.
Try a TOTAL wipe and reinstall, had that problem long time ago and was due to clutter.
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
Reload everything and format SD partition.
philosopherssage said:
Try a TOTAL wipe and reinstall, had that problem long time ago and was due to clutter.
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
Reload everything and format SD partition.
Click to expand...
Click to collapse
i tried that but did not format sd partition yet, will do that and see,
thanks
philosopherssage said:
Try a TOTAL wipe and reinstall, had that problem long time ago and was due to clutter.
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
Reload everything and format SD partition.
Click to expand...
Click to collapse
formatting sd partition from inside android (erase storage) did not help..
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...
I''d like to completely erase the internal memory of the phone. Akin to formatting a HD. It seems when I format all of the available options in recovery it still does not do this (ie full wipe, SD card, cache, system, etc).
How can this be done?
I'm assuming I can do this over adb commands from the PC and then load in a new zip to flash. The reason I'm doing this is that something is corrupt on the phone causing me to have dialer crashes as soon as dialer opens. I've wiped, I've switched ROMS, and nothing has prevented it. More info: http://forum.xda-developers.com/goo...di-rom-2-6-t2540455/post51346791#post51346791
Read the stickies then flash the factory image
Fastboot erase userdata
Fastboot flash userdata userdata.img
Locking then unlocking the bootloader again would wipe it clean...no?
Never relocked....so guessing.
KJ said:
Locking then unlocking the bootloader again would wipe it clean...no?
Never relocked....so guessing.
Click to expand...
Click to collapse
If you oem lock and then unlock it does wipe it again.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If you oem lock and then unlock it does wipe it again.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
OP wants to wipe everything I think, boot loader unlock only wipes user data
Fastboot erase boot
Fastboot erase cache
Fastboot erase recovery
Fastboot erase system
Fastboot erase userdata
Then flash the factory .IMG files right after
Or just use the flash-all script that's included in the factory images as it uses -w to wipe everything.
Lokke9191 said:
Fastboot erase userdata
Fastboot flash userdata userdata.img
Click to expand...
Click to collapse
No need, just
Code:
fastboot format user data
beekay201 said:
No need, just
Code:
fastboot format user data
Click to expand...
Click to collapse
Will this only delete user data or every bit and byte on the flash memory?
integramodder said:
Will this only delete user data or every bit and byte on the flash memory?
Click to expand...
Click to collapse
no, there's 20 or more different partitions on the whole flash memory. This is the only on though that has anything to do with your dialer issue.
Sent from my Nexus 5 using XDA Free mobile app
integramodder said:
Will this only delete user data or every bit and byte on the flash memory?
Click to expand...
Click to collapse
userdata.
So I have a Moto G LTE, and haven't used it all weekend. But today, i went to plug it in and CM 12 was just stuck at the boot animation. When I tried getting into recovery mode, and get a can't load cache error, and freezes when I try to do anything in recovery (clockworkmod). Please help, I can't afford another bricked device!
Do you have a PC / Laptop with Fastboot set up?
The following command might help: fastboot erase cache
lost101 said:
Do you have a PC / Laptop with Fastboot set up?
The following command might help: fastboot erase cache
Click to expand...
Click to collapse
That was the one thing I didn't try xD, I'll try it
I was trying fastboot erase recovery with nothing!
EmoLittleSheet said:
That was the one thing I didn't try xD, I'll try it
I was trying fastboot erase recovery with nothing!
Click to expand...
Click to collapse
Don't mess around with fastboot erase - people have destroyed their phones with it.
fastboot erase cache / fastboot erase userdata - are the only commands that should be used.
lost101 said:
Don't mess around with fastboot erase - people have destroyed their phones with it.
fastboot erase cache / fastboot erase userdata - are the only commands that should be used.
Click to expand...
Click to collapse
Fastboot erase boot loader
Also
Brawn_Sg said:
Fastboot erase boot loader
Also
Click to expand...
Click to collapse
What happens if someone reboots their phone after using that command? Are they not hard-bricked?
I don't consider that command wise in any case, and especially unnecessary in this one.
Although my Nexus 5 is rooted with the toolkit I haven't done anything to it in months (no custom roms or anything)
My phone was working last night but when I woke up and it was in a bootloop.
so i tried fixing the problem myself, here are the things I tried:
- Hitting it (in case the buttons were sticky)
- Flash stock + unroot on the n5 toolkit
- Bootloader>Recovery>Wipe Data/Factory Reset
After that, the boot loop stopped and whenever I try turning it on it goes straight to the bootloader.
So I tried going into the wugfresh advanced utilities and i tried:
- Fastboot Erase*
- Fastboot format*
*flash stock + unroot after both
I have a little bit of hope because I can access the bootloader but I have no idea what else I can try.
Any suggestions?
thank you in advance
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
audit13 said:
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
Click to expand...
Click to collapse
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Fastboot on Windows
shbm111 said:
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Click to expand...
Click to collapse
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
Yup, I'm running windows.
anyways I don't think the nexus toolkit works on any other platform.
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
So, I went through the method one adb setup and I still have no idea how to do the fastboot erase userdata
nvm got it.
Were you able to boot the phone?
I'm in the same situation and need help