Used MSMDT to reset to TMO firmware on KB2007 (OnePlus 8T) and now bootloader is locked and unlock token doesn't work again "FAILED (remote: 'Error - Verify Failed ! (4:-2)')" and my bootloader is permanently locked. Any help would be appreciated.
The MSM Tool returns the device to the way it was when you took it out of the box and booted it for the first time. Do you have USB Debugging enabled in Developer Options? You only need the token once. Have you tried using ADB to unlock the bootloader?
I checked oem unlock in the settings, and then tried to flash twrp and got an error saying the device was locked, tried fastboot oem unlock, and it told me to flash the unlock token, but it won't accept the token.
Try requesting another through OnePlus Support then.
Related
Hi everyone,
Today I decided to root my Mate 9.
I started out with turning 'OEM unlock' on and usb debugging. With ADB installed and the huawei drivers, I began to unlock my bootloader. On the 'EMUI Huawei' homepage I filled out my device details and obtained an unlock code. I opened ADB and checked with 'adb devices' if my device was there. It was. So I continued with typing 'adb reboot bootlader'. After that I typed 'fastboot devices'. My device was still showing up. I typed 'fastboot oem unlock CODE (with the code). On my screen I pressed 'Yes'. Bootloader unlocked.
After this step I tried to flash twrp with the command 'fastboot flash recovery xxxx.img'. I couldn't continue because every adb/fastboot command keeps failing (remote: command not allowed). Now when I boot up my phone it shows 'your device has been unlocked and can't be trusted'. Phone=unlocked, FRP=locked. I can't do anything.
Device: Mate 9 L29C432B198
What did I do wrong or what did I missed? :crying:
I had this issue at first to had to redownload the original rom via the phone recovery this will fix the frp lock then u have to unlock and flash twrp 3.1.01 that is linked in the threads on here
Did it format after it unlocked?
You can try fastboot oem relock UNLOCKCODE
Then go to Settings -> Dev options -> enable OEM Unlocking
Then unlock again.
It probably will fail though if FRP is locked, but worth a shot.
Edit: It's supposed to say
PHONE Unlocked FRP Unlock
So I got my new U12+, bought the unlocked version, I'm pretty sure when it updated it became locked??
Anyway, went to HTCdev to unlock and I get this message when I try
Security checking failed DENY
Shows it as locked S-ON
Should I reset it then get S-Off?
Sounds like you might be confusing a few things.
The Unlocked version is the sim-unlocked. The boot loader will be Locked S-ON. Two different things.
Now to unlock your boot loader to run custom software make sure you follow the steps exactly on HTCdev website.
Get your token key while in Download Mode, copy and paste the correct parts. Then unlock once you have the correct unlock token bin from HTC.
Unlocking your boot loader is all down while in Download Mode. Make sure your have OEM boot loader unlock enabled in Developer Settings.
What a dummy....
OK, de-bugging on and OEM unlocking is enabled.
Tried the steps at HTC and got no response from the phone after typing the get identifier command
I'll try again
BTW, is it just me or is it a pain to get the button sequence just right?
geoffwoerner said:
What a dummy....
OK, de-bugging on and OEM unlocking is enabled.
Tried the steps at HTC and got no response from the phone after typing the get identifier command
I'll try again
BTW, is it just me or is it a pain to get the button sequence just right?
Click to expand...
Click to collapse
It's annoying. But if you have adb on your computer with Debugging enabled within Developer Settings.
adb reboot bootloader
Thatll save you a few a minute or two
OK, so now I'm stumped again,
adb reboot bootloader
phone reboots as it should
fastboot oem get_identifier_token and nothing
<waiting for any device>
Never Mind, took a few tries and new drivers, we're good to go!
How were you able to resolve it? what drivers should i download? I tried twice and i am getting the same message:
Error Code: Invalid Bootloader Token Length.
Error Reason: The submitted Token appears to be the wrong length and won't work.
HTC u 12 Plus . android 9. adb and fastboot installed on a mac os mojave
I have a SIM unlocked Oneplus 7 pro T-Mobile version that had gone through the process of unlocking boot loader with adb and fastboot.
But when I try the command "fastboot oem unlock". I get an error code with "Remote: Please flash unlock code".
I was able to get the unlock code using another fastboot command, but I haven't been able to find out how to either apply it, flash it, or maybe I missed something?
Nitruckz said:
I have a SIM unlocked Oneplus 7 pro T-Mobile version that had gone through the process of unlocking boot loader with adb and fastboot.
But when I try the command "fastboot oem unlock". I get an error code with "Remote: Please flash unlock code".
I was able to get the unlock code using another fastboot command, but I haven't been able to find out how to either apply it, flash it, or maybe I missed something?
Click to expand...
Click to collapse
You must get the BL unlock token from OnePlus.
https://www.oneplus.com/account/sign-in?return_to=https://www.oneplus.com/unlock_token
https://www.getdroidtips.com/how-to-unlock-t-mobile-oneplus-7-pro-bootloader/
Hi Experts,
I just bought an unlocked OnePlus 7 pro.
I confirmed that it is unlocked. If I go into settings, wi-fi & internet, Advance (Network Unlock) ==> It says the following "This mobile device is permanently unlocked and can be used with any carrier!".
So now, I turn on the developer mode, USB debugging, OEM Unlocking, and boot into Boot Loader mode.
In boot loader mode, I see at the bottom of the screen that it is locked.
Now I try the following command from my machine (connected via USB to the device) ==> "fastboot oem unlock"
I get the following error ==> "FAILED (remote: 'Please flash unlock token first.')"
So what am I doing wrong?
OR is it that even if it is SIM unlocked, I still need another UNLOCK for boot loader?
I saw the method to request it from T-Mobile via OnePlus website,
But my question is if it is already carrier unlocked, do I still need that "bin" file for boot loader unlock?
If that is true, then I suppose I have to request it, wait 7 days right?
Is there any way to do this, without this craziness?
Use the msmtool here. If you haven't already.
https://forum.xda-developers.com/on...ol-tool-one-driversunlocktwrpfactory-t3930862
My device is a OnePlus 8T originally purchased from T-Mobile. I unlocked the bootloader to flash OxygenOS 12 in the open beta. Everything is working splendidly, but I can't seem to relock the bootloader. Using fastboot flashing lock, I get an error message asking me to flash the unlock token first. When attempting fastboot flash cust-unlock unlock_token.bin, I get an error asking to turn on OEM unlocking. OEM unlocking is greyed out because the bootloader is unlocked. Can you help? Thanks!
scothouse said:
My device is a OnePlus 8T originally purchased from T-Mobile. I unlocked the bootloader to flash OxygenOS 12 in the open beta. Everything is working splendidly, but I can't seem to relock the bootloader. Using fastboot flashing lock, I get an error message asking me to flash the unlock token first. When attempting fastboot flash cust-unlock unlock_token.bin, I get an error asking to turn on OEM unlocking. OEM unlocking is greyed out because the bootloader is unlocked. Can you help? Thanks!
Click to expand...
Click to collapse
here brother:
Thanks, but my phone asks for an unlock token when I execute fastboot oem lock or fastboot flashing lock I get the error message: FAILED (remote: 'Please flash unlock token first.') When attemptIng to flash the token, I get the error message: FAILED (remote: 'Please turn on OEM unlocking in Settings - Developer option'). I heard back from OnePlus Support, and it sounds like I would need to perform a factory reset in order to lock the bootloader. That would revert the phone to the T-Mobile OxygenOS 11 image. I unlocked the bootloader so that I could flash the global OxygenOS 12 image. Also, I'm hearing from other folks in the OnePlus Community that the bootloader should remain unlocked if I'm in the beta. I'm not sure about that, but, for now, I haven't found a way to lock the bootloader and retain the beta image. Thanks, tho, I appreciate the link.
scothouse said:
Thanks, but my phone asks for an unlock token when I execute fastboot oem lock or fastboot flashing lock I get the error message: FAILED (remote: 'Please flash unlock token first.') When attemptIng to flash the token, I get the error message: FAILED (remote: 'Please turn on OEM unlocking in Settings - Developer option'). I heard back from OnePlus Support, and it sounds like I would need to perform a factory reset in order to lock the bootloader. That would revert the phone to the T-Mobile OxygenOS 11 image. I unlocked the bootloader so that I could flash the global OxygenOS 12 image. Also, I'm hearing from other folks in the OnePlus Community that the bootloader should remain unlocked if I'm in the beta. I'm not sure about that, but, for now, I haven't found a way to lock the bootloader and retain the beta image. Thanks, tho, I appreciate the link.
Click to expand...
Click to collapse
Yeah, there is no way to retain the beta image until OnePlus Gives an official update of OxygenOS 12 for your phone. and if you want to lock bootloader, u have to be on the official version.
BUT THERE IS NO WAY TO LOCK BOOTLOADER AND USE OxygenOS 12 FOR NOW. SO STOP SEARCHING
Gotcha - makes sense and will do. Thanks again!
Spuffyffet said:
BUT THERE IS NO WAY TO LOCK BOOTLOADER AND USE OxygenOS 12 FOR NOW. SO STOP SEARCHING
Click to expand...
Click to collapse
There is no mentioning of unlocking bootloader for OB1 OOS12 in official thread.
@scothouse I ran into a smiliar situation with the OnePlus 8 5g tmobile. After installing the global Rom and upgrading to android 12 i couldnt relock it.
so what i did was downgrade my phone to android 11. the OEM unlocking was still greyed out but i was able to execute the fastboot flash cust-unlock unlock_token.bin command. then voila i locked it.
once you do that then update your phone then you are down.
Just use MSM tools. Of course everything will be factory reset
samdaman91 said:
@scothouse I ran into a smiliar situation with the OnePlus 8 5g tmobile. After installing the global Rom and upgrading to android 12 i couldnt relock it.
so what i did was downgrade my phone to android 11. the OEM unlocking was still greyed out but i was able to execute the fastboot flash cust-unlock unlock_token.bin command. then voila i locked it.
once you do that then update your phone then you are down.
Click to expand...
Click to collapse
Were you able to re-upgrade to Android 12 once the bootloader was locked again?
jefffeely said:
Were you able to re-upgrade to Android 12 once the bootloader was locked again?
Click to expand...
Click to collapse
Yes with OTA
In case anyone is on Android 13, I was able to re-lock the bootloader without issue.
I didn't need the unlock_token back when I flashed the global ROM to replace the Tmo one. I do need the token for the re-lock purpose though