Hi,
I ran into a problem with my Nexus 4, the plan was to unlock the bootloader using my mac and fastboot. (used this as information but didn't follow it step by step, youtube.com/watch?v=fHZJ2f6JLw0)
I turned off the phone and went into the bootloader with volume down + power button. From here i used "fastboot devices" to secure that i was able to communicate with the phone. My device showed up together with an error message saying "ERROR: could not get pipe properties nexus 4".
Before doing any more i wanted to understand what this message meant so I searched the web without any success. I booted up my android, turned on usb debugging and used "adb devices". This time only my devices showed up and no error messages. I used the "adb reboot boatloader" to access the bootloader once again.
I still had the same error message with "flashboot devices" as before.
From here i didn't do anything more, I may have disconnected the usb from the computer while the terminal window was open and the phone in bootloader but without running any command from fastboot.
So I didn't run "fastboot oem unlock" or anything else.
I turned off the phone and tried to access the bootloader one more time with the volume down + power button. It didn't respond to this any more and nothing happened, the device just stayed turn off.
I turned on the phone and tried to use adb to access the bootloader but now when running the "adb devices" it just responds "-bash: adb: command not found".
I have tried to restore the phone thru the android setting meny without any success. The phone is working fine without any problem except i cant access the bootloader or use adb.
So I desperately need help from you guys. :crying:
Have any of you heard of this problem before?
Regards Rasmus
I have to change my statement.
Actually I succeeded rooting and installing CWM recovery using a win7 computer together with Nexus4 toolkit.
The issue i have right now is that i can't start the device into bootloader using volume and power buttons.
To access bootloader i have to go thru the toolkit and this can be an issue in case i flash a bad rom or kernel and can access android usb debugging.
Is it possible to restore the bootloader?
rallanand said:
The issue i have right now is that i can't start the device into bootloader using volume and power buttons.
Click to expand...
Click to collapse
Are you holding the down volume and pressing the power button?
What OS is the computer that you are using? If you have reset the device, make sure that USB debugging is checked again. I know it sounds dumb, but a lot of times it's the simplest things we forget. Once you factory reset your device, it resets everything.
If you are on Windows 7, make sure you are starting the command prompt from the same location your adb is installed. If you are on Ubuntu or another Linux distro, please let me know which one. This seems like it should be an easy fix for you, but a little more info is needed. Thanks!
Related
have tried to figure out how to turn off aria when connecting the usb and adb devices does not list device. reboot is the next step (volume up and power) and device always reboots and it seems impossible to hold down volume and power and get back into HBOOT / RECOVERY
question is, is it possible to reboot directly into HBOOT ?
Cancel the loop, reboot the phone, and send "adb reboot bootloader" from the prompt, when the HTC Quietly Brilliant screen appears.
seboj said:
Cancel the loop, reboot the phone, and send "adb reboot bootloader" from the prompt, when the HTC Quietly Brilliant screen appears.
Click to expand...
Click to collapse
how can I send *any* adb commands when I am unable to see device?
Can you see the phone in adb when it is powered on normally for use? If you can then when the HTC Quietly brilliant screen comes up your computer should be able to connect to the phone through adb. If it does not then you will want to uninstall HTC Sync and re-install it.. ( if you are running Window) make sure you have no anti-virus or malware scanners running/active as those create havoc causing HTC Sync to not install correctly and the drivers necessary for Windows to see the phone properly to not get installed.
Yes, I can see when normally connected but that was not my original question.
I do not have HTC Sync installed, only SDK USB drivers.
Repeat of my original question:
"..how to turn off aria when connecting the usb and adb devices does not list device. reboot is the next step.."
The reason I ask this, is that as I sit on the REBOOT screen and LOOP is running in background, if adb devices does not see phone, when I press power it will automatically reboot and power up all the way to main menu where I have to (again) do a total power shutdown in order to see HBOOT and RECOVERY.
I am trying to get faster to HBOOT and RECOVERY since adb devices is not listing device.
Is that clear now?
Your question was already answered in post 2. Use adb reboot bootloader at the quietly brilliant screen.
hi2u2 said:
Your question was already answered in post 2. Use adb reboot bootloader at the quietly brilliant screen.
Click to expand...
Click to collapse
wonderful. if only it worked, which it does not since adb (anything) does not work since adb (any command) does not see device
xdafly said:
wonderful. if only it worked, which it does not since adb (anything) does not work since adb (any command) does not see device
Click to expand...
Click to collapse
Have you actually tried though?
If you can see your phone in adb devices when it is loaded into Android, then you should be able to send the adb reboot bootloader after you reboot from recovery. The fact that the phone doesn't list during the loop is irrelevant. Once you've rebooted the phone from recovery, and the phone displays the Quietly Brilliant logo, then it has loaded enough to be recognized by the computer, and the adb command will work, and instantly reboot the phone into the hboot screen.
If the command doesn't work, double check to make sure your command prompt is in the right directory with all the right files, try installing Sync, and / or try reinstalling your driver.
I'm currently attempting to root my atrix but I've come across a problem that I can't seem to be able to solve through googling or otherwise.
I'm using the tutorial stickied on the Atrix homepage labelled [HOWTO MAY16].
I got as far as step 8 and my phone passed the sbf flash using RSD lite but continuing on with the process to step 13 where it is asking me to type "fastboot oem unlock" into cmd I get an error message telling me that cmd is waiting for my device but nothing seems to happen.
I've tried reinstalling drivers (64 bit), restarting computer, restarting phone, trying different leads/usb sockets with no change to my result.
The exact thing that I'm doing with cmd is to navigate to the platform-tools folder, open adb, open flashboot and then attempt fastboot oem unlock.
Additional information:
UK Orange Atrix 4G running 3.4.4
using IHOP sbf file
running windows 7 64-bit, using the 64-bit drivers.
Do you have access to win 7 or xp? Win 8 is really new and possibly that could be the problem. Worth a shot.
pre4speed said:
Do you have access to win 7 or xp? Win 8 is really new and possibly that could be the problem. Worth a shot.
Click to expand...
Click to collapse
Ops, typo. I'm running Windows 7 64-bit. I'll edit my post when xda allows me to.
Unlock
Enter the bootloader program by powering off the phone, Hold the volume down key and the power at the same time. The phone will be in the bootloader program when it powers up, use the volume down key to scroll through bootloader menu options. the second option will be fastboot program. Select the fastboot option with the volume up key, this will enter the fastboot mode of operation. Connect the phone to the PC via USB cable. Enter the directory where the fastboot program resides on the PC. Type the Fastboot oem unlock command. If sucessful a message will display on PC retuned by the phone. Reboot phone and unlocked will display in the upper left corner of the phones display. Continue to follow the original post, flash recovery, root phone, flash custom ROM. Happy Flashing, Enjoy! :fingers-crossed:
fdaconta said:
Enter the bootloader program by powering off the phone, Hold the volume down key and the power at the same time. The phone will be in the bootloader program when it powers up, use the volume down key to scroll through bootloader menu options. the second option will be fastboot program. Select the fastboot option with the volume up key, this will enter the fastboot mode of operation. Connect the phone to the PC via USB cable. Enter the directory where the fastboot program resides on the PC. Type the Fastboot oem unlock command. If sucessful a message will display on PC retuned by the phone. Reboot phone and unlocked will display in the upper left corner of the phones display. Continue to follow the original post, flash recovery, root phone, flash custom ROM. Happy Flashing, Enjoy! :fingers-crossed:
Click to expand...
Click to collapse
I just gave it another try and it gets stuck after I type fast boot oem unlock. I definitely have the right directory but I still get stuck here. Cmd just tells me it's waiting for my device and stops there. I think it's a driver issue after a bit of googling but the official drivers aren't working. This socks.
I had a similar problem with my device not showing up. There wasn't really a big fix for it but I just waited longer before trying to execute the command. I'm not sure if you're experiencing the same thing I did but when it couldn't detect my device it just hadn't been recognized by the computer yet. Make sure your drivers are working (connect usb and select every option on the pull down menu and are sure the device gets installed). After that do the same thing as before for fastboot but make sure you securely plug it in and wait for the computer to detect your phone before you move forward
Sent from my MB860 using xda app-developers app
Hi all, i was wondering if i can reboot my Blackberry PRIV with "adb" or "fastboot" commands, since my power button is damaged...i cant turn the phone on BUT i can press volume down and plug it into my laptop, windows does detect it as "Blackberry adb usb device" or something similar...but i cant seem to communicate with the device via command prompt with any of the ADB command like : "adb reboot ect ect....
Am i screwed??? Can any one help me?
p.s. i can reload the firmware with the autoloaders fine, but i just cant send command to boot of reboot the phone.
franc33s said:
Hi all, i was wondering if i can reboot my Blackberry PRIV with "adb" or "fastboot" commands, since my power button is damaged...i cant turn the phone on BUT i can press volume down and plug it into my laptop, windows does detect it as "Blackberry adb usb device" or something similar...but i cant seem to communicate with the device via command prompt with any of the ADB command like : "adb reboot ect ect....
Am i screwed??? Can any one help me?
p.s. i can reload the firmware with the autoloaders fine, but i just cant send command to boot of reboot the phone.
Click to expand...
Click to collapse
Hey there! were you able to find answer to this question? I'm in similar situation.
Thanks
with its security nonsense, the PRIV only seems to accept adb commands once fully booted
Delete Drivers
I dont know if this is still needed. I had the same problem. I just deleted the BB Drivers from my PC and plugged the phone in. It started right up.
Greets
braupaul
adb works fine when the devices is powered on, but once I reboot into the bootloader, it no longer recognizes the device. I am trying to sideload an OTA
I have tried to update to the latest USB drivers, but in Windows 10 I constantly get the error message "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems".
Any advice?
scdavis0 said:
adb works fine when the devices is powered on, but once I reboot into the bootloader, it no longer recognizes the device. I am trying to sideload an OTA
I have tried to update to the latest USB drivers, but in Windows 10 I constantly get the error message "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems".
Any advice?
Click to expand...
Click to collapse
Well... You can't use ADB in bootloader. Only fastboot commands work here.
While in bootloader, use volume up/down till you see "recovery mode". Press power button and you'll reboot to recovery.
Check this guide to sideload the ota:
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
2nd post...
Sorry I should say it also does not work on the prompt where I am supposed to type in the sideload command. I get a no devices found error.
Again it works fine when the phone is booted into the OS.
scdavis0 said:
Sorry I should say it also does not work on the prompt where I am supposed to type in the sideload command. I get a no devices found error.
Again it works fine when the phone is booted into the OS.
Click to expand...
Click to collapse
When entering recovery, are you sure you pressed power button + tapped volume up to see the recovery menu? And from there scrolled down and selected: apply update from ADB? Only from here your phone will be recognized...
Well, if you already did it, i'm not sure how the phone would not be recognized if it does when powered up... Maybe someone else already encountered the issue...
5.1 said:
When entering recovery, are you sure you pressed power button + tapped volume up to see the recovery menu? And from there scrolled down and selected: apply update from ADB? Only from here your phone will be recognized...
Well, if you already did it, i'm not sure how the phone would not be recognized if it does when powered up... Maybe someone else already encountered the issue...
Click to expand...
Click to collapse
Yes this is in fact what I am doing. I receive a device not found error, even though adb works with the device booted into the OS.
In fact, I can do:
adb reboot recovery
Then when recovery comes up:
adb devices
and list of devices attached is blank
I figured this out. I had to unplug and plug back in the phone once I got to the sideload step.
I had this exact issue with Nvidia shield TV. I had old or corrupt adb/fastboot. I redownloaded and set up my environment from scratch, adb worked and fastboot worked
Hi, my 6p will not show up on my PC. Have tried installing drivers, different PC, different cable but nothing works.
I recently upgraded to android O. I extracted the files from system image and flashed boot image, vendor image, and system. But now when I try to go into recovery it says no command and I lost root access but my bootloader is unlocked. I never flashed the recovery thinking TWRP would stay intact but I guess I was wrong. Normally I would just use ADB and fix it but hence my problem. Is there any way to root without PC or any way I can fix my situation?
Having the same exact issue here, hope someone has a way to fix it.
sonysingh1983 said:
Hi, my 6p will not show up on my PC. Have tried installing drivers, different PC, different cable but nothing works.
I recently upgraded to android O. I extracted the files from system image and flashed boot image, vendor image, and system. But now when I try to go into recovery it says no command and I lost root access but my bootloader is unlocked. I never flashed the recovery thinking TWRP would stay intact but I guess I was wrong. Normally I would just use ADB and fix it but hence my problem. Is there any way to root without PC or any way I can fix my situation?
Click to expand...
Click to collapse
So your phone will boot into the OS, or not? If so, make sure USB debugging is set to "on" in Developer Settings. Can you put your device in fastboot mode by holding down the volume down button before hitting the power button? The "no command" means you are in (stock) recovery. You then have to hold the power button down while using the volume buttons to navigate. Power button is confirm. Get your phone into bootloader mode and use ADB to flash TWRP again. @meoshe
v12xke said:
So your phone will boot into the OS, or not? If so, make sure USB debugging is set to "on" in Developer Settings. Can you put your device in fastboot mode by holding down the volume down button before hitting the power button? The "no command" means you are in (stock) recovery. You then have to hold the power button down while using the volume buttons to navigate. Power button is confirm. Get your phone into bootloader mode and use ADB to flash TWRP again. @meoshe
Click to expand...
Click to collapse
Yes phone is working fine. Debugging is on. Can't use ADB phone does not get recognized by PC, only charges. Dint even get the pull down notification once I connect usb. Tried changing connection to mtp in developer options also. Nada. Nothing works to fix it. I'm thinking my charging port might have something wrong with it I don't know. I'm stuck not having root atm.
sonysingh1983 said:
Yes phone is working fine. Debugging is on. Can't use ADB phone does not get recognized by PC, only charges. Dint even get the pull down notification once I connect usb. Tried changing connection to mtp in developer options also. Nada. Nothing works to fix it. I'm thinking my charging port might have something wrong with it I don't know. I'm stuck not having root atm.
Click to expand...
Click to collapse
Gotcha. What about the other points? Entering bootloader mode from a powered off state, and that you are in Recovery mode (no command), and navigating thru it with the power+volume buttons?
v12xke said:
Gotcha. What about the other points? Entering bootloader mode from a powered off state, and that you are in Recovery mode (no command), and navigating thru it with the power+volume buttons?
Click to expand...
Click to collapse
Yes that works. Thank you. But still can't root phone and can't flash TWRP. Was looking at a root APK but not sure if they will work with O. If I could root then I could install TWRP thru it's app but I need root for that.
You can't root the phone until you have a working custom recovery. Focus on either fastboot flashing or fastboot booting TWRP.img
v12xke said:
You can't root the phone until you have a working custom recovery. Focus on either fastboot flashing or fastboot booting TWRP.img
Click to expand...
Click to collapse
How do I go about fastboot booting TWRP image?
I can get into bootloader from phone but I can't use a PC.
I did read your OP, but this sounds like a driver issue. There are two drivers that need to be installed first the USB and then fastboot. Since you can boot the device and use it, maybe you should try NRT by Wugfresh to install, test and confirm the drivers are properly installed. Booting or flashing TWRP is just a different command. Instead of fastboot flash recovery twrp.img, you use fastboot boot recovery recovery.img. The NRT toolkit can also either boot or flash a recovery image.
EDIT: Also try "Revoking ADB debugging" and re-enabling @sonysingh1983
sonysingh1983 said:
Yes phone is working fine. Debugging is on. Can't use ADB phone does not get recognized by PC, only charges. Dint even get the pull down notification once I connect usb. Tried changing connection to mtp in developer options also. Nada. Nothing works to fix it. I'm thinking my charging port might have something wrong with it I don't know. I'm stuck not having root atm.
Click to expand...
Click to collapse
Hi, just tried the mtp setting in developer options. Didn't get it the first time but now am able to access internal storage. I have plug sound app from play installed and I get a notification sound when plugging and unplugging. First try there was no sound when changing from charging to mtp. Ok after repeating it. Hope that helps.
Just as a follow up I got my win10 pc to recognize my O flashed nexus. I booted into bootloader after I had updated my sdk and drivers through android studio. It recognized the phone but nothing was happening. I rebooted into the os and the access allow prompt popped up on the phone and adb was able to see it under listed devices.