relock bootloader - Redmi K20 / Xiaomi Mi 9T Questions & Answers

I have Mi 9T Global version Rom ; i unlocked the bootloader and flash Rom EEA european
all work fine now i need help relockin bootloader

If you relock your bootloader, it will format all your data.
You only have to type this fastboot command:
Code:
fastboot oem lock
And if the phone doesn't reboot itself:
Code:
fastboot reboot

REDOTHELLO said:
I have Mi 9T Global version Rom ; i unlocked the bootloader and flash Rom EEA european
all work fine now i need help relockin bootloader
Click to expand...
Click to collapse
Please share here whether EEA ROM still works on Global device after bootloader re-lock.

YuraBY said:
Please share here whether EEA ROM still works on Global device after bootloader re-lock.
Click to expand...
Click to collapse
Ok

May you provide an explanation for your process of installing the ROM starting from twrp please ??

No trwp unlock the bootloader.
Flash fastboot flash clean all adb command
Thats is it i received update miui 11.

there's no way to relock bootloader i tested many ways but. Not work.
If any?

REDOTHELLO said:
there's no way to relock bootloader i tested many ways but. Not work.
If any?
Click to expand...
Click to collapse
What error you are getting when trying to relock?

Related

[FASTBOOT] [jasmine] Xiaomi Mi A2 FASTBOOT Images

Disclaimer
I am not responsible for bricked devices or anything like that. YOU are choosing to make these modifications, and if you point your finger at me for messing up your device, I will laugh at you.
Here are the current fastboot links for the Xiaomi Mi A2 (jasmine):
Fastboot Images:
Android 10.0 [V11.0.15.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.15.....QDIMIXM_20201019.0000.00_10.0_3ea0b7a69b.tgz
Android 10.0 [V11.0.12.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.12.....QDIMIXM_20200724.0000.00_10.0_79e67f3105.tgz
Android 10.0 [V11.0.11.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.11.....QDIMIXM_20200610.0000.00_10.0_512a1978b3.tgz
Android 10.0 [V11.0.10.0.QDIMIXM]:
https://bigota.d.miui.com/V11.0.10.....QDIMIXM_20200521.0000.00_10.0_fc90551230.tgz
Android 9.0 [V10.0.18.0.PDIMIXM]: - removed!
https://bigota.d.miui.com/V10.0.18....0.PDIMIXM_20191211.0000.00_9.0_33e3d9a287.tgz
Android 9.0 [V10.0.17.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.17....0.PDIMIXM_20191108.0000.00_9.0_94629a1855.tgz
Android 9.0 [V10.0.13.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.13....0.PDIMIXM_20190807.0000.00_9.0_9083804c9e.tgz
Android 9.0 [V10.0.12.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.12....0.PDIMIXM_20190712.0000.00_9.0_1e580ee45b.tgz
Android 9.0 [V10.0.10.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.10....0.PDIMIXM_20190611.0000.00_9.0_9e6473956a.tgz
Android 9.0 [V10.0.9.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.9.0...0.PDIMIXM_20190513.0000.00_9.0_bbaa8993fe.tgz
Android 9.0 [V10.0.8.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.8.0...0.PDIMIXM_20190411.0000.00_9.0_bacce1f2bd.tgz
Android 9.0 [V10.0.7.0.PDIMIXM]:
https://bigota.d.miui.com/V10.0.7.0...0.PDIMIXM_20190323.0000.00_9.0_b92b08b636.tgz
Android 9.0 [V10.0.2.0.PDIMIFJ]:
https://bigota.d.miui.com/V10.0.2.0...0.PDIMIFJ_20181206.0000.00_9.0_02b8deeb6d.tgz
Android 8.1.0 [V9.6.17.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.17.0...0.ODIMIFE_20181108.0000.00_8.1_1c60295d1c.tgz
Android 8.1.0 [V9.6.16.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.16.0...0.ODIMIFE_20181030.0000.00_8.1_5e098a2c1a.tgz
Android 8.1.0 [V9.6.14.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.14.0...0.ODIMIFE_20181010.0000.00_8.1_94929604f8.tgz
Android 8.1.0 [V9.6.13.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.13.0...0.ODIMIFE_20180913.0000.00_8.1_fbd1120565.tgz
Android 8.1.0 [V9.6.10.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.10.0...0.ODIMIFE_20180731.0000.00_8.1_2aeda83301.tgz
Android 8.1.0 [V9.6.9.0.ODIMIFE]:
https://bigota.d.miui.com/V9.6.9.0....0.ODIMIFE_20180723.0000.00_8.1_53f18f370a.tgz
Use
Code:
fastboot flashing unlock
to unlock the bootloader.
You may also need to unlock the critical partitions by typing:
Code:
fastboot flashing unlock_critical
You can flash factory images using the batchfile in the firmware archive or using MiFlash. You can also flash in Snapdragon EDL-(Emergency Download) Mode (bootloader unlocked is necessary) by typing:
Code:
fastboot oem edl
(Instructions about flashing and download links can be found here [PC only!]) https://c.mi.com/oc/miuidownload/detail?guide=2
Reserved
Reserved
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Ivan93tm said:
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Click to expand...
Click to collapse
Try this: http://en.miui.com/a-232.html
I haven't tested anything yet.
Niktendo said:
Try this: http://en.miui.com/a-232.html
I haven't tested anything yet.
Click to expand...
Click to collapse
Thanks, i'll give it a try, for the moment i will keep 9.6.5 version , i reflashed stock boot and everiting is fine with relocking bootloader but for now i can't have camera api enabled
Ivan93tm said:
sorry guys, trying to flashing stock rom with mi flash tools and relock bootloader but it says me that critical partition flashing is not allowed, what i have to do ?
Click to expand...
Click to collapse
Use this fastboot command by default to unlock bootloader:
Code:
fastboot flashing unlock_critical
error flashing
i got this error flashing latest fasboot image using mi flash tools
DeeditTotoi said:
i got this error flashing latest fasboot image using mi flash tools
Click to expand...
Click to collapse
Try again with more available RAM (eg. close Google Chrome).
I got the same error even with only miflash open and 8gb ram.
Hi I have a MI6X can I flash this rom??
Thanks
abefre said:
Hi I have a MI6X can I flash this rom??
Thanks
Click to expand...
Click to collapse
In theory - yes http://en.miui.com/thread-3439864-1-1.html But you can break your phone very easily doing it.
Cagixxx said:
I got the same error even with only miflash open and 8gb ram.
Click to expand...
Click to collapse
Did you install all Xiaomi drivers using MiFlash and disabled driver signature?
Did you also unlock the critical partitions?
Try one of the batch files from the stock rom via command prompt. E.g. flash_all.bat, which worked for me as MiFlash did not want to do the job, too. Unlock critical is needed though.
The only way to flash was in EDL/Test Point mode. I opened the phone but you can use a Xiaomi deep flash cable (EDL cable).
Cagixxx said:
The only way to flash was in EDL/Test Point mode. I opened the phone but you can use a Xiaomi deep flash cable (EDL cable).
Click to expand...
Click to collapse
You can also boot into EDL mode from fastboot (needs bootloader unlocked) by typing the following command:
Code:
fasboot oem edl
So did anyone flash fastboot ROM with success using MiFlash or not?
pianistaPL said:
So did anyone flash fastboot ROM with success using MiFlash or not?
Click to expand...
Click to collapse
Yes, my flash succeeded sucessfully after the second try. I got an error (system_b flashing failed), I closed Chrome to free up more RAM and the flash finished.
To unlock the bootloader, do I need to create a xiaomi account and request a token to unlock it or can I use the usual
>fastboot oem unlock
?
cbrunos said:
To unlock the bootloader, do I need to create a xiaomi account and request a token to unlock it or can I use the usual
>fastboot oem unlock
?
Click to expand...
Click to collapse
You can unlock the bootloader for the Xiaomi Mi A1 and A2/Lite (Xiaomi Android One smartphones) by typing:
Code:
fastboot flashing unlock
OR
Code:
fastboot oem unlock
You also need to unlock the critical partitions by typing:
Code:
fastboot flashing unlock_critical

Xiaomi Mi A1 - Rollback to Stock 8.1 HELP!

Hello first of all sorry for my bad english,
I update to Android Pie (From Netherlands VPN) and works fine but when i tried to install stock rom 8.1 with Mi Flash Tool my phone freezes, when i tried to flash the Nougat official firmware from Mi Flash tool my SIM CARD IS LOCKED, the only way to get my phone working is Android Pie BETA via Fastboot. What i need to do to bring my phone to stable stock rom 8.1 ?
I saw a tutorial with someone said to flash the nougat with EDL but i dont know what EDL is...
Mate, I'm going to say this just once. Please search for your question BEFORE posting a duplicate.
WhatzIt2Ya said:
Mate, I'm going to say this just once. Please search for your question BEFORE posting a duplicate.
Click to expand...
Click to collapse
Sorry for that mate, but i am a bit confused and i dont know what can i do to rollback official to stock OREO, because i am on Android Pie BETA
Have you turned on the OEM unlock option? If not, just search for "fastboot oem unlock" command
Stratoulis19891989 said:
I saw a tutorial with someone said to flash the nougat with EDL but i dont know what EDL is...
Click to expand...
Click to collapse
Maybe the pie rom has ARB and cannot rollback easily.
gplsource said:
Have you turned on the OEM unlock option? If not, just search for "fastboot oem unlock" command
Click to expand...
Click to collapse
My OEM is unlocked, but when im trying to flash official firmware from Mi Flash Tool i get a bootloop freezees on OREO and when im trying to flash nougat my SIM CARD is LOCKED.
Stratoulis19891989 said:
My OEM is unlocked, but when im trying to flash official firmware from Mi Flash Tool i get a bootloop freezees on OREO and when im trying to flash nougat my SIM CARD is LOCKED.
Click to expand...
Click to collapse
Flash rom in EDL mode.
https://androidfilebox.com/tips/how-to-enter-edl-mode-on-mi-a1/
After booting in EDL mode flash fastboot rom via MiTool
pradhyu69 said:
Flash rom in EDL mode.
https://androidfilebox.com/tips/how-to-enter-edl-mode-on-mi-a1/
After booting in EDL mode flash fastboot rom via MiTool
Click to expand...
Click to collapse
So i need to flash the Stock ROM via EDL mode and then flash it with Mi Flash Tool?
What have you done? eager to update to pie and you experience bug and want to roll back? that's just a douchebag move imo.
https://en.miui.com/thread-4841416-1-1.html

Relocking bootloader !!

How do i lock the bootloader because im most probably gonna sell this device ..
H3M3L said:
How do i lock the bootloader because im most probably gonna sell this device ..
Click to expand...
Click to collapse
Just flash MIUI with a Fastboot ROM via Fastboot Method, It will do a clean install as if you device is new. Remember to pick the same version (Globlal, EEA, CN, etc)
Link: Fastboot Method

fastboot rom flashing poco m3

i want to flash fastboot eu rom(official) with miflashtool m using global version should i unlock bootloader before proceding?
usmangulzar936 said:
i want to flash fastboot eu rom(official) with miflashtool m using global version should i unlock bootloader before proceding?
Click to expand...
Click to collapse
Yes, the locked bootloader will detect the original region of the phone, so it won't boot if a different region of ROM is detected.
Based on my own experience, I think you always need to unlock the bootloader before flashing with Mi Flash, even with the same region of ROM.
I don't know if you will be able to install a different region of ROM by just using Mi Flash, but even if it flashes successfully, you need to keep the bootloader unlocked, or it will only boot to recovery and show the "This MIUI version can't be installed on this device" error.
Edit: I have installed Taiwan ROM on my M3 that came with global ROM, using Mi Flash Tool, the phone still works after locking bootloader.

I can't manually install any ota update after locking the bootloader on 12.0.9

I don't want to unlock the bootloader again and i don't like this update because it doesn't have google discover.. what can i do?
You can just stay on current version.
Or just install via fastboot and fastboot ROM
yaro666 said:
You can just stay on current version.
Or just install via fastboot and fastboot ROM
Click to expand...
Click to collapse
Without unlocking the bootloader? How?
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
yaro666 said:
Ok, so you stated that bootloader is locked, I thought you are considering locking it again.
In that case you have no option, but unlocking bootloader to flash different miui ROM
Click to expand...
Click to collapse
I did exactly that. Thank you.

Categories

Resources