Hi, sorry for bad English.
I'm having trouble installing Custom ROMs on my Mi 8 Global. Any custom rom I install, after reboot on TWRP, the mobile does not start, it only stays on the fastboot screen or returns to the TWRP.
I already unlocked the bootloader, ADB ON, drivers installed on PC, TWRP OK, all neededs WIPEs ...
I can only install the STOCKs ROMs. I think the problem is when doing FLASH in the ROMs. It may be that I can only install ROM by Fastboot, but by Recovery not.
In the TWRP LOG, there is not a single error after installing the ROMs, always success.
I follow all the tutorials, but never start the system after installing by recovery.
Another thing I noticed is that when I install the custom rom, if I go in the TWRP file browser and go there in the SDCard folder, the files do not appear as it usually gets, such as the "Android" folder for example.
I've had several Androids since the Galaxy Y time and I've never had this problem.
Any idea?
format data "yes" then flash dm variety fix re oot recovery then flash any rom
Sent from my MI 8 using Tapatalk
altvolt74 said:
format data "yes" then flash dm variety fix re oot recovery then flash any rom
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
I followed all the tutorials, including the WIPEs
try another dm variety or recovery ........make sure is format data and not just wipe it and last ensure ur in pie firmware and not oreo
Sent from my MI 8 using Tapatalk
altvolt74 said:
try another dm variety or recovery ........make sure is format data and not just wipe it
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
Ill try this. Thanks!
null
I have the same problem as you, and my rom is only 10gb. Other roms can't recognize it. How do you solve this problem?
not
altvolt74 said:
try another dm variety or recovery ........make sure is format data and not just wipe it and last ensure ur in pie firmware and not oreo
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
i tried ,very bad,my phone still into fastboot.
Bruno Wagner said:
Hi, sorry for bad English.
I'm having trouble installing Custom ROMs on my Mi 8 Global. Any custom rom I install, after reboot on TWRP, the mobile does not start, it only stays on the fastboot screen or returns to the TWRP.
I already unlocked the bootloader, ADB ON, drivers installed on PC, TWRP OK, all neededs WIPEs ...
I can only install the STOCKs ROMs. I think the problem is when doing FLASH in the ROMs. It may be that I can only install ROM by Fastboot, but by Recovery not.
In the TWRP LOG, there is not a single error after installing the ROMs, always success.
I follow all the tutorials, but never start the system after installing by recovery.
Another thing I noticed is that when I install the custom rom, if I go in the TWRP file browser and go there in the SDCard folder, the files do not appear as it usually gets, such as the "Android" folder for example.
I've had several Androids since the Galaxy Y time and I've never had this problem.
Any idea?
Click to expand...
Click to collapse
1. wrong section
2. which twrp do you use, which firmware do you use...., what a rom do wanna flash
unlock bootloader , flash this Twrp
reboot to trwp, factory rest with "yes" reboot again to trwp flash the rom that u want
Bruno Wagner said:
I followed all the tutorials, including the WIPEs
Click to expand...
Click to collapse
Follow this step
1. Copy Miui rom 9.0.zip and which rom you want to sdcard.
2. Boot into twrp, then wipe data, cache.
3. Install Miui rom 9.0.zip (dont reboot after done)
4. In twrp, choose reboot twrp again, then then wipe data, cache
5. Install any custom rom you want. And flash disable dm-variety
6. Done and reboot
romano19 said:
Follow this step
1. Copy Miui rom 9.0.zip and which rom you want to sdcard.
2. Boot into twrp, then wipe data, cache.
3. Install Miui rom 9.0.zip (dont reboot after done)
4. In twrp, choose reboot twrp again, then then wipe data, cache
5. Install any custom rom you want. And flash disable dm-variety
6. Done and reboot
Click to expand...
Click to collapse
I ll try this. Thank u
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
maybe you should flash a miui based on android pie (globe developer version)
then use the latest twrp recovery (both wzsx and black pitch is ok)
Murik01 said:
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
Click to expand...
Click to collapse
Yes, I do. Dont work
Bruno Wagner said:
I ll try this. Thank u
Click to expand...
Click to collapse
Did you do something or you fix your problem?
NewbyCmUser said:
Did you do something or you fix your problem?
Click to expand...
Click to collapse
No, not a tip has solved the problem. Yesterday I spent all day trying different things, searching in several sites but nothing works. I'll have to settle for the ROM stock.
I had the same problem installing pixel experience you need to flash stock fastboot rom via miflash be careful, do not select the relock option, then install twrp, wipe system, caches and data and install your custom rom It worked for me.
Murik01 said:
You have to format data via typing "yes", it is not wiping data, it is button in twrp. After that everything gonna be ok.
Click to expand...
Click to collapse
i had same problem. and this format data has worked with "miui_MI8Global_8.12.20_c7a9af8587_9.0" i can flash it. phone working now but i will change rom tomorrow again.. i guess it will be brick in a couple days
Problem solved!
Sorry bad english, translated by Google Translate ...
Now I've been able to install custom ROMs. :laugh:
I tested Havok and Pixel Experience.
I'll speak the steps I did:
1 - Install the Stock Pie: MIUI Global Stable 10.1.2.0 (dipper_global_images_V10.1.2.0.PEAMIFI_20181211.0000.00_9.0_global_0099f5af5f)
Install with XiaomiMiFlash, at the bottom, check the option "Clean All".
NO INSTALL ON TWRP MODE.
2 - Start the system normal and make ADB ON
3 - Make Root
4 - Start the system normal again
5 - Install TWRP: recovery-TWRP-3.2.2-0711-XIAOMI8-CN-wzsx150 (use this version)
6 - WIPE > Advanced> System, Data, Cache
7 - Flash ROM: PixelExperience_dipper-9.0-20190111-2226-OFFICIAL
8 - Reboot System
9 - Ready!
10 - Optional Step (*recommended*) - Go again in TWRP and Wipe > System, Data, Cache, Internal Storage > Flash ROM > Reboot.
After this procedure I was able to install custom roms without problems.
Related
So many posts with errors while flashing custom ROMs and flaming it then. No need.
Always flash latest TWRP found here:
http://techerrata.com/browse/twrp2/hammerhead
To flash recovery use fastboot:
fastboot devices
(some number should appear here)
fastboot flash recovery
Or you can use Flashify or similar if already rooted. But, go ahead and learn to fastboot.
(Thanks to @simms22 for telling me to clarify)
first thing you want to do is backup your EFS partition in twrp and copy it to safe place (aka your computer or some secure cloud) - thanks to @gee2012 for headsup.
So now to the ROM flashing / fun part:
Installing custom ROMS/Gapps packages (thanks to @kufikugel for headsup)
Go to Wipe -> Advanced, format system (as your previous custom ROM/Gapps has most probably added backup scripts in system/addon.d), data, cache & dalvik. reboot recovery. flash new ROM & gapps as you would usually.
Easy?
Peace!
lol, you didnt include instructions on how to flash twrp in your instructions post. maybe you should add instructions?
anyways, twrp is flashed via fastboot, not recovery. you can also flash it with the flashify app if you already have root(or the twrp manager app). also, wiping one time is too much. you never ever need to wipe when flashing a recovery.
simms22 said:
twrp is flashed via fastboot, not recovery. you can also flash it with the flashify app if you already have root(or the twrp manager app).
Click to expand...
Click to collapse
And I nowhere mentioned twrp is flashed via recovery . I will edit my post to clarify I mean flashing custom ROMs via twrp.
TIMMAH! said:
And I nowhere mentioned twrp is flashed via recovery . I will edit my post to clarify I mean flashing custom ROMs via twrp.
Click to expand...
Click to collapse
you mentioned about wiping. wiping is done in recovery.
simms22 said:
you mentioned about wiping. wiping is done in recovery.
Click to expand...
Click to collapse
There I fixed it, my post was aimed to post-installing-twrp era. Thanks!
update: even with 2.7.0.0 you'll most probably run into issues flashing ROM if you format system and don't reboot recovery.. so just do it.
@wells said:
I'm well aware I am n00b in your eyes, but still.. so many posts with TWRP 2.6.3.4 errors while flashing custom ROMs and flaming it then. No need.
Always flash latest TWRP found here:
http://techerrata.com/browse/twrp2/hammerhead
To flash recovery use fastboot:
fastboot devices
(some number should appear here)
fastboot flash recovery <filename.img>
Or you can use Flashify or similar if already rooted. But, go ahead and learn to fastboot.
(Thanks to @simms22 for telling me to clarify)
So now to the ROM flashing / fun part:
Don't wipe system as most ROM scripts will do it for you or if you do, unmount system before flashing (or even better just reboot recovery and then flash your custom ROM).
Easy?
Also, no need to wipe multiple times anything before custom ROM flashing, it does nothing, just once is enough and just factory reset is usually enough, no need for advanced wipes.
Hope this helps somebody, mods if you think this should go away, just make it go away, not trying to be clever one.
Peace!
Click to expand...
Click to collapse
Maybe its usefull to add/mention the option to backup the EFS folder in TWRP and users should copy it to the PC once they backed it up
Well I would prefer when you add the hint that switching ROMs or gapps packages the user should wipe manually system prior the flash.
It is right that every ROM flash will format the system partition. But all ROMs have since long time backup scripts (for gapps and such things). When you flash a ROM it searches for this scripts, all things mentioned in the script will be copied to the data partition.... ROM formats the system partition installs its stuff and restores the copied stuff from data partition back.
Due that every gapps package is slightly different and as well a lot ROMs package own scripts into the addon.d folder this results always in problems. And a factory reset does not wipe this scripts. Only a manual format system.
Sent from my Nexus 5 using Tapatalk
I flashed a rom per your instructions and get force closures in play music. What should I do?
Sent from my Nexus 5
@kufikugel & @gee2012 done, thanks for the headsup
@jd1639
try clearing data from Play music app, not sure it's related to these instructions..
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
after updating to xiaomi.eu 9.5.1 I lost Twrp and can no longer install. any suggestions thanks
Updating stock rom overwrites always recovery so far I know. Reflash TWRP again and you are fine.
baggino said:
after updating to xiaomi.eu 9.5.1 I lost Twrp and can no longer install. any suggestions thanks
Click to expand...
Click to collapse
What twrp are u using before?
derKoder said:
What twrp are u using before?
Click to expand...
Click to collapse
I tried them almost all, maybe the installation procedure is wrong
the procedure I follow is:
1-I install my stock with Miflash
2 - Developer Options
3- Usb debugging
4- fastboot flash etc ..
5- start Twrp - I see the encrypted files,
6- format date
7 - restoration.
* It's correct?
solved
Try using TWRP from LR.Team/wzsx150 which in guide, news discussion forum
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'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Buddy as best try to flash over Fastboot, then after that install TWRP and mount all partitions. Then klick wipe-- factory reset and wipe and after that format data with confirm yes. after that you need to install inject TWRP inject. You can find it in ADVANCED. After that klick fix Contexts. And reboot.
After that the OS will reinstall . Try it, that will work 100%
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Sathelp said:
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
Click to expand...
Click to collapse
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Mag_e said:
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Click to expand...
Click to collapse
Glad to know that it worked . I had the same problem when I changed from European stock ROM to Xiaomi.eu one. The tutorials I read didn't say anything about formatting data after installing the new ROM.
Mag_e said:
I'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Click to expand...
Click to collapse
Check this steps