No adb from bootloader.... - Nexus 7 (2013) Q&A

So, weird thing happened... I am on Ubuntu and I can no longer adb to my nexus 7.2 from the bootloader, although I can when the device is on. I found this out when OTA had me stuck in recovery and I needed to adb push a flashable zip so that I could use my tablet, had to use a friend's macbook that had no problem with it. This is also happening on my wife's Nexus 4. I have tried my work and home laptops running Ubuntu 13.10 and the latest android sdk. Thoughts?
Thank you!

I'm gonna bump this... Any ideas?
Sent from my SCH-I535 using xda app-developers app

I am sure you know this but I just need to double check. Are you using fastboot and not ADB while in the boot loader?

Yep, bootloader should be used with fastboot
Twrp had option for adb sideload
And when in android then use adb
Sent from my Nexus 7 using xda app-developers app

Related

Got 2 Canadian Gnex's, flashed one to Yakju but couldn't flash the other

Hey everyone, I need some help. I flashed my Gnex to Yakju a few months ago using the official drivers and Android SDK with no problem. A friend of mine recently bought a Gnex and asked me to flash his phone. For some reason -fastboot devices couldn't recognize his phone when connected to the same computer that I used to flash my own Gnex. I can't unlock his bootloader as a result. I tried again with my own Gnex and my computer was able to recognize my phone. What did I do wrong?
Try reinstalling the drivers.
The same problem happened to me when I was trying to flash my friends Xoom.
I reinstalled the drivers and it located the device.
Sent from my Nexus 7 using xda premium
You used the command 'fastboot devices' when you loaded the phone into the bootloader mode? Cause if you're in the android OS, you need to use 'adb devices' (assuming you enabled debugging under developer options)
Sent from my Galaxy Nexus using xda app-developers app
El Daddy said:
Try reinstalling the drivers.
The same problem happened to me when I was trying to flash my friends Xoom.
I reinstalled the drivers and it located the device.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I should try that. Do I need to uninstall the old drivers first?
-Psycho- said:
You used the command 'fastboot devices' when you loaded the phone into the bootloader mode? Cause if you're in the android OS, you need to use 'adb devices' (assuming you enabled debugging under developer options)
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Ya it was in bootloader mode. I forgot to mention that when my friend's phone was in the Android OS, "adb devices" worked and my computer recognized his phone. So strange.
NexusDro said:
I should try that. Do I need to uninstall the old drivers first?
Ya it was in bootloader mode. I forgot to mention that when my friend's phone was in the Android OS, "adb devices" worked and my computer recognized his phone. So strange.
Click to expand...
Click to collapse
I have always said that the "official" drivers are flaky at best. You should really use 1wayjonny's package.
Sent from my Galaxy Nexus using Tapatalk 2

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

[Q] Stuck at google screen.

How can i unbrick my phone without working volume buttons? I'm stuck at the google splash screen. can i use adb from the google screen or not?
Anyone?
I think it will work if you turn off your phone and plug it into the computer. Then try to use adb devices command to see if the device is recognized by the PC. If it is then try adb reboot recovery and flash another rom
Sent from my Galaxy Nexus using XDA Free mobile app
AdmiralulNipples said:
I think it will work if you turn off your phone and plug it into the computer. Then try to use adb devices command to see if the device is recognized by the PC. If it is then try adb reboot recovery and flash another rom
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
now it says device unauthorized
I think you can try adb commands even with the device being unauthorized
Sent from my Galaxy Nexus
AdmiralulNipples said:
I think you can try adb commands even with the device being unauthorized
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Still says the same thing.

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

Categories

Resources