Stuck on fastboot screen. - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello everyone,
So I was coming from the evolution x rom and decided to install the miui eu rom. I did not have any succes with it and decided to flash the evolution x rom again, but now after after I flash the rom and reboot the device, it prompts me with the fastboot screen. I dont know what to do. Can anyone help me? I have also tried the LineageOS rom and the same thing.
I have access to twrp.
Thanks!
Edit: I have managed to make it work.

When you flash the evo, you should have flashed the vendor too.
Now for fix only Miflash. Choose the rom the same model for you'r device and on Miflash choose checkbox 'clean all' don't choose clean lock, this will brick you'r device.
Good luck!

check my guide https://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543 for stuck at fastboot fix?
and check how to flash a rom in post 1

sfairmm said:
When you flash the evo, you should have flashed the vendor too.
Now for fix only Miflash. Choose the rom the same model for you'r device and on Miflash choose checkbox 'clean all' don't choose clean lock, this will brick you'r device.
Good luck!
Click to expand...
Click to collapse
Thank you everyone for your comments.
I have managed to make it work as I forgot to flash the vendor. All good now.

Related

How to move to new Stock partition?

I need to understand how to update to the new Stock merged partition. Have been reading general advice in various threads that we need to flash new China developer rom. Can someone elaborate regarding how to do this and where to get this rom? Do we need to re-root? Do we need to reflash recovery?
I see that many new MM roms are using this new Stock partition like Matoxxi's newest RR rom. So want to know. Detailed help is highly appreciated... Thanks...
+1
I too would like to see a proper procedure..
This is what I personally did. Was on extended partition. With TWRP as recovery.
1) Flash the cwm r11( or any working cwm) recovery. Needed to flash the repartition zip!! Don't use TWRP. Did this once and had a dead phone. Reboot to recovery. You'll be on CWM.
2) Flash the back to stock partition zip. Choose the one with "el pierro verde" in it.
3) Flash TWRP recovery. Boot to recovery.
4) Flash the 5/12/17 miui zip. This is the ROM which merges the partitions. At this point the partitions are not merged yet!
4.1) Boot the phone up. Reboot to recovery
5) Repeat step 4. Now the partitions are merged.
6) Flash any ROM that you desire.
Of you are on stock partition with TWRP skip steps 1-3.
Good luck.
If you are on MIUI ROM, install 5.12.17 first to merge partitions and then 6.2.4 via Updater app. Xiaomi.eu version is tuned for europe/outside china, Google Apps are included in rom.
https://www.androidfilehost.com/?fid=24369303960690691
https://www.androidfilehost.com/?fid=24415232478676696
Or you can just MiFlash 6.2.4 chinese developer rom factory image from en.miui.com.
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
The only quick way to setup the new partition for now is to fastboot flash the Chinese Dev ROM, as you yourself already stated. You can flash it by fastboot flashing it using Mi PCSuite and choosing the Beta ROM.
On my experience, after the flash I got my bootloader locked ("fastboot oem device-info" resulted in Device unlocked = false), but I can simply unlock it through fastboot without any problem.
From that point, you can easily flash any custom ROM.
Or even MIUI V6, with manual, per partition fastboot flash rather than using MiFlash/Mi PCSuite because of different partition layout; V6 and lower got two boot, modem and system partitions for TDB, while the new has only one.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Can you boot the phone after the first flashing? Than reboot to recovery and try step 4 again.
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
I believe you have to use default Mi Recovery. One time flash of 5.12.17 was enough on my Mi4.
ksloh1 said:
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
Click to expand...
Click to collapse
It got auto updated? So did you flash stock recovery? Or used twrp
I downloaded 6.2.4 into my phone and then choose the file to update from miui itself, and it will reboot to twrp recovery and install. After fully install and reboot. Only then it will have merged partition and MM miui. And back to stock recovery automatically.
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
anshude1 said:
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
Click to expand...
Click to collapse
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
rxl.noir said:
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
Click to expand...
Click to collapse
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
anshude1 said:
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
Click to expand...
Click to collapse
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
rxl.noir said:
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
Click to expand...
Click to collapse
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
anshude1 said:
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
Click to expand...
Click to collapse
Yeah, it might be set to true once you had flashed another unsigned image to the eMMC (or when you disconnect the battery, IDK), probably for the warranty checks :q.
knoxwalles said:
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
Click to expand...
Click to collapse
Worked for me
Thank you very much.

Question regarding procedure to safely install (MIUI eu) rom

Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. I figured out that this procedure is the right one and I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom), so DONT DO IT
Since I am more familiar with TRWP, I used this to install the rom.
I've used the procedure below and succesfully installed MIUI 10 EU 10.0.4.0 8.1 rom on my phone.
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
This should result in the following screen:
NOTE: If you phone is still encrypted, a password prompt will show up. Enter your
pin to decrypt
Click "Install", select the recovery file and swipe to install the image. To make the .img file visible in TWRP, click on the button in the right corner below saying: "Install Img"
After TWRP is succesfully installed, head back to the the start page of TWRP:
Select "Wipe" and in the next screen press on "Format Data". The following screen will appear:
Type in "yes" to start formatting the data. Dont touch the phone now and patiently wait till this is finished.
Once the data formatting is done, press the back button a couple of times to return to the start page of TWRP.
Now select "Reboot" and click on "Recovery". The phone will now reboot and start TWRP again. You will now see that you dont have to decrypt your phone anymore, since the encryption is removed.
2. Install MIUI eu (or any) rom
Since the data is formatted, all the data on the phone is removed. Connect your phone to your pc and transfer the rom to the phone.
From the start page of TWRP click on "Install"
In my case I've installed the MIUI 10 EU rom (v10.0.4.0)
Click on the rom you want and swipe to install it.
Patiently wait untill the rom is installed. Now you can click on reboot and your phone will now boot to the freshly installed rom.
3. Enjoy
Note: Do not try to lock the bootloader when you are using a Chineese phone with a rom other than the Chineese rom. This will brick you phone
Note2: Always remember to check the "fastboot getvar anti" status before installing another rom. This should be implemented starting from the Android 9 based roms, but just check to be sure. If the "getvar anti" commands results in a FAILED you should be good to go.
@AL_IRAQI wrote a nice post with more information about this policy. https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Thanks in advance!
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
bassbounce said:
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
Click to expand...
Click to collapse
Thanks for your quick reply! Does this anti rollback policy even counts when formatting data before installing the new rom? And how about installing a rom like lineage os? Do you know if can (for example) install lineage os 15.1 after I've used an Android 9.0 based MIUI rom?
I will try to install the MIUI eu rom tomorrow.
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
bassbounce said:
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
Click to expand...
Click to collapse
Thanks, I'll look into it
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
s7eVe90 said:
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
Click to expand...
Click to collapse
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
SPOCK_VULKAN said:
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
Click to expand...
Click to collapse
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
tharonny said:
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
Click to expand...
Click to collapse
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
SPOCK_VULKAN said:
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
Click to expand...
Click to collapse
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
tharonny said:
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
Click to expand...
Click to collapse
Neither. Dmverity is only need for miui official ROM
SPOCK_VULKAN said:
Neither. Dmverity is only need for miui official ROM
Click to expand...
Click to collapse
Thanks, good to know!
Good news! Today I've successfully installed MIUI 10 eu rom. I did indeed not need to flash the disable dm-varity. I will update the FP so it matches the steps I've taken. Next week I will make a complete tutorial with images.
Thanks again!
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
descarao81 said:
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
Click to expand...
Click to collapse
To be honest, i dont know. I know about the fastboot flash recovery command, but since flashing via twrp worked good for me I've keeped it in the procedure
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
baddevil2 said:
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
Click to expand...
Click to collapse
"Format Data" is the one your looking for. If you follow the steps in the first post you should be fine.
Wipe data is a factory reset. You need to format your data which will entirely remove your current rom and remove the encryption
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
tharonny said:
Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. If this procedure is the right one, I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom).
Since I am more familiar with TRWP, I would like to use this to install the rom
Now I think I got the procedure clear to safely install the MIUI eu rom and I was hoping that someone can confirm this:
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
*If encryped: Enter your
pin to decrypt
Select and install TWRP image
Format data
Reboot to recovery
2. Install MIUI eu (or any) rom
Transfer the rom from the pc to the phone
Install rom
Reboot
3. Enjoy
By following the steps above there should'nt be any chance of bricking the phone if I'm correct. If someone could confirm the above, i will update the procedure above with some images to make it more helpfull/usefull for other users who are in the same situation as me.
In another topic I've read something about flashing a region fix (since I'm using a Chinese phone), but I cannot find this elsewere. I reckon that this step is not needed?
EDIT: Topic updated. I've successfully installed MIUI 10 eu rom using the steps above!
Thanks in advance!
Click to expand...
Click to collapse
First, thank you very much for such informations. Flashing rom isn't hard for me but I'm so afraid to brick the device that costs me 450 euros....
Could you please put some screens as you mentioned ?
Could you please detail more in this first thread if you format or wipe which partition (data for example).
Thanks for your time man !
Can someone confirm antirollback bricks the phone from official miui to lower version miui but doesn't brick miui x.x.x to xiaomi.eu rom any versions ?
baddevil2 said:
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
Click to expand...
Click to collapse
Tonight Ill look into it

HELP! stuck in twrp after flashing xiaomi eu rom

dear experienced users,
I manage to unlock my Chinese k20 pro BL and then it manage to boot to the Chinese rom. but then I uninstall twrp but it still shows mi recovery 3.0. because I cant read Chinese, I think I pressed the wipe button and it just stuck in mi recovery.
after some tinkering I manage to install twrp 3.3.1-1 and I tried to intall the eu rom 10.3.15 successfully but it still boots to recovery. however I tried it wont boot normally and now im stuck in twrp
I really need your help as this is my only phone
bagus.prihardian said:
dear experienced users,
I manage to unlock my Chinese k20 pro BL and then it manage to boot to the Chinese rom. but then I uninstall twrp but it still shows mi recovery 3.0. because I cant read Chinese, I think I pressed the wipe button and it just stuck in mi recovery.
after some tinkering I manage to install twrp 3.3.1-1 and I tried to intall the eu rom 10.3.15 successfully but it still boots to recovery. however I tried it wont boot normally and now im stuck in twrp
I really need your help as this is my only phone
Click to expand...
Click to collapse
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Did you do a Factory Reset after install the rom?
Robbo.5000 said:
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Click to expand...
Click to collapse
trying this right now
Schnedi said:
Did you do a Factory Reset after install the rom?
Click to expand...
Click to collapse
no, I didn't do a factory reset after installing. will it help?
bagus.prihardian said:
no, I didn't do a factory reset after installing. will it help?
Click to expand...
Click to collapse
Sometimes when it only boots to TWRP, it does.
It has worked for me a few times.
Robbo.5000 said:
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Click to expand...
Click to collapse
this fixes it. thanks Robbo.5000
bagus.prihardian said:
this fixes it. thanks Robbo.5000
Click to expand...
Click to collapse
That's good. I'll be honest now and admit that restoring the phone was probably not necessary. However, you sounded like you were a little unsure of things, so thought it might be useful for you to know how to restore the phone when things go really wrong. When all you can do is boot into fastboot, you now know how to recover the phone, as long as the bootloader is unlocked.
Because you were still able to boot into TWRP, you could have just gone in to Wipe, then Advanced Wipe, selected Dalvik cache, Cache, Data and System and wiped them all, then gone back to the main TWRP screen and installed an eu ROM again. That probably would have worked fine.
bagus.prihardian said:
this fixes it. thanks Robbo.5000
Click to expand...
Click to collapse
Simply just hit thanks button bro
Hi Robbo,
I had the exact same problem as Bagus.
I downloaded the MiFlash tool, and the stable global fastboot ROM from the link you provided. Phone is in fastboot and can be detected by the flash tool. When I select the folder for the extracted ROM files and then click "Flash" (as in step 5 of the Xiaomi Guide) is says it can't find the flash_all.bat? How can I fix this pls! Or am I using a the wrong ROM from that list on XDA forum?
sanj.dhillon12 said:
Hi Robbo,
I had the exact same problem as Bagus.
I downloaded the MiFlash tool, and the stable global fastboot ROM from the link you provided. Phone is in fastboot and can be detected by the flash tool. When I select the folder for the extracted ROM files and then click "Flash" (as in step 5 of the Xiaomi Guide) is says it can't find the flash_all.bat? How can I fix this pls! Or am I using a the wrong ROM from that list on XDA forum?
Click to expand...
Click to collapse
You need to fully extract the ROM. Depending on the zip software you will need to extract twice. Open the tgz file and extract the contents. If you only get a single file you need to open this file in your zip software and extract it again. If the file doesn't have a file extension, rename it and add .tar on the end.
You should end up with a folder, which has some .bat files and a second folder. Point the Mi Flash Tool to this extracted top level folder.
Robbo.5000 said:
You need to fully extract the ROM. Depending on the zip software you will need to extract twice. Open the tgz file and extract the contents. If you only get a single file you need to open this file in your zip software and extract it again. If the file doesn't have a file extension, rename it and add .tar on the end.
You should end up with a folder, which has some .bat files and a second folder. Point the Mi Flash Tool to this extracted top level folder.
Click to expand...
Click to collapse
Worked beautifully, thank you so much for your help - honestly it's saved me a lot of stress. I wish only good things for you sir!
if you have problem with xiaomi.eu that still booting to twrp
reboot your phone to bootloader/fastboot and format data
"fastboot format userdata"

Desperately in need of help

Guys I need help!
I installed Raphael firmware and my device is stuck in fastboot. Please help. The device doesn't turn off and even boot into recovery. I was on orange recovery
Give more information on what you did.
If you have a pc try installing TWRP back up and flash another rom , if that doesn't help try a fastboot rom for your region just don't click lock on bootloader
Cyclops Maran said:
Guys I need help!
I installed Raphael firmware and my device is stuck in fastboot. Please help. The device doesn't turn off and even boot into recovery. I was on orange recovery
Click to expand...
Click to collapse
Flash the fastboot ROM with miflash tool, UNCHECK CLEAN ALL AND LOCK OPTION IN BOTTOM RIGHT THOUGH, VERY IMPORTANT
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
Flash the fastboot ROM with miflash tool, UNCHECK CLEAN ALL AND LOCK OPTION IN BOTTOM RIGHT THOUGH, VERY IMPORTANT
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
+1. Download the fastboot ROM, Decompress it and then flash it via mi flash tool, make sure to select "Clean all" on bottom right of flash tool

I bought a Bootloader Unclocked 9T Pro. Am I free to flash custom recoveries/roms?

I bought this device for custom ROM use only (LineageOS, Evolution X, Pixel Experience etc). Don't ever intend on using stock MIUI.
I'm not sure if the Mi account used to unlock the bootloader of this phone is still attached to it. But as long as I don't try to go back to stock MIUI, it won't be an issue right? I'm free to flash TWRP and LineageOS without running into a "Login to Mi Account to continue" prompt right?
Kkslider123 said:
I bought this device for custom ROM use only (LineageOS, Evolution X, Pixel Experience etc). Don't ever intend on using stock MIUI.
I'm not sure if the Mi account used to unlock the bootloader of this phone is still attached to it. But as long as I don't try to go back to stock MIUI, it won't be an issue right? I'm free to flash TWRP and LineageOS without running into a "Login to Mi Account to continue" prompt right?
Click to expand...
Click to collapse
Correct. You will only have problems if you flash MIUI with the Mi Flash Tool and accidentally lock the bootloader.
However, if you stuff up the phone somehow while flashing something, fastboot flashing MIUI could be your only way to recover the phone, so there is a slight risk still. If you ever get in this situation you just need to the care that you don't lock the phone.
Robbo.5000 said:
fastboot flashing MIUI could be your only way to recover the phone, so there is a slight risk still. If you ever get in this situation you just need to the care that you don't lock the phone.
Click to expand...
Click to collapse
Thanks, much appreciated! After some research about flashing MIUI using MiFlash, it looks like there is a button in the bottom right corner of MiFlash that says "clean all and lock". When you advise to "not lock the phone", you're referring to making sure that button is not ticked, right?
Kkslider123 said:
Thanks, much appreciated! After some research about flashing MIUI using MiFlash, it looks like there is a button in the bottom right corner of MiFlash that says "clean all and lock". When you advise to "not lock the phone", you're referring to making sure that button is not ticked, right?
Click to expand...
Click to collapse
Yes, though you can also delete the flash all and lock batch file from ROM folder before flashing, that way nothing happens if you forget to change it I the flash tool.
Robbo.5000 said:
Yes, though you can also delete the flash all and lock batch file from ROM folder before flashing, that way nothing happens if you forget to change it I the flash tool.
Click to expand...
Click to collapse
Thank you so much! Okay, so here's my process to ensure this phone is wiped clean before I start using it:
1. Use MiFlash to reinstall/flash MIUI, making sure the "clean all" button is selected instead of the "clean all and lock" button (I also deleted the clean & lock batch file just in case).
2. Boot phone into fastboot, then use ADB to flash TWRP.
3. In TWRP, Wipe>Format Data>yes to confirm.
4. Flash ROM. Reboot into ROM. Done!
This will ensure a completely clean wipe of all partitions prior to installing a custom recovery and rom, all without running into any "Mi Account Login" issues, correct?
Kkslider123 said:
1. Use MiFlash to reinstall/flash MIUI, making sure the "clean all" button is selected instead of the "clean all and lock" button (I also deleted the clean & lock batch file just in case).
Click to expand...
Click to collapse
Make sure you install the same version as the phone, so it will be either global or European.
Let the phone boot into MIUI once to finalise the install before flashing anything else - you don't need to go through the initial setup
Kkslider123 said:
2. Boot phone into fastboot, then use ADB to flash TWRP.
Click to expand...
Click to collapse
You'll flash TWRP with the fastboot command not adb
After installing you'll need to boot the phone immediately into TWRP - if the phone boots into system, then stock recovery will get restored.
Kkslider123 said:
3. In TWRP, Wipe>Format Data>yes to confirm.
Click to expand...
Click to collapse
After formatting data TWRP will probably have a problem accessing the data partition. Go to the reboot menu and select reboot to recovery to reload TWRP.
Also wipe Cache (which should also wipe Dalvik. I actually just do the factory reset as it's easier in the GUI) - either before or after flashing the custom ROM
Kkslider123 said:
4. Flash ROM. Reboot into ROM. Done!
Click to expand...
Click to collapse
Though you may also want GApps (if the ROM doesn't have any google stuff) and Magisk
Kkslider123 said:
This will ensure a completely clean wipe of all partitions prior to installing a custom recovery and rom, all without running into any "Mi Account Login" issues, correct?
Click to expand...
Click to collapse
Correct
Robbo.5000 said:
Long Reply
Click to expand...
Click to collapse
Awesome, sounds good! I'll go through the whole process once I get back home in about a week, but I'll be sure to ping you if I have any trouble!

Categories

Resources