Nexus 5 bootloop - Nexus 5 Q&A, Help & Troubleshooting

Hi guys.
I gave my nexus 5 to my girlfriend after I bought a new smartphone. I used to run a rom on it. Yesterday she tried to update the official system through the android notification and it's boot looping since then.
I tried to flash a rom again through nexus toolkit, but I don't really remember the android version it has. (Autodetect doesn't work since it's not in debug mode). Any suggestion on what to do? What happens if I select a wrong android build when I am asked " your current android build "? Thanks for support

Choose *any build* and continue normally.

You can manually flash the phone using fastboot commands. Adb commands and debugging are not necessary using fastboot to flash a rom.

Related

Update to Lollipop 5.1 [No Root/No Wipe/No Flashing/No Custom Recovery NEEDED !!!]

Hi,
Its been a long time since I got my nexus5 and decided not to do anything with it (root/flashing). I waited for Lollipop 5.0 & 5.0.1 OTA to reach my device. BUT, I couldn't wait until Lollipop 5.1 hit OTA to my device. So I decided to ahead and get that.
I didn't want to Wipe all data OR Root OR Flash custom ROMS OR Unlock the Bootloader (which anyways wipe all data). So, I read & searched for a way to get 5.1 OTA files installed. voila !! I found a way (most of u guys will know this. But thought would be great to share with you. ) adb & Sideload
First I downloaded the drivers & the latest Android SDK (Android Studio)
Then, Downloaded the appropriate OTA Image file & move it into Platform-Tools Folder. (have to match with current Build Number LRX22C/LRX210)
Enabled USB Debugging
Connect the device to PC
Checked if adb is running OK (*The best place to open a command prompt is from within the Platform-Tools in the SDK. Open command prompt as Administrator”)
type : adb devices
Click to expand...
Click to collapse
You should get a serial number followed by “device.”
015d182f9a0aac28 device
Click to expand...
Click to collapse
Reboot to the Bootloader
adb reboot bootloader
Click to expand...
Click to collapse
Use Volume Down on your device to until you see “Recovery.”
Select it with the Power button.
Your device will boot to an Android logo with a exclamation mark.
To jump past this, press Volume Up and Power at the same time.
You will now be in stock recovery.
With Volume Down, highlight “apply update from ADB.” Press Power to choose it.
Back to your PC, type the following command:
adb sideload <filename of update.zip>
Click to expand...
Click to collapse
If your adb is working properly, you should see the file transfer to your device in adb.
Once that finishes, your device will begin to update.
Once it has finished, simply reboot and enjoy the update.
OTA Files
Android 5.1 LMY47D from Android 5.0.1 LRX22C
Android 5.1 LMY47D from Android 5.0 LRX21O
Source
Happy Sideloading
haarsh said:
Hi,
Its been a long time since I got my nexus5 and decided not to do anything with it (root/flashing). I waited for Lollipop 5.0 & 5.0.1 OTA to reach my device. BUT, I couldn't wait until Lollipop 5.1 hit OTA to my device. So I decided to ahead and get that.
I didn't want to Wipe all data OR Root OR Flash custom ROMS OR Unlock the Bootloader (which anyways wipe all data). So, I read & searched for a way to get 5.1 OTA files installed. voila !! I found a way (most of u guys will know this. But thought would be great to share with you. ) adb & Sideload
First I downloaded the drivers & the latest Android SDK (Android Studio)
Then, Downloaded the appropriate OTA Image file & move it into Platform-Tools Folder. (have to match with current Build Number LRX22C/LRX210)
Enabled USB Debugging
Connect the device to PC
Checked if adb is running OK (*The best place to open a command prompt is from within the Platform-Tools in the SDK. Open command prompt as Administrator”)
You should get a serial number followed by “device.”
Reboot to the Bootloader
Use Volume Down on your device to until you see “Recovery.”
Select it with the Power button.
Your device will boot to an Android logo with a exclamation mark.
To jump past this, press Volume Up and Power at the same time.
You will now be in stock recovery.
With Volume Down, highlight “apply update from ADB.” Press Power to choose it.
Back to your PC, type the following command:
If your adb is working properly, you should see the file transfer to your device in adb.
Once that finishes, your device will begin to update.
Once it has finished, simply reboot and enjoy the update.
OTA Files
Android 5.1 LMY47D from Android 5.0.1 LRX22C
Android 5.1 LMY47D from Android 5.0 LRX21O
Source
Happy Sideloading
Click to expand...
Click to collapse
Well.. yeah... this is how sideloading is done with stock recovery.
Thanks anyways
Im running Win 8.1 and my pc does not recognize the phone as soon as it enters recovery and I can therefore not sideload the file. . Any trick to get this to work would be greatly appreciated.
TommyTheGun said:
Im running Win 8.1 and my pc does not recognize the phone as soon as it enters recovery and I can therefore not sideload the file. . Any trick to get this to work would be greatly appreciated.
Click to expand...
Click to collapse
Hi, Pls look into this guide.
Hope it helps
Isn't the sideload option in stock recovery (long time since I have seen it).
Seems you could just download it to your phone, enter stock recovery and sideload from there.
wangdaning said:
Isn't the sideload option in stock recovery (long time since I have seen it).
Seems you could just download it to your phone, enter stock recovery and sideload from there.
Click to expand...
Click to collapse
Hi, there is no sideload option in stock recovery as it seems. Device need to be connected to a PC and after selecting the option "apply update via adb" in recovey only can push the update zip
Sent from my Nexus 5 using XDA Free mobile app
not working.. i have completely stock nexus 5. running on win7. i instaled drivers. usb debugging enabled. when phone is normal running state and type adb devices, device is recognized and device manager in windows show
Android Composite ADB Interface
Click to expand...
Click to collapse
when enter adb reboot bootloader, device reset to fastboot and in system device manager show
Android Bootloader Interface
Click to expand...
Click to collapse
if enter to recovery or type adb reboot recovery (instead of adb reboot bootloader), device reset to recovery mode. but in this moment its disconnected from win completely and device manager not show any android device. offcourse when enter adb devices, device not show and adb sideload then not work. any ideas?
glirpi said:
not working.. i have completely stock nexus 5. running on win7. i instaled drivers. usb debugging enabled. when phone is normal running state and type adb devices, device is recognized and device manager in windows show
when enter adb reboot bootloader, device reset to fastboot and in system device manager show
if enter to recovery or type adb reboot recovery (instead of adb reboot bootloader), device reset to recovery mode. but in this moment its disconnected from win completely and device manager not show any android device. offcourse when enter adb devices, device not show and adb sideload then not work. any ideas?
Click to expand...
Click to collapse
Long ago, I had the exact same issues in Win7.
Clockwork's universal drivers fixed it for me.
You can find the links in this post
http://forum.xda-developers.com/showpost.php?p=59420668&postcount=322
my fault. everything is OK.
the 10th step
To jump past this, press Volume Up and Power at the same time.
Click to expand...
Click to collapse
not that clear. properly it should be: press power, then press volume up, release volume up and then release power if i try it push in same time, nothing happened.
then if show recovery menu and select apply update from ADB, new device in device manager is show
thank you!
need LMY47I OTA file
can u post the OTA for LMY47i like the one you posted for LMY47D
vaasbtech said:
can u post the OTA for LMY47i like the one you posted for LMY47D
Click to expand...
Click to collapse
Hi, What is your Device's Model (nexus 5 / nexus 6 etc)
Hello, my nexus's model number is LRX22C,
But here (https://developers.google.com/android/nexus/images) I can not find 5.1 image file for LRX22C.
Also when I check for updates it says my device has already last android version, but I'm on 5.0.1
Cool story bro
Conixcit said:
Hello, my nexus's model number is LRX22C,
But here (https://developers.google.com/android/nexus/images) I can not find 5.1 image file for LRX22C.
Also when I check for updates it says my device has already last android version, but I'm on 5.0.1
Cool story bro
Click to expand...
Click to collapse
Hi, LRX22C is not the model no. Its the Build Number Do you have a nexus 5 or any other ?
Sent from my Nexus 5 using XDA Free mobile app
Sent from my Nexus 5 using XDA Free mobile app
I get message "You need to have ADB version 1.0.32 or newer to sideload this device".
Found v32 online, downloaded, unzipped, put OTA file in that folder, followed your guide and boom, I`m now on 5.1 !!!!! I was so fed up waiting for Google to push 5.1 on my Nexus 5, but now I have it.
Thank you so much for such an easy tutorial.
haarsh said:
Hi, What is your Device's Model (nexus 5 / nexus 6 etc)
Click to expand...
Click to collapse
Its nexus 5 plz do post me the link
vaasbtech said:
Its nexus 5 plz do post me the link
Click to expand...
Click to collapse
Click here
Source : https://developers.google.com/android/nexus/images
Sent from my Nexus 5 using XDA Free mobile app
Bro need the OTA update file which was around 200mb which you have posted on the start of the page.I have downloaded this file earlier itself but don't know which file to copy and paste in platform-tools.
Sent from my Nexus 5 using XDA Free mobile app
This made my job very easy..... Thanks..
haarsh said:
[*]Back to your PC, type the following command:
Click to expand...
Click to collapse
I get ERROR: DEVICE OFFLINE

[Q] How to enable usb debugging from recovery

Hi everyone.
So here is my problem.. I wanted to change rom, was on Cataclysm and wanted to flash the latest Dirty unicorn rom but I kinda ****ed up.
I did a full wipe like asked (system etc) and I wanted to flash the new rom and gapps from TWRP, using adb and fastboot. I downloaded latest drivers for the nexus 5 on my pc, and they are working, I assume.
My problem is that, since I don't have USB Debugging enabled, my device is not listed when I open a command prompt Window in adb folder and type fastboot devices.
So now I'm stuck with my nexus 5 with no os on it, and I was wondering if I could enable usb debugging via TWRP or..?
Thanks in advance !
Note : My device is rooted BUT Unlocked, if that can help.
Your problem is either your memory if you've done this before or your reading if you haven't. Tell twrp to reboot to bootloader and try again there
Sent from my Nexus 5 using Tapatalk

Nexus 5 wont boot after ota update to Android 6

Hi all
yesterday I updated my Nexus 5 to android 6 via ota update notification. it seems it didn't download correctly. after a hour I power off my cellphone and after that it didnt boot again and still in page with android logo and ! red mark.
I tried to install ota update file via adb sideload but I got status 7 error. after that I tried to solve status 7 with flash system.img's factory image file but when I type fastboot flash system system.img it still on <<waiting for device>> screen.
How can I solve this problem. my datas are very important for me and I dont want to lost theme.
To successfully run 'fastboot flash system system.img', the device needs to be in fastboot mode (the bootloader), not in recovery.
Sent from my Nexus 5 using Tapatalk

Rooting new nexus 5 with 6.01

Android 6.0.1, build number MOB30H
I have a brand new nexus 5 that I want to root. Using ota, I accepted the system updates to 6.0.1 with the Android security patch of May 1, 2016. (not sure if that was a good idea or not but it's done now....). Now I want to root it with a twrp recovery.
Like most run of the mill users I've only rooted a device 2-3 times in my life, so my memory is rusty on how exactly to do it. I searched this forum and found many threads about this or that rooting problem which just confused me further. I know I need to unlock the bootloader and then flash a twrp recovery but I am not sure of the exact sequence of steps.
1. When I connect the nexus 5 to my windows pc using adb, it appears in Windows but the nexus 5 folder is empty. I have developer options available and usb debugging is on but I can't find where the mtp switch is.
2. Adb.
I have adb installed in Windows. The command "adb devices" returns the nexus 5 number unauthorized.
Don't know what "unauthorized" means or what to do about it.
I've done nothing further because I don't want to mess things up. Please help me resolve questions 1 and 2. Then, I presume I need to
A. unlock the bootloader
Fastboot command?
B. What's next?
Thanks for any help.
Two things, have you enabled developer options. Go to settings, about phone and tap build number 7 times. In developer options you can change USB configuration and you'll also need to enable OEM unlock. Then unlock and root your device per the guide in the general section.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Two things, have you enabled developer options. Go to settings, about phone and tap build number 7 times. In developer options you can change USB configuration and you'll also need to enable OEM unlock. Then unlock and root your device per the guide in the general section.
Click to expand...
Click to collapse
Just to add,not to confuse him even more, there is no Oem unlock option for Nexus 5
Sent from my Alps Q10101 using XDA Labs
You need to connect the phone in fastboot mode, run the command "fastboot oem unlock:, accept the agreement using the volume and power buttons, reboot into fastboot mode, flash twrp, copy the latest version of supersu.zip to the phone's internal memory, and flash supersu.zip from twrp.
You can install TWRP and root without using ADB commands.
Yes I already had developer options working and also usb debug on.
Discovered that mtp is a problem in marshmallow. I finally got file transfer working.
audit13 said:
You need to connect the phone in fastboot mode, run the command "fastboot oem unlock:, accept the agreement using the volume and power buttons, reboot into fastboot mode, flash twrp, copy the latest version of supersu.zip to the phone's internal memory, and flash supersu.zip from twrp.
You can install TWRP and root without using ADB commands.
Click to expand...
Click to collapse
Thank you very much. That is very helpful.
I didn't know you could "install TWRP and root without using ADB commands". How do you do that?
BTW, I updated the new nexus 5 to marshmallow inadvertently. When I root I'll probably use a 5.1.1 image. Good idea?
Stevica Smederevac said:
Just to add,not to confuse him even more, there is no Oem unlock option for Nexus 5
Sent from my Alps Q10101 using XDA Labs
Click to expand...
Click to collapse
Yep, my bad. Sorry about that. My 5 crapped out and have the 5x now. Amazing how fast you forget things, lol.
Sent from my Nexus 9 using XDA Free mobile app
Download and flash twrp in fastboot mode: https://dl.twrp.me/hammerhead/twrp-3.0.2-0-hammerhead.img.html
Download supersu.zip and save it to the phone's internal memory: https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Boot the phone into fasboot mode, open a command prompt, type fastboot devices and press enter. If the device is recognized, you'll see the device's serial number. Unlock the bootloader by typing "fastboot oem unlock" and use the volume/power button to accept the agreement and unlock the bootloader. Unlocking the bootloader will wipe the phone's data and cache.
To install TWRP, boot the phone into fastboot mode, connect it to the computer, open a command prompt, and type "fastboot flash recovery name-of-TWRP-file,img" and press enter. After flashing, immediately boot into recovery using the power and volume buttons, and then flash supersu.zip.
Thank you so much audit13. I really appreciate your help.
One question if I may. Reading on the web about rooting the nexus 5 running marshmallow I came across a couple of sites that said I should download and flash "ElementalX kernel and SuperSU 2.52" in addition to supersu.
I've never had to install a separate kernel when I rooted in the past. I notice you don't add flashing a kernel either. Can I ignore flashing a special kernel?
Thank you so very much for your clear instructions.
Some root methods require a rootable kernel. The latest supersu should root mm.
Thank you. Ran into a problem. That's why people like me are afraid of rooting.
Bootloader is now unlocked. Thanks.
With the N5 in fastboot mode, I connected it again with the laptop.
From the laptop command prompt I ussued "fastboot devices" and it found the phone.
Problem:
1. Fastboot flash recovery.img
(I had renamed the twrp 3.0.2 img file to recovery. Img)
Result:
unknown partition 'recovery.img'
error: cannot determine image filename for' recovery.img'
Tried by downloading a fresh copy and using its original filename.
Same result.
What am I doing wrong?
Thank you.
Found my error. I forgot the word recovery.
I now flashed twrp successfully!
When I went to flash supersu I discovered that the supersu I had downloaded was no longer in download folder. Guess it got wiped. So I rebooted into system and will download it again. Hope that does not mess up things.
Edit:
All went well. Re-downloaded SuperSU, installed fine and I'm home free.
Thank you all, especially audit13. This is a nerve-wracking process for people who only do it rarely. Glad it is over. The rest is easy!
I spoke too soon. I believe I now have a boot loop? What I have is that the horizontal turning balls of marshmallow go around forever and never finish booting.
How do I exit from this?
So close, but not there!
Edit
I rebooted into twrp, deleted cache, davlik. Still in bootloop.
Deleted data. Still in bootloop.
Help.
Reflash the entire stock rom and start over.
Try the latest beta of supersu: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Great you are still here.
Need more details.
You say reflash stock rom. Where do I get it? How do I get it into the phone? Do I flash it through twrp?
How to flash factory image: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Factory images are here: https://developers.google.com/android/nexus/ota#hammerhead
Thank you again. Will do.
I think I know what went wrong. After I flashed twrp the phone rebooted into system before I could stop it and I think I interrupted it somewhere to return to twrp to flash Supersu. Anyway, glad I didn't brick it. Thanks again for being there.
It's morning now and after a good night's sleep I'm less rattled. Will get breakfast and start again.
I'm going out with my wife for breakfast.
I haven't followed the marshmallow threads but I recall reading about lingering problems with marshmallow. I also like to use xprivacy and gravitybox. So I'm thinking of flashing the latest 5.1.1 instead of 6. Any thoughts?
I like both ROMs but my battery life seems a bit better on MM. I'm sticking with unrooted stock ROMs on all of my phones for now.
Being a "flashaholic" is tiring!
audit13, I know you know this but it was so simple to do (once you know how.....!). It took me the whole of 20 minutes, if that, to download the files, flash 5.1.1, flash twrp and install SuperSU. Makes you wonder why I had so much trouble before!
Well when you don't know the command syntax (forget to write which partition to flash to) and are frozen with fear that you will brick the phone, it is a scary process. Once I knew how, I breezed through it. Problem is that by the next time I need to do this, I will have forgotten how or will worry that the process has changed.
I just want to thank you more than I can say for helping and hanging in while I made my mistakes. I wish there was a way I could thank you with more than words. You were great!
P.S. This time I used the beta SuperSU. Don't know if it made any difference.

One plus 6t stuck on fastboot screen when flashing twrp

Hey guys new to xda and rooting, I've rooted in the past but on older easier phones. I'm trying to flash twrp on my op6t and when I run fastboot boot twrp.img the phone changes to fastboot screen and stays there untill I force restart. I am using abd 1.43 and I am running Android 10.3.7 T-Mobile converted to international oem unlock. I've tried newest official twrp.img and I've tried an unofficial one I found linked in another thread that was said to work better with Android 10. Any help would be greatly appreciated!

Categories

Resources