just got the m9 and trying to unlock the bootloader. have been on htcdev and received my unlock bin file but i keep get this result
C:\adb>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.028s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.044s
any help would be grateful
cheers
go to developer options and check allow oem unlocking, and your good to go
Related
So finally received my htc 10 and whelp im unable to unlock the bootloader.
sending 'unlocktoken' (0 KB)...
OKAY [ 0.016s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 0.047s
yes oem unlocking is enabled and this is the factory unlocked one preordered from HTC. Has anyone seen similar issues with their unit?
Sunderwear said:
So finally received my htc 10 and whelp im unable to unlock the bootloader.
sending 'unlocktoken' (0 KB)...
OKAY [ 0.016s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 0.047s
yes oem unlocking is enabled and this is the factory unlocked one preordered from HTC. Has anyone seen similar issues with their unit?
Click to expand...
Click to collapse
Try a different browser
Sunderwear said:
So finally received my htc 10 and whelp im unable to unlock the bootloader.
sending 'unlocktoken' (0 KB)...
OKAY [ 0.016s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 0.047s
yes oem unlocking is enabled and this is the factory unlocked one preordered from HTC. Has anyone seen similar issues with their unit?
Click to expand...
Click to collapse
i had the same issue and used Microsoft Edge browser and it worked as per suggestion from somebody here
I'm having the same issue. Can't figure it out
Different browser did not work for me.
Think I had this issue once when I didn't copy the code into the box properly, copy it exactly as they do first line to last, I tend to have to remove some leading text from each row.
I was getting this error too but didn't realize I generated the code before checking the OEM Unlocking option dialog. The code changes once you do so.
Pasting this code in will just give you an unlock code that fails with that error message. Make sure you did not accidentally do it backwards.
Not sure how browser would be an issue.
Using the Microsoft Edge browser worked for me, but I have no idea why
I've got the same problem. OEM unlocking is enabled and I've regenerated my unlock_code.bin after doing so. I've made sure there's no leading or trailing spaces in the oem token code thing I paste in. I've tried downloading the unlock_code.bin through Microsoft Edge. Exact same error as OP. Any clues?
Took me 3 tokens
Sent from my HTC 2PS6200 using XDA-Developers mobile app
A while ago i rooted my android Phone as per this guide: "http://forum.xda-developers.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133".
Now when trying to revert to stock as per this guide: "http://www.androidswiki.com/restore-htc-one-m9-to-stock-easy-guide-and-download-links/" i got locked out of my Phone.
As soon as i locked the bootloader as per the instructions the Phone wont boot into Android OS and i cannot transfer the RUU file to the SDcard as i get the error: "error: device not found".
when trying to unlock the device via the command: fastboot flash unlocktoken Unlock_code.bin
i get:
sending 'unlocktoken' (0 KB)...
OKAY [ 1.008s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.019s]
finished. total time: 1.027s.
the only things i can boot in atm are the download mode and the bootloader mode.
Please advice as how to proceed.
Trying to unlock the bootloader, got my Unlock_code.bin file, but when I try to use it I get this error message:
C:\Users\Will\Desktop\fastboot>fastboot flash unlocktoken unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.007s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.082s
And of course when I reboot into bootloader it says it is locked. Tried moving the file with fastboot and the unlock_code file to a couple different places and nothing helped, and rebooting both phone and PC. Any ideas?
willfill said:
Trying to unlock the bootloader, got my Unlock_code.bin file, but when I try to use it I get this error message:
C:\Users\Will\Desktop\fastboot>fastboot flash unlocktoken unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.007s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.082s
And of course when I reboot into bootloader it says it is locked. Tried moving the file with fastboot and the unlock_code file to a couple different places and nothing helped, and rebooting both phone and PC. Any ideas?
Click to expand...
Click to collapse
Did you enable unlocking in dev options?
If so, many others who have had an issue with their unlock tokens reported that using a different browser worked for them. Search the forum, there's at least one thread on about it.
Also the error message says your unlock token is 0KB. Are you sure the file is complete?
Maybe try redownload it and verify it with an MD5 hash.
I figured it out, it was just that I copied the code to get the unlock file improperly when I was in CMD. I had to copy it, but I had to turn off "enable line wrapping selection" in the cmd properties, when I tried before to copy it I ended up copying a bunch of extra info that I edited out in notepad, and I think that caused an extra space or error to be somewhere in the code, even though it worked on the HTC site. Anyway thank you for the tips guys!
willfill said:
Trying to unlock the bootloader, got my Unlock_code.bin file, but when I try to use it I get this error message:
C:\Users\Will\Desktop\fastboot>fastboot flash unlocktoken unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.007s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.082s
And of course when I reboot into bootloader it says it is locked. Tried moving the file with fastboot and the unlock_code file to a couple different places and nothing helped, and rebooting both phone and PC. Any ideas?
Click to expand...
Click to collapse
Maybe your computer automatically extracted the file or something
Sent from my 2PS64 using XDA-Developers mobile app
I had to request unlock multiple times and use different browsers until it finally worked. I believe it finally worked when I completed the process with the MS Edge browser.
Sent from my HTC 10 using Tapatalk
Please help me, I followet tutorial of rootjunky with unlocking bootloader but something goes wrong I get Unlock_code.bin from HTCdev but after entered command:
fastboot flash unlocktoken Unlock_code.bin
I get this error:
D:\fastboot>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.000s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.054s
D:\fastboot>
my phone stay in download mode with this:
Flash images success (1/1)
Start downloading
at the bottom I have standard Download mode security warning, in CMD fastboot devices show my phone but I can't do anything more.
zukers said:
Please help me, I followet tutorial of rootjunky with unlocking bootloader but something goes wrong I get Unlock_code.bin from HTCdev but after entered command:
fastboot flash unlocktoken Unlock_code.bin
I get this error:
D:\fastboot>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.000s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.054s
D:\fastboot>
my phone stay in download mode with this:
Flash images success (1/1)
Start downloading
at the bottom I have standard Download mode security warning, in CMD fastboot devices show my phone but I can't do anything more.
Click to expand...
Click to collapse
Follow the tutorial from htcdev instead. Read each step slowly.
Ok. Problem solved, I had to generate again new Unlock code.
HI
I get my new htc 10
and when i try to unlock the boot loader i get this
Unlock token check failed
how to fix this i try every thing
Running all commands as admin?
kushman said:
Running all commands as admin?
Click to expand...
Click to collapse
same problem:crying:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>CD C:\Android\platform-tools
C:\Android\platform-tools>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.005s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.087s
C:\Android\platform-tools>
Thanks
its works just replay it again and i get another token ?
and then its works
thanks all
Klnu2000 said:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>CD C:\Android\platform-tools
C:\Android\platform-tools>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.005s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.087s
C:\Android\platform-tools>
Click to expand...
Click to collapse
go to settings, developer options, and check OEM unlocking,(tap build number numerous times in settings to activate developer options)also make sure usb debugging is checked