can't unlock bootloader by miflash

gowano

Member
Jul 9, 2017
11
1
0
i was android 10 custom rom .
i used twrp to wip data .
i used mi flash to flash official android 9 rom to downgrade android 10.
but bymistake i checked flash_all_lock.bat
now the problem is
bootloader is locked + phone start when i choose language and select connection wifi or sim it reboot again
so i'm stuck now ,, no twrp or recovery work ,,
when try flash twrp from fastboot it say FAILED (remote: 'oem unlock is not allowed')

i don't have mi account and i never made one ............

there are the log from mi flash
[5:29:40 AM 2349f23c0005]:info:$fastboot -s 2349f23c0005 flash userdata C:\Users\gowan\OneDrive\Desktop\daisy_global_images_V9.6.11.0.ODLMIFF_8.1\\images\userdata.img ||
[5:29:45 AM 2349f23c0005]:err:Sending 'userdata' (181024 KB) OKAY [ 4.049s]
[5:29:45 AM 2349f23c0005]:err:Writing 'userdata' OKAY [ 1.264s]
[5:29:45 AM 2349f23c0005]:err:Finished. Total time: 5.813s
[5:29:45 AM 2349f23c0005]:info:$fastboot -s 2349f23c0005 set_active a
[5:29:45 AM 2349f23c0005]:err:Setting current slot to 'a' OKAY [ 0.020s]
[5:29:45 AM 2349f23c0005]:err:Finished. Total time: 0.023s
[5:29:45 AM 2349f23c0005]:info:$fastboot -s 2349f23c0005 oem lock 2>&1 | findstr /r "locked!" 2>&1 && fastboot -s 2349f23c0005 reboot
[5:29:46 AM 2349f23c0005]:flash done
[5:29:46 AM 2349f23c0005]:process exit.
[5:29:46 AM 2349f23c0005]:flashSuccess True
[5:29:46 AM 2349f23c0005]:isFactory False CheckCPUID False
[5:29:46 AM 2349f23c0005]:before:flashSuccess is True set IsUpdate:True set IsDone True
[5:29:46 AM 2349f23c0005]:after:flashSuccess is True set IsUpdate:false set IsDone true



after this by 3 sec it reboot again
 
Last edited:

Os_Herdz

Senior Member
Jan 31, 2019
108
46
0
You can boot twrp in fastboot mode and make a format data ( fastboot boot twrpname.img), use official twrp, try to Finish setup, enable developers options, enable usb debugging oem unlocking options, then go back to fastboot mode and type fastboot oem unlock
 
Last edited:

gowano

Member
Jul 9, 2017
11
1
0
You can boot twrp in fastboot mode and make a format data ( fastboot boot twrpname.img), use official twrp, try to Finish setup, enable developers options, enable usb debugging oem unlocking options, then go back to fastboot mode and type fastboot oem unlock
I CAN go to fastboot but same error when flash any thing twrp

twrp is broken :D no recovery
 

gowano

Member
Jul 9, 2017
11
1
0
Maybe this helps

https://androidfilehost.com/?a=show&w=files&flid=38683

Download this Tool and Install, connect your Phone, then use on the right Side Flash factory, choose your original image and install.
Then finish the Phone Setup, activate Developer Options, activate OEM unlock and USB Debugging and retry to unlock and install twrp.
it say can't modify system ..... - now way to install factory rom from fastboot
alltoolbox use fastboot
 

srepole

Senior Member
Sep 25, 2018
59
22
8
Well i think the last resource is trying to unbrick your device with EDL mode
But you'll have to physically open your phone
Once connected test-point and phone with usb cable you'll be able to see in device manager a new device
Use some metal tool like tweezers to connect the test points together
While holding test-points together connect your device to pc
After new device appeared in device manager you can release the test-points and continue
Press “refresh” in MiFlash tool
A new device should also appear
This means that everything is good and you've entered EDL mode
Then you'll have to flash phone
Here an example/tutorial
https://www.youtube.com/watch?v=BrEyAEXid_o
 
Last edited:
  • Like
Reactions: gowano

gowano

Member
Jul 9, 2017
11
1
0
Well i think the last resource is trying to unbrick your device with EDL mode
But you'll have to physically open your phone
Once connected test-point and phone with usb cable you'll be able to see in device manager a new device
Use some metal tool like tweezers to connect the test points together
While holding test-points together connect your device to pc
After new device appeared in device manager you can release the test-points and continue
Press “refresh” in MiFlash tool
A new device should also appear
This means that everything is good and you've entered EDL mode
Then you'll have to flash phone
Here an example/tutorial
https://www.youtube.com/watch?v=BrEyAEXid_o


thx it worked <3