[Q] Factory reset with broken screen? - Nexus 5 Q&A, Help & Troubleshooting

So I got myself in a situation..
I broke my Nexus 5 so I sold it, but I want to factory reset it because of data security, however I have TWRP installed which doesn't work with using the volume rockers and I can't connect with ABD either because USB debugging is off and I have no way to put it on without using the touchscreen...
Any way to reset it to factory defaults? I tried apps like Androidscreencast but they require ADB too.
Please help

gFrenken97 said:
So I got myself in a situation..
I broke my Nexus 5 so I sold it, but I want to factory reset it because of data security, however I have TWRP installed which doesn't work with using the volume rockers and I can't connect with ABD either because USB debugging is off and I have no way to put it on without using the touchscreen...
Any way to reset it to factory defaults? I tried apps like Androidscreencast but they require ADB too.
Please help
Click to expand...
Click to collapse
You can connect to adb whilst in recovery you know?
Also, what about fastboot?

rootSU said:
You can connect to adb whilst in recovery you know?
Also, what about fastboot?
Click to expand...
Click to collapse
I assume that's the menu you get when you hold power+vol down? I can get into it.
I'm gonna try connect to ADB while in recovery, thanks!

gFrenken97 said:
I assume that's the menu you get when you hold power+vol down? I can get into it.
I'm gonna try connect to ADB while in recovery, thanks!
Click to expand...
Click to collapse
Why don't you just flash the factory image while you're in fastboot.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Why don't you just flash the factory image while you're in fastboot.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
How? Don't I need ADB?

gFrenken97 said:
How? Don't I need ADB?
Click to expand...
Click to collapse
No, just boot into the bootloader. Look in the general forum on how to flash a factory image
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
No, just boot into the bootloader. Look in the general forum on how to flash a factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, downloading 4.4.3 factory image now!

Related

Root with adb?

Hey guys, so my fast boot is still stuck so I would like to know if there is any way to root my nexus using adb commands?
Sent from my Nexus S using Tapatalk 2
acfa said:
Hey guys, so my fast boot is still stuck so I would like to know if there is any way to root my nexus using adb commands?
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
What do you mean it's still stuck? Why won't you just flash clockwork then flash a rooted ROM. Much simpler.
Sent from my Nexus S using Codename Android Jelly Bean
dEris said:
What do you mean it's still stuck? Why won't you just flash clockwork then flash a rooted ROM. Much simpler.
Sent from my Nexus S using Codename Android Jelly Bean
Click to expand...
Click to collapse
Well my power button is broken so fast boot thinks its always being pressed for some reason and that makes it not work :/ its frozen and the volume keys don't work. So that's why i can't flash anything. I'm wondering if I can root my phone through adb so then I can just use ROM manager to flash a custom recovery.
Sent from my Nexus S using Tapatalk 2
acfa said:
Well my power button is broken so fast boot thinks its always being pressed for some reason and that makes it not work :/ its frozen and the volume keys don't work. So that's why i can't flash anything. I'm wondering if I can root my phone through adb so then I can just use ROM manager to flash a custom recovery.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
This has some info on broken power button.
http://forum.xda-developers.com/show...n+power+button
Here is a take apart guide if it is more stuck than broken
http://forum.xda-developers.com/show....php?t=1590882
or
http://forum.xda-developers.com/showthread.php?t=1214102
The search button is helpful.
jayjay3333 said:
This has some info on broken power button.
http://forum.xda-developers.com/show...n+power+button
Here is a take apart guide if it is more stuck than broken
http://forum.xda-developers.com/show....php?t=1590882
or
http://forum.xda-developers.com/showthread.php?t=1214102
The search button is helpful.
Click to expand...
Click to collapse
I already did all of that. I turn my phone on with my volume keys and turn it off with the search button. I opened my nexus too and the power button isn't stuck :/ I'm just asking if there is any other way to root without using fasboot. Or if I'm able to install a custom recovery without fast boot
Sent from my Nexus S using Tapatalk 2
acfa said:
I already did all of that. I turn my phone on with my volume keys and turn it off with the search button. I opened my nexus too and the power button isn't stuck :/ I'm just asking if there is any other way to root without using fasboot. Or if I'm able to install a custom recovery without fast boot
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
Well I think you can boot into fastboot via adb command. Then flash clockwork. Then boot into clockwork via adb command.

Nexus 5 not able to start up

Hi all,
I need help, after I use nexus root toolkit I turn my phone to recovery mode now my phone is not able to start. Can someone help me how to recover my phone to normal?
thanks.
Y u use toolkit ....
Cannot start as in how? Do you have fastboot or recovery access and where does it get stuck at? Have you flashed a factory image?
Sent from my Nexus 5 using xda app-developers app
mchaisheng said:
Hi all,
I need help, after I use nexus root toolkit I turn my phone to recovery mode now my phone is not able to start. Can someone help me how to recover my phone to normal?
thanks.
Click to expand...
Click to collapse
1) This should be in QA
2) You shouldn't use a toolkit, this being one of many examples of why not to
3) The solution: As long as you can get in to fastboot (power and vol down), use this method to flash the factory images and a custom recovery: http://forum.xda-developers.com/showthread.php?t=2010312
Sent from my Nexus 5 using Tapatalk
Thanks, I have solved the issue. Many to all.
Sent from my Nexus 5 using xda app-developers app

Lost OS and phone won't boot

I bought a Nexus 5 from someone and everything was working fine. I brought it home to flash another ROM and when I downloaded the zip file and booted into recovery, Team Win 2.6.3.1, I erased everything like I normally would but didn't realize this recovery wiped everything, the ROM on the root of the drive and the OS. So now I have a phone with no OS. I tried downloading the ROM to my laptop and mounting the phone over USB but it's not working. Any suggestions guys?
Two options, push a rom onto the device or side load it or flash the factory image
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Push it using ADB? Do you have the command I would type for this?
Where can I find the Nexus drivers? I wonder if that's why it won't mount through recovery?
lt1pnyklr said:
Push it using ADB? Do you have the command I would type for this?
Where can I find the Nexus drivers? I wonder if that's why it won't mount through recovery?
Click to expand...
Click to collapse
Google adb 15 second drivers xda
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Google adb 15 second drivers xda
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I downloaded all the drivers and I still cannot mount the phone. How do I push the rom to the phone through adb? Where can I find that command?
lt1pnyklr said:
I downloaded all the drivers and I still cannot mount the phone. How do I push the rom to the phone through adb? Where can I find that command?
Click to expand...
Click to collapse
If you used the tool you should have adb on your pc. Find which folder adb.exe is. Download any rom zip file and put it in that folder. Open a command window in that folder, shift right click on it and a pop up window will open where you can open the command window.
In the command window use adb push your rom.zip /sdcard/download. That should put the rom onto your device. You can then flash it in your recovery
Sent from my Nexus 5 using XDA Free mobile app
I've tried this but it seems without the phone being mounted nothing is pushing to it.
lt1pnyklr said:
I've tried this but it seems without the phone being mounted nothing is pushing to it.
Click to expand...
Click to collapse
Boot into recovery and type adb devices in a command window with your usb connected. What do you get?
Sent from my Nexus 5 using XDA Free mobile app
It show's the serial for this phone and says recovery out beside it.
lt1pnyklr said:
It show's the serial for this phone and says recovery out beside it.
Click to expand...
Click to collapse
Good, adb is working. Try pushing the rom again
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 08:46 PM ---------- Previous post was at 08:40 PM ----------
jd1639 said:
Good, adb is working. Try pushing the rom again
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
If that doesn't work then boot into twrp and go to advanced, adb sideload. Then from a cmd window type adb sideload your rom.zip
Sent from my Nexus 5 using XDA Free mobile app
I appreciate your help but nothing works! This is so frustrating.
ADB sideload is enabled on the phone and it's waiting. I typed in the command to push the file and nothing...
I also have an HTC One M7 that will not adb push roms to. This phone works fine though. It's the Nexus I can't get a ROM onto the sdcard.
lt1pnyklr said:
I also have an HTC One M7 that will not adb push roms to. This phone works fine though. It's the Nexus I can't get a ROM onto the sdcard.
Click to expand...
Click to collapse
See if you can use fastboot and flash the factory image. You might start with just flashing the cache.img to see if that'll work
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Where can I get the factory image? Also, what are the commands for fastboot?
I really appreciate your help with this I just want to get the phone working.
lt1pnyklr said:
Where can I get the factory image? Also, what are the commands for fastboot?
I really appreciate your help with this I just want to get the phone working.
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/images. Unzip it, inside there is a flash-all.bat. just run that
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
jd1639 said:
https://developers.google.com/android/nexus/images. Unzip it, inside there is a flash-all.bat. just run that
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks buddy. I was able to flash the stock image from Google. I'm surprised none of the ADB push commands or sideload would work. Now I'm unrooted but that's fixable.

[Q] Help for Rooting.

Hi all.
Can anyone lend a hand to help me get my phone rooted again? I had originally rooted it when it first turned up, by using the guide on these forums. Since then I (stupidly) did the OTA upgrade not thinking about losing root. I went from 33r to 38r. The first I knew was when Titanium back up wouldn't back up.
My problem is that neither of my computers (desktop - XP) (Laptop - Windows 7) will now see my phone. They will both make a sound when connecting via the USB cable but neither of them show the phone via My Computer. I've un-installed/installed the drivers again and I have tried putting the phone in Fastboot and clicking on Unlock Bootloader, via the Toolbox V3, but the phone will only "reboot" to the home screen. I'm needing a bit of help from someone who knows what they are doing
Thanks in advance for any help... Foz
Once you unlock the bootloader, I don't think you need to unlock it again. If you lose root after an OTA, I think all you need to do is reflash superuser from recovery. And don't touch those toolboxes. They don't help you learn to solve these problems by yourself.
Sent from my A0001 using XDA Free mobile app
I've tried that but it fails...
Turn off phone.
volumedown and on
phone enters cyanogen recovery
apply update
internal storage
(locate to SuperSU -v2.02.zip
INSTALL FAILS.
OKay
reboot system, back to my normal settings/homescreen.
I have SuperSu on my phone BUT get the warning that no binary is installed and I need to re root, hencmy posting here.
adamfoz said:
I've tried that but it fails...
Turn off phone.
volumedown and on
phone enters cyanogen recovery
apply update
internal storage
(locate to SuperSU -v2.02.zip
INSTALL FAILS.
Click to expand...
Click to collapse
If re-downloading the zip doesn't work you should try a newer SuperSU version.
meekrawb said:
If re-downloading the zip doesn't work you should try a newer SuperSU version.
Click to expand...
Click to collapse
I believe I have the latest version from the play store ( 2.14).
adamfoz said:
I believe I have the latest version from the play store ( 2.14).
Click to expand...
Click to collapse
Should have clarified, you should try a newer version of the zip.
download.chainfire.eu/supersu
Just looked again when in cyan recovery. The Supersu is 2.02 and yet google says I have the 2.14 installed.... (and I have to wait betweening posting arrggghh) Ok, Ill have a play and see what happens. thanks guys
adamfoz said:
Just looked again when in cyan recovery. The Supersu is 2.02 and yet google says I have the 2.14 installed.... (and I have to wait betweening posting arrggghh) Ok, Ill have a play and see what happens. thanks guys
Click to expand...
Click to collapse
I think your problem may be that when you installed the OTA, you also clobbered any custom recovery that was there. Next time, uncheck the option to install recovery.
sparkdroid said:
I think your problem may be that when you installed the OTA, you also clobbered any custom recovery that was there. Next time, uncheck the option to install recovery.
Click to expand...
Click to collapse
So... Do I bite the bullet, factory reset and......?
Sent from my A0001 using XDA Free mobile app
adamfoz said:
So... Do I bite the bullet, factory reset and......?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
no flash twrp or any custom recovery in adb and then you can flash the root zip.
I'm following this guide for rooting http://forum.xda-developers.com/showthread.php?t=2788632 .
I'm assuming that I'm doing things ok to a point, as the CMD prompt is saying adb version is 1.0.32 but when i put the phone in fast boot, and type "fastboot devices" the phone will show up in the cmd prompt. Its when I "fastboot oem unlock" and"fastboot reboot", the phone will reboot as normal. No setting up of the phone. All my apps and settings are still there, indicating to me that something is wrong :/
I'm assuming that my drivers are ok otherwise I wouldn't be seeing the above in the cmd prompts but...
Can someone tell me if my mobile should show up in "my computer" ? it has in the past, but no longer does. and I'm wondering if this could have someing to do with my problems??
Thanks again..Foz
If your rooted, you have already unlocked the boot loader unless you relocked it. Did you? If not don't worry about unlock and flash custom recovery and flash supersu zip
I did have a rooted phone until I did an ota update. This lost my root and i have been trying to get root back, but I'm having no luck. Im guessing if I am still struggling tomorrow night, ill factory reset. I have recent back ups so...
Sent from my A0001 using Tapatalk
adamfoz said:
I did have a rooted phone until I did an ota update. This lost my root and i have been trying to get root back, but I'm having no luck. Im guessing if I am still struggling tomorrow night, ill factory reset. I have recent back ups so...
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
All you need to do is flash SuperSU again. It's normal to lose root during an OTA update.
EDIT: didn't read properly. Have you gotten TWRP to flash yet?
Transmitted via Bacon
Nope. As in post 12. Phones connecting to the pc, its not wiping any data etc after any commands for unlocking boot loader
Sent from my A0001 using XDA Free mobile app
adamfoz said:
Nope. As in post 12. Phones connecting to the pc, its not wiping any data etc after any commands for unlocking boot loader
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Why are you trying to unlock the bootloader again though? Did you relock it manually at some point?
Transmitted via Bacon
timmaaa said:
Why are you trying to unlock the bootloader again though? Did you relock it manually at some point?
Transmitted via Bacon
Click to expand...
Click to collapse
I'm (wrongly) assuming bootloader needed unlocking again after the ota update because twrp would not install again. I assumed the whole phone needed all 3 processes to gain root again.
Sent from my A0001 using XDA Free mobile app
adamfoz said:
I'm (wrongly) assuming bootloader needed unlocking again after the ota update because twrp would not install again. I assumed the whole phone needed all 3 processes to gain root again.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
The bootloader shouldn't lock again unless you do it yourself. The recovery (unnecessarily because you can uncheck the 'update cm recovery' option in Developer Options to keep your custom recovery) and root (no way around it) are lost during the OTA but the bootloader should remain unlocked. What response do you get when issuing the following command?
Code:
fastboot oem device-info
Please paste the results here.
Transmitted via Bacon
As soon as I'm home, I'll let you know.....
Thanks
Sent from my A0001 using XDA Free mobile app
Is there any way to root without using a pc like I did with my G3 using Stumproot?

Help needed - Stuck in a bootloop. Can I recover my files?

Hi,
I am stuck in a boot loop with my Samsung Galaxy S2 GT-I9100. I want to copy my files on my computer. Is it possible?
Thanks
joelcloutier said:
Hi,
I am stuck in a boot loop with my Samsung Galaxy S2 GT-I9100. I want to copy my files on my computer. Is it possible?
Thanks
Click to expand...
Click to collapse
Can you access recovery
Sent from my LG-X160 using XDA Free mobile app
droid_god said:
Can you access recovery
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
yes i can access to recovery
joelcloutier said:
yes i can access to recovery
Click to expand...
Click to collapse
So do a backup and extract the data.img file on pc and you will have all the data
Sent from my LG-X160 using XDA Free mobile app
droid_god said:
So do a backup and extract the data.img file on pc and you will have all the data
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
when i get in the recovery mode i can;
reboot
apply update from sd card
wipe date/factory reset or
wipe cache partition
so how do i do a back up ?
thanks
joelcloutier said:
when i get in the recovery mode i can;
reboot
apply update from sd card
wipe date/factory reset or
wipe cache partition
so how do i do a back up ?
thanks
Click to expand...
Click to collapse
you cant, unless you have a custom recovery like twrp, cwm, or phils.
bweN diorD said:
you cant, unless you have a custom recovery like twrp, cwm, or phils.
Click to expand...
Click to collapse
anything else i could do?
joelcloutier said:
anything else i could do?
Click to expand...
Click to collapse
i dont know of a way, thats not to say there is none. sorry
bweN diorD said:
i dont know of a way, thats not to say there is none. sorry
Click to expand...
Click to collapse
I think there is a way to access filea on device using ubuntu 11 ans device in fastboot or download mode.
Sent from my LG-X160 using XDA Free mobile app

Categories

Resources