I had my phone unlocked and working with a custom ROM in the past, but after some problems I gave up and just relocked it and went back to stock. Now I'm trying to unlock it again and I'm running into some problems. I'm unable to get the identifier token to use with htcdev because whenever I go into the bootloader my phone is not recognized by adb. fastboot oem get_identifier_token leaves me with a waiting for device message, and adb devices returns an empty list. If I turn the phone on normally the device shows up then. To the best of my knowledge, I have all the necessary drivers. I have tried multiple USB slots, multiple computers (including the one I originally did the unlock on, when it worked fine), and have searched all around the internet and various forums for an answer. I've tried manually updating the USB drivers through device manager, but that did nothing. I have HTC sync installed as well. When I plug the USB cable in I sometimes get a device cannot be identified/has malfunctioned message. Device manager also shows a yellow warning triangle on my phone when in the bootloader. I'm on windows 8 currently, but I've tried it on a windows 7 pc as well with the same results.
tldr: adb doesn't recognize my phone while in bootloader, so I can't unlock it.
Thanks in advance for any help, I've tried everything I can think of.
Related
Trying to use HTC-DEV method to unlock my sons phone and it's not working.I get the phone into fastboot and I can get all the way to unlock token in cmd screen the command goes through as successful but phone does not reboot. I do have usb debugging enabled, htc sync installed, it will not reboot no matter what, Ive done three others this way no problem. Also when I run HTC sync and plug my sons phone into the computer htc sync is not recognizing it, but I can select either charge only or disk drive when I plug phone in. Does anyone have any ideas what I'm missing? UPDATE: I uninstalled HTC sync and reinstalled and still can't get phone unlocked, also tried it on my laptop just in case it's a computer problem and results were the same, I get unlock token enter command to unlock says it was successful but phone will not unlock and reboot after command was entered.
mcdermott1 said:
Trying to use HTC-DEV method to unlock my sons phone and it's not working.I get the phone into fastboot and I can get all the way to unlock token in cmd screen the command goes through as successful but phone does not reboot. I do have usb debugging enabled, htc sync installed, it will not reboot no matter what, Ive done three others this way no problem. Also when I run HTC sync and plug my sons phone into the computer htc sync is not recognizing it, but I can select either charge only or disk drive when I plug phone in. Does anyone have any ideas what I'm missing? UPDATE: I uninstalled HTC sync and reinstalled and still can't get phone unlocked, also tried it on my laptop just in case it's a computer problem and results were the same, I get unlock token enter command to unlock says it was successful but phone will not unlock and reboot after command was entered.
Click to expand...
Click to collapse
try uninstalling htc sync then rebootiing and then try to unlock the phone...sometimes htc sync can interfere with it
wloftus said:
try uninstalling htc sync then rebootiing and then try to unlock the phone...sometimes htc sync can interfere with it
Click to expand...
Click to collapse
That seemed to do the trick much thanks. Weird, did 3 other phones the same way and no problems, this one had to give me a hard time.
So I was using the toolkit to relock bootloader, which I did successfully, but then when I went to flash the stock RUU, my comp will not longer recongize phone. I plug it in, and it says USB device not recognized. I have tried uninstalling and reinstalling HTC drivers, different USB ports and cords. Any ideas? I cant load anything but the bootloader screen as I dont have anything loaded onto it now that I relocked the bootloader.
For whatever reason, when I'm trying to get my Token ID, I get as far as entering fastboot, and when trying to get the second command prompt to retrieve my token, it just gets stuck at "Waiting for Device".
I've made sure I'm using a USB 2.0 port ON THE BACKSIDE of my PC (I've tried 3.0, and front ports as well, all yield the same results)
USB debugging IS ENABLED.
I've tried with, and without fastboot disabled.
I've tried uninstalling ALL android related drivers on my PC, and re installing ONLY the HTC ones (I have a rooted nexus 7 2013 as well)
nothing seems to make a difference, everything works great right up until my device reboots into fastboot, then it becomes unrecognisable.
At the same time, windows shows a failed driver installation ONLY AFTER I unplug the device, and it shows it trying to install "HTC MTP DEVICE".
I've run out of ideas for a way to fix this by now, anyone have any other suggestions?
Try getting your token without the toolkit using fastboot. There's instructions on the HTC dev site
I attempted that as well, all it did was make me manually preform the same commands the toolkit did on it's own.
No luck with that either.
Edit: THANK GOD I FINALLY GOT IT WORKING!!!!!
When my phone boots into bootloade,r it runs on an "Android 1.0" driver. I went into my device manager, and updated that "Android 1.0 device" with the drivers located here, and everything magically connected, and I can now get my token ID!!!
suggests tractor
Also, if you have any more problems with it not showing up under devices try to unplug/plugin your USB cable. I have weird driver problems on Windows sometimes.
Hi im fairly newthis to all this so please be patient. I have Htc 4g amaze Tmous rooted s-on unlocked. I flashed a custom rom which is stock debloated. But, the wifi and bluetooth do not work. I want to revert back to stock by using the same method which is the Htc toolkit. But, when i restart in bootloader mode the phone is no longer recognized by my laptop running win 8.1. I have been searching for a week now and have tried everything from deleting drivers, reinstalling, downloading htc sync and removing the software but leaving drivers,, different USB ports 2.0 & 3.0, nothing works. When its in bootloader about 5 seconds later my computer says USB device not recognized.
Please help.
mikeny said:
Hi im fairly newthis to all this so please be patient. I have Htc 4g amaze Tmous rooted s-on unlocked. I flashed a custom rom which is stock debloated. But, the wifi and bluetooth do not work. I want to revert back to stock by using the same method which is the Htc toolkit. But, when i restart in bootloader mode the phone is no longer recognized by my laptop running win 8.1. I have been searching for a week now and have tried everything from deleting drivers, reinstalling, downloading htc sync and removing the software but leaving drivers,, different USB ports 2.0 & 3.0, nothing works. When its in bootloader about 5 seconds later my computer says USB device not recognized.
Please help.
Click to expand...
Click to collapse
You're gonna have to be a bit more specific with how you're trying to read the device:
a) When you're in bootloader, and you have the phone plugged in, does it read HBOOT USB, or FASTBOOT USB?
i) If yes: Then just run the program. It will still recognize the system even if Windows doesn't show it. Fire off a CMD command or simply click "reboot" on the toolkit and see if the phone responds.
ii) If no: Use another cable, and make sure you're securely connected. Generic micro USB cables tend to be a bit loose even when connected, so make sure the cable itself is not "ajar" in the port
Once you're in bootloader mode, post what it says here.
darkandshadow said:
You're gonna have to be a bit more specific with how you're trying to read the device:
a) When you're in bootloader, and you have the phone plugged in, does it read HBOOT USB, or FASTBOOT USB?
i) If yes: Then just run the program. It will still recognize the system even if Windows doesn't show it. Fire off a CMD command or simply click "reboot" on the toolkit and see if the phone responds.
ii) If no: Use another cable, and make sure you're securely connected. Generic micro USB cables tend to be a bit loose even when connected, so make sure the cable itself is not "ajar" in the port
Once you're in bootloader mode, post what it says here.
Click to expand...
Click to collapse
Hi and thanks for the reply. Im using the OEM htc cable and everything else reads just fine. I'm able to read the sd card and send some commands through the toolkit. For example i can click the "boot into bootloader" command and it works fine. The problem is once it is in bootloader the command prompt window just says waiting for device and the phone says fastboot. I am able to reboot the phone back into android using the vol keys and the power button. Im trying to relock the bootloader using toolkit but on the second window (first being putting it bootloader) it won't read the phone following the computers message saying usb device not recognized. Thanks again for the help.
mikeny said:
Hi and thanks for the reply. Im using the OEM htc cable and everything else reads just fine. I'm able to read the sd card and send some commands through the toolkit. For example i can click the "boot into bootloader" command and it works fine. The problem is once it is in bootloader the command prompt window just says waiting for device and the phone says fastboot. I am able to reboot the phone back into android using the vol keys and the power button. Im trying to relock the bootloader using toolkit but on the second window (first being putting it bootloader) it won't read the phone following the computers message saying usb device not recognized. Thanks again for the help.
Click to expand...
Click to collapse
You may have to try it manually. Download a fresh copy of the Android SDK tools
and put the "Platform-Tools" folder under your C:\
Fire up Command Prompt, change directory to that platform-tools folder.
Then type in "fastboot oem lock" (without the quotations).
Your phone will reboot and upon the bootloader, it should say **RELOCKED** at the top.
If you're still having issues, I would suggest loading up on another computer, or if that isn't possible, download Ubuntu and burn it as a LiveCD and see if your phone will be recognized (properly) through Linux. Sounds like the communication protocols for your phone are fuxed. As for uninstalling and reinstalling drivers like that, you may have to use regedit to completely remove trace portions of those previous installs.
It's a driver issue, uninstall and reinstall the drivers.
okay so, i just got this phone. did all updates, enabled bootloader unlocking and made my mi account, downloaded the mi unlock tool and everything.
heres where the problem comes in.
everytime i try the button combination to get into fastboot, it works. but then when i connect my phone to my computer, the fastboot splash screen turns black with little text at the top saying "press any button to shutdown" or something like that. it just wont stay on the fastboot screen, its like its exiting fastboot mode on its own.
why does it do this, and what can i do to fix it?
note: i have downloaded all drivers and software to get this to work, and nothing seems to be coming to light.
please help me, i am very confused.
update: actually, it seems to be fine before i open the mi unlock tool. it seems that when mi unlock tool is not open, it stays in fastboot mode, but as soon as i open mi unlock tool, it just kicks me out of fastboot mode, and goes to a black screen with something at the top saying the exact same thing i mentioned earlier.
Turn on the phone go into developer settings and enable usb debugging, im pretty sure that's it
Deexterity said:
Turn on the phone go into developer settings and enable usb debugging, im pretty sure that's it
Click to expand...
Click to collapse
i already have enabled usb debugging. but for some reason, it won't just stay in fastboot mode.
was thinking about calling xiaomi and seeing what they have to say. because i cant find anything on this matter, so its probably just something im doing wrong. though it may be my version of windows. i have Windows 8.1. so maybe thats the deal?
this is stressful lol
If I'm not mistaken, you should only connect the phone in fastboot mode when the program asks, not before you open it
Deexterity said:
If I'm not mistaken, you should only connect the phone in fastboot mode when the program asks, not before you open it
Click to expand...
Click to collapse
i know, i did that too. but the problem still persists... ill try some other time.
thanks for helping though
First off this is much better place to ask questions. When phone is running and you connect to pc can you access storage?
If not check drivers, try different usb cable, and try different usb ports.
If yes then can you access the phone via adb?
If not it is a pc issue probably drivers.
If so leave phone booted and connected then open unlock software. Once software is up and running go to terminal/command prompt and type "adb reboot bootloader" without quotes.
I don't think it is windows version but with Microsoft anything is possible. I still use windows 7 for all this stuff.
Had the same problem on my Desktop with Ryzen, i tried it on my laptop with Intel Celeron and it worked from the first try without any drivers installed. If you have AMD that might be the cause
Hello.
My personal experience says:
1 Install Drivers on the PC/Laptop.
2 Activate DEVELOPER OPTIONS
3 Accept O E M Unlock
4 Allow usb debugging
5 Shut down Wi-Fi and use only DATA in order to connect - verify the device to the Mi account you have. When connected, press "understood" or ""accept"" (however it pops up).
6 Connect the phone to the PC/Laptop
7 After being connected, shut down the phone and put it in FASTBOOT. Make sure your PC ""reads"" your phone. Do it through command line/power shell, and make sure it shows up as alphanumeric in command line (i hope you know what to type - e.g fastboot devices)
8 Download and use the mi unlock tool (preferable Versions 2.....). Connect through this tool to your Mi account
9 Ask for permission to unlock // unlock your phone if days-hrs have passed. Ignore any pop-up message/warning and go on.
VERY IMPORTANT NOTES:
A. The phone must be recognized from the PC as ADB INTERFACE (in device manager) both in normal and Fastboot modes. Any other case is waste of time.......
B. Use a good cable and have the mobile charged!
C. In case you have another (older) device connected to your account, disconnect-delete it or else you will end up stuck with a ""cannot unlock message""
D. The process will not work if your PC runs some Win 10 versions as well as if built with RHYZEN PROCESSOR. Prefer PCs running win 7 or 8.
E. You must have DATA connection available or else you will not be able to connect-verify the phone to/through your Mi account !!! it is a new (dual function) fail - safe procedure from xiaomi!!!
F. Make sure you have the correct drivers installed to avoid a brick - bootloop etc
Hope it helps!
Gathered from my own experience!
To summarize: The xiaomi imposes too much rodeo and much time spent of the user to just "try" to unlock a simple bootloader, better to change of apparatus and to be happy with the practicality. lol