Cannot boot Mi A1 after locking bootloader - Xiaomi Mi A1 Questions & Answers

Hi could I ask because i lock my bootloader on Mi A1 but unfortunately the device didn't boot up.
Now, I am trying to unlock bootloader to fix my device and it won't unlock FAILED (remote: oem unlock is not allowed).
I am on May latest security patch build. Please help me.

Did you try reflashing ROM with Mi Flash tool? Use "Save user data" option there.

hulicow said:
Hi could I ask because i lock my bootloader on Mi A1 but unfortunately the device didn't boot up.
Now, I am trying to unlock bootloader to fix my device and it won't unlock FAILED (remote: oem unlock is not allowed).
I am on May latest security patch build. Please help me.
Click to expand...
Click to collapse
I think you tried to lock your phone after rooting your device. You'll have to try to switch to fastboot mode by volume down + power after vibration. Then use flash using Mi flash tool

I cannot do that, the bootloader is locked and I am on May security patched. Those fastbook oem unlock and fastboot flashing unlock methods won't work. I believe only testpoint is the solution to my problem.

Stuck with the exact same problem....did u find the solution

hulicow said:
I cannot do that, the bootloader is locked and I am on May security patched. Those fastbook oem unlock and fastboot flashing unlock methods won't work. I believe only testpoint is the solution to my problem.
Click to expand...
Click to collapse
Reboot to fastboot power+volume down then reboot to edl mode by typing "fastboot oem edl" in your adb your phone will turn black. Open miflash and click "refresh" if you see "com#X" it means its connected then flash the fasboot file you downloaded in mi forums after finish press and hold power until it restarts.

Related

Zenfone 3 ZE552KL RELOCK BOOTLOADER

Hi friends,zenfone 3 bootloder opened the lock.Now I want to close .Relock bootloader.
Ive tried asking this before for my Ze520kl, someone said it isn't possible to relock the bootloader
I would like to know if someone has an update about that...
When I tried to root my phone (ZE552KL Androïd 7.0) I installed an app to unlock the bootloader of my phone (ZE552KL_SIGNED_Android_M_UnlockTool_2016_0715). I used it and ever since, when I turn on my device, I get a warning screen saying "Your device software cannot be checked for corruption. Please lock the bootloader." It sends me to this link for information. The notification disappear after 10 seconds and androïd starts.
I was quite stupid to do that because I do not have to knowledge to properly root my device. So I give up, but I would like to get back my device without that security warning.
I have already flashed it from the recovery menu, with an sd card, wiping data and cache. But it didn't work.
Any advice?
my69 said:
Hi friends,zenfone 3 bootloder opened the lock.Now I want to close .Relock bootloader.
Click to expand...
Click to collapse
I found this on the bootloader source:
Code:
fastboot oem unlock
fastboot oem unlock-go
fastboot oem lock
fastboot flashing unlock
fastboot flashing lock
fastboot flashing lock_critical
fastboot flashing unlock_critical
fastboot flashing get_unlock_ability
but they're all untested, trying them would make you take the risk of
killing your phone
OR
locking the bootloader
keep in mind that Asus also keeps track of system mounts as read write changes, so if you're trying to fool them, locking the bootloader won't be enough
Commands do not work.
gkillershots said:
I found this on the bootloader source:
Code:
fastboot oem unlock
fastboot oem unlock-go
fastboot oem lock
fastboot flashing unlock
fastboot flashing lock
fastboot flashing lock_critical
fastboot flashing unlock_critical
fastboot flashing get_unlock_ability
but they're all untested, trying them would make you take the risk of
killing your phone
OR
locking the bootloader
keep in mind that Asus also keeps track of system mounts as read write changes, so if you're trying to fool them, locking the bootloader won't be enough
Click to expand...
Click to collapse
Commands do not work.
myheartloves said:
Commands do not work.
Click to expand...
Click to collapse
well, I think Asus disabled thoose ones
sorry

bootloader unlocked, can't flash anything with error: FAILED(remote: Command not all)

in bootloader screen i can see in red « PHONE Unlocked » and just under in green « FRP Lock ».
in nougat settings, OEM unlock is grayed out in disabled position in settings (maybe it's normal as i unlocked the bootloader already).
i already flashed before successfully TWRP and stock recovery both in MM and nougat without problem, but it's not working anymore.
« flashboot oem lock », « flashboot boot », etc… are giving the same error. only basic things like « fastboot » reboot works.
I googled for hours my problem, it's all about people having their bootloader not unlocked.
Any idea?
Well, i reply to myself, the FRP Lock was the problem, and a bug in B301 prevented me from setting this to off, i had to do a rollback procedure to EMUI4 (rollback update + full firmware update) so that i could disable FRP lock by setting the OEM unlock option (which way available after 2 reboots).
be prepared to have backups, hopefully one day we will have full firmware for nougat available!
edit: dunno how to mark a thread as « solved »
Hi, i have the same Problem, FRP is locked and bootloader unlocked...how did you rollback to EMUI4? I cannt enter TWRP...is it possible to unlock FRP in fastboot mode? THX for your help!
*zahni* said:
Hi, i have the same Problem, FRP is locked and bootloader unlocked...how did you rollback to EMUI4? I cannt enter TWRP...is it possible to unlock FRP in fastboot mode? THX for your help!
Click to expand...
Click to collapse
Well, i placed the rollback files in dload folder of the external sd card then i entered recovery to apply it.
It is not normal that you can't enter any recovery, you shall try the 4 combinations to be sure (boot with or without the cable connected, and with either vol up or vol down), one of the combination will bring you to fastboot and another to the installed recovery. Try also with both up and down pressed just in case ^^

OEM unlock toggle is not working

Hi.
I´ve unlocked the bootloader on my P10 plus.
But now, the toggle to unlock OEM on the developer settings is greyed and I can´t perform any fastboot commands.
Any help?
Thanks
I believe the option becomes disabled when you've unlocked the bootloader, as you'd have to use the relock command instead of the toggle to relock it.
I assume you're familiar with accessing and using fastboot if you've unlocked your bootloader... so for the fastboot commands, does the device show up when plugged in and you run "fastboot devices"?
singularoctopi said:
I believe the option becomes disabled when you've unlocked the bootloader, as you'd have to use the relock command instead of the toggle to relock it.
I assume you're familiar with accessing and using fastboot if you've unlocked your bootloader... so for the fastboot commands, does the device show up when plugged in and you run "fastboot devices"?
Click to expand...
Click to collapse
me to
i try to relock my oem using this command fastboot oem relock (16 unlock code)
after that my p10 plus is restart then i show only are
HUAWEI ERECOVEY
(DOWNLOAD LATEST VERSION AND RECOVER)
(REBOOT)
(SHUTDOWN)
i already try the download but always failed,
and i try the adb by vol down+usb then i see this in FASBOOT&RESCUE MODE
PHONE RELOCKED
FRP LOCK
but i type fastboot devices its connected i show my product code? i dont know what thats code
then i try install twrp always failed
i dont know what happen . i cannot open my p10 plus now always in
“HUAWEI ERECOVEY”
the same is happening to me
Eyezcripz said:
me to
i try to relock my oem using this command fastboot oem relock (16 unlock code)
after that my p10 plus is restart then i show only are
HUAWEI ERECOVEY
(DOWNLOAD LATEST VERSION AND RECOVER)
(REBOOT)
(SHUTDOWN)
i already try the download but always failed,
and i try the adb by vol down+usb then i see this in FASBOOT&RESCUE MODE
PHONE RELOCKED
FRP LOCK
but i type fastboot devices its connected i show my product code? i dont know what thats code
then i try install twrp always failed
i dont know what happen . i cannot open my p10 plus now always in
“HUAWEI ERECOVEY”
Click to expand...
Click to collapse
i have my huawei p10 plus doing the same thing of yours.....only erecovery mode and when i get to boot in fastboot mode is only fatboot mode & rescue and i had locked bootloader and frp lock.....but i was reading that huawei just block the page to unlock bootloader i just dont know why they did that /......
Maybe try re-unlocking and flashing stock rom, kernel, system, and boot. (Or you can try the method I used to update manually). Requires to be able to acces external sd card.
Hmu if you want to know how.

Help unable to relock the bootloader

I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance ?
Vishal21896 said:
I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance
Click to expand...
Click to collapse
use reflash tutorial from this site:
HTML:
https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/
. Just download tool, extract, then exctract downloaded rom in this tool folder. Conect A1 in fastboot and start flash_all_lock.bat file in folder with room (I used flash_all.bat). This is how I fixed my bootlops...
You need to reflash. There's no other way.
Did you have the original stock Oreo with January security patch?
I would also like to re-lock the bootloader but now I have read your post I am unsure if its safe.
Use this command in adb
fastboot oem relock (your unlock code if needed)
Youssef Reda said:
Use this command in adb
fastboot oem relock (your unlock code if needed)
Click to expand...
Click to collapse
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
amzazine said:
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
Click to expand...
Click to collapse
Maybe
I didn't try it but it may brick your phone
Developers should make clear that Re-locking the bootloader is not as easy as the unlock process and there is a high risk you will brick your phone.
i just have this issue ,which is i unlock then i lock the oem and then the message ' system has been destroyed ' and when i try to unlock back the message 'error: oem unlock is not allowed' so i really need your help ..how can i fix my phone ...plsss send a respond quickly

How to prevent unlock bootloader (Newest build V10.0.17.0 android 9)

I just reflash my Mi A1 to latest build android P V10.0.17.0. But I relized I could still unlock boot loader though I didn't enable OEM unlocking in Development option, I just boot to fastboot mode and type fastboot oem unlock and it alway OK. I also turn on Find device or set passcode.
gazavn said:
I just reflash my Mi A1 to latest build android P V10.0.17.0. But I relized I could still unlock boot loader though I didn't enable OEM unlocking in Development option, I just boot to fastboot mode and type fastboot oem unlock and it alway OK. I also turn on Find device or set passcode.
Click to expand...
Click to collapse
hmm... maybe a factory reset would work but if you want to relock your bootloader I strongly suggest backing up app data using TWRP.
Yes, I already backup data. But I don't know why it can be unlocked while not allowed.

Categories

Resources