Windows can't detect Nexus 5 anymore. How to lock boot loader and restore to factory - Nexus 5 Q&A, Help & Troubleshooting

Something happened to my Nexus 5 and I can't access it under Mac or Windows. I have ADB installed. It just wont show up in Windows even as an unknown device. Just nothing. I tried to put it in fastboot (bootloader screen) but still it cannot be detected. I checked MTP check box and it wouldn't make a difference. I thought I can still use the phone but now it keeps charging as USB even when plugged to an external charger. I tried different cables and chargers and still the same result.
Is there a way to lock the boot loader and reset the phone to factory default without using fastboot command on Windows? is there something I can do giving that I have root access to the phone in sequence to get it back to factory so I can return the phone? I have TWRP installed as recovery.

you can lock the bootloader with an app, if you have root. but you can only flash the factory img via fastboot. if needed, here are the instructions, but you do need to reinstall your driver http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701 . you can try another driver, like koushes adb driver, maybe thatll help.

Cool. I have root and I got bootloader locked and tamper set to untamper using the app. I have the original Google image installed but the recovery is TWRP. I think I just need to remove TWRP and I should be all set. Is it possible to do that without fastboot ?

ChocoboX said:
Cool. I have root and I got bootloader locked and tamper set to untamper using the app. I have the original Google image installed but the recovery is TWRP. I think I just need to remove TWRP and I should be all set. Is it possible to do that without fastboot ?
Click to expand...
Click to collapse
Yes, you can flash stock recovery via TWRP (in a zip, or flash the,img via flashify.... There is a link in the resources section of teh sticky thread (see signature) to recoveries (including stock)

ChocoboX said:
Cool. I have root and I got bootloader locked and tamper set to untamper using the app. I have the original Google image installed but the recovery is TWRP. I think I just need to remove TWRP and I should be all set. Is it possible to do that without fastboot ?
Click to expand...
Click to collapse
Again, an app will work, flashify. You'll need the stock recovery image to flash in it.
Sent from my Nexus 5 using XDA Free mobile app

Yeah, sounds like a borked USB connector. Some solid advice, but you could also use ADB over network. Would only help to prove it is the USB. If you can connect, get all data and then fastboot stock. Who knows, USB might work again, probably not though.
Sent from my Nexus 5 using XDA Premium App

Why are you returning the phone?
Sent from my Nexus 5 using Tapatalk

Visa Declined said:
Why are you returning the phone?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Multiple reasons, when Nexus 6 comes out, I want to sell N5 pand buy N6. Right now who wants to buy it like this?
But more importantly, USB charging speed even when plugged to AC adapter is very slow (USB charging) and is unacceptable. I'm a heavy user and I charge my phone mid day. I will try to test charging using a charging cable rather than data cable and see if that forces AC charging.
Lastly, I want to copy things fast to the device when needed. USB is much faster than 1 MB/s using Airdroid. This is not the first time. Last time, I returned it due to issue with GPS chip getting disconnected (a well known issue with first batch of N5 phones). Sad, this happened now.

Visa Declined said:
Why are you returning the phone?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
wangdaning said:
Yeah, sounds like a borked USB connector. Some solid advice, but you could also use ADB over network. Would only help to prove it is the USB. If you can connect, get all data and then fastboot stock. Who knows, USB might work again, probably not though.
Sent from my Nexus 5 using XDA Premium App
Click to expand...
Click to collapse
I got ADB over network to work. That's so cool !
How do I fastboot flash stock over WiFi ? I think ADB over network goes away as soon as the phone boots to fastboot.

ChocoboX said:
I got ADB over network to work. That's so cool !
How do I fastboot flash stock over WiFi ? I think ADB over network goes away as soon as the phone boots to fastboot.
Click to expand...
Click to collapse
You can't use fastboot over WiFi. ADB over network also automatically disables itself after a reboot.

jd1639 said:
Again, an app will work, flashify. You'll need the stock recovery image to flash in it.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Worked like a charm. Thanks !!

Lethargy said:
You can't use fastboot over WiFi. ADB over network also automatically disables itself after a reboot.
Click to expand...
Click to collapse
Yeah, that's what I thought. Thanks for the clarification

ChocoboX said:
Worked like a charm. Thanks !!
Click to expand...
Click to collapse
You're welcome!

Yeah, sorry, I have never been in the situation and was just theorizing about how it could be worked out. Brilliant people here and thank you everyone.

try a difference PC. every time I modify my phone I end up having to reflash the google ADB drivers and the MTP drivers.
Charging speed very likely would be cable issue.

Related

Build.prop

I have the Motorola Fire XT rooted and deleted the build.prop file in the system. I have a back - up of the file on my computer but not my phone. I need to figure out a way how to put it on my phone. My phone is in a boot loop. Any help? Thanks.
You could push it to your device via adb. This can be done manually or you could use a tool such as this: http://forum.xda-developers.com/showthread.php?t=1599332.
You need adb. Install adb and put the build.prop file in the same folder as adb and use the command "adb push build.prop /system"
Theonew said:
You could push it to your device via adb. This can be done manually or you could use a tool such as this: http://forum.xda-developers.com/showthread.php?t=1599332.
Click to expand...
Click to collapse
estallings15 said:
You need adb. Install adb and put the build.prop file in the same folder as adb and use the command "adb push build.prop /system"
Click to expand...
Click to collapse
What can one do if this action is needed (running ADB) but the user haven't turned on USB-Debuggning, nor can enter the recovery mode.
Considered a bricked device?
nikkop said:
What can one do if this action is needed (running ADB) but the user haven't turned on USB-Debuggning, nor can enter the recovery mode.
Considered a bricked device?
Click to expand...
Click to collapse
No. Do you have this issue? If so, are you able to boot into fastboot/bootloader?
Theonew said:
No. Do you have this issue? If so, are you able to boot into fastboot/bootloader?
Click to expand...
Click to collapse
Hello,
Yes I do.
I can't get into recovery mode because the device gets stuck at the logo.
I know it's the correct buttons being pressed as I do have another same tablet which enters recovery without problems.
If you mean fastboot via USB-Debugging? Well I can't do any ADB because I don't have USB-debugging enabled.
Any idea how to rescue this tab?
Thanks
nikkop said:
Hello,
Yes I do.
I can't get into recovery mode because the device gets stuck at the logo.
I know it's the correct buttons being pressed as I do have another same tablet which enters recovery without problems.
If you mean fastboot via USB-Debugging? Well I can't do any ADB because I don't have USB-debugging enabled.
Any idea how to rescue this tab?
Thanks
Click to expand...
Click to collapse
If resetting the device doesn't work, you don't have access to recovery mode/bootloader/fastboot or even download mode (depending on your device), then there is pretty much nothing you can really do to fix it yourself. The only other possibility would be to try to run the stock ruu (if it has one).
Theonew said:
If resetting the device doesn't work, you don't have access to recovery mode/bootloader/fastboot or even download mode (depending on your device), then there is pretty much nothing you can really do to fix it yourself. The only other possibility would be to try to run the stock ruu (if it has one).
Click to expand...
Click to collapse
Thanks for the suggestions, but that would suck
Must be something I can do.
It's a Chinese brand tablet, the quality is good but this is the only issue.
However, if I plug in the tablet to the computer, something called "WinDroid Linker" shows up on the PC and I remote to the tablet while I'm on the screen that says I need to do a factory reset. From there I can reach keyboard settings, but that's all I've figured out so far.
Due to the fact that I'm able to remote the tablet, shouldn't I be able to do something from there?
I'm not, however, able to reach the storage as far as I know.
Thanks
nikkop said:
Thanks for the suggestions, but that would suck
Must be something I can do.
It's a Chinese brand tablet, the quality is good but this is the only issue.
However, if I plug in the tablet to the computer, something called "WinDroid Linker" shows up on the PC and I remote to the tablet while I'm on the screen that says I need to do a factory reset. From there I can reach keyboard settings, but that's all I've figured out so far.
Due to the fact that I'm able to remote the tablet, shouldn't I be able to do something from there?
I'm not, however, able to reach the storage as far as I know.
Thanks
Click to expand...
Click to collapse
Maybe, but only if you can bypass the part.
Thanks
Thanks for all the suggestions. I have already tried adb but it says my phone is offline. I can get into recovery but idk if that will do much. Idk how to get my phone into fastboot. Thanks.
Theonew said:
If resetting the device doesn't work, you don't have access to recovery mode/bootloader/fastboot or even download mode (depending on your device), then there is pretty much nothing you can really do to fix it yourself. The only other possibility would be to try to run the stock ruu (if it has one).
Click to expand...
Click to collapse
I can get into recovery mode but ADB says my phone is offline so I cant do anything with that. Idk what bootloader is or fast boot but maybe that would be a solution. Thanks.
If you can get into recovery mode, find the mount options. Mount /system. Then adb push the file to your phone.
Sent from my SGH-T999 using xda premium
Theonew said:
If resetting the device doesn't work, you don't have access to recovery mode/bootloader/fastboot or even download mode (depending on your device), then there is pretty much nothing you can really do to fix it yourself. The only other possibility would be to try to run the stock ruu (if it has one).
Click to expand...
Click to collapse
option94 said:
If you can get into recovery mode, find the mount options. Mount /system. Then adb push the file to your phone.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Ya but if im in recovery my phone wont show up in the listed devices. And now my device wont show up as its booting up. If there is a way for adb to recognize the phone in recovery that would be great.
If you have adb properly setup it should see it in recovery. What recovery are youbusing? I do this stuff in clockwork all the time when I'm porting roms.
Sent from my SGH-T999 using xda premium
option94 said:
If you have adb properly setup it should see it in recovery. What recovery are youbusing? I do this stuff in clockwork all the time when I'm porting roms.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Android system recovery. Idk how to get clockwork.
Froggywoggy25 said:
Android system recovery. Idk how to get clockwork.
Click to expand...
Click to collapse
See my post about unbricking fire xt.
Don't forget the Thanks button
Sent from my XT530 using xda app-developers app
build.prop lost
can u put a copy of build.prop becoz i hav lost my copy......
aweosomeabhijeet said:
See my post about unbricking fire xt.
Don't forget the Thanks button
Sent from my XT530 using xda app-developers app
Click to expand...
Click to collapse
can u post build.prop for motorola fire xt 530......

Nexus 5 soft bricked after installing the wrong kernel

So i have a big problem, i acidentally downloaded the wrong kernel for my Nexus 5 (acidenttly got the nexus 4 versionb of Hells-core instead of the N5 version.) and flashed it, Now my phone wont boot nor can i access recovery or the bootloader. BUT when i plug it into my computer it tries to install drivers but fails because it cant find them, So im pretty sure its not a paper weight. Im running windows xp and was using carbon. If ANYONE can help please let me know.
http://forum.xda-developers.com/google-nexus-5/general/bootloader-bootloader-nexus-5-t2746343
Check this thread out it will probably help. If you can get into it you should be able to fastboot flash your phone back to working condition
Sent from my Google Nexus 5 using Tapatalk
grim489 said:
http://forum.xda-developers.com/google-nexus-5/general/bootloader-bootloader-nexus-5-t2746343
Check this thread out it will probably help. If you can get into it you should be able to fastboot flash your phone back to working condition
Sent from my Google Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i managed to get it into recovery as well as fastboot. but now when i try to do my recovery backup it causes the same error i was having i.e it would be detected by my laptop but i cant see anything. i may have to do a complete factory restore and see what happenes. Its kinda sad my GF with really NO android experience helped me get it into bootloader WHICH for anyone that has an issue similar to mine where your PC detects your device but you cant see anything on the screen hold down both up and down + power to get into bootloader. if it doesnt work at first hold down down + power (while its still connected to your pc so you can hear it feject) as soon as you hear the eject noise press and up down+up+power and you will be in bootloader
This guy had the same problem
http://forum.xda-developers.com/showthread.php?t=2746343
He dd'd his messed up partition back. I guess it's the bootloader that was overwritten but you can dd the secondary bootloader to the primary bootloader partition and it'd fix it hopefully.
Sent from my Nexus 5 using Tapatalk
grim489 said:
This guy had the same problem
http://forum.xda-developers.com/showthread.php?t=2746343
He dd'd his messed up partition back. I guess it's the bootloader that was overwritten but you can dd the secondary bootloader to the primary bootloader partition and it'd fix it hopefully.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
but i cant access adb shell because it tells me adb not found. so i dont know how to fix it.
NVM just went into recovered and then entered that command. Booted Right back up. Im going to make this a thread and HOPEFULLY it can get stickied. Thanks for all your help
No problem [emoji2] would you mind pressing the thanks button though? I'd appreciate it!
Sent from my Nexus 5 using Tapatalk

[Q] Trouble Unbricking

Hey all,
Recently took advantage of Google's 1 time replacement policy as my phone is completely shattered. Received the new one in the mail the next day, installed everything and transferred my data, then went to set the old one up to send it back. I decided to unroot and relock the bootloader, then I went to wipe data via TWRP (why I didn't flash stock recovery before wiping I don't know...) Unfortunately, I was rushing and managed to stupidly hit wipe everything, and I have no OS. The phone is soft bricked. Normally this wouldn't be too much of a challenge, but my phone also refuses to be recognized by my computer (Windows 7). The new one installs drivers and pops up perfectly, but the old one doesn't show up while in bootloader or recovery. When I try to run fastboot commands, any application I try says "Waiting for Device" (including the Kwongger toolkit unbricking setup).
Short explanation: I managed to idiotically wipe the OS, now my computer won't recognize it while it's in TWRP or bootloader.
Anybody have advice on how to fix this and flash a stock image? Should I risk sending it to Google like this?
Thanks for any help you can provide!
If you're worried about it, flash the factory image in fastboot. But I wouldn't worry too much. Google's pretty cool about flashing stuff to your phone.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If you're worried about it, flash the factory image in fastboot. But I wouldn't worry too much. Google's pretty cool about flashing stuff to your phone.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
How would I go about getting the file onto the phone (my stock backup disappeared from TWRP, forgot to mention that in the OP) if I can't connect to my computer?
Thanks for the reassurance - if I can't get it working by tomorrow I think I'll probably just send it in and see what happens.
All you can do is try lg flash tool. Link in my signature
Sent from my Nexus 5 using Tapatalk
rootSU said:
All you can do is try lg flash tool. Link in my signature
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for the advice - I tried it, but the phone doesn't enter download mode. It just enters the powered off but charging state (where the charging battery symbol flashes on the screen).
Additionally, when I launch the FlashTool, it says "LG USB/Parallel lock key is not detected" then sends me to a login screen (it appears this person had the same issue, but solved it without posting how to solve it). Any ideas?
miller150 said:
Thanks for the advice - I tried it, but the phone doesn't enter download mode. It just enters the powered off but charging state (where the charging battery symbol flashes on the screen).
Additionally, when I launch the FlashTool, it says "LG USB/Parallel lock key is not detected" then sends me to a login screen (it appears this person had the same issue, but solved it without posting how to solve it). Any ideas?
Click to expand...
Click to collapse
I haven't. You can try posting in the LG Flashtool thread... You may get better answers there
miller150 said:
Thanks for the advice - I tried it, but the phone doesn't enter download mode. It just enters the powered off but charging state (where the charging battery symbol flashes on the screen).
Additionally, when I launch the FlashTool, it says "LG USB/Parallel lock key is not detected" then sends me to a login screen (it appears this person had the same issue, but solved it without posting how to solve it). Any ideas?
Click to expand...
Click to collapse
There is a megalock dll in the crack folder. Replace the original dll with the one from the crack folder.
I wouldn't worry about flashing back to stock. Like said before, Google doesn't really care about what firmware you're running. You're not going to run into any problems if you send the phone back in its current state.
Sent from my iPhone 6 using Tapatalk
bitdomo said:
There is a megalock dll in the crack folder. Replace the original dll with the one from the crack folder.
Click to expand...
Click to collapse
That fixed the issue with flashtool, but unfortunately something on my phone must be busted; it won't go into download mode. I tried my new one just to ensure the cable and port were working, and it went right in. I think I'll just have to send it in and hope they don't mind. Thanks for the help guys!

[Q] DAMN IT! Deleted everything - NO OS Installed

So I was going to reinstall Cataclysm ROM because it has been giving me problems the last few days, mainly it's been dropping my WiFi signal forcing me to switch it on and off just to use my phone, like once every minute
So I downloaded the file to my device, and went to flash it, but I wiped the dalvik and cache, and I pressed data I'm pretty sure, 100% by accident cuz I was so mad at my WiFi signal constantly dropping
Anyways now my phone says "No OS Installed, are you sure you want to reboot?"
I just did a few hours worth of research and... nothing seems to work
I've tried a few ADB sideload guides but I can't seem to follow what they're saying since my screen shows something completely different than what theirs shows
I checked a couple forums too and no one else was experiencing what I am
So I've come to you guys to help D:
Basically I have TWRP installed, my computer doesn't recognize the device when I use the flashall.bat in Windows, so I tried a few different cables, same thing
Any other ideas?
I saw the USB OTG method works, should I just buy one of those and try it out?
It's just like an add on hard drive that I'll load the ROM onto right?
Do I have to flash the stock img or can I flash a new ROM, like Cataclysm again, or Carbon or something?
I'm going to go buy one of those USB OTG drives, a Kingston 32 or 64gb one from Canada Computers
#fingerscrossed it works guys!
If you have anything else for me to try let me know!
devchaube said:
Basically I have TWRP installed, my computer doesn't recognize the device when I use the flashall.bat in Windows, so I tried a few different cables, same thing
Click to expand...
Click to collapse
Flashall.bat, which uses the program fastboot, isnt meant to be used with a recovery (in this case, TWRP). It is to be used on the bootloader.
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Flashall.bat, which uses the program fastboot, isnt meant to be used with a recovery (in this case, TWRP). It is to be used on the bootloader.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yeah the bootloader is the menu with the reccovery, restart BL, and start, and poweroff right
i tried it on that menu too, did not work
be back in an hour, gonna go get the usb otg, good sale right now, $15 for 32gb!
beekay201 said:
Flashall.bat, which uses the program fastboot, isnt meant to be used with a recovery (in this case, TWRP). It is to be used on the bootloader.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Back in business! Picked up a couple of USB 32GB OTGs for $15 each (WICKED)
Plugged them into my PC, transferred 3 ROMs over (Cataclysm, XtraSmooth, and Stock IMG)
Just tried Cataclysm now, and it's working, everything was successful, and no problems!
Damn I love USB OTG
devchaube said:
Yeah the bootloader is the menu with the reccovery, restart BL, and start, and poweroff right
i tried it on that menu too, did not work
be back in an hour, gonna go get the usb otg, good sale right now, $15 for 32gb!
Click to expand...
Click to collapse
If it did not work there, it must have been a missing driver issue. Or your fastboot setup.
Sent from my Nexus 5 using Tapatalk
Okay so I flashed Cataclysm ROM and XtraSmooth ROM but they both give me a black screen after the white "android" logo is done
I think its the black screen of death
Any ideas on how to get rid of it?
devchaube said:
Okay so I flashed Cataclysm ROM and XtraSmooth ROM but they both give me a black screen after the white "android" logo is done
I think its the black screen of death
Any ideas on how to get rid of it?
Click to expand...
Click to collapse
Wipe /data before you switch roms
Sent from my Nexus 5 using Tapatalk
beekay201 said:
Wipe /data before you switch roms
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Got it working last night, since I couldn't do it using TWRP or CMD
I just used Wugs Toolkit, selected the bricked / bootloop option, and flashed stock + unrooted it
Loaded the newest imgs available, so I'm good for now
I'll wait a bit, see if the WiFi thing comes back on stock, if not then it was probably something to do with Cataclysm, I didn't even save any logs to hard to see what it was
Thanks for all your help though!
It didn't work because you didn't install the drivers for adb/fastboot properly. Anyhow nice to see your device is working again!

Phone won't boot, can I still access the storage?

My wife's stock, un-modded one s sat for a few months (she got a new phone) and now it won't boot-up past the "ONE" logo. I've NOT tried a hard reset because I don't want to wipe the data. I'm unable to see the device connected to any computer when I plug it in via USB (through the OS or adb).
I don't really care about the phone but there is some data on it that we'd like to retrieve, mainly calendar events that were saved to the built-in storage. Does anyone know if it's possible via some type of hardware hack to get this data pulled off?
Yes you can get data by unlocking bootloader and flashing recovery on it
Sent from my One S using Tapatalk
xameeristar134 said:
Yes you can get data by unlocking bootloader and flashing recovery on it
Sent from my One S using Tapatalk
Click to expand...
Click to collapse
Appreciate the reply but I'm not sure this is possible. It's a bone stock phone which means USB Debugging isn't enabled so I don't think I can use any of the tools out there to unlock it. Maybe I'm wrong on that?
You can check I think its working without debugging
Sent from my One S using Tapatalk

Categories

Resources