Can't install official update zip file in TWRP - Xiaomi Mi 5 Questions & Answers

I would install Global Dev ROM 7.2.16 miui_MI5Global_7.2.16_ab1851be8e_7.0.zip in TWRP (last version 3.0.2-3) but after installation, my phone not boot to system it stuck at mi.com screen.
If I flash other custom ROMs then everything is OK
Does this mean that I can't install official MIUI zip files in TWRP?

zukers said:
I would install Global Dev ROM 7.2.16 miui_MI5Global_7.2.16_ab1851be8e_7.0.zip in TWRP (last version 3.0.2-3) but after installation, my phone not boot to system it stuck at mi.com screen.
If I flash other custom ROMs then everything is OK
Does this mean that I can't install official MIUI zip files in TWRP?
Click to expand...
Click to collapse
This has been discussed many times. Do not flash stock miui rom with TWRP. Use Miflash tool instead.

in the setting
choose the 'support official update'

@muchlas46
I can't use Miflash because if I will flash this file using Miflash then TWRP will be overwrite.
And If I would do that and then install again TWRP it will be asking me in first entry to decrypt data so I have to format freshly installed Global Dev ROM so I'm back in start point.
I would have TWRP, unlocked bootloader(have it) and GLOBAL dev, so to do that?

https://forum.xda-developers.com/mi-5/development/tool-flashable-firmware-twrp-easy-t3474898
flash "Latest one -> Developer 7.2.9 Firmware:",then flash custom ROM(ex:Lineage OS)

I don't wan't custom ROM, I want to install official ROM from this e.g Global dev :
http://en.miui.com/download-299.html#443
anh have this official ROM with TWRP as recovery, is any hint to do this?

I want the EXACLY same thing LOL and i try everything but i cant have TWRP and Global dev, sorry i just wait with you for one solution.

I have idea how to do this but I'am afraid bricking my phone
Inside official fastboot file, after extracting is folder "images" inside is recovery.img file - this is stock recovery.
It could be maybe possible to replace this file to twrp file and leave it with the same name, then during Mi-flash will be TWRP installed instead stock recovery.

1. flash the firmware given above.
2.nougat miui often doesn't boot with only a clean twrp flash,that's why you have to flash the nougat firmware posted above.
else
1.flash 6.11 marshmallow global beta.
2.reboot
3.now flash nougat beta

Related

Cant return to MIUI from LineageOS

Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
if the recovery method of flashing the full rom fails, then you have no other recourse except to flash via fastboot method.
take note of this "Please wipe all data in Recovery mode if you want to update to a discontinuous ROM version, or downgrade to an older ROM version using MIUI full ROM pack. If you upgrade from MIUI Stable ROM based on Android M to MIUI Developer ROM based on Android N, please flash it via Fastboot update. Recovery update might cause upgrade failure."
http://en.miui.com/a-232.html
http://en.miui.com/a-234.html
lucasho2312 said:
Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
Click to expand...
Click to collapse
Did you just tried rebooting to system after flashing? I also got that error "no OS installed" in TWRP so many times, but rebooting to system with no problems at all.
nnth said:
Did you just tried rebooting to system after flashing? I also got that error "no OS installed" in TWRP so many times, but rebooting to system with no problems at all.
Click to expand...
Click to collapse
Unmounted system before flashing ROM .
in my opinion why just not use rom from xioami.eu because you have custom recovery .
p.chandra284 said:
Unmounted system before flashing ROM .
Click to expand...
Click to collapse
Dont unmount system flash zip and after flash use hardware buttons to reeboot
U need to format data before installing miui
lucasho2312 said:
Wipe everything
Install global developer zip file
When reboot, twrp says no OS installed
Help pls
Click to expand...
Click to collapse
The reason is, that you can't flash OFFICIAL Chinese (Developer/Stadle) Rom with cusom recovery (TWRP). But you can flash anything esle. Like Lineage OS. If you want to use MIUI Rom, you have to flast a Xiaomi.eu ( developer or stable) rom. NOT OFFICIIAL CHINESE !!! If you prefer Official Chinese Global rom, you must download a FASTBOOT rom (not recovery) , and flash it in fastboot mode, with MiFlash.
instead of beating around the bush, why not follow the official procedure of flashing an official miui rom
if you are coming from a custom rom, as specified herein?:
http://en.miui.com/a-234.html
When can we expect official RR for mi max 2?
It was already available for redmi note 4 which is having the same processor.
You have to wait for custom Rom until miui release the kernel source which is must have to develop a custom one. please be patience...
If you flash rom with out error, Even no os installed warning, you can boot into system without problem.

Unable to update to MIUI 9

Hello guys.
I've just tried to update to MIUI 9.0.1.0 NDDMIEI from MIUI 8.5.9.0 NDDMIED on device Xiaomi Mi Max 2 but it failed.
I have an unlocked bootloader and SuperSu installed, but the recovery is Mi Stock Recovery. :cyclops:
I had directly booted TWRP Recovery without flashing using
Code:
fastboot boot twrp.img
to flash SuperSu on device. :good:
Need support with this issue. I don't want to flash whole ROM every time I recieve an update.
steve.24 said:
Hello guys.
I've just tried to update to MIUI 9.0.1.0 NDDMIEI from MIUI 8.5.9.0 NDDMIED on device Xiaomi Mi Max 2 but it failed.
I have an unlocked bootloader and SuperSu installed, but the recovery is Mi Stock Recovery. :cyclops:
I had directly booted TWRP Recovery without flashing using
Code:
fastboot boot twrp.img
to flash SuperSu on device. :good:
Need support with this issue. I don't want to flash whole ROM every time I recieve an update.
Click to expand...
Click to collapse
i successfully flashed to miui v9(V9.0.1.0.NDDMIEI) over miui v8(V8.5.8.0.NDDMIED) without data wipe. all my data were intact
Keep a backup just in case
make sure you downloaded recovery flashable full rom package ~1.38GB (not the 500mb OTA update )
donot wipe data/cache/dalvik
flash via TWRP recovery
just flashing rom wont boot due to dm-verity. (result will be bootloop)
u need to flash super user or magisk (or lazy flasher "ive not tried though" ) which patches boot.img which makes rom bootable
reversegear said:
i successfully flashed to miui v9(V9.0.1.0.NDDMIEI) over miui v8(V8.5.8.0.NDDMIED) without data wipe. all my data were intact
Keep a backup just in case
make sure you downloaded recovery flashable full rom package ~1.38GB (not the 500mb OTA update )
donot wipe data/cache/dalvik
flash via TWRP recovery
just flashing rom wont boot due to dm-verity. (result will be bootloop)
u need to flash super user or magisk (or lazy flasher "ive not tried though" ) which patches boot.img which makes rom bootable
Click to expand...
Click to collapse
I'll give it a try. Currently I have data wiped and installed full ROM through fastboot method. So next time, for sure I'll give it a shot.
But I have a doubt, where TWRP be able to flash an MIUI ROM. I mean the bootloader unlocked, encrypted system partition and all.
Since you have your device rooted, first install flashify, and backup your stock recovery. Then you can flash twrp recovery and install Miui 9, and root the device again. Last, install flashify again and restore your stock recovery.
scholastova said:
Since you have your device rooted, first install flashify, and backup your stock recovery. Then you can flash twrp recovery and install Miui 9, and root the device again. Last, install flashify again and restore your stock recovery.
Click to expand...
Click to collapse
Can you give stock recovery from mi max 2? I forgot to back up his original recovery stock and was hit with twrp.

help install back 9.1.10 stable from xiaomi eu beta latest wia twrp

hi friend i have xiaomi redmi 4x i have unlocked bootloader OK
I have install twrp 3110 OK
when i install this xiaomi.eu rom latest beta everything is OK
when i want install back latest stable global 9.110 by xiaomi i download normal recovery rom from xiaomi site and put it on phone storage then i normal go twrp wipe (factory reset) install 9110 install is ok
when i click reboot system i see on boot only mi logo and no this .... powered by android
also same when i choose in twrp wife all data system etc expect storage where is this downloaded rom.
could any explain me why it stuck at boot if installation via twrp is ok ?
but when i install back this xiaomi.eu rom boot works OK
tubabuyukustun said:
hi friend ....
could any explain me why it stuck at boot if installation via twrp is ok ?
Click to expand...
Click to collapse
Hello, this happens because official MIUI boot.img verifies if recovery.img is also official/original.
You have 2 options to resolve the boot problem:
1. If you want to keep TWRP then modify boot.img... http://en.miui.com/thread-249666-1-1.html (with R4X image of course)
and flash it from TWRP or fastboot: fastboot flash boot boot.img
2. If you want original recovery, get "recovery.img" from the exact TGZ image as your MIUI ZIP
and flash it: fastboot flash recovery recovery.img
:good:

Help me to go to Eu beta

I am in miui china letest stable 10.2.3.0. I want to go Eu letest beta 9.4.18. my bootloader is unlocked but no twrp installed. Now how can I go to eu beta without any problem? Which twrp should i use? Please tell me the steps. Thanks in advance
shaonirfan said:
I am in miui china letest stable 10.2.3.0. I want to go Eu letest beta 9.4.18. my bootloader is unlocked but no twrp installed. Now how can I go to eu beta without any problem? Which twrp should i use? Please tell me the steps. Thanks in advance
Click to expand...
Click to collapse
Everything is given there, just read and follow install instructions:
https://xiaomi.eu/community/threads/9-4-18.50189/
Get TWRP 1102 or 1217 to flash the EU rom and install 1227 version once new rom is flashed but before reboot system.
That means when eu rom installation will finish, then I should reboot to fastboot instead of reboot to system? And then again flash twrp 1227?
shaonirfan said:
That means when eu rom installation will finish, then I should reboot to fastboot instead of reboot to system? And then again flash twrp 1227?
Click to expand...
Click to collapse
Simply said:
For WEEKLY EU DEV rom installed with1102/1217 twrp:
if you reboot to system the rom will install well but you loose TWRP 1102/1217. AND you will not be able to reflash the new one because partition are modified with this new rom version ''(from 2018/12/27).
That' why you must install 1227 before rebooting in the rom system.
Either with fastboot or in recovery you are still in... install 1227 image.
take a coffee!
EDIT: THIS IS ONLY IF YOU INSTALL WEEKLY EU DEV ROM!
for stable you MUST keep 1102 and you can reboot dry.
8.7.12
U have to flaah 8.7.12 then update it
Thank me later
rodra_mishu said:
U have to flaah 8.7.12 then update it
Thank me later
Click to expand...
Click to collapse
Read deeply, he said is hasn't any TWRP installed!
you only throw to words, explain it better, please!
lolo9393 said:
Simply said:
For WEEKLY EU DEV rom installed with1102/1217 twrp:
if you reboot to system the rom will install well but you loose TWRP 1102/1217. AND you will not be able to reflash the new one because partition are modified with this new rom version ''(from 2018/12/27).
That' why you must install 1227 before rebooting in the rom system.
Either with fastboot or in recovery you are still in... install 1227 image.
take a coffee!
EDIT: THIS IS ONLY IF YOU INSTALL WEEKLY EU DEV ROM!
for stable you MUST keep 1102 and you can reboot dry.
Click to expand...
Click to collapse
One is suggesting me to flash twrp 1227 and then flash eu 8.7.12. then update to latest eu rom. Is it ok? Will it make any problem flashing twrp 1227 in my latest Chinese stable?
shaonirfan said:
One is suggesting me to flash twrp 1227 and then flash eu 8.7.12. then update to latest eu rom. Is it ok? Will it make any problem flashing twrp 1227 in my latest Chinese stable?
Click to expand...
Click to collapse
-1227 TWRP will NEVER boot on ANY available STABLE ROM (CHINA or EU). Try it, no risk.
lolo9393 said:
-1227 TWRP will NEVER boot on ANY available STABLE ROM (CHINA or EU). Try it, no risk.
Click to expand...
Click to collapse
I have no experience about this flashing rom. I want to follow your procedure. But one confusion. When eu rom will successfully installed, then should I go to "reboot>reboot to bootloader" in twrp? And then flash twrp 1227 with the same process of installing twrp 1102/1217?
shaonirfan said:
I have no experience about this flashing rom. I want to follow your procedure. But one confusion. When eu rom will successfully installed, then should I go to "reboot>reboot to bootloader" in twrp? And then flash twrp 1227 with the same process of installing twrp 1102/1217?
Click to expand...
Click to collapse
you stay in TWRP and install "IMAGE" of 1227.
- INSTALL/ install image/find 1227.img file/select it and select RECOVERY position in order to place it well.
But if you don't do that and reboot the rom, no problem only TWRP will be missing.
---------- Post added at 07:11 AM ---------- Previous post was at 06:49 AM ----------
lolo9393 said:
you stay in TWRP and install "IMAGE" of 1227.
- INSTALL/ install image/find 1227.img file/select it and select RECOVERY position in order to place it well.
But if you don't do that and reboot the rom, no problem only TWRP will be missing.
Click to expand...
Click to collapse
QUESTION: I am lost with you.
-What the rom reference you are going to install?
lolo9393 said:
you stay in TWRP and install "IMAGE" of 1227.
- INSTALL/ install image/find 1227.img file/select it and select RECOVERY position in order to place it well.
But if you don't do that and reboot the rom, no problem only TWRP will be missing.
---------- Post added at 07:11 AM ---------- Previous post was at 06:49 AM ----------
QUESTION: I am lost with you.
-What the rom reference you are going to install?
Click to expand...
Click to collapse
Oh, that means, I can flash twrp 1227 from twrp 1102/1217 recovery? No need pc?
lolo9393 said:
you stay in TWRP and install "IMAGE" of 1227.
- INSTALL/ install image/find 1227.img file/select it and select RECOVERY position in order to place it well.
But if you don't do that and reboot the rom, no problem only TWRP will be missing.
---------- Post added at 07:11 AM ---------- Previous post was at 06:49 AM ----------
QUESTION: I am lost with you.
-What the rom reference you are going to install?
Click to expand...
Click to collapse
I am going to install eu latest dev rom from my Chinese latest stable rom
shaonirfan said:
I am going to install eu latest dev rom from my Chinese latest stable rom
Click to expand...
Click to collapse
OK!
TWRP 1102
FORMAT DATA /yes in WIPE
LOAD EU WEEKLY DEV ROM FLASH ZIP into phone memory
FLASH latest EU weekly DEV
INSTALL 1227 TWRP before reboot the rom. (for future install)
EDIT:
Format data coming from Official rom is mandatory because this rom is encrypted and it cannot be erased during flashing operation.
Save your data before doing format data!
lolo9393 said:
OK!
TWRP 1102
FORMAT DATA /yes in WIPE
LOAD EU WEEKLY DEV ROM FLASH ZIP into phone memory
FLASH latest EU weekly DEV
INSTALL 1227 TWRP before reboot the rom. (for future install)
EDIT:
Format data coming from Official rom is mandatory because this rom is encrypted and it cannot be erased during flashing operation.
Save your data before doing format data!
Click to expand...
Click to collapse
This was not my question. Please clear my confusion. Can I flash twrp 1227 with twrp recovery 1102? Or I should again flash 1227 with pc? If i should use pc, can I go to bootloader page to flash 1227? Or can I flash 1227 staying twrp recovery without rebooting bootloader?
EDIT: Oh sorry. I have understood. Thanks for your help.
I am getting tired of trying EU rom now. Everytime I tried, like whatever they said here and eu forum.. I always end up in stuck to fastboot mode.. Never boot the eu rom.
first flash 9.5.11 fastboot rom, then flast twrp v1102,
in twrp formate data and wiper systems and others,
flash eu rom from otg.
thats all.
ZoWapBoy said:
I am getting tired of trying EU rom now. Everytime I tried, like whatever they said here and eu forum.. I always end up in stuck to fastboot mode.. Never boot the eu rom.
Click to expand...
Click to collapse
Give this method a try. I followed these steps with the help of @lolo9393
Following are the procedures that i followed to boot up Miui Eu
- Flash official 8.12.13 (Dev Fastboot Rom) through MiFlash.
- Flash TWRP 1102
- Clean Data
- Push/ Copy and Flash 8.12.20( EU Rom), it booted up finally without redirecting to Fastboot.
- Update 8.12.20 to latest available from system updater.
- Now there won't be any recovery or we aren't able to enter into available recovery even though the system boots.
- Flash TWRP 1227.
need help, I tried to flash ROM eu 9.5.23 using 9.2.16 dev ROM as the base. twrp used 1227 and after rebooting enter fastboot mode.
twrp 1102 and 1217 do not want to enter recovery only the MI display
1yang said:
need help, I tried to flash ROM eu 9.5.23 using 9.2.16 dev ROM as the base. twrp used 1227 and after rebooting enter fastboot mode.
twrp 1102 and 1217 do not want to enter recovery only the MI display
Click to expand...
Click to collapse
Flash OREO fastboot official rom 9.5.10 or 11 with MIFLASH in order to reset the partition. Install 1217 TWRP and FORMAT DATA/yes (in TWRP wipe section) Do it it twice.
Reboot recovery and load EU rom from you computer with explorer.
Install EU rom and 1227 TWRP BEFORE rebooting the rom.
Welcome to the club!
lolo9393 said:
Flash OREO fastboot official rom 9.5.10 or 11 with MIFLASH in order to reset the partition. Install 1217 TWRP and FORMAT DATA/yes (in TWRP wipe section) Do it it twice.
Reboot recovery and load EU rom from you computer with explorer.
Install EU rom and 1227 TWRP BEFORE rebooting the rom.
Welcome to the club!
Click to expand...
Click to collapse
oke i will try thanks

How To Guide Android 12 (MIUI13 for Xiaomi 11T pro) || MIUI13 EU

Hi Guys, so we got a pilot release for MIUI 13. Here is the guide to flash/update using Xiaomi.eu ROM:
Update to MIUI13 (Android 12) from MIUI EU V12.5​
A TWRP backup of current rom is recommended before following the next steps
You can follow my guide to know how you do it here: https://forum.xda-developers.com/t/...-flash-twrp-root-device-flash-eu-rom.4402203/
Download Fastboot EU rom from here: https://sourceforge.net/projects/xi...13.0.1.0.SKDMIXM_v13-12-fastboot.zip/download
Extract all the contents in zip file to any normal folder
We will be using Bootloader/Fastboot mode. Boot into Bootloader: Power off your mobile then hold Volume Down + Power Button till Fastboot bunny pops up
Connect your device to PC
To update use the updater executable for respective OS platform windows_fastboot_update_rom.bat (for windows)
For clean flash you can use windows_fastboot_first_install_with_data_format.bat (for windows)
Follow the procedures as per above choice
Wait patiently while the PC does its Job.
You may see a long pause post “writing Cust” command depending on PC configuration. try hitting any letter key on your keyboard, the process continues this way.
You may hit letter key whenever you see unusual pauses during pushing of super partition file sparse sending 1 of 9 to 9 of 9
Wait till process finishes and reboots
Flash Magisk and Root​
Copy boot.img from the extracted ROM images folder to your mobile
Global Boot.img (use this if you wanna root Globoal Miui13.
Install latest Magisk app from here: https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk
Install the app and select install in Magisk and choose patch source file and select the boot.img you copied.
Wait for the process, copy the new patched image form mobile to your PC
Now lets flash the new pathced boot image using below, replace with path to boot image in place of “< --- >”
fastboot flash boot_a “<magisk_patched.img>”
fastboot flash boot_b “<magisk_patched.img>”
Reboot and check the magisk app
Follow my guide here to pass safteyNet: https://forum.xda-developers.com/t/...-flash-twrp-root-device-flash-eu-rom.4402203/
Update to miui 13 can't flash via twrp?
Yuditkiichi said:
Update to miui 13 can't flash via twrp?
Click to expand...
Click to collapse
Only the stock global rom is for recovery, xiaomi.eu rom is for fastboot.
I can boot the twrp.img, but I can't navigate in the main menu. It won't do anything
dandris86 said:
I can boot the twrp.img, but I can't navigate in the main menu. It won't do anything
Click to expand...
Click to collapse
Probably twrp is not yet compatible with the new android 12 firmware, some users also reported the same problem.
sushuguru said:
Probably twrp is not yet compatible with the new android 12 firmware, some users also reported the same problem.
Click to expand...
Click to collapse
Thanks for the quick reply
I'm updated whiteout format data. Everything looks ok.
Alright, so I was previously rooted on 12.5 (global), non twrp. its not necessary for rooting.
I did the ota update to v13 miui (global). but as its a switch between v11 and v12 of android its not possible to install magisk into an empty a/b slot.
I tried to fastboot flash your global miui boot.img after patching it with magisk and it did not work.
I suspect the boot.img to not be compatible with the global rom.
So I opted to flash the Eu fastboot version of miui 13, I set up the phone.
Then patched the stock boot.img with magisk and fastboot that. Done phone is now rooted on v13 miui. and passing safety net check.
phone data was lost as i had to switch from global to eu.
Can anyone confirm that we get widgets and other features that are not found in the miui 13 global I want to make the switch but I want to know what would still be missing
The global fastboot rom is now released. follow same steps above to have rooted global non twrp.
V13.0.1.0.SKDMIXM (https://xiaomifirmwareupdater.com/miui/vili/stable/V13.0.1.0.SKDMIXM/)
-Edit-
Ive also updated to the latest via ota V13.0.2.0.SKDMIXM (Stable beta). but as it detected the boot.img was modified it downloaded the entire recovery rom. Installed. Lost root access.
I then fastboot re flashed the patched boot.img from the V13.0.1.0.SKDMIXM and it works.
so im rooted/ safetynet check passed on V13.0.2.0.SKDMIXM (Global)
roms can be found here https://xiaomifirmwareupdater.com/miui/vili/
Downloaded the latest EEU vili_eea_global_images_V13.0.8.0.SKDEUXM_20220224.0000.00_12.0_eea_38cc4dcea7.tgz
but the only .bat files I see are
flash_all.bat, flash_all_except_storage.bat and flash_all_lock.bat
BettlePimp said:
Downloaded the latest EEU vili_eea_global_images_V13.0.8.0.SKDEUXM_20220224.0000.00_12.0_eea_38cc4dcea7.tgz
but the only .bat files I see are
flash_all.bat, flash_all_except_storage.bat and flash_all_lock.bat
Click to expand...
Click to collapse
It's a fastboot stock rom which this flash with miflash or with bat files
This thread is about XIAOMI EU custom rom
This phone is so ****ty, I'm trying to do OTA update via 100mbit/'s network in netherlands from about two f***NG weeks and it can not be finished. I can't belive that I have paid 800€ for so big ****!
Hello
For the ROOT it works perfectly (without TWRP, just with magisk)
You unlock the bootloader and wait 1 week, you extract the boot.img, you modify the file with magisk and do the command wtih adb with the modified boot
Very simple
(If you want to extract the rom file by yourself you can just extract with a little tool after your download the rom
, you can extract the fil with the payloaf file, for that, just have a look in the method 3 in this link)

Categories

Resources