Revert back to stock rom. - Xiaomi Mi 5 Questions & Answers

I'm currently using lineage OS with twrp installed. Can I install the latest MIUI rom via twrp? It would be a great help if some could help me with this.

vicky1859 said:
I'm currently using lineage OS with twrp installed. Can I install the latest MIUI rom via twrp? It would be a great help if some could help me with this.
Click to expand...
Click to collapse
Search in Q&À thread, this question has already been asked many times

A sticked thread would be nice, I just bricked my device because the MIUI site instructions are so poor.

Clean install :download fastboot rom-download mi flash tool- flash the rom with mi flash tool and there you go.
Dirty install: download recovery rom - select rom with updater app- reboot to recovery from updater app et voil

Related

Installing Official MIUI using TWRP Discussion

Hey Guys, anyone already tried the link below on installing Official MIUI using TWRP?
How to Install Official Rom with TWRP Recovery!
I've been meaning to try Official MIUI for a long time now, and by doing so I ran obstacles along the way either using MIFlash tool or TWRP - nothing works. But I just saw the method I linked above, and could be the missing piece I need to install the rom thru TWRP.
The OP of that tried it with Redmi 3S. So I'm just wondering maybe someone here already made it worked with MI5?
I could update from global dev 6.11.10 to global dev 7.1.19 with miui built in updater . After downloading nougat it rebooted to twrp and installed the rom normally. The only thing is i lost twrp replaced by stock one .
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
selmandeli said:
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
Click to expand...
Click to collapse
recommended is for you to wipe data,system,dalvik and cache to avoid possible force close window pop out when opening an app, however if you are going to one rom to another eg. aosp-miui global-dev or anything in particular i found out that wiping everything (avoid the efs partition of course) is the best choice for peace of mind, one final thought is only do this if you had other means to bring your phone back to life if other recovery method such as the ability to boot into edl mode is working for you and always do a full system backup of your current rom just in case, hope that helps
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Click to expand...
Click to collapse
Currently, I am using MIUI EU rom and TWRP 3.0.2.0 . Ive tried several times of flashing official global MIUI and failed several times. So tried my luck with miflash tool months ago, but still unsuccessfull. And that's the reason I posted the method above, maybe it is the thing that I am missing.
But, it still continues to puzzle me why others , and even you, can successfully install official MIUI thru TWRP. weird.
can't find the line they talk about in that script. Did anyone managed to install miui trough TWRP on the Mi5?

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.

Problem with LeEco Le 2 X620 MTK Chipset/EUI/TWRP/

Hi,
I had a problem with EUI 5.9.028S and i decided to install twrp and another rom to my Le 2. After a great effort i managed and i installed EUI 5.6.014S version..Now i have other problems,every time who i turn on wifi the device download the newer version of EUI,but when rebooting to recovery (to finish the update) shows up the twrp recovery and stops there,i try to install by twrp the update but the device does not turning on (or stucks on logo or turn on and off all the time).Now i don't know what can i do,i want to remove twrp and return to recovery of the device but i cannot because i don't have the zip file who need to do this and i don't know how to do this.
After all of this i'm thinking, if i remove the twrp and get back the recovery when the system needs to update the device will turning on?
The EUI version i'm using is only Chinese and English.
I cannot find nowhere official EUI in sites(all are out)..
Help me please i'm desperate..
Sorry for my English
Try Cuoco rom , flash from Twrp :
https://forum.xda-developers.com/le-2/development/x626-cuoco92-installed-multilingual-t3744201
Bobfish said:
Try Cuoco rom , flash from Twrp :
https://forum.xda-developers.com/le-2/development/x626-cuoco92-installed-multilingual-t3744201
Click to expand...
Click to collapse
If i remove the TWRP will make the update that already download?
Evi N said:
If i remove the TWRP will make the update that already download?
Click to expand...
Click to collapse
You can flash the stock rom update using Twrp 3.0.2-0 . But first you need to know the directory/name of the downloaded rom file.
Or you can flash back the stock recovery . Then u'll have no root and no Twrp and possibly no google services(if that rom update is latest version without google).
Bobfish said:
You can flash the stock rom update using Twrp 3.0.2-0 . But first you need to know the directory/name of the downloaded rom file.
Or you can flash back the stock recovery . Then u'll have no root and no Twrp and possibly no google services(if that rom update is latest version without google).
Click to expand...
Click to collapse
I try to flash stock update but after that the device stuck on LeEco logo or turning on and off all the time...My device is unrooted.This eui that i use is this: FULL_S2_PLUS_S2_PLUS-CN-FN-HEXCNFN5601405171S-5.6.014S (only Chinese and English without google apps,i download apks files for these),before that the eui verion that i use and working was this: 1513574960_full_s2_plus_s2_plus-cn-fn-hexcnfn5902812161s but i cannot find nowhere anymore..
Wipe user data/cache/dalvik (factory reset) in recovery.
Bobfish said:
Wipe user data/cache/dalvik (factory reset) in recovery.
Click to expand...
Click to collapse
I'm sorry if I'm annoying but i don't know many things..
Do you mean i do this before the update or to do this to return in another version of eui?
Now the problem is you are stuck at logo/turning off , which usually can be solved by factory reset.
There's a possibility that the stock rom doesnt boot up because of Twrp installed.
Might be easier to just download and flash the Cuoco92 rom , it has google preinstalled so you won't have problems with google apps.
Now,my device working with 5.6.014s and is just fine..
I want to find this zip file: 1513574960_FULL_S2_PLUS_S2_PLUS-CN-FN-HEXCNFN5902812161S (but i cannot find it) because and this working well..
After that i want to remove twrp and install the stock recovery of the phone but i don't have the zip file for recovery and i don't know how to do this..
I don't want to install other rom but thanks for your responding and for your time..i
Appreciate it??
https://devsjournal.com/download-letv-official-stock-rom.html#Le_2_Pro_Stock_ROM
Le 2 and Le 2 pro using same rom.
I know because i try to install this file,it's not the same..with this file(le 2 le 2 pro) the device stucks and not turning on..
Can anyone help me please!!!!
I found download page for official stable Eui offline package, all models.
http://bug.letv.com/cn/download/phone
You might have to flash gapps package ,use this gapps for AOSP/CM roms:
https://forum.xda-developers.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368
Evi N said:
Hi,
I had a problem with EUI 5.9.028S and i decided to install twrp and another rom to my Le 2. After a great effort i managed and i installed EUI 5.6.014S version..Now i have other problems,every time who i turn on wifi the device download the newer version of EUI,but when rebooting to recovery (to finish the update) shows up the twrp recovery and stops there,i try to install by twrp the update but the device does not turning on (or stucks on logo or turn on and off all the time).Now i don't know what can i do,i want to remove twrp and return to recovery of the device but i cannot because i don't have the zip file who need to do this and i don't know how to do this.
After all of this i'm thinking, if i remove the twrp and get back the recovery when the system needs to update the device will turning on?
The EUI version i'm using is only Chinese and English.
I cannot find nowhere official EUI in sites(all are out)..
Help me please i'm desperate..
Sorry for my English
Click to expand...
Click to collapse
https://www.needrom.com/download/leeco-s3-x626/
Put the phone in fastboot mode. install the official firmware 23S.
(you do not have twrp running since the kernel version is higher than in the firmware 14S)
Kychera22 said:
https://www.needrom.com/download/leeco-s3-x626/
Put the phone in fastboot mode. install the official firmware 23S.
(you do not have twrp running since the kernel version is higher than in the firmware 14S)
Click to expand...
Click to collapse
(you do not have twrp running since the kernel version is higher than in the firmware 14S) I don't know what that means...
What is the procedure that must be follow?
Bobfish said:
I found download page for official stable Eui offline package, all models.
http://bug.letv.com/cn/download/phone
You might have to flash gapps package ,use this gapps for AOSP/CM roms:
https://forum.xda-developers.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368
Click to expand...
Click to collapse
I try this but it was a disaster...But thank you ....

Stuck on error 7 TWRP

Hello !
I tried to flash my Z2 Pro from custom french rom to a custom rom.
This one exactly : https://forum.xda-developers.com/zuk-z2-pro/development/rom-resurrection-remix-o-6-0-0-t3763653
First I ve flash to ROM Stock, and I m now on ZUI 2.5.335 ST.
Bootloader is unlocked.
Now my problem is, I can't flash to any custom ROM, I m always stuck on ERROR 7.
I guess I don't have correct TWRP version ?
Please help me
Thank you !
First if all update to latest stock.
Second flash factory to vendor zip since new roms are treble enabled.
Third flash custom rom.
This is shortened tutorial, why abd how to flash step two please search this forum.
Oriwen said:
First if all update to latest stock.
Second flash factory to vendor zip since new roms are treble enabled.
Third flash custom rom.
This is shortened tutorial, why abd how to flash step two please search this forum.
Click to expand...
Click to collapse
Hello,
Thank you for your reply.
When I go on androidfilehost.com 2.5.335 is the latest stock available for Z2 pro. How can I update ?
I will search for step 2 tutorial then.
thank you again
https://zukfans.eu/community/threads/zui-3-5-344-twrp-discussion.8048/
Hello my friend.... I'm new in the xda, but I have accomplished install AOS ROM with https://mega.nz/#!PE1jGIIS!zVSMUDSS_ZRjNVFIYt1m1-QaM-TCvt0jzontIEwAKc8 I'm not sure how it works but WORKS to me
1.- I install TWRP 3.1.0-0 for zuk z2 pro
2.- I install factory2vendor_z2_row with TWRP
3.- I install AOS ROM https://forum.xda-developers.com/zuk-z2-pro/development/rom-aospextended-rom-v5-0-t3683238
4.- Factory Reset
BUALA!!! works to me
I hope works to you....

Cannot install any custom rom

Hi,
I tried to install custom rom on my k20 pro but it's shows error everytime . Error 7 and after that know it's showing error 6 had installed orange fox recovery.
Tried corvus and evolution x both are showing the same thing error.
I don't know what is wrong am I missing something,
Now I flashed stock rom again. Because of the problem. Tried fixing error 7 and know I am getting error 6 and know if I try other rom is showing me the same thing error 6 .
Know I have flashed 12.0.2. after so many failed attempt.
what is your twrp version?
Maybe mount system and vendor before flashing.
Mi 9T Pro ll Tapatalk
Tried orange fox latest r11, and tried sky hawk also but same.
On twrp it's not installing properly don't know why,
Any help on what to do and what is this error 7 and 6 I am getting while flashing
kibria.mgk said:
Maybe mount system and vendor before flashing.
Mi 9T Pro ll Tapatalk
Click to expand...
Click to collapse
Before wipeing the vendor ??
Can you tell me in detail to mount and flash
SSfalcon said:
Before wipeing the vendor ??
Can you tell me in detail to mount and flash
Click to expand...
Click to collapse
Before flashing the rom
Mi 9T Pro ll Tapatalk
Install TWRP 3.4.0-0 from here, then try installing a ROM again.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
SSfalcon said:
Hi,
I tried to install custom rom on my k20 pro but it's shows error everytime . Error 7 and after that know it's showing error 6 had installed orange fox recovery.
Tried corvus and evolution x both are showing the same thing error.
I don't know what is wrong am I missing something,
Now I flashed stock rom again. Because of the problem. Tried fixing error 7 and know I am getting error 6 and know if I try other rom is showing me the same thing error 6 .
Know I have flashed 12.0.2. after so many failed attempt.
Click to expand...
Click to collapse
Did you flash vendor zip before flashing custom rom like evolution x?
ishten said:
Did you flash vendor zip before flashing custom rom like evolution x?
Click to expand...
Click to collapse
I am on miui 12.0.2,
Still I need to update or flash vendor/ firmware ??
Robbo.5000 said:
Install TWRP 3.4.0-0 from here, then try installing a ROM again.
https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Click to expand...
Click to collapse
Ok will try once on this twrp.
Can you tell me are you using the latest twrp and are you facing any error or anything..
SSfalcon said:
Ok will try once on this twrp.
Can you tell me are you using the latest twrp and are you facing any error or anything..
Click to expand...
Click to collapse
I've been using mauronofrio's TWRP on this phone for over a year and never had any problems with it when flashing ROMs. I've recently updated TWRP to the latest 3.4.0-0 and had no problems flashing LOS.
There is one bug that has never been fixed. Sometimes when you boot into TWRP it does not recognise any touch on the screen. Just turn the display off and on again with the power button and it works fine after that.
SSfalcon said:
I am on miui 12.0.2,
Still I need to update or flash vendor/ firmware ??
Click to expand...
Click to collapse
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
ishten said:
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Click to expand...
Click to collapse
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
ishten said:
1. Use orangefox recovery. (Recommended)
2. Flash vendor zip if you want to use custom roms.
URL: https://downloads.akhilnarang.dev/M...al-V12.0.2.0.QFKINXM-10.0-vendor-firmware.zip
Download zip using above link,
3. Flash using Orange Fox recovery
4. Flash custom rom.
5. Finally flash Disable DM variety
URL: https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Click to expand...
Click to collapse
SSfalcon said:
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
Click to expand...
Click to collapse
The TWRP I've pointed you to is the better option. Orange Fox is only good for installing if you plan to stick with MIUI.
There is absolutely no need to flash DM Verify, or a DFE script.
You will not need to flash firmware and vendor files if coming from the latest MIUI 12.
SSfalcon said:
I am MIUI 12.0.2 Stable india, still do I need to flash the vendor zip ??
And why I am on the lastest miui 12 right ??
Click to expand...
Click to collapse
If your indian why dont you watch one of the million videos in your language on youtube that show you how to flash?

Categories

Resources