Hey guys,
I am trying to unlock my bootloader but it doesnt work, everytime I do the "Fastboot oem get_unlock_data" command, it says it failed to get unlock data.
I have unlock bootloader option in dev settings enabled and all drivers properly installed along with fully working sdk and fastboot tools etc. I have a couple xiaomi devices with different custom roms.
Previously I installed RETLA using tiny fastboot script cus i bought the phone in latin america but software channel says RETAR... Is this discrepancy the problem?
If not, anyone know why even though bootloader unlock option is on, the fastboot command to get the data fails?
Using getvar all i see the cid is 0x0000, i've read that having cid: 0x0000 is the problem, might installing the proper firmware: RETAR change this?
Ty
Hpotersept2 said:
cid is 0x0000
Click to expand...
Click to collapse
Most likely you will have to forget about unlocking the bootloader.
Reflashing will not help you in any way.
ilia3367 said:
Most likely you will have to forget about unlocking the bootloader.
Reflashing will not help you in any way.
Click to expand...
Click to collapse
Do you know why the cid is like that? Idk what has been done to it cus I bought it used. Any ideas?
Ty
The boot loader on your phone was blocked incorrectly and the system stopped starting.
cid: 0x0000 is a consequence of the boot loader working state recovery software.
It is now in a state oem-locked" as it was originally from the factory. But you cannot unlock the bootloader now. But, if I'm not mistaken, you can install firmware for any update region without having to unlock the bootloader.
Related
I can't get the bootloader unlocked on a phone I just purchased with a relocked bootloader. I am on firmware 2.20 and my CID reads 11111111. I enter the unlock code and it says successful and I get the warning message on my phone about unlocking the bootloader and I hit yes to unlock. After the phone reboots all my data is wiped but when I reboot back into bootloader it still says relocked. I have tried multiple times with multiple unlock codes but no dice. I cannot get into stock recovery either after running the stock RUU. Anyone have any ideas? Thanks.
bsharp8 said:
I can't get the bootloader unlocked on a phone I just purchased with a relocked bootloader. I am on firmware 2.20 and my CID reads 11111111. I enter the unlock code and it says successful and I get the warning message on my phone about unlocking the bootloader and I hit yes to unlock. After the phone reboots all my data is wiped but when I reboot back into bootloader it still says relocked. I have tried multiple times with multiple unlock codes but no dice. I cannot get into stock recovery either after running the stock RUU. Anyone have any ideas? Thanks.
Click to expand...
Click to collapse
boot into the ROM and make sure USB debugging is enabled.. Reboot to fastboot and type "fastboot erase cache" and then try to unlock again
absolutelygrim said:
boot into the ROM and make sure USB debugging is enabled.. Reboot to fastboot and type "fastboot erase cache" and then try to unlock again
Click to expand...
Click to collapse
Bingo! That did the trick. Thank you very much. Man I do miss my old s-off phones.
Hi,
I tried to unlock my bootloader via flash tool, but for some reason, my rooting status (my bootloader) is unknown (before was unlockable). I relocked and unlocked it again but still no luck. I flashed the latest firmware with flashtool.. but my bootloader's status is still unknown. The device is rooted and verified. What i must to do to have back bootloader to unlockable?
Please help..
use fastboot commands
Ebin Matthew said:
Hi,
I tried to unlock my bootloader via flash tool, but for some reason, my rooting status (my bootloader) is unknown (before was unlockable). I relocked and unlocked it again but still no luck. I flashed the latest firmware with flashtool.. but my bootloader's status is still unknown. The device is rooted and verified. What i must to do to have back bootloader to unlockable?
Please help..
Click to expand...
Click to collapse
i was also facing trouble unlocking the boot loader using flashtool, how-ever i used fastboot commands, it worked fine for me, use following commands in fastboot mode
fastboot.exe -i 0x0fce oem unlock ..........
after unlock use your key
When I got my OPO, cm 11s, I unlocked the bootloader and rooted. In preperation for 12.1, I flashed the cos 12 factory image and basically left it, waiting for 12.1. Today I installed 12.1 using the stock cyanogen recovery, and then wanted to root it. (all drivers are set up properly) I tried fastboot oem unlock but nothing happened, phone didn't get wiped; it just said task finished, 0.0 seconds. Then I did fastboot oem device-info and it returned "Device tampered: true" and "Device unlocked: true". So it thinks the bootloader is unlocked, even though it's not. And so the oem unlock command doesn't work. How can I reset the flags?
U said u unlocked it when u received it, OPO does not came with automatic lock that it will lock itself. Once u unlocked it it will remain unlock until u lock it again.
Vpie649 said:
When I got my OPO, cm 11s, I unlocked the bootloader and rooted. In preperation for 12.1, I flashed the cos 12 factory image and basically left it, waiting for 12.1. Today I installed 12.1 using the stock cyanogen recovery, and then wanted to root it. (all drivers are set up properly) I tried fastboot oem unlock but nothing happened, phone didn't get wiped; it just said task finished, 0.0 seconds. Then I did fastboot oem device-info and it returned "Device tampered: true" and "Device unlocked: true". So it thinks the bootloader is unlocked, even though it's not. And so the oem unlock command doesn't work. How can I reset the flags?
Click to expand...
Click to collapse
Why do you think it's locked? It's obviously unlocked, the bootloader stays unlocked unless you deliberately lock it. Just flash TWRP and then you can flash SuperSU.
Heisenberg said:
Why do you think it's locked? It's obviously unlocked, the bootloader stays unlocked unless you deliberately lock it. Just flash TWRP and then you can flash SuperSU.
Click to expand...
Click to collapse
Oh. I assumed updating the rom/restoring to factory would re-lock it
Anyways I locked it and unlocked it with a OPO toolkit I found on the forums. I guess that was a waste of time :/
Vpie649 said:
Oh. I assumed updating the rom/restoring to factory would re-lock it
Anyways I locked it and unlocked it with a OPO toolkit I found on the forums. I guess that was a waste of time :/
Click to expand...
Click to collapse
Yep, definitely a waste of time
Oh well, you know now.
I tell them what happened to me, my U11 phone had it with the European version and I did s-off with sunshine without problems, I changed cid BS_US001 and mid 2PZC50000 without any problem, but try to load the ruu that you download from htc 1.28.617.3 and came out error 155 that the image was not correct, then what I did was to close the bootloader with the command fastboot oem lock, reset the phone and send me to the bootloader screen, when entering download it appeared and s-on and Bootloader Relocked , try to load the ruu again but it tells me that the image does not correspond, try to install recovery stock, TWRP, and firmware 1.28.617.3 but it does not let me do anything, when trying to enter recovery it sends me to bootloader and if I try to unblock bootloader I gives frp error, it is clear that despite being relocked the bootloader I keep appearing the screen that has been modified the phone, when entering download I appears in OS 1.28.401.7 and putting fastboot getvar all if I see the c id and mid of the American version, but I do not do anything.
Do you think it has a solution?
Waiting answer ...
Thank you ...
Hi.
There are no answers yet, because, honestly, it is difficult to understand what happened. You wrote one single phrase that is 10 lines long. Try to reformulate, using listed items, paragraphs and so on.
Just a friendly suggestion, no offense.
valvaher said:
I tell them what happened to me, my U11 phone had it with the European version and I did s-off with sunshine without problems, I changed cid BS_US001 and mid 2PZC50000 without any problem, but try to load the ruu that you download from htc 1.28.617.3 and came out error 155 that the image was not correct, then what I did was to close the bootloader with the command fastboot oem lock, reset the phone and send me to the bootloader screen, when entering download it appeared and s-on and Bootloader Relocked , try to load the ruu again but it tells me that the image does not correspond, try to install recovery stock, TWRP, and firmware 1.28.617.3 but it does not let me do anything, when trying to enter recovery it sends me to bootloader and if I try to unblock bootloader I gives frp error, it is clear that despite being relocked the bootloader I keep appearing the screen that has been modified the phone, when entering download I appears in OS 1.28.401.7 and putting fastboot getvar all if I see the c id and mid of the American version, but I do not do anything.
Do you think it has a solution?
Waiting answer ...
Thank you ...
Click to expand...
Click to collapse
Ok i may be way off base, but if the phone can boot into the OS go to developer enable usb debug and
Oem unlocking then follow the htc guide to unlock bootloader again ( not positive on that part never relocked a bootloader then unlocked) once that is done redownload the correct ruu per your cid and retry. Just my 2 cents. Hth.
you only flash full ruu 1.28.401.7
try to find in https://forum.xda-developers.com/u11/how-to/collection-htcu-u11-ruu-firmware-t3612048
This is the case, I have a problem with the Flash ROM, now the phone can go into fastboot, but there is no Recovery, and the phone's bootloader is locked.
You're going to have to give a bit more detail if you want help from this community.
For example:
What phone variant do you have?
What did you have on your phone when it was running properly? i.e stock android, locked bootloader, rooted etc.
What 'Flash ROM" do you mean a factory image or custom ROM?
What had been trying to do to your phone i.e upgrade from Android 9 to 10 by sideloading an image?
Had you previously unlocked the bootloader?
I'm not saying that I will ultimately be able to resolve your issues but the more info you give the more likely someone here will.
Now,my pixel 3 can not work,the bootload is locked.when I select recovery by fastboot,The phone noticed me can not find vaild operating system,the device will not start.
I used to unlock the bootloader, it is because I locked the bootloader that this situation has occurred.
Can you unlock the bootloader again in fastboot?
wangdaning said:
Can you unlock the bootloader again in fastboot?
Click to expand...
Click to collapse
When I lock my devices bootload,then this devices auto wipe data, so I think oem unlock is not open.And I can not unlock bootload.