Can't unlock bootloader - One (M9) Q&A, Help & Troubleshooting

Hi folks, Trying to unlock my bootloader with no luck. Registered with HTCDev, downloaded Android SDK, JRE, and HTC Sync Manager. Boot into bootloader mode and connect to the computer via USB. Opening CMD, I can't seem to get the computer to find the device, and therefore can't execute the command to unlock the bootloader.
It is a Sprint HTC One M9 running Android 5.0.2, stock. Computer is Windows 7 x64-based Lenovo. Both are up to date. I've noticed that the device can sync with HTC Sync Manager and is recognized in file explorer when it is attached as a portable media device. It is not seen by the computer when mounted as a disk drive. HTCDev instructions didn't specify whether USB Debugging needed to be turned on or not, but flipping it on and off didn't seem to matter. Device Manager on my computer says that I have the driver for the phone is working properly.
Any thoughts would be greatly appreciated!!!

IncredibleHulk6 said:
Hi folks, Trying to unlock my bootloader with no luck. Registered with HTCDev, downloaded Android SDK, JRE, and HTC Sync Manager. Boot into bootloader mode and connect to the computer via USB. Opening CMD, I can't seem to get the computer to find the device, and therefore can't execute the command to unlock the bootloader.
It is a Sprint HTC One M9 running Android 5.0.2, stock. Computer is Windows 7 x64-based Lenovo. Both are up to date. I've noticed that the device can sync with HTC Sync Manager and is recognized in file explorer when it is attached as a portable media device. It is not seen by the computer when mounted as a disk drive. HTCDev instructions didn't specify whether USB Debugging needed to be turned on or not, but flipping it on and off didn't seem to matter. Device Manager on my computer says that I have the driver for the phone is working properly.
Any thoughts would be greatly appreciated!!!
Click to expand...
Click to collapse
Delete the sync manager. Don't ask me how or why but it interferes with the SDK so that your PC cannot recognize your phone properly.

also you have to download the BMP x64 and a complete platform tools folder ...you may want to check my personal backup here: https://drive.google.com/drive/fold...RSdGJTVnVhQTJQZUZiMG5uRWl0blNackNWMVU1NUNoVjg

Thanks guys... I'm at work and won't have the ability to check these out until later, but I'll keep you posted

It worked! Thanks guys

astboot command in bootloader screen gives error FAILED (remote: cannot flash this partition in s-on state)
please someone help to solve this problem.
Bootloader
Blue blank screen
This screen comes every time and reset htc logo and then same blue screen
any body can help me

Related

[Q] ADB error device not found

Hey all, trying to push gtalk library files to MildWild 4.3 system dir has turned into a massive headache.
ADB doesn't recognize I have my device connected. Commands always return "error:device not found". "adb devices" command returns blank.
From the tutorials I've read in these forums, I was under the impression HTC Sync drivers in fastboot mode are needed to use ADB. No dice. I've tried other drivers I've found in the forms as well: "android-usb-driver.zip" from unrevoked and "adb_driver_htc.zip" (found this in the sim unlock utility thread).
Any suggestions on how to troubleshoot this further?
What is the proper name of the device in device manager? Right now I'm using HTC Sync drivers in fastboot and the name is: Android USB Devices > My HTC.
The guides I've read never touch on this issue, they always skip it and assume the device is connectable.
Thanks in advance
JT-on said:
Right now I'm using HTC Sync drivers in fastboot and the name is: Android USB Devices > My HTC.
Click to expand...
Click to collapse
To use ABD you need to be connected in recovery or a booted device.
nlooooo said:
To use ABD you need to be connected in recovery or a booted device.
Click to expand...
Click to collapse
Brilliant. Like you said, ADB recognized my device in both booted OS and recovery. However, I needed to be in recovery to push files to the system directory. Thanks.
You're welcome. You can push in booted device you just need to enable superuser rights in adb shell.
Sent from my HTC Desire using Flashes and Thunders
JT-on said:
Hey all, trying to push gtalk library files to MildWild 4.3 system dir has turned into a massive headache.
ADB doesn't recognize I have my device connected. Commands always return "error:device not found". "adb devices" command returns blank.
From the tutorials I've read in these forums, I was under the impression HTC Sync drivers in fastboot mode are needed to use ADB. No dice. I've tried other drivers I've found in the forms as well: "android-usb-driver.zip" from unrevoked and "adb_driver_htc.zip" (found this in the sim unlock utility thread).
Any suggestions on how to troubleshoot this further?
What is the proper name of the device in device manager? Right now I'm using HTC Sync drivers in fastboot and the name is: Android USB Devices > My HTC.
The guides I've read never touch on this issue, they always skip it and assume the device is connectable.
Thanks in advance
Click to expand...
Click to collapse
90% of the time the problem is with the drivers etc. Use this tutorial to fix that : http://goo.gl/OS3Vi
If you still encounter the problem then you can use ADBwireless available at google play to wirelessly connect your device to the computer
Hope it helps :highfive:
Unchecking MTP did it. Thanks!!
Why is that necessary on the N7Flo but not my old N7 or the N4 (or any other device I've had contact with for that matter)?
Also, anyone know how I can get devices to show up as a folder...you know...like a thumb drive?
rmp5s said:
Unchecking MTP did it. Thanks!!
Why is that necessary on the N7Flo but not my old N7 or the N4 (or any other device I've had contact with for that matter)?
Also, anyone know how I can get devices to show up as a folder...you know...like a thumb drive?
Click to expand...
Click to collapse
You can't. Both the n4 and the n7 have their memorys formatted as ext4, partition type that windows can't access normally. MTP was the only sollution google had.

[Q] Help with fastboot driver?

Greetings XDA,
I'm trying to hurry and unlock my One before Verizon locks 'er down tight, but i'm having trouble getting the Fastboot driver installed.
I've installed the java run time environment, sdk, and even the HTC my sync settings (with drivers) and am seeing "My HTC" under Android ADB devices while booted normally, but as soon as I jump to fastboot, the "My HTC" receives an exclamation point and the device driver says not installed.
I'm running Windows 8 x64 and tried these instructions here: http://forum.xda-developers.com/showthread.php?t=2232799
Any help? Any one?
MetroGnome711 said:
Greetings XDA,
I'm trying to hurry and unlock my One before Verizon locks 'er down tight, but i'm having trouble getting the Fastboot driver installed.
I've installed the java run time environment, sdk, and even the HTC my sync settings (with drivers) and am seeing "My HTC" under Android ADB devices while booted normally, but as soon as I jump to fastboot, the "My HTC" receives an exclamation point and the device driver says not installed.
I'm running Windows 8 x64 and tried these instructions here: http://forum.xda-developers.com/showthread.php?t=2232799
Any help? Any one?
Click to expand...
Click to collapse
I had this problem too running windows 8 x64. I think my problem was that I installed the sdk first with google's USB driver and not HTC's driver. What I did to make it work is switch computers over to my wifes which at the time I hadn't installed anything on yet. I went to htcdev.com and went to the part of the site where it is step-by-step on how to unlock the bootloader. I installed the Java Runtime Environment on the link provided on the upper right side of the site, then I installed the HTC sync manager on the link provided as well. I had my phone connected to my computer usb 2.0 (not usb 3.0) the whole time and with USB debugging enabled (not in fastboot mode, but with phone normally on). After that I took the three files from the sdk that htc wants you to place in a separate folder and put them in c:\Android. I did not install anything from sdk this go around.. i just took the three files out and put them in a separate folder as instructed by htc. After that I opened cmd and directed it to the folder I placed the files in (cd c:\Android) and ran command "adb reboot bootlader" Once I did that and hit fastboot the "My HTC" in device manager no longer had an exclamation point. So in summary, I couldn't reverse the drivers from my computer that I installed first so I resorted to using my wife's computer that didn't have anything installed yet. I installed JRE, then HTC sync software, and just used the 3 files HTC wants from sdk and placed them into a separate folder. I didn't install anything from sdk. It all worked after that. I don't have instructions on how to reverse the usb drivers you have already installed because I couldn't figure it out... in fact, I formatted windows on my pc and am reinstalling. Hope this helps.
-eL
Sadly...
eL_777 said:
I had this problem too running windows 8 x64. I think my problem was that I installed the sdk first with google's USB driver and not HTC's driver. What I did to make it work is switch computers over to my wifes which at the time I hadn't installed anything on yet. I went to htcdev.com and went to the part of the site where it is step-by-step on how to unlock the bootloader. I installed the Java Runtime Environment on the link provided on the upper right side of the site, then I installed the HTC sync manager on the link provided as well. I had my phone connected to my computer usb 2.0 (not usb 3.0) the whole time and with USB debugging enabled (not in fastboot mode, but with phone normally on). After that I took the three files from the sdk that htc wants you to place in a separate folder and put them in c:\Android. I did not install anything from sdk this go around.. i just took the three files out and put them in a separate folder as instructed by htc. After that I opened cmd and directed it to the folder I placed the files in (cd c:\Android) and ran command "adb reboot bootlader" Once I did that and hit fastboot the "My HTC" in device manager no longer had an exclamation point. So in summary, I couldn't reverse the drivers from my computer that I installed first so I resorted to using my wife's computer that didn't have anything installed yet. I installed JRE, then HTC sync software, and just used the 3 files HTC wants from sdk and placed them into a separate folder. I didn't install anything from sdk. It all worked after that. I don't have instructions on how to reverse the usb drivers you have already installed because I couldn't figure it out... in fact, I formatted windows on my pc and am reinstalling. Hope this helps.
-eL
Click to expand...
Click to collapse
Sadly, i don't have such a machine lying around. The wife's comp has the sdk installed as well (she's a nexus user). Although, on her windows 7 machine, in fastboot i do see MyHTC driver as ok, but when i run the "fastboot oem get_token_modifier" command, i get "(bootloader) [ERR] Command error!!! OKAY finished"
so something still quite wrong!
I don't think the Fastboot drivers work on Windows 8.
Spent all day trying, and never got recognized in ADB. Used co-worker's computer with Windows 7, worked like a charm.
jadesocket said:
I don't think the Fastboot drivers work on Windows 8.
Spent all day trying, and never got recognized in ADB. Used co-worker's computer with Windows 7, worked like a charm.
Click to expand...
Click to collapse
.... This probably explains my problem as well. Will try on a Windows 7 computer in the morning and report back to see if that was the problem.
jadesocket said:
I don't think the Fastboot drivers work on Windows 8.
Spent all day trying, and never got recognized in ADB. Used co-worker's computer with Windows 7, worked like a charm.
Click to expand...
Click to collapse
ADB and Fastboot both work fine on Windows 8. I had to install the newest 4.3.0.001 drivers to get ADB to recognize my One on my Windows 7 partition, despite having had the most recent behind that. My Windows 8 partition worked like a charm because I had more recently installed the updated drivers on it. It's also possible you were connecting your phone to a USB 3.0 port. ADB/Fastboot is "wonky" over USB 3.0, and if you don't have the correct USB 3.0 drivers, you have no chance at all. Also, you need USB Debugging turned on, which can be done in this version of Android by going to Settings -> About -> Software Information -> More, then tapping on the build number 7 times, unlocking developer options, then going to Settings -> Developer options, and checking USB Debugging.
And all this may be moot for now, as it appears anyone who wasn't previously unlocked won't be able to for a while.
IceDragon59 said:
And all this may be moot for now, as it appears anyone who wasn't previously unlocked won't be able to for a while.
Click to expand...
Click to collapse
I can confirm. I successfully got fastboot to run on OS X, but when I try to send my token via HTCDev, I'm met with error 160: MID not Allowed..

[Q] [BootLdr] Computer not seeing Phone.

I am new to android, HTC One VX being my first phone ((Got it like Last year as a gift iirc)).
Using Stock rom and my os is 8.1 pro x64
I am trying to unlock the bootloader.. I went to HTCdev, followed the directions for unlocking the bootlader.
1. Got the Android SDK and installed
2. Got the HTC SYnc Manager for the drivers.
3. Got Fastboot and moved it to where the ADB .dll file is.
I get my phone into bootloader after making sure USB Debugging is enabled, then I plug it into my computer. After a few moments, Windows pops up with USB Device is not recognized. I check Device Manager, it shows "My HTC" under unknown devices. I manually point the thing to where the W8 x64 driver is , and it says the driver is up to date. Bring up the Property info of the device, this is what is showing int he text box,
Code:
A request for USB BOS descriptor failed
Just to make sure, I navigate back to the ADB folder, bring up CMD there and type in
Code:
adb devices
. No device was listed despite my phone being connected to my computer. Tried it with 3 different cords, front and back of my computer. ((USB 3.0 ports.))
I put it in one of my USB 2.0 ports and the issue persists, the device status shows
Code:
A device which does not exist was specified
.
Is there anyway to fix this, its quiet annoying, Apparently doing clean reinstalls of everything isn't going to fix it for me.

adb doesnt recognise my phone anymore

I have an HTC One M8, bought from UAE. I rooted it and it all went well. Now I want to get OTA updates on the phone and I want to unroot for the moment. The problem is that I connect my phone to my laptop run adb but it doesnt do anything. All it says is list of devices attached and thats it. Nothing else at all. I cant give my phone commands or anything of the sort. I want to update my phone to the latest android version with sense 7 and I would prefer that I have a stock rom hence the OTA but without getting my phone recognised with ADB I dont know how to do it. Please help!
P.s. I am running windows 7 and my CID is HTC__J15
I got the CID from an app from the app store, dont know if its legit but I the gulf region uses this CID so I guess its safe to assume its correct.
P.s.s. Yes I have tried reinstalling HTC drivers and it hasnt done anything. The device manager doesnt have any unknown device listed either. Yes USB Debugging is also on and I get the notification on the phone as well but my computer doesnt recognise it.
P.s.s.s. Is there anyway to get the latest OTA without hooking my phone up to the computer? I'm not a tech guy so I need help. A step by step would be very nice. Thanks
Boot into bootloader and perform the "fastboot getvar all" command. Post the output here without IMEI and serial no. as the software number is needed to provide further instructions and identify the correct RUU and/or backup you'd need.
Send by the swarm intelligence of my coffee machine ?.
flamingpenguin said:
The device manager doesnt have any unknown device listed either.
Click to expand...
Click to collapse
Meaning the device doesn't show up at all in Device Manager (HTC, Android phone, etc.)?
If you boot the phone into bootloader-fastboot mode, any response to fastboot commands (fastboot devices, etc.). Sometimes fastboot works, when adb doesn't. And fastboot is the really critical one you want.
HTCNerdYoda said:
Boot into bootloader and perform the "fastboot getvar all" command. Post the output here without IMEI and serial no. as the software number is needed to provide further instructions and identify the correct RUU and/or backup you'd need .
Click to expand...
Click to collapse
I tried booting into fastboot mode and then hooking it up with the computer. I enter the fastboot getvar all command and all I get is < waiting for device > it just stops there for as long as I wait and it doesnt do anything. Please help!!! I've tried different cables as well. Also a different laptop. I'm not sure whats wrong. The sync manager doesnt work either. Doesnt detect my phone :crying:
redpoint73 said:
Meaning the device doesn't show up at all in Device Manager (HTC, Android phone, etc.)?
If you boot the phone into bootloader-fastboot mode, any response to fastboot commands (fastboot devices, etc.). Sometimes fastboot works, when adb doesn't. And fastboot is the really critical one you want.
Click to expand...
Click to collapse
Media Transfer Protocol works. I just get a new drive with my phones internal and external storage. I can transfer files but thats the only response my computer gives to the phone. Help please :crying:
flamingpenguin said:
Media Transfer Protocol works. I just get a new drive with my phones internal and external storage. I can transfer files but thats the only response my computer gives to the phone. Help please :crying:
Click to expand...
Click to collapse
Did you activate the developer options and if so USB debugging as well. Did you try installing Sync Manager to install the needed HTC drivers, uninstall it (as it interferes with adb/fastboot sometimes) to just keep the drivers? Which adb/fastboot are you using?
Send by the swarm intelligence of my coffee machine ?.
flamingpenguin said:
Media Transfer Protocol works. I just get a new drive with my phones internal and external storage. I can transfer files but thats the only response my computer gives to the phone. Help please :crying:
Click to expand...
Click to collapse
Try this: Go into Windows Device Manager, find the device, pick the option to manually select the drivers. Then pick the generic Android MTP device drivers (or some such name like that). I often have to do this to get my home computer to pickup my phone via adb/fastboot, while MTP works just fine.
HTCNerdYoda said:
Did you activate the developer options and if so USB debugging as well. Did you try installing Sync Manager to install the needed HTC drivers, uninstall it (as it interferes with adb/fastboot sometimes) to just keep the drivers?
Click to expand...
Click to collapse
I have both developer options and USB debugging on. I also tried drivers that came with the phone via the sync manager. Tried after getting rid of the sync manager but it still doesnt work. I can get my software number from setting>about etc no? My CID and Software number is all I need to unroot the phone and install the stock recovery, if I'm not mistaken? I am completely dumb at this tech thing. I'm a civil engineer. I understand concrete and rebar
redpoint73 said:
Try this: Go into Windows Device Manager, find the device, pick the option to manually select the drivers. Then pick the generic Android MTP device drivers (or some such name like that). I often have to do this to get my home computer to pickup my phone via adb/fastboot, while MTP works just fine.
Click to expand...
Click to collapse
I cant find my device in the Device Manager at all =/
flamingpenguin said:
I cant find my device in the Device Manager at all =/
Click to expand...
Click to collapse
I'd suggest downloading the drivers again and first of all try with another USB data cable. If it doesn't show up at all, it sounds as if you got a connection problem. So could also be caused by a defective cable and/or USB port on your phone.
I'd check the following:
1) try connection to another USB port
2) try with another data cable
3) download latest HTC drivers from HTC.
Send by the swarm intelligence of my coffee machine ?.
I had this happen to me and to resolve it I went into the C: drive of my computer and in the program files folder I located the HTC folder. Once there I looked for the apk files that allow you phone to connect to HTC sync. If I remember correctly, I copied apk file #2 to my phone and installed it. Once it was install that issue went away. To be on the safe side, copy and install each apk file one at a time(there should be 5 of them) to your phone. Only one of them will install the others will not. This will help you to locate and install the correct apk file. Once you have found and installed the correct one, you can removed the other apk files that wouldn't install and reboot your phone. After that connect your phone to your computer, and htc sync and adb should recognize your device. There is a thread on this but I can not remember where to locate it.

Pixel XL (Verizon) Not Being Recognized via "ADB Devices" command on Windows 7.

Pixel XL (Verizon) Not Being Recognized via "ADB Devices" command on Windows 7.
So I got my 128gb pixel xl from Verizon today. It's still 7.1.0 (Build NDE63P) so I want to unlock the bootloader asap. I was able to get the phone booted up and mostly set up without taking the OTA update (I pulled sim card before booting the phone for the first time, and I skipped the wifi setup).
I intended to follow the instructions here to use dePixel8 to unlock the bootloader. I got USB debugging enabled on my phone, and ABD/Fastboot installed on my computer (Windows 7 laptop). The problem is the phone doesn't come up in the list when I use the "adb devices" command from the command prompt within the SDK folder. Looking at the device manager, it appears my laptop is automatically installing the "Google Nexus ADB Interface" driver for the phone, is this not the correct driver? I downloaded the USB drivers from here and tried pointing the Device Manager at them to force a driver update, but the device manager tells me the drivers are already up to date.
Can someone please explain to me how to get my computer (Windows 7) to recognize my phone via ADB so I can push dePixel8 and unlock the bootloader? I feel like I'm so close to being able to unlock the bootloader, but my phone not being recognized via ADB is driving me freaking crazy.
Thanks!
EDITED TO ADD: If I turn off USB debugging, and just put the phone in File Transfer mode when connecting via USB, it never shows up in Windows Explorer as any kind of storage device, which would make me think its a problem with the driver, right?
That link has the wrong Fastboot ADB version. Use this one
https://developer.android.com/studio/releases/platform-tools.html
TonikJDK said:
That link has the wrong Fastboot ADB version. Use this one
https://developer.android.com/studio/releases/platform-tools.html
Click to expand...
Click to collapse
Thanks for the prompt reply. I'm currently uninstalling Android Studio and SDK I downloaded, and will install the one you linked.
I think this is still a problem related to the driver Windows 7 is automatically installing for my phone. If I turn off USB debugging, and just put the phone in File Transfer mode when connecting via USB, it never shows up in Windows Explorer as any kind of storage device, which would make me think its a problem with the driver, right?

Categories

Resources