HELP! stuck in twrp after flashing xiaomi eu rom - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

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"

Related

Going back to MIUI global from LineageOS

I like LOS, clean and fast, but now I want to go back to official Global Rom with no root etc (basically, going back to stock, how you got it first time).
Anyone can point me to the right direction?
Do I just follow the Fastboot method found here: http://en.miui.com/a-234.html ?
Just don't want to brick my phone.
Thank you
rockuman_ex said:
I like LOS, clean and fast, but now I want to go back to official Global Rom with no root etc (basically, going back to stock, how you got it first time).
Anyone can point me to the right direction?
Do I just follow the Fastboot method found here: http://en.miui.com/a-234.html ?
Just don't want to brick my phone.
Thank you
Click to expand...
Click to collapse
Can you please download the miflash tool found on your link? The 46 mb file? I can't istall it in my pc. Gives an error everytime during installation.
Sent from my MI 5 using Tapatalk
SilverMarcs said:
Can you please download the miflash tool found on your link? The 46 mb file? I can't istall it in my pc. Gives an error everytime during installation.
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
what was the error?
rockuman_ex said:
what was the error?
Click to expand...
Click to collapse
Dont quite remember but while installing the application, there was an error in tge last stage.
Sent from my MI 5 using Tapatalk
Card Brush the card in the Setup Wizard
Card Brush the card in the Setup Wizard:crying:
I just followed the fastboot method from miui.com and it works just fine.
If for some reason the MiFlash don't recognize your device try installing Mi PC Suite.
BananaPrime said:
I just followed the fastboot method from miui.com and it works just fine.
If for some reason the MiFlash don't recognize your device try installing Mi PC Suite.
Click to expand...
Click to collapse
Did you have to do anything before that? Like format anything from TWRP?
On miflash tool, what did u choose? Clean all?
rockuman_ex said:
On miflash tool, what did u choose? Clean all?
Click to expand...
Click to collapse
Yes do that.
Sent from my MI 5 using Tapatalk
rockuman_ex said:
Did you have to do anything before that? Like format anything from TWRP?
Click to expand...
Click to collapse
No, as stated above there is the option to clean all inside MiFlash
BananaPrime said:
No, as stated above there is the option to clean all inside MiFlash
Click to expand...
Click to collapse
Thanks!
I assume you got TWRP installed.
1. Download latest ROM here
2. Put in your phone or /sdcard/download
3. Boot to TWRP
4. Wipe everything EXCEPT /sdcard or something in the internal
5. Install/flash ZIP then choose the ROM in /sdcard/download
6. It is going to take quite a long time due to you're flashing about 1.3GB zip file
7. Reboot
8. You will notice that the TWRP is gone, so bootloader back to stock
9. After phone set-up, try to clean format again from the phone's setting
10. Done
If you want to lock back the phone, use:
fastboot oem lock
Then everything goes back to normal. Hope this helps.
jonpaghiz said:
I assume you got TWRP installed.
1. Download latest ROM here
2. Put in your phone or /sdcard/download
3. Boot to TWRP
4. Wipe everything EXCEPT /sdcard or something in the internal
5. Install/flash ZIP then choose the ROM in /sdcard/download
6. It is going to take quite a long time due to you're flashing about 1.3GB zip file
7. Reboot
8. You will notice that the TWRP is gone, so bootloader back to stock
9. After phone set-up, try to clean format again from the phone's setting
10. Done
If you want to lock back the phone, use:
fastboot oem lock
Then everything goes back to normal. Hope this helps.
Click to expand...
Click to collapse
tested working, thanks :good:

Does anyone hava a guide to installing custom rom on MI 9 2020?

Hi,
I bought a new phone and thought I would get in to custom ROMs again. Mostly to get rid of bloatware. However, after following multiple guides I'm still no where closer to achieving my goals. The phone is a MI 9.
I found there's a lot of different steps depending on guide but most of the once I've tried does the following:
* Unlock bootloader, working
* Installing twrp via fastboot, working
* Deleting data in twrp, working
* Transfering a rom.zip file (depending on rom), working via usb cable
* Some guides recommends to install disable force Encryption via another zip file transferred from the computer, however, that seems to not be necessary, tried i few times
* Installing rom via twrp, seems to work
* In some guides you then need to remove cache, working
* Rebooting from twrp, working
After these steps I find myself in one of three different cases,
1. Phone is stuck in fastboot, have to reflash it with MIflash and global MIUI rom to get phone to work again
2. Phone in boot loop, logo shows up, phone waits for awhile, phone reboots, logo shows up
3. Phone boots up, logo is shown, phone reboots into twrp
I've also tried both XiaoMiTool and XiaoMiTool V2,
XiaoMiTool seems to write the global ROM to the phone whatever I choose (Have tried Xiaomi.eu and LineageOS 17)
XiaoMiTool V2, fails in second to last step, it wants to remove some cache before the installation in twrp is done.
Things I've not tried:
* Moving file to twrp with adb instead, should not make a difference
* Installing magisk
Now, I'm a bit afraid my phone will get hard bricked, have reinstalled the OS 20 times the last day to test different approaches and steps. Nothing seem to work. Does anyone have a proven method working in 2020?
Another way to go might be to just get rid of the commercials, run a different launcher to get app list and get rid of the bloatware. This is not really what I want but I can live with it.
As you can hear I'm about to just throw in the towel and give up. But I've heard a lot good about the xda forums so I thought it might be worth a try even though I do understand if no one has time or energy to help out a newbie.
Help please!
Edit: I do realize I've accidentally put this under Guides and not Q&A. I find no way of moving it nor deleting the thread so I guess some moderator will have to come help. Sorry for this.
Do you use latest TWRP for Mi9? TWRP from Mauronofrio works fine for me.
When you say "Deleting data in twrp", does this mean you did Format Data (confirm by typing "yes")? Or just wipe?
Poslano z mojega MI 9 z uporabo Tapatalk
mxxt01 is right. You have to format the data partition or else you will run into a bootloop.
I followed the guide here but I did not flash magisk since I don't need root.
Basically what I did was;
1. Unlock bootloader
2. Reboot to load the OS but skip the initial setup
3. Reboot to fastboot/bootloader
4. Flash TWRP (use the latest beta from Mauronofrio)
5. Immediatly press Vol Up + Power button to boot TWRP
6. Sideload the firmware to /tmp/
7. Format the data partition and type yes to continue
8. Factory reset
9. Flash firmware from within TWRP
10. Factory reset again (you can skip this if you don't want to)
11. Reboot
And that is how I did it.
mxxt01 said:
Do you use latest TWRP for Mi9? TWRP from Mauronofrio works fine for me.
When you say "Deleting data in twrp", does this mean you did Format Data (confirm by typing "yes")? Or just wipe?
Poslano z mojega MI 9 z uporabo Tapatalk
Click to expand...
Click to collapse
I have tried both Formatting data, this generally makes all folders have gibberish names and by going to advanced wipe, choosing data, some guides also wants you to delete Dalvik, Cache and System. I have tried both in the same go and one or the other. Does not seem to make a difference. But from the response below I get that it's formatting the data and typing yes that is the way to go(?)
TWRP version 3.3.1-0
sangbuana said:
mxxt01 is right. You have to format the data partition or else you will run into a bootloop.
I followed the guide here but I did not flash magisk since I don't need root.
Basically what I did was;
1. Unlock bootloader
2. Reboot to load the OS but skip the initial setup
3. Reboot to fastboot/bootloader
4. Flash TWRP (use the latest beta from Mauronofrio)
5. Immediatly press Vol Up + Power button to boot TWRP
6. Sideload the firmware to /tmp/
7. Format the data partition and type yes to continue
8. Factory reset
9. Flash firmware from within TWRP
10. Factory reset again (you can skip this if you don't want to)
11. Reboot
And that is how I did it.
Click to expand...
Click to collapse
Could you describe step 6 in more detail please?
This is what I get if I try sideloading my phone:
adb push xiaomi.eu_multi_MI9_V11.0.5.0.QFACNXM_v11-10.zip /tmp/
adb server is out of date. killing...
* daemon started successfully *
I guess it's important to not get the firmware in the SD-card folder since that will be wiped if I format the data, this might be where I fail.
Step 6 is to type adb push rom.zip /tmp/
I renamed the zip file to rom.zip so that I don't typo when typing.
Sent from my MI 9 using Tapatalk
In any case you should flash a current (11.0.6.0 or younger) fastboot ROM (.tgz extention). Recovery ROMs (.zip extention) don't reset the phone as deep as fastboot ROMs do.
After that you'd best flash vbmeta.img before TWRP, see #1 for more details.
Cheers
Toscha
From personal experience of using xiaomi.eu's ROM, I never did install vbmeta.img or dmverity, since that particular rom is based on the official beta Chinese MIUI ROMs, and the latest TWRP from Mauronofrio supports decryption. Not sure about other ROMs though.
Just to be safe, just download the stock fastboot ROM as a backup just in case anything goes wrong. Always remember to NOT lock your bootloader when flashing back to stock, in case your persist partition gets corrupted, you can flash it to recover.
ZevSwe said:
I have tried both Formatting data, this generally makes all folders have gibberish names and by going to advanced wipe, choosing data, some guides also wants you to delete Dalvik, Cache and System. I have tried both in the same go and one or the other. Does not seem to make a difference. But from the response below I get that it's formatting the data and typing yes that is the way to go(?)
TWRP version 3.3.1-0
Could you describe step 6 in more detail please?
This is what I get if I try sideloading my phone:
adb push xiaomi.eu_multi_MI9_V11.0.5.0.QFACNXM_v11-10.zip /tmp/
adb server is out of date. killing...
* daemon started successfully *
I guess it's important to not get the firmware in the SD-card folder since that will be wiped if I format the data, this might be where I fail.
Click to expand...
Click to collapse
Like written by toscha42 you should flash the latest fastboot stock rom (tgz) for your phone first, as after all the attempts you have made your phone is probably kind of ****ed up... Do not lock bootloader.
What I do and it works for me, starting from stock ROM.
1. Unlock bootloader (you already done that)
2. Flash in fastboot latest TWRP for your device (I use Mauronofrio)
3. After flashing disconnect the phone and push VOLUME UP + POWER to enter from fastboot directly to TWRP recovery
4. Format data with yes
5. Reboot to recovery
6. Flash xiaomi.eu custom rom for your device with USB OTG (usb otg is the easiest way I guess as you don't need to move the rom to internal storage)
7. Reboot to recovery
8. Wipe cache and dalvik cache
8. Reboot to system
And that's all.
Poslano z mojega MI 9 z uporabo Tapatalk
toscha42 said:
In any case you should flash a current (11.0.6.0 or younger) fastboot ROM (.tgz extention). Recovery ROMs (.zip extention) don't reset the phone as deep as fastboot ROMs do.
After that you'd best flash vbmeta.img before TWRP, see #1 for more details.
Cheers
Toscha
Click to expand...
Click to collapse
Can't seem to find any fastboot ROMS, neither of xiaomi.eu or LineageOs 17. Where can I find this? https://xiaomi.eu/community/threads/20-1-16.54300/
If I understood correctly vbmeta.img unlockes secure boot. Not sure why that is needed or what problems it might create. Did some googling but found nothing. What is this used for? If it's important, why is it not in any guides I found?
ZevSwe said:
Can't seem to find any fastboot ROMS, neither of xiaomi.eu or LineageOs 17. Where can I find this? https://xiaomi.eu/community/threads/20-1-16.54300/
If I understood correctly vbmeta.img unlockes secure boot. Not sure why that is needed or what problems it might create. Did some googling but found nothing. What is this used for? If it's important, why is it not in any guides I found?
Click to expand...
Click to collapse
Fastboot STOCK Xiaomi ROM.
To be flashed with MiFlash. Do not lock bootloader.
http://c.mi.com/oc/miuidownload/detail?device=1700361
Poslano z mojega MI 9 z uporabo Tapatalk
Fastoot ROMs are only available for official MIUI ROMs and has tgz as their filename extensions. They are flashable only using Mi Flash tools or equivalent. Custom ROMs has zip and they are flashable using recovery.
Correct me if I'm wrong, vbmeta.img is for verified boot. I was running on official MIUI ROM and I wanted to have TWRP recovery, but stock recovery would come back after every reboot. So I flashed a modified version of vbmeta.img available on the web, to disable verified boot, and TWRP would persist in the recovery partition. Have a read on Verified Boot here.
mxxt01 said:
Fastboot STOCK Xiaomi ROM.
To be flashed with MiFlash. Do not lock bootloader.
http://c.mi.com/oc/miuidownload/detail?device=1700361
Poslano z mojega MI 9 z uporabo Tapatalk
Click to expand...
Click to collapse
Hmm okay, but the phone is already working with the stock ROM, my whole idea is to switch to something else. What do you mean with do not lock bootloader?
sangbuana said:
Fastoot ROMs are only available for official MIUI ROMs and has tgz as their filename extensions. They are flashable only using Mi Flash tools or equivalent. Custom ROMs has zip and they are flashable using recovery.
Correct me if I'm wrong, vbmeta.img is for verified boot. I was running on official MIUI ROM and I wanted to have TWRP recovery, but stock recovery would come back after every reboot. So I flashed a modified version of vbmeta.img available on the web, to disable verified boot, and TWRP would persist in the recovery partition. Have a read on Verified Boot here.
Click to expand...
Click to collapse
Right, well I wish to switch to another ROM so installing MIUI Global ROm will not help.
I'm able to install TWRP without touching verfiedboot at all and get it to work even after reboot so that is not a problem. If that is what verifiedboot does I believe I can skip that?
ZevSwe said:
Hmm okay, but the phone is already working with the stock ROM, my whole idea is to switch to something else. What do you mean with do not lock bootloader?
Click to expand...
Click to collapse
than try once again by following my steps in post #8
You can skip flashing vbmeta and just follow mxxt01's steps.
Sent from my MI 9 using Tapatalk
sangbuana said:
You can skip flashing vbmeta and just follow mxxt01's steps.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
That seems to have made the trick! Thanks so much!
I've been following this thread because I was having the same problems as ZevSwe, multiple attempts at installing roms with no success. I've been using phones/tablets with custom roms for years so I have some experience but not with this device.
I'll be trying the steps in post #8 later today but I have a question about twrp that's buggin me. I have been taking full twrp backups to a usb stick before installing and just reinstalling when the custom rom didn't work but the last few times the reinstall failed at about 98% complete and I've had to reinstall stock from scratch.
Any idea why a twrp backup would fail on reinstall? Is there something I could have inadvertantly done to cause this issue? Playing with roms is fun and easy when you've got a twrp backup to fall back on but a pain in the $#^ when it doesn't restore. Any thoughts would be appreciated before I give it another go.
thecdn said:
I've been following this thread because I was having the same problems as ZevSwe, multiple attempts at installing roms with no success. I've been using phones/tablets with custom roms for years so I have some experience but not with this device.
I'll be trying the steps in post #8 later today but I have a question about twrp that's buggin me. I have been taking full twrp backups to a usb stick before installing and just reinstalling when the custom rom didn't work but the last few times the reinstall failed at about 98% complete and I've had to reinstall stock from scratch.
Any idea why a twrp backup would fail on reinstall? Is there something I could have inadvertantly done to cause this issue? Playing with roms is fun and easy when you've got a twrp backup to fall back on but a pain in the $#^ when it doesn't restore. Any thoughts would be appreciated before I give it another go.
Click to expand...
Click to collapse
Since you noted that you have been doing a backup to a USB stick, it could be the USB stick is failing.
Honestly, all the installation guides for custom Roms i came across on XDA in the recent years are complete garbage. It fills like copy pasted from a guide that has been copypasted from a copypasted thread which has been copypasted and never worked.
For me, this guide works just fine. I just had to find the files for my Mi 9 instead of the k20 Pro. I would upload them for you but my upload speed is garbage.
https://www.youtube.com/watch?v=w_u_w6SrTDY&t=249s
I have flashed a lot of ROMs custom and official, fastboot and recovery. Never had any problems, the steps is here in thread.
Just remember 2 thing:
1. If you have ROM which using encryption, you must format data, because wipe will not remove encryption and you will see gibberish names
2. If you wipe system (which is mean less, because every ROM flash will do that, when you flash it, but many people insist in wiping it) then you must flash a ROM without reboot or you will stuck in fastboot and only option to repair is to flash official fastboot ROM (Non official fastboot ROMs, don't exist).

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!

Question Need help, TWRP shows no rom

Hi everyone, I really need some help. Took my phone to I.T shop to have it unlocked and EU rom stable put on. I got my phone back with TWRP on it saying no rom. I know nothing about this kind of thing and now I am stuck. Is there someone who can fix this remotely for me?? Thanks in advance
In twrp Click install and Check in the download folder in case it's not in the root folder, if there is no ROM there you could fix it yourself by flashing the last fastboot ROM from a bat file or cmd line
i think it was 12.5.5 or something like that and then you can update to EU 12.5.12 stable via twrp
AND NEVER USE THAT SHOP AGAIN LOL
speedtripler said:
In twrp Click install and Check in the download folder in case it's not in the root folder, if there is no ROM there you could fix it yourself by flashing the last fastboot ROM from a bat file or cmd line
i think it was 12.5.5 or something like that and then you can update to EU 12.5.12 stable via twrp
AND NEVER USE THAT SHOP AGAIN LOL
Click to expand...
Click to collapse
Thanks for your reply. Could this be done remotely. I really have no idea how to do any of this stuff which is why i first went to a shop. Im happy to pay for a good outcome
Anyone who flashes ROMs could do it in a few minutes via team viewer or something.... But it maybe beneficial to learn for yourself
It's really simple, you've already done the hardest part if you've unlocked the bootloader and installed twrp
Just put the phone in fastboot mode and then plug into PC and click on the bat file
Download: MIUI 12 stable update rolling out to several Xiaomi, Redmi and POCO devices
MIUI 12 stable builds have begun rolling out to several Xiaomi, Redmi, and POCO devices. Head on over for Recovery ROM and Fastboot ROM download links!
www.xda-developers.com
Select your phone and download the MIUI stock ROM. (Do NOT extract it.)
Boot into Twrp and wipe and factory reset.
Move the miui stock rom to the phone.
Select flash and select the zip file.
Swipe to flash
Then download and flash(move to phone, flash) the 'ARM64 Android 11' Gapps(Google apps) https://opengapps.org/
Then reboot.
All data will be lost. If you want to keep your photos and videos, before doing everything, go to twrp , connect the phone to a pc, and move the 'Dcim' folder to the computer side.
If you have a working TWRP, just use it to flash latest EU version, format data, reboot system. Done.
Then if you want to go back to a stock ROM, flash it via fastboot or twrp depending on the ROM format you download.
Sathelp said:
If you have a working TWRP, just use it to flash latest EU version, format data, reboot system. Done.
Then if you want to go back to a stock ROM, flash it via fastboot or twrp depending on the ROM format you download.
Click to expand...
Click to collapse
If he's stuck in twrp how can he download a ROM to flash? I don't think you can transfer files to a phone that doesn't have a ROM to flash via twrp
Fastboot first from a PC cmd maybe the only way to get started
He is asking someone else to do the process he doesn't know anything about these things (and I don't understand why buying a phone to make things like this if not capable). Anyway go on YouTube and check people doing the process, I don't think is difficult watching a guy and copy what he is doing
I am replying to close this thread. He contacted me over telegram. I took a look at his phone and the phone is not being detected in fastboot mode on his pc. Maybe hard bricked or in edl mode. Also his twrp is not accessible. So i suggested him to contact the edl guy and he fixed the phone.
So ask mods to close this thread?
speedtripler said:
If he's stuck in twrp how can he download a ROM to flash? I don't think you can transfer files to a phone that doesn't have a ROM to flash via twrp
Fastboot first from a PC cmd maybe the only way to get started
Click to expand...
Click to collapse
I know it's closed as such but in twrp, I can copy files from pc to phone. He could have done the same. BTW, I'm using the very first twrp that many wouldn't install but my phone is recognised in Windows while in recovery. This might help someone else

Question [Solved] Unable to install EU ROM :/

Hi everyone, and a happy new year
I need some light please, i don't understand what i'm doing wrong :/
To follow this post, i can't install EU ROM anymore (via TWRP) and i don't know why...
1) i flash the EEA Global via MiFlashTool, all ok
2) i make sure to unlock bootloader, all ok
3) i flash TWRP (official 3.6), all ok
Finally i want to flash 12.5.20.0, or 12.5.17.0 of EU ROM via TWRP/install, the process end up nicelly, no error so reboot, now everytime /data is lost, so it only boot on twrp and nothing is here anymore, need to go back at 1)
That is so frustrating :/
Can anyone enlight me please ?
did you format data after flashing 12.5.20.0
marcel112 said:
did you format data after flashing 12.5.20.0
Click to expand...
Click to collapse
nope, i need to ?
(if i format data, then i'll need to reflash the rom, right ?)
Only fastboot Version available right now bro. Already using it.
If you want to flash 12.5.20 it's impossible to use TWRP.. it's android 12 and fastboot only
marcel112 said:
If you want to flash 12.5.20 it's impossible to use TWRP.. it's android 12 and fastboot only
Click to expand...
Click to collapse
Thanks both of you !
Ok, but when i see files like 12.5.20.0 with a twrp flashing procedure labelled Mi11 Ultra, that let me think i can do it that way, it's misleading, at least :/
So, i flashed the latest 12.6 xiaomi eu rom and it worked
New problem, i then try to use twrp to flash magisk, i do fastboot boot twrp.img and then, /data lost again, so impossible to flash magisk :/
I tried both 3.6 official and 3.5.1 unofficial
p.s.: never set security pin/pass or whatever atm, so it's not a problem with the password
why do you want to try twrp to flash magisk?
copy the boot file from fastboot / images folder to your phone.
boot system, open magisk app, choose install, and search the boot file, patch. once patched, copy the file to the fhe pc.
reboot to fastboot
just type fastboot flash boot yourpatchedbootfile.img
you can type fastboot flash boot and drag the patched file to fastboot line
marcel112 said:
why do you want to try twrp to flash magisk?
copy the boot file from fastboot / images folder to your phone.
boot system, open magisk app, choose install, and search the boot file, patch. once patched, copy the file to the fhe pc.
reboot to fastboot
just type fastboot flash boot yourpatchedbootfile.img
you can type fastboot flash boot and drag the patched file to fastboot line
Click to expand...
Click to collapse
Oh my god, i totally forgot this method
Thank you very much, seems to work !
Solved

Categories

Resources