hi
i am trying to unlock the bootlaoder for my new htc m9
after i got the unloch_code, i receive this msg in cmd
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.009s]
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.038s
please help
what is missing ?
This does not belong in development.
@osamaxosama
In developer options, you have an option called OEM unlocking. This should be checked.
skodann said:
@osamaxosama
In developer options, you have an option called OEM unlocking. This should be checked.
Click to expand...
Click to collapse
i will check it and update this.
skodann said:
@osamaxosama
In developer options, you have an option called OEM unlocking. This should be checked.
Click to expand...
Click to collapse
didn't work
still the same, same msg also
i receive on my phone that download is 100%
and at the botoom of the screen " under flash "
it didn't take me to the bootloader next screen.
Pretty sure the token has to be obtained after OEM unlocking is checked, try a second token.
osamaxosama said:
didn't work
still the same, same msg also
i receive on my phone that download is 100%
and at the botoom of the screen " under flash "
it didn't take me to the bootloader next screen.
Click to expand...
Click to collapse
Activate the OEM unlock, obtain the unlock code.bin after that, make sure that you are using htc_fastboot, not other thing, and (I am not 100% sure, but other members can help) go into download mode, not into bootloader when you flash the unlock code.bin
Tirofog said:
Pretty sure the token has to be obtained after OEM unlocking is checked, try a second token.
Click to expand...
Click to collapse
i guess this might help, i am still using same token , the one i obtained before unlocking oem.
i'll try this
thanks
skodann said:
Activate the OEM unlock, obtain the unlock code.bin after that, make sure that you are using htc_fastboot, not other thing, and (I am not 100% sure, but other members can help) go into download mode, not into bootloader when you flash the unlock code.bin
Click to expand...
Click to collapse
dear
you mean i have to obtain the token when i am at fast boot not download mode ?
flashing is on downlaod mode yeah, but getting the token is from fastboot ?
Tirofog said:
Pretty sure the token has to be obtained after OEM unlocking is checked, try a second token.
Click to expand...
Click to collapse
didn't work, same msg
skodann said:
Activate the OEM unlock, obtain the unlock code.bin after that, make sure that you are using htc_fastboot, not other thing, and (I am not 100% sure, but other members can help) go into download mode, not into bootloader when you flash the unlock code.bin
Click to expand...
Click to collapse
i did this exactly. but to let you know, i couldn't get the token when on fastboot, but after entering download mode, i was able to get the token.
also, i tried to flash the token on fastboot, but didn't flash, only on download mode i was able to get the token and flash it.
on cmd i still get the same msg, but on my htc screen i see this " attached picture " " download 100% "under flash
ad everytime i press the power button, i see another " under flash " msg.
help please
osamaxosama said:
help please
Click to expand...
Click to collapse
What happens if you press the power button.. try adb to reboot recovery/bootloader??
solved
i tried on another pc.
the issue seemed to be from th sdk folder.
i tried 15 seconds installer, i knew it was the problem, because it runs from everywhere, i think it doesn't recognize flash commands or the file destination.
thank you all
Related
Hi,
I've relocked my HOX (1.72 HBOOT, 4.18.401.4 mainver, and HTC__Y13 CID) but now I'm not able to unlock it to install cwm. When I try to unlock via fastboot I get the following error:
C:\Users\XXX>fastboot flash unlocktocken c:\Unlock_code.bin
sending 'unlocktocken' (0 KB)...
OKAY [ 0.141s]
writing 'unlocktocken'...
FAILED (remote: not allowed)
finished. total time: 0.354s
How should I proceed? Thanks guys
Get a brand new one via the HTC dev site and try again. But why on earth did you relock it to begin with ?
Mr Hofs said:
Get a brand new one via the HTC dev site and try again. But why on earth did you relock it to begin with ?
Click to expand...
Click to collapse
I followed some "back to stock" guide (from h t t p s://w w w.youtube.com/watch?v=SZuAjz4PIjU) for HOX that included installing a stock recovery and relocking the phone. However, I couldn't find the correct RUU. I tried using a new unlock token from HTCdev but obviously it didn't work as it's identical. Thanks for the help though!
Lesson learned....never do something before you gathered all the files needed !
Are you flashing the token correctly, is the phone connected to the pc on a usb 2.0 port (not a usb hub or other in between connection) ?
You were unlocked, what does the bootloader say now ?
Locked or relocked ?
Mr Hofs said:
Lesson learned....never do something before you gathered all the files needed !
Are you flashing the token correctly, is the phone connected to the pc on a usb 2.0 port (not a usb hub or other in between connection) ?
You were unlocked, what does the bootloader say now ?
Locked or relocked ?
Click to expand...
Click to collapse
The phone is connected directly to the USB and it is Relocked, occassionally showing the "security warning" under it. I downloaded the correct nandroid backup for the phone, but as I don't have a custom recovery I'm not able to use it. I tried to flash a stock recovery (again) but I keep getting the same "FAILED (remote: not allowed)" whenever I try to do any changes to the phone.
Why it is btw that we can't have a RUU for a certain version? No way to downgrade ?
S-on devices cant downgrade,only s-off devices can. But you need to find a shop that can offer that specific service, can't do it in anyway at home.
But i see you flash the unlock code from a specific folder. Try it like this :
Open the command prompt directly from the fastboot.exe folder and place the unlock code.bin file in that specific directory too ! Then perform the unlock fastboot command again
Mr Hofs said:
Open the command prompt directly from the fastboot.exe folder and place the unlock code.bin file in that specific directory too ! Then perform the unlock fastboot command again
Click to expand...
Click to collapse
Unfortunately that didn't work. It seems there's not much I can do now.
you did fastboot flash unlocktocken instead of fastboot flash unlocktoken.
trying to flash to a non existing partition gives this error.
I had same problem when I did fastboot flash unlock instead of unlocktoken
so unlock with ck and token without ck
jjgittes said:
Hi,
I've relocked my HOX (1.72 HBOOT, 4.18.401.4 mainver, and HTC__Y13 CID) but now I'm not able to unlock it to install cwm. When I try to unlock via fastboot I get the following error:
C:\Users\XXX>fastboot flash unlocktocken c:\Unlock_code.bin
sending 'unlocktocken' (0 KB)...
OKAY [ 0.141s]
writing 'unlocktocken'...
FAILED (remote: not allowed)
finished. total time: 0.354s
How should I proceed? Thanks guys
Click to expand...
Click to collapse
man all credits goes to @vastloper and next time it will be good to copy the command from the HTCdev site not to write it manually use the right command
@vastloper it will be good to quote him to see your comment. when you quote him he will receive the notification and will see his mistake with sure:good:
vastloper said:
you did fastboot flash unlocktocken instead of fastboot flash unlocktoken.
trying to flash to a non existing partition gives this error.
I had same problem when I did fastboot flash unlock instead of unlocktoken
so unlock with ck and token without ck
Click to expand...
Click to collapse
Thanks a lot! :victory: I did indeed make a typo on that, and used the same command over and over again without rewriting it.
I was able unlock and recover back to stock. However, I'm not still able to use my phone due to the blank/black screen issue, and will be further investigating that.
Does anyone have a O2__001 CID Stock Rom??
jjgittes said:
Hi,
I've relocked my HOX (1.72 HBOOT, 4.18.401.4 mainver, and HTC__Y13 CID) but now I'm not able to unlock it to install cwm. When I try to unlock via fastboot I get the following error:
C:\Users\XXX>fastboot flash unlocktocken c:\Unlock_code.bin
sending 'unlocktocken' (0 KB)...
OKAY [ 0.141s]
writing 'unlocktocken'...
FAILED (remote: not allowed)
finished. total time: 0.354s
How should I proceed? Thanks guys
Click to expand...
Click to collapse
Are you have battery take new unlocktoken and try again
i am getting this error please help
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.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: 1.059s
why you don't go to http://www.htcdev.com/bootloader to open it
I don't know if work or not cuz I not get the phone and never use htc before
Sent from my iPad using Tapatalk
double check you have entered your serial number etc correctly on the htc dev site, any mistakes will generate the wrong unlock code.
DinarQ8 said:
why you don't go to http://www.htcdev.com/bootloader to open it
I don't know if work or not cuz I not get the phone and never use htc before
Click to expand...
Click to collapse
That is the website I am getting my unlock, I am a long time HTC user and I have done this hundreds of times, the thing is just not working out for me this time, but thanks for trying to help
Doesnt HTC 10 also have option in developer options to block bootloader unlocking?
Here on mine M9
OEM unlocking
Allow the bootloader to be unlocked (unchecked by default)
alexp999 said:
double check you have entered your serial number etc correctly on the htc dev site, any mistakes will generate the wrong unlock code.
Click to expand...
Click to collapse
Will try again tomorrow...
I'm having the same problem. Allow unlocking is ticked
rampage101 said:
I'm having the same problem. Allow unlocking is ticked
Click to expand...
Click to collapse
Did you allow unlocking before you tried?Or after it failed u tried ticking it on?
Because if u allowed bootloader unlocking you need to generate new unlock token all over!
Before. I've tried several times, still can't get it
rampage101 said:
Before. I've tried several times, still can't get it
Click to expand...
Click to collapse
Well try contacting HTC support than.
Just got it to work. Not sure what exactly solved it. Did another reboot of the laptop, used Chrome instead of Microsoft Edge. Waterfox (Firefox) didn't work properly with HTC Dev, so not sure what was going on.
No OEM unlock on the Verizon 10 in developer settings
rampage101 said:
Just got it to work. Not sure what exactly solved it. Did another reboot of the laptop, used Chrome instead of Microsoft Edge. Waterfox (Firefox) didn't work properly with HTC Dev, so not sure what was going on.
Click to expand...
Click to collapse
not sure that was reason but used Microsoft edge and it worked Thanks!!!!!!!!!!!!!!
Surprisingly, I am running into this issue as well. I have done this several times before and never had this issue. I am doing it on Linux and I have done it from Linux before. The developer option for unlock is enabled.
I have tried several times now, with different browsers, and the same result.
Does anybody know how to get out of the download mode? I can't even reboot this device at this time. Holding power does not power off - fastboot reboot helps.
yes I was in the same boat. I had to generate 4 unlock.bin files till it finally accepted it.
Looks like 4th time is the charm... It finally did unlock it.
Power button and vol down held down for a while will reboot it. Also, "fastboot reboot" will do it too.
Sent from my HTC 2PS6200 using Tapatalk
JEANRIVERA said:
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
FAILED (remote: UnlockToken Verify Fail!!)
finished. total time: 1.059s
Click to expand...
Click to collapse
I had the same thing happen to me. I rebooted the phone, went into developer settings to verify OEM Unlocking was checked (it was). Powered off the phone, held down volume down, took it into download mode and tried again. This time it worked. I only ever got one Unlock_code.bin file, so I know it was good even when it was failing.
Make sure you are including the <<< >>> lines, both above and below? Off the top of my head I cannot remember what they say, but there are lines of texts before the code begins and after it ends.
Same here, it was the third time for me, but I did notice each time I'd run the get_identifier_token, that the token would come out differently each time. Eventually submitting through Edge got me the proper unlock.bin
First time Firefox said invalid error
Second Chrome said success, but unlock bin did not work
Third used edge, Success, unlock bin worked.
This was not this much of a pain on both Motorola Moto X and Moto MAXX
I just bought an HTC One M9 - Developer edition. I wanted to unlock it and followed all of the directions from the HTCDev site. The only difference was that I used the fastboot program from my Android Studios instead of their fastboot zip. When I run the command fastboot flash unlocktoken Unlock_code.bin, I get an unusual response:
C:\Users\Ben-Desktop\AppData\Local\Android\sdk\platform-tools>fastboot flash unlocktoken Unlock_code.bin
sending 'unlocktoken' (0 KB)...
OKAY [ 0.005s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
(bootloader) Device is unlocked
OKAY [ 0.013s]
finished. total time: 0.020s
Click to expand...
Click to collapse
When this happens I am stuck on a screen that says "download 100%" and "Start downloading" highlighted in blue. The HTCDev site says that I should get a pop-up that says whether I want to unlock the bootloader, but I just get stuck here. I know how to get out of this screen using the up arrow and power button. What I'm trying to figure out is how to actually unlock my phone.
Any thoughts?
P.S. It may be worth noting that I fully updated my phone beforehand so I don't know if its setup to work for an easier version, but fails for 6.0
ganeran said:
I just bought an HTC One M9 - Developer edition. I wanted to unlock it and followed all of the directions from the HTCDev site. The only difference was that I used the fastboot program from my Android Studios instead of their fastboot zip. When I run the command fastboot flash unlocktoken Unlock_code.bin, I get an unusual response:
When this happens I am stuck on a screen that says "download 100%" and "Start downloading" highlighted in blue. The HTCDev site says that I should get a pop-up that says whether I want to unlock the bootloader, but I just get stuck here. I know how to get out of this screen using the up arrow and power button. What I'm trying to figure out is how to actually unlock my phone.
Any thoughts?
P.S. It may be worth noting that I fully updated my phone beforehand so I don't know if its setup to work for an easier version, but fails for 6.0
Click to expand...
Click to collapse
If u got a dev edition it's already unlocked.
It says u are unlocked.
If not, check the oem unlock in the developer settings.
Good luck!
Fain11 said:
If u got a dev edition it's already unlocked.
It says u are unlocked.
If not, check the oem unlock in the developer settings.
Good luck!
Click to expand...
Click to collapse
Okay, I guess I'm trying to turn the machine to S-OFF then. I still don't have root access (or at least that's what titanium backup says). Do you know of a place with instructions for that?
ganeran said:
Okay, I guess I'm trying to turn the machine to S-OFF then. I still don't have root access (or at least that's what titanium backup says). Do you know of a place with instructions for that?
Click to expand...
Click to collapse
Start reading here:
http://forum.xda-developers.com/one-m9/general/guide-root-install-twrp-htc-one-m9-t3061133
I keep noticing this message every time I issue some sort of modifying fastboot command, doesnt matter if im using fastboot getvar all or flash unlock token etc etc, I always get this message at the beginning, does anyone know what it means or is it anything to be concerned about: (see below in bold)
C:\ADB>fastboot flash unlocktoken unlock_code.bin
target reported max download size of 800000000 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 1.011s]
writing 'unlocktoken'...
(bootloader) flash unlocktoken
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X01, enable unlock
(bootloader) unlock token check successfully
OKAY [ 0.030s]
finished. total time: 1.043s
Never seen this before with other HTCs ive unlocked etc, but regardless of that message, it seems to have done the job, I was just a little worried about if I should proceed to flash bigger files like rom's etc, I want to flash TWRP, root and then S-off so I can flash the stock 401 WWE rom.
Are you talking about the max dowload size or the KillSwitch message? (I'm asking because you highlighted the latter.)
The max download size equals around 762 MB. That's why you can use fastboot for flashing TWRP but not for flashing RUUs (as explained in the ReadMe thread).
The KillSwitch message on the other hand appears because you didn't activate OEM Unlock in the developer options of your phone. That's the FRP (Factory Reset Protection) Google introduced with android 5.1. It prevents you from unlocking the bootloader since that unlock triggers a factory reset.
Flippy498 said:
Are you talking about the max dowload size or the KillSwitch message? (I'm asking because you highlighted the latter.)
The max download size equals around 762 MB. That's why you can use fastboot for flashing TWRP but not for flashing RUUs (as explained in the ReadMe thread).
The KillSwitch message on the other hand appears because you didn't activate OEM Unlock in the developer options of your phone. That's the FRP (Factory Reset Protection) Google introduced with android 5.1. It prevents you from unlocking the bootloader since that unlock triggers a factory reset.
Click to expand...
Click to collapse
I was on about the killswitch message, however, OEM unlocking and USB debugging is activated in developer options along with unknown sources.
And your bootloader is unlocked now? That's more than strange. The message should only appear if OEM Unlock isn't activated.
Sent from my HTC One S using XDA Labs
Flippy498 said:
And your bootloader is unlocked now? That's more than strange. The message should only appear if OEM Unlock isn't activated.
Sent from my HTC One S using XDA Labs
Click to expand...
Click to collapse
Yes bootloader is unlocked, and phone reset itself as expected, all set back up again now, just need to root and s-off it, I was just concerned about that message.
Hello i tried to unlock the Bootloader but i get an error every Time
C:\Users\kilia>adb reboot bootloader
C:\Users\kilia>cd C:\adb
C:\adb>fastboot flash unlock unlock.bin
sending 'unlock' (1 KB)...
FAILED (remote: unknown command)
finished. total time: -0.000s
Kilian122 said:
Hello i tried to unlock the Bootloader but i get an error every Time
C:\Users\kilia>adb reboot bootloader
C:\Users\kilia>cd C:\adb
C:\adb>fastboot flash unlock unlock.bin
sending 'unlock' (1 KB)...
FAILED (remote: unknown command)
finished. total time: -0.000s
Click to expand...
Click to collapse
What model are you using as of right now only the European model and TIM Mobile (Italian Carrier) can be officially unlocked other than that you're SOL
Joe199799 said:
What model are you using as of right now only the European model and TIM Mobile (Italian Carrier) can be officially unlocked other than that you're SOL
Click to expand...
Click to collapse
I am using the LG G7: LMG710EM and i have my offical unlock.bin but its not working :/
Kilian122 said:
I am using the LG G7: LMG710EM and i have my offical unlock.bin but its not working :/
Click to expand...
Click to collapse
Interesting, I'm sorry I've helped all i can I have a G710TM I don't have an unlockable bootloader, I suggest going over to the root instructions thread and posting there you might have better luck or wait it out. I'm sorry I couldn't help you
Joe199799 said:
Interesting, I'm sorry I've helped all i can I have a G710TM I don't have an unlockable bootloader, I suggest going over to the root instructions thread and posting there you might have better luck or wait it out. I'm sorry I couldn't help you
Click to expand...
Click to collapse
at least you tried thank you
Kilian122 said:
at least you tried thank you
Click to expand...
Click to collapse
No problem, anytime
Are u connected?
Have u enabeld oem unlock in settings and activated usb debuging
Run command :Adb devices
Yes i have enabled the 2 things and when i tipe that in it shows me a number
Kilian122 said:
Yes i have enabled the 2 things and when i tipe that in it shows me a number
Click to expand...
Click to collapse
It should be "fastboot oem unlcok unlock.bin"
LameMonster82 said:
It should be "fastboot oem unlcok unlock.bin"
Click to expand...
Click to collapse
you mean "fastboot oem unlock unlock.bin"
yes and thats not working
Did u follow the guide on lg page when u register to obtain your unlock file? Did u enter correvt ime and everything?
maydayind said:
Did u follow the guide on lg page when u register to obtain your unlock file? Did u enter correvt ime and everything?
Click to expand...
Click to collapse
Yes i did and i got the file via email
Kilian122 said:
you mean "fastboot oem unlock unlock.bin"
yes and thats not working
Click to expand...
Click to collapse
What does it say?
LameMonster82 said:
What does it say?
Click to expand...
Click to collapse
C:\adb>fastboot flash unlock unlock.bin
sending 'unlock' (1 KB)...
FAILED (remote: unknown command)
finished. total time: -0.000s
Kilian122 said:
C:\adb>fastboot flash unlock unlock.bin
sending 'unlock' (1 KB)...
FAILED (remote: unknown command)
finished. total time: -0.000s
Click to expand...
Click to collapse
From your post you are running "fastboot flash unlock unlock.bin", while the correct command, as others already mentioned, is "fastboot oem unlock unlock.bin".
dbolivar said:
From your post you are running "fastboot flash unlock unlock.bin", while the correct command, as others already mentioned, is "fastboot oem unlock unlock.bin".
Click to expand...
Click to collapse
Thats still not Working :/
C:\adb>fastboot oem unlock unlock.bin
...
FAILED (remote: unknown command)
finished. total time: 0.000s
dbolivar said:
From your post you are running "fastboot flash unlock unlock.bin", while the correct command, as others already mentioned, is "fastboot oem unlock unlock.bin".
Click to expand...
Click to collapse
And the LG Developer Site says "fastboot flash unlock unlock.bin"
From what i can se your phone isnt unockebl.
Or u Dident enable oem unlock in developer settings
maydayind said:
From what i can se your phone isnt unockebl.
Or u Dident enable oem unlock in developer settings
Click to expand...
Click to collapse
Yes i enabled it and it is unlockable
That's weird. What I'd suggest is for you to try a different (newer?) version of fastboot. Try downloading straight from Google:
https://developer.android.com/studio/releases/platform-tools