Soft Brick - Nexus 5X Q&A, Help & Troubleshooting

Hey,
Hopefully you guys can give me some help with the problem ive been having,
My nexus 5 is stuck in bootloop, i can get into the bootloader and the lockstate is unlocked but no custom recovery is appearing like it used to. I tried flashing using ADB but my phone doesn't show up as a device on my pc.
i have tried to wipe the cache ect and it comes up with "E:failed to mount /cache (invalid argument)
I only really know the basics of this stuff (only ever used the basic stuff to root and flash my phone)

Sounds like debugging is not enabled.
Sent from my Nexus 5X using Tapatalk 2

hopesrequiem said:
Sounds like debugging is not enabled.
Sent from my Nexus 5X using Tapatalk 2
Click to expand...
Click to collapse
How can i do that when i can't get on the phone aha

mworley1991 said:
How can i do that when i can't get on the phone aha
Click to expand...
Click to collapse
Does anything come up when you type "fastboot devices" while your connected in bootloader/fastboot mode?
Sent from my Nexus 5X using XDA-Developers mobile app

hopesrequiem said:
Sounds like debugging is not enabled.
Sent from my Nexus 5X using Tapatalk 2
Click to expand...
Click to collapse
That's only necessary for ADB when booted into Android. Not required when using it from recovery. Anyway, that's irrelevant. The op should be using fastboot in bootloader mode.
Sent from my Nexus 5X using Tapatalk

PiousInquisitor said:
That's only necessary for ADB when booted into Android. Not required when using it from recovery. Anyway, that's irrelevant. The op should be using fastboot in bootloader mode.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
yeah im in fasboot

mworley1991 said:
yeah im in fasboot
Click to expand...
Click to collapse
You should be using fastboot then. I suspect you were, but like so many, erroneously called it ADB.
Sent from my Nexus 5X using Tapatalk

PiousInquisitor said:
You should be using fastboot then. I suspect you were, but like so many, erroneously called it ADB.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
any idea how i can fix this? i meant ADB as in the console on the pc trying to flash through the console isnt showing my device

mworley1991 said:
any idea how i can fix this? i meant ADB as in the console on the pc trying to flash through the console isnt showing my device
Click to expand...
Click to collapse
You need to take Android 101 again. ADB doesn't work when in the bootloader. It works when booted and in recovery.
There are a few potential fixes and a for-damn-sure one. Were you an a custom rom when the bootloop occurred? Rooted stock? More info please...
Sent from my Nexus 5X using Tapatalk

PiousInquisitor said:
You need to take Android 101 again. ADB doesn't work when in the bootloader. It works when booted and in recovery.
There are a few potential fixes and a for-damn-sure one. Were you an a custom rom when the bootloop occurred? Rooted stock? More info please...
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Rooted stock, but for some reason the custom recovery isn't there anymore either

mworley1991 said:
Rooted stock, but for some reason the custom recovery isn't there anymore either
Click to expand...
Click to collapse
So if I were you I'd download the latest factory images from HERE. Unzip bullhead-mhc19q-factory-22ba5e5a.tgz (or whatever the name is). Then remove the -w from the flash-all.bat file located in the unziped folder. Then execute the flash-all.bat to reflash the factory images without wiping data. Have fun.

mworley1991 said:
Hey,
My nexus 5 is
Click to expand...
Click to collapse
Hold up.
Do you own a 2015 LG Nexus 5X with a fingerprint scanner on the back of the phone?
Sent from my Nexus 5X using Tapatalk

PiousInquisitor said:
So if I were you I'd download the latest factory images from HERE. Unzip bullhead-mhc19q-factory-22ba5e5a.tgz (or whatever the name is). Then remove the -w from the flash-all.bat file located in the unziped folder. Then execute the flash-all.bat to reflash the factory images without wiping data. Have fun.
Click to expand...
Click to collapse
I don't think that works.
I also have the same problem and when I do that, it errors as "FAILED (remote: device is locked. Cannot flash images)"
Is there a way to unlock bricked device??

redpotatojae said:
I don't think that works.
I also have the same problem and when I do that, it errors as "FAILED (remote: device is locked. Cannot flash images)"
Is there a way to unlock bricked device??
Click to expand...
Click to collapse
You are not in the same situation. Your bootloader is locked. Before anyone can help you, you need to provide more information about your sh!tuation.
Sent from my Nexus 5X using Tapatalk

Related

Stock Rom for Cwm?

Hi
Where I can find stock Rom for Cwm?
Or Maybe you know how can I return on stock Rom? I am on Arhd Rom...
Thanks
Sent from my Galaxy Nexus using XDA
billouetaudrey said:
Hi
Where I can find stock Rom for Cwm?
Or Maybe you know how can I return on stock Rom? I am on Arhd Rom...
Thanks
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
You can use fastboot on your computer with google factory image for 4.0.4
vigor00 said:
You can use fastboot on your computer with google factory image for 4.0.4
Click to expand...
Click to collapse
Ok so I can't use Google Factory image with CWM?
And, If I use fastboot, I lost CWM , lockbootloader and root or not ?
Thx
Sent from my Transformer TF101 using xda premium
You will lose cwm and root. Doesn't unlock your boot loader. But its easy to use fast boot to return everything back or use gnex tool to do it for you. Its stickied in the development section .
Emhalwis said:
You will lose cwm and root. Doesn't unlock your boot loader. But its easy to use fast boot to return everything back or use gnex tool to do it for you. Its stickied in the development section .
Click to expand...
Click to collapse
Okey thanks, it's the ultim solution for return SAV
Thanks you !
Sent from my Transformer TF101 using xda premium
billouetaudrey said:
Ok so I can't use Google Factory image with CWM?
And, If I use fastboot, I lost CWM , lockbootloader and root or not ?
Thx
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
The factory images from Google are not pack properly for use with CWM. I plan to do it as soon as I have some spare time, but haven't gotten around to it yet.
To use fastboot, your bootloader needs to be unlocked. Yes, you will lose all your data (including /sdcard) if you unlock. And yes, you will lose root if you flash the factory images ,but it doesn't matter, as getting root back with an unlocked bootloader is trivial. Same thing with CWM, getting it back is trivial.
Emhalwis said:
You will lose cwm and root. Doesn't unlock your boot loader. But its easy to use fast boot to return everything back or use gnex tool to do it for you. Its stickied in the development section .
Click to expand...
Click to collapse
Can't use fastboot with a locked bootloader.
But if he is already unlocked his boot loader. Fast boot won't be a problem for him ( unless he is rooted without unlocking the boot loader using your method efrant.
Emhalwis said:
But if he is already unlocked his boot loader. Fast boot won't be a problem for him ( unless he is rooted without unlocking the boot loader using your method efrant.
Click to expand...
Click to collapse
You're right. I was trying to get a different point across, but I misread the post.
Yes I have unlock bootloader
I ask it for know if i have a problem with my gnex
So i doing flash the image google with fastboot and lock bootloader
Sent from my Transformer TF101 using xda premium
billouetaudrey said:
Yes I have unlock bootloader
I ask it for know if i have a problem with my gnex
So i doing flash the image google with fastboot and lock bootloader
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
You can flash the image from Google, your bootloader will stay unlocked. The only reason for you to lock the bootloader is to send it for repairs. Other than a hardware malfunction, you can fix anything that happens to your gnex. Everything can be done with fastboot or if you're new. The gnex tool software.
Okey Thanks you at all
Sent from my Transformer TF101 using xda premium

Reinstalling stock recovery - help requested

So as will be immediately obvious, I am new to posting on this site and I'm sure the title will explain why. Before I start, I was using (the 'was' will be explained later) a rooted stock ROM and I had not backed it up (the instructions I used forgot to mention it).
The 2.17 HOX OTA update was finally released by three (I'm currently on 1.28) and I hoped that this update would fix several problems I've been having (standard HOX problems like battery life, camera quality, lag, and an ever growing system data). So I was fairly desperate to install this update, but when I tried clockwork recovery told me that it failed, and by using google I discovered that I'm not the only one with this problem.
This where I get stupid. In desperation to install this update I found that SuperSu has an option to full unroot and I hoped that this would reinstall the stock recovery in the process, but now I am left with an unrooted phone with clockwork recovery installed.
If anyone can help me reinstall the stock recovery so I can install this update I'd very much appreciate it. I apologise if I was long winded, I just felt it better to try and explain the whole situation.
Sent from my HTC One X using xda app-developers app
I'm not sure what's stopping you from installing the stock recovery?
fastboot flash recovery stock-recovery.img
Thanks for replying. I'm not very knowledgeable at this so I'm not sure how to, and would I need to use a computer or can I do it directly on my phone?
Sent from my HTC One X using xda app-developers app
adb reboot-bootloader
adb flash recovery recovery.img
Click to expand...
Click to collapse
do you have the stock reocvery.img?
No I don't think so, can I download it? Should I already have it, and if so where would it be?
Sent from my HTC One X using xda app-developers app
Mbennett156 said:
No I don't think so, can I download it? Should I already have it, and if so where would it be?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
hold on ill upload it for you
Thanks
Sent from my HTC One X using xda app-developers app
Mbennett156 said:
Thanks
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
recovery for 1.28
hamdir said:
recovery for 1.28
Click to expand...
Click to collapse
thanks so much. how do i flash it? if it's too much trouble i'm sure i could find it on google
@Mbennet
hamdir said:
recovery for 1.28
Click to expand...
Click to collapse
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app
chrisjcks said:
@Mbennet
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
thanks so much for your help and quick replies my phone is currently on low battery as i've spent all day frantically trying to figure this out, but when it is charged i'll let you know if this is successful :good:
EDIT: the computer i'm using at the moment is not the same computer that i used when i rooted (that one broke unfortunately) can i just create that folder or do i need to redownload other files?
Mbennett156 said:
thanks so much for your help and quick replies my phone is currently on low battery as i've spent all day frantically trying to figure this out, but when it is charged i'll let you know if this is successful :good:
EDIT: the computer i'm using at the moment is not the same computer that i used when i rooted (that one broke unfortunately) can i just create that folder or do i need to redownload other files?
Click to expand...
Click to collapse
You need to install Android SDK on the PC you want to do this on.
http://developer.android.com/sdk/index.html
Update/install everything on it once installed.
Then you can begin.
Sent from my Nexus 7 using XDA Premium HD app
chrisjcks said:
@Mbennet
Place it in your fastboot Android-SDK folder on your PC (C:/Android-SDK/platform-tools)
Put phone into fastboot USB
Open command prompt on PC
CD c:/Android-SDK/platform-tools
fastboot flash recovery recovery.img
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I have just successfully reinstalled the stock recovery, and although I am very grateful for your help, you forgot to mention the next step which was to type "fastboot oem lock" on command prompt.
Thanks again!
Mbennett156 said:
I have just successfully reinstalled the stock recovery, and although I am very grateful for your help, you forgot to mention the next step which was to type "fastboot oem lock" on command prompt.
Thanks again!
Click to expand...
Click to collapse
I would have done had you kept your ongoing progress posted.
But guess you figured it out yourself, congrats.
Sent from my HTC One X using XDA Premium HD app

[Q] Stock Unrooted Desire Z restarting

Hi, I have a Desire Z that keeps restarting itself almost. I can go as far as opening the app drawer before it restarts again. I'm trying to figure out how to fix it or at least recover/backup files from the phone. Can anyone help?
if I flash a custom recovery/root my phone, will that wipe everything on the phone? I am mainly concerned with backing up all my data. The stock recovery shows phone with red triangle, dont know what that means. Please help.
Try starting in safe mode
Sent from my Nexus One using xda app-developers app
demkantor said:
Try starting in safe mode
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
If i remember correctly you can do this by holding down the S button while booting the device.
Sent from my HTC Vision using xda app-developers app
Tried booting in safe mode, still the same thing. The phone reboots as soon as the launcher is done loading. I think its an issue with either the launcher or there's a conflict in android/sense which is causing a crash. Still trying out different things.
Edit:
Since I have never recieved OTA update for this phone, I believe I'm still on RUU_Vision_BellMobility_WWE_1.34.666.1_Radio_12.28 b.60.140e_26.03.02.18_M2. I have adb set up, is there a way to confirm I can safely S-OFF/root?
Edit 2:
Did a factory reset - no changes, still rebooting
Edit 3:
Seems like USB debug is not turned on my phone, I tried my gt-i900 and can see it using adb devices but not when i plug in my Desire Z
Edit 4:
While in stock recovery, I have a phone with a red triangle, and adb shows device as offline. At least I can confirm that adb is working with my DZ. Now to figure out how to push files to it
After the factory reset you won't get any of your data back, but you need an os so you can root. Find the latest ruu for your phone and fllash it through fastboot or bootllader as a pc10img
Sent from my Nexus One using xda app-developers app
demkantor said:
After the factory reset you won't get any of your data back, but you need an os so you can root. Find the latest ruu for your phone and fllash it through fastboot or bootllader as a pc10img
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
Can I flash the ruu from an external sd because I cannot copy to the internal memory as the phone doesn't stay on long enough. Thanks
Nope, but you can use fastboot
Sent from my Nexus One using xda app-developers app
demkantor said:
Nope, but you can use fastboot
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
is fastboot the same as adb? for example, when using gfree do i just replace adb push with fastboot push?
Edit: Nvm, figured it out, now I need to find the proper RUU for my phone, which one should i be using?
Edit: Stupid question above, I already mentioned which ruu i was using so I'll try to flash that. brb
Nope, adb is similar to fastboot but different, read my thread on it as if you own any HTC phones (and various others) its a must to learn. You'll find it here in the general section
You will use fastboot not to root but to flash the latest ruu as you need to have adb access and this means you'll need an os that's working.
fastboot oem rebootRUU
This is the command you will run in cmd or terminal but read up on my thread to understand more
Sent from my Nexus 7 using xda premium
demkantor said:
Nope, adb is similar to fastboot but different, read my thread on it as if you own any HTC phones (and various others) its a must to learn. You'll find it here in the general section
You will use fastboot not to root but to flash the latest ruu as you need to have adb access and this means you'll need an os that's working.
fastboot oem rebootRUU
This is the command you will run in cmd or terminal but read up on my thread to understand more
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I read your thread, very helpful. I had one question though, do i need an oem ruu to run the command fastboot oem rebootRUU? I'm just confused as to whether I need to root first, flash the hboot, or flash the ruu. I also have the stock recovery so when do i flash the cwmr?
1st you need the ruu, I believe nipqer has most on his server found in one of his threads. You will use fastboot to flash this. This will rewrite all your firmware and software and hopefully produce a functional os so you can get adb access
Once this is done, follow the xda wiki to root your phonephone
Sent from my Nexus One using xda app-developers app
demkantor said:
1st you need the ruu, I believe nipqer has most on his server found in one of his threads. You will use fastboot to flash this. This will rewrite all your firmware and software and hopefully produce a functional os so you can get adb access
Once this is done, follow the xda wiki to root your phonephone
Sent from my Nexus One using xda app-developers app
Click to expand...
Click to collapse
Finally! Phone boots up and I have adb access. Followed the instructions (ran into some trouble with chmod command returning "Operation not permitted" - had to start all over again with fastboot flash oemRUU) and now I'm rooted. Time to install some custom roms. Thanks demkantor, your fastboot tip and thread got me through this!
I'm glad you're up and running! I suggest to check out my is this a brick thread as it may help know what to look for if you run into trouble in the future
Either way, happy flashing!
Sent from my Nexus One using xda app-developers app

Device not found, can't sideload

Hi,
I tried to sideload the last ota update on my Nexus 5x but I can't because the device is not recognized.
I tried to install again and again the Google USB drivers, but nothing changes.
I found a lot a tips on internet which worked for other people but nothing works me.
Does anybody have a solution ?
Thanks.
Cheers.
Lolokro.
I don't know if I'm in the right section, sorry if I don't.
Sent from my Nexus 5X using XDA Free mobile app
Have you installed and setup according to Heisenberg's guide from the sticked thread?
Hi Darke5tShadOw,
Thanks for your answer. I didn't exactly follow this guide but the steps I did where the same.
I had the same issue with my Nexux 5, and I was fixed so I guessed it should be OK with the 5x....
Sent from my Nexus 5X using XDA Free mobile app
lolokro said:
Hi Darke5tShadOw,
Thanks for your answer. I didn't exactly follow this guide but the steps I did where the same.
I had the same issue with my Nexux 5, and I was fixed so I guessed it should be OK with the 5x....
Sent from my Nexus 5X using XDA Free mobile app
Click to expand...
Click to collapse
Does adb recognize you device?
Darke5tShad0w said:
Does adb recognize you device?
Click to expand...
Click to collapse
Yes, but only when the device boots on system. When booting in bootloader or recovery, it's not. That's my problem.
Sent from my Nexus 5X using XDA Free mobile app
lolokro said:
Yes, but only when the device boots on system. When booting in bootloader or recovery, it's not. That's my problem.
Sent from my Nexus 5X using XDA Free mobile app
Click to expand...
Click to collapse
Do you know that adb needs to be replaced with fastboot when in bootloader? Try running in a cmd window with admin privileges (I don't use windows and it needs admin privileges on linux)
Do you have custom recovery or stock?
Have you tried with the nexus toolkit? If it works then the problem has to be with your adb setup. On another windows computer I had to repoint my fastboot drivers.
http://forum.xda-developers.com/nexus-5x/development/toolkit-wugs-nexus-root-toolkit-v2-1-0-t3258492
These are the instructions I and a few others needed to get fastboot working
http://forum.xda-developers.com/showpost.php?p=65367022&postcount=1555
Read thishttps://www.reddit.com/r/nexus5x/comments/49xwg4/faq_regarding_adb_sideloading_with_the_new_ota/ or see this https://www.youtube.com/watch?v=uvch38KDmTk
Darke5tShad0w said:
Do you know that adb needs to be replaced with fastboot when in bootloader? Try running in a cmd window with admin privileges (I don't use windows and it needs admin privileges on linux)
Do you have custom recovery or stock?
Have you tried with the nexus toolkit? If it works then the problem has to be with your adb setup. On another windows computer I had to repoint my fastboot drivers.
http://forum.xda-developers.com/nexus-5x/development/toolkit-wugs-nexus-root-toolkit-v2-1-0-t3258492
These are the instructions I and a few others needed to get fastboot working
http://forum.xda-developers.com/showpost.php?p=65367022&postcount=1555
Click to expand...
Click to collapse
freq_ency said:
Read thishttps://www.reddit.com/r/nexus5x/comments/49xwg4/faq_regarding_adb_sideloading_with_the_new_ota/ or see this https://www.youtube.com/watch?v=uvch38KDmTk
Click to expand...
Click to collapse
I will try this on Sunday.
But the fact is my Nexus is not recognized in the Windows Device Manager. It doesn't appear even in hidden devices..
I 'll tell you when i'll try.
Sent from my Nexus 5X using XDA Free mobile app
Hi,
I tried today to re-install the drivers and I tried to use the NRT but nothing work. I can't push the ota update. A pop-up said the device is not found in fastboot mode. Again...
I will try next time with another Windows PC but I don't when I will can.
I don't understand what is the problem because NRT told me the drivers installation was successful.
Sent from my Nexus 5X using XDA Free mobile app
Hi, i tried today with another Windows PC and my Nexus was finally recognized but the sideload abort during the process because an "error" occurred. Anybody knows what it means?
Thank you for your answers.
Cheers.
Sent from my Nexus 5X using XDA Free mobile app
lolokro said:
Hi, i tried today with another Windows PC and my Nexus was finally recognized but the sideload abort during the process because an "error" occurred. Anybody knows what it means?
Thank you for your answers.
Cheers.
Sent from my Nexus 5X using XDA Free mobile app
Click to expand...
Click to collapse
The ota is probably corrupt. Re-download the file and try again.
PiousInquisitor said:
The ota is probably corrupt. Re-download the file and try again.
Click to expand...
Click to collapse
I downloaded the filed from here http://www.digitaltrends.com/mobile...es-on-google-nexus-devices/3/#:wQDy1wa9IyyUWA
Do you have any source?
Sent from my Nexus 5X using XDA Free mobile app
lolokro said:
I downloaded the filed from here http://www.digitaltrends.com/mobile...es-on-google-nexus-devices/3/#:wQDy1wa9IyyUWA
Do you have any source?
Sent from my Nexus 5X using XDA Free mobile app
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/ota#fugu
Sent from my Nexus 5X using Tapatalk

ADB and Fastboot

Hi Everyone,
Feeling a little like a noob here. I have the latest platform tools installed on a Win10 PC. When the P3XL is booted I can connect to it and send commands via ADB no problem. However, when I issue "ADB Reboot Bootloader" Windows will no longer see it after it boots into FB mode, also doesn't work if I boot to fastboot from a power off state. ADB Devices just reports nothing. I just know I'm missing something stupid but for the life of me I can't remember. When Booted device manager sees it as a Portable Device, in Fastboot it shows something like LeMobile Bootloader device, or something like that.
Sent from my Pixel 3 XL using Tapatalk
FernBch said:
Hi Everyone,
Feeling a little like a noob here. I have the latest platform tools installed on a Win10 PC. When the P3XL is booted I can connect to it and send commands via ADB no problem. However, when I issue "ADB Reboot Bootloader" Windows will no longer see it after it boots into FB mode, also doesn't work if I boot to fastboot from a power off state. ADB Devices just reports nothing. I just know I'm missing something stupid but for the life of me I can't remember. When Booted device manager sees it as a Portable Device, in Fastboot it shows something like LeMobile Bootloader device, or something like that.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
adb doesn't work in bootloader mode, use fastboot. adb works in recovery or if you're booted into the system.
Sent from my [device_name] using XDA-Developers Legacy app
Duh.....
Sent from my Pixel 3 XL using Tapatalk
FernBch said:
Duh.....
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
No worries. If you don't do this often it's easy to forget. I've had my share of face plant moments.
Sent from my [device_name] using XDA-Developers Legacy app
FernBch said:
Duh.....
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Deleted
jd1639 said:
No worries. If you don't do this often it's easy to forget. I've had my share of face plant moments.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yeah. Definitely had a "Homer Simpson double facepalm". Actually feel kinda dumb......
Lol
Sent from my Pixel 3 XL using Tapatalk

Categories

Resources