yashsingh1/xdaforums huggingface dataset:
[Essential Phone Questions & Answers] starcms:
The only issue with this method is since twrp11.img is based on TWRP 3.2.1, it cannot decrypt the phone unless the lockscreen pattern, pin, or password is removed. This also deletes any fingerprints, so not only do they have to be readded, but also reprogrammed into any apps that use them (like banking apps).

[MENTION=5447216]aer0zer0[/MENTION] or anyone that knows how to build TWRP for the Essential using the Nougat build image (like the twrp-mata_11.img that we currently use),

Would it at least be possibly to build TWRP 3.2.2 or TWRP 3.2.3 using the Nougat boot image (so the touchscreen will still work) but decryption will also work with a lockscreen pattern, pin, or password set? Much thanks!! This would solve the vast majority of headaches using the current TWRP version. 3.2.3 even lets you sideload OTAs without decrypting and has alot of other new features compared to 3.2.1.

TWRP 3.2.3 hasn't been officially released, but it is on their GitHub. https://github.com/omnirom/android_bootable_recovery
[Vivo Nex Guides, News, & Discussion] racercodeman:
Earlier 'Ok Google' voice match and access were not working but with the update v 1.7.18 received today, it seems to have been fixed. BTW this is for the Indian Version.

Any other changes with the update? Please share.
[Vivo Nex Guides, News, & Discussion] achyut:
Low light improvement shown in changelog.
[Vivo Nex Guides, News, & Discussion] dstarr:
Does anybody know if we will get this update for the Chinese rom?
[Vivo Nex Guides, News, & Discussion] aw1007:
can we use the latest global rom and update our chinese version?Where to download the full rom?
[Tilt, TyTN II, MDA Vario III General] tvos:
Friends,

Right now, I use vonage and have a 800 number forwarded to my cell #.

Thinking of dropping vonage going with a different package. Anyways, can anyone suggust a good realiable pay as you go along product that gives me a 800 number that I can forward to the tilt? - Cheap is what I have in mind..:)

Please advise,

Tvos
[Tilt, TyTN II, MDA Vario III General] XtreMe_G:
u might be better off asking this in the general forums. i've used broadvoice in the past, they had cheaper plans compared to vonage, but i dont know how it compares with the 800 number. you can also look at some voip providers like voipbuster, but i dont think they provide 800 numbers
[LG G6 Questions and Answers] fernan_yeles:
Hi!!

I'm having problems to update from android 8.0.0. My phone is no rooted, the bootloader is open (I have learned that it's so expensive to close it xD xD, when you close it the phone makes briked) and when the update is downloading and the phone needs to reboot to install it, I can't because apears TWRP and I can't to install from here, and I don't find the normal or stock recovery to install it.

What can I do?

Thanks in advance!
[LG G6 Questions and Answers] Alpha-Retard:
You can flash this in twrp just like any other rom.

https://xdaforums.com/lg-g6/development/rom-eu-lg-h870-20a-rom-t3794503
[LG G6 Questions and Answers] romcio47:
I had my phone unlocked and rooted with Fulmics 4.2 onboard.

Right when Oreo dropped, I locked my phone and flashed the update straight away.

No brick occured.
[LG G6 Questions and Answers] fernan_yeles:
So I not need another OS, in fact, I have this oreo installed, but when the system sais that there are updates (now I have one update pending of 700mb) and when it's need reboot for install, this can't finish because TWRP appear, and doesn't let it finish to install the update...

I don't know exactly what I need to do, and I don't want to lose mine actual OS.

Could be possible to update the updates, likely manual mode or similar? Without reboot the phone and avoid the reboot and pass by twrp?

Thanks again
[Android Q&A, Help & Troubleshooting] almoniplo:
I use a Galaxy S5 (G900H) with rooted Android 5.0.

I am connecting a serial device to it via USB using cdc-acm driver (compiled in the kernel) and trying to read it from my android application, It works fine on other devices (older and newer).

When connecting the device, the device file /dev/ttyACM0 is created but when trying to read from it I receive an error Permission denied.

When running

setenforce 0

and setting SELinux to Permissive mode - everything works fine and the app reads the device file successfully.

After connecting the USB in Enforcing mode, the dmesg says:

cdc_acm 2-1:1.0: usb_probe_interface
cdc_acm 2-1:1.0: usb_probe_interface
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.0: ttyACM0: USB ACM device

I tried making a new policy using audit2allow but couldn't find any "denied" message to use in order to create an "allow" rule.

Is there any way to use the device file via my app without setting SELinux to permissive? I can edit the kernel and make a new one if needed, but I really prefer not to.

Thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
Based on China firmware - oreo

Debloated and optimized for speed/battery/stability

• Round corners option (Setting->Display->Round corners)

• Extended power/reboot menu

• Basic Gapps

• ad-blocking host file (you can revert to clean host or social media friendly flashing via TWRP one of the attachments)

• fast GPS lock

• pre-rooted with Magisk

• no anti-rollback

[ Best performance & battery]

8.10.25

Suggested firmware: 8.8.30->8.10.11 - Download from here

[ Latest update 8.11.22 ]

- Gapps updated

- icons updated

- more fixes and improvements

[ Previous changelog ]

- Mi AI machine learning program

- Optimization - Face unlocking speed

- Fix - no more flashing screen in the process of fingerprint unlocking

- New - Portrait mode in camera

- Compass Optimization

- new animation

- new baseband

- select network type only 3G and 4G

- Ability to hide applications

- Updated personal assistant

- New clipboard

- Up to 6 icons in the dock

- New icons

- Better battery management

- Updated Busybox

- centered clock option

- vertical clock option in lock screen

- new video wallpapers

- camera2api

- new GAPPS!

[ Download ]

https://yadi.sk/d/jdx3Q8MJgYogBg

Create your Yandex account to bypass the limit reached message.

NOTE: if you're dirty flashing, uninstall magisk BEFORE the first run to avoid bootloops. Then you can install it again afterwards. If you want to avoid ANY problem, always clean flash (wipe cache, dalvik, data)!

[ Miui dev firmware db ]

https://sourceforge.net/projects/xiaomi-firmware-updater/files/Developer/

[ Extras ]

KERNEL

For extra-smoothness you may give the Darkness Kernel a try. All settings default, just use FIOPS instead of CFQ. Backup your BOOT partition, to rollback in case something goes wrong.

SOUND

Being an audiophile, I guarantee you'll get the best audio quality using this amazing mod:

Ainur Sauron Mod - huge thanks to its creator! Compatible with Magisk 16 only for now.

GCAM

NEW! GoogleCamera_6.1.009.215420794-test3.apk

GoogleCamera-Pixel2Mod-Arnova8G2-V8.1.apk

In case you need to fix the Camera2 API and Install Gcam, here's another awesome thread!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cdynu:
Let see... I Switch Masik U 1.6 with Ms and will come back with an opinion.

Trimis de pe al meu MI 5 folosind Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Looking forward to your review, how many hours SOT? Does it have Gesture Anywhere (not fullscreen gestures)? Stability?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
New version [8.8.1] updated in OP.

Very stable. More than 5 hours SOT!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] gusry1313:
more language support?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
At the moment it supports: English, German, Russian, Ucranian, Viet, Chinese, Japanese, Spanish...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] gusry1313:
I need korean, in language pack... :crying:

I've already tried this Rom and I know it's a good Rom.

Therefore, I wanted to try it in Korean even more. :victory:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vinicasotti:
Great battery life. I only have one problem with MiuiMS: Spotify does not work properly! I can only listen to the music that is already saved in my playlist.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Veelog:
Stuck on boot animation. Help.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cdynu:
With this ad-blocking host file can't see any video on my trusted sites with any browser . ad-blocking host file are useful but not in this way...Can disable in any way ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
post removed
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
The affected file is:

/system/etc/hosts

you can try flashing via TWRP the social-media-friendly, or revert to a clean host file using the unhost.zip, then apply the adblocker you prefer ;)

Attachements added in OP!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] keceabiz:
Same here, stuck on mi logo
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
I think you have Korean but I could not recognize it :D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
If you wiped system you need to wipe data as well or you'll be stuck.

If you're upgrading from an oreo rom, you can try wipe just cache and dalvik.

Leave system and data untouched.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] q52carad:
I deleted all, system, data and cache. And stuck in mi logo too.

I come from Masik 1.6
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
First boot may take quite a while (20 mins or so)

If you already waited patiently...you can try restore your previous Masik and ONLY wipe cache and dalvik.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ono995:
The good Rom I use from the first time comes with 10. I hope there is Indonesian on this ROM:Hai
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] pylm69:
Now that's promising, I've been using MIUI nougat + dragonXia (which I can get reliable 5+ SOT) because all MIUI 10 ROMS I've tried gave me like 3h SOT at most.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] partha_rc:
Is there no other way to download? This site is all in Russian which I don't understand.

Partha
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] zephy09:
Is this based on eu stable rom? Or it's just an update?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
It's an update from latest and last beta. Final will be numbered MS 10.0.x and based on

china

stable ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
Hello

How to fix fast battery drain on miui Ms 8.8.23 ?

I do Clean flash but not solved

I calibrate my battery with battery calibration app but didn't fix problem too

Please help me to fix tihs issue

thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
You must do Clean flash (wipe 4 necessary part like cach , system and etc...) to fix this issue
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
When mobile on extreme battery saver mode, the hidden icons are opened in homescreen.

I think this is a bug.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
Hello my friend I can't find extreme battery saver mode

How can I activate this option?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] mic87xp1:
Cache, system, dalvik and data? Because i wipe them but I still have this issue
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
If after wipe Cache, system, dalvik and data your issue didn't fix I think you must format date on TWRP then wipe Cache, system, dalvik and data or do reset factory on TWRP may your problem will be fixed
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
Awesome battery and performance in deed.

Any chance to add Portuguese language in next build?

Thanks a lot [MENTION=5160773]dev>null[/MENTION] [emoji1690]

Enviado do meu MI 5 através do Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tryingtocramthisinmybrain:
Quick question, do you recommend a specific magisk version for use with the new update 8.9.4?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FadjarDarwin:
Magisk 16.0 still working fine
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
17.1 also working fine
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] lilicaull:
what kind of SOT are you getting ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
Only tested yesterday, had 4:48h SOT with still 26% battery left.

Enviado do meu MI 5 através do Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
Did you change your battery?

And how can I get this SOT?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
Change battery? No, it's still original, my Mi5 have now 1 year and 3 months..

I did a clean install of the ROM.

To be honest, I try a lot of roms weekly, never had this much SOT on any ROM before, neither Oreo, Pie, or even Nougat..

See screenshot below..

Enviado do meu MI 5 através do Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Try MIUI Masik latest version U v2.4
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] virushunt:
Why magisk isn't installed automatical anymore?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] lilicaull:
hmmm...that`s crazy ... i could only dream of this :)) i get 1.5 h SOT and 16 H before i have to charge it again.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] gusry1313:
it's a very nice Rom.

but..language support is too lacking..:crying:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
Seems to me you battery life is not the best, maybe consider a replacement?

I have now 25% left after 17h use and 4 hours SOT

Enviado do meu MI 5 através do Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tryingtocramthisinmybrain:
Thanks for the response! Installed latest magisk 17.1 stable :good:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Miui-member99:
Me too
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tryingtocramthisinmybrain:
Battery life update - 8.9.4

Reinstalled 47 apps with Titanium backup, mixed use, lots of chrome, WhatsApp and Facebook.

2h SOT and still had 59% battery left.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] virushunt:
Why magisk is gone?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
A new update appeared on Mi5 Arsenal

8.9.6, but when I go to download page only appears 8.9.4 for Mi5?

Enviado do meu MI 5 através do Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] obezianko:
Sorry, but how can I change, for example, icons in any theme in theme manager? Because, I don't have a components button in theme in theme manager. Any solution? Thanks a lot
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
See upper left corner
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] obezianko:
Ufff, I'm dumb, lol! Thanks a lot!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smart_thingup:
No mirror or google drive upload?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sanlajela:
Hi all,

I have the latest 8.9.4 with Magisk 17.1. My problem is I can´t paid by NFC with bank app ING Direct. Tried with Magisk Hide but doesn´t work. Any idea for resolve it?

Thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] grv29a:
Root access??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smart_thingup:
My notification is not showed at lock screen. I do set notification setting on each app "Lock screen notification" turn on. Also I set "show all notification and their content"

But still at lock screen it's blank without single notification
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Dru79:
Which languages has this ROM?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smart_thingup:
See attached
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smart_thingup:
At lock screen, all notification at status bar is hidden, can it always show notification icon at status bar?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] virushunt:
https://yadi.sk/d/1d6S7ZOtsZ_pDw/MiUIms_MI5_8.9.13_8.0.0.zip

Center clock Mode is in there now. Activate it in settings Statusbar
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
How can you get this link?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] HmMarques:
Still no more languages?[emoji21][emoji21]

Anyway, thanks for the center clock feature..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] gytepr65:
Hello,

Will that version work With Xiaomi mi 5s??
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] virushunt:
This is Mi5 gemini. I don't think so.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
Ver 8.9.13..

Amazon, mi store, banking apps are not working.

Revert back..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vinzikidz:
Please give us a mirror link for download. tia
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cabs77:
The download for MIUI via Yandex is not working.

I am logged in to Yandex and still the message "limit reached"comes.

Is there an other possibility to download?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] virushunt:
Try this one

https://yadi.sk/d/i-iUgB_wDdDo2Q
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cabs77:
https://sourceforge.net/projects/xiaomi-firmware-updater/files/Developer/
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
New version 8.9.20 added in OP :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sanlajela:
2,4 GB and downloading...:eek::eek:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] parherik:
I think you've opted to download it for all ROMs, you need to select the Mi5 gemini file then download that.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sanlajela:
Dammit:crying:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] ejatamer:
banking apps etc wasnt work since last update.please do something dev...or it will just stay like that?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
Did you install Magisk? My banking apps works perfectly.

Also one should provide app details, crash reports, error logs. A little more than "something's not working"
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Runner17:
Idiomas

Rom very good thanks for the work !!!

Could you tell if you have Portuguese BR in the languages?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
No portuguese yet, sorry!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Runner17:
It could come in the next update because this is the best Rom I've tested so far. Think about working on it, please.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] daSayeam:
How do I get rid of screen burning issue?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] engloa:
Hi there

At XDA we use English. Please edit your posts and add English as stated in the forum rules

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] helleon:
Unable to create account at yandex, need mobile number. But my mobile number is not supported. Or need type russia characters, which is I can't understand.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Please add Settings button on pull down status bar
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tryingtocramthisinmybrain:
You should be able to change it in the settings menu.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] yorllin:
Best ROM for mi5, great battery life here thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] lilicaull:
i just changed the battery and i cannot get anything past 2 hours SOT
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] quynhngo:
Please make the option that I can choose not to root my phone. My banking apps refuse to start if the phone is rooted.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dev>null:
Here's the latest magisk uninstaller. Just flash it.

https://github.com/topjohnwu/Magisk/releases/download/v17.2/Magisk-uninstaller-20180921.zip
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nitzanb:
Can you please post an installation guide?

I wish to change my wife's phone and have lot's of experience with Xiaomi

Cheers
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kyoshironibu:
Im using the latest rom . But got problem on my dual sim . When i try to change the data sim to my sim 2 my sim 1 got no signal . And same with sim 2 when get back data sim to sim 1

Please help me to fix im starting to love the performance of my phone with this rom

Thank you
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
I got almost 5 hours by lowering brightness, and about 3 hours or so with brighter screen

---------- Post added at 06:51 AM ---------- Previous post was at 06:48 AM ----------

My banking apps working fine with Magisk installed, just add the banking apps to "Magisk Hide" on Magisk Manager

---------- Post added at 06:53 AM ---------- Previous post was at 06:51 AM ----------

If you've installed other custom rom before, it's just as simple as that to install Miui MS.

Otherwise you can find tutorial on YouTube for installing custom miui rom on Mi Device
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hamidreza4u:
Hi

After i flash miui 10 global with miflashtool without wipe external storage I couldn't add finger print and set photos to my contact and create local backup.

Anyone have these problems?

Help me pls
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Updating from Miui 9 you need to wipe everything and format internal storage, updating from earlier miui 10 just wipe dalvik cache system data, leaving internal storage untouched.

All working fine here on 8.9.20
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] hamidreza4u:
Before miui10 stable I was in 8.?.27 developer (miui10).

I am in 9.6.1stable Oreo

U mean I boot to twrp wipe system,data and dalvik cache then flash miui10 stable or 8.9.20 developer.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
If you are now on other rom than MIUI MS, then you need to :

1a. Sign out from Mi Cloud and Mi Account.

1b. Backup Everything to PC, including MIUI MS rom iso file

2. boot to twrp, wipe system data dalvik cache, and then format internal storage (will erase everything on your phone, so backup EVERYTHING first). Dont switch off phone.

3. With your phone still on and on twrp, now nlugin your phone to pc to copy back the miui ms rom iso file from pc to your phone. After copy unplug from pc. Still dont swith off phone.

4. Install MIUI MS from twrp.

5. After finished install, reboot system, wait for first boot which may take 15 or 20 minutes or maybe more (on mine normaly takes only about 10 minutes)

---------- Post added at 08:32 PM ---------- Previous post was at 08:19 PM ----------

If you are already on earlier Miui 10 MIUI MS then you can skip formatting internal storage

---------- Post added at 08:34 PM ---------- Previous post was at 08:32 PM ----------

If you are now on miui 9 MIUI MS or other miui rom, be sure to format internal storage
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smxaz61:
Im on nougat 7.1.2 now, can i just download this rom and flash after doing full wipe on twrp?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Format internal storage too
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smxaz61:
Forgot to format internal, did full wipe and it worked. Dunno why
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bensailorboy:
Congrats n enjoy Miui 10 MS
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smxaz61:
Download cf.lumen, go to master filter mode and select custom and set RGB lower than 0.8xx press ok and save. Noww go to your phone settings>permissions>auto start and set cf.lumen to auto start on boot.

Helped me a bit but not totally on my screen burn-in.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vladmitra:
change your firmware to 8.8.30