yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] FireSwords:
The rom is great, but it's sound quality is really poor comprased to stock MIUI. I own a pair of Sennheiser CX 5.00G earbuds and it's sound quality is terrible on LineageOS. When I'm using it on stock MIUI or my PC, it's sound quality is as awesome as it should be. I've sticked to MIUI because of this, AudioFX didn't help it.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Chaninoza:
Anybody has a dolby/v4a working on LOS15.1? I've tried a few but no luck
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Micro_J:
You need to make SE Linux permissive.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Deleted..
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] kadir4211:
My phone reboots itself sometimes guys is that rom's problem or hardware issue ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Do clean flash, if still check your battery
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Chaninoza:
Nevermind...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] legend999C2A:
Hi, i'm having some wi-fi problems, constant droppings, slow internet. Does anyone knows why?

I'm coming from MIUI 10 Beta and never had wi-fi problems there.

Also some apps keep constantly closing, like facebook manager app and it happened with the clock app as well.

Thanks
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ndori:
I didn't update for a long time, what are a stable firmware and los version?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] NotCat_:
If you didn't update for a while, probably the one that you are using right now.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ndori:
No it was crap,really slow and eating battery like a maniac, I was just lazy...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] rosi91:
I'm having a strange bug with the latest 3 builds or so. When I'm answering a call, the screen goes dark as it should, but when I'm trying to end the call the screen doesn't come back to live. Maybe it's an issue with the proximity sensor. Does anyone else have this problem?

BTW I replaced the screen on my phone and maybe it's an hardware problem. just trying to figure it out.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Micro_J:
Test your proximity sensor by any sensor test apps on playstore.

It is tricky to put proximity sensor module

(which is grouped with another sensors like light sensor)

back in the right place when you reassemble the device.

So if it's proximity sensor problem, I suggest you to open up the device and check it.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
I notice it too, but in mine only random behavior
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] legend999C2A:
Bump. Is it the kernel? Should i try another one?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] SH1M4BD3:
Anyone noticed drop/slow wifi connection, and how to switch freq between 2,4 to 5Ghz..??

Which firmware files recomended,thanks
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] EMC3:
Yes, wifi is desastrous in difficult situations (public or work wifi with a lot of clients), while it is working fine for example at home.

Also it seems to prefer 2.4GHz to 5GHz wifi
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] SH1M4BD3:
Exactly...that's the problem was public/work WiFI, that's why the switch between freq was absolutelly usefull, and needed isn't??
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ahmtdlbdk:
How can i swap buttons? (Recent apps and back)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mateito505:
Settings > System > Buttons > Additional buttons > Swap buttons
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Gabriü:
Coming from los 14 I did a clean install of the latest nightly. No sound, video playback is laggy and some apps keep crashing in the background..
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] jaiks:
Hello, i notice that my phone doesn't go to sleep, screen is always on on latest update. Have someone noticed as well or it's just me
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] :
Think I figured it out -- it's crashing within Android for Work, not within mainland. No idea how to stop it there, but that's obviously nota big priority.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mainasus:
Lastest update comes with laggy video playback. Does anyone knows how to fix it? Videos on youtube app and browsers have the same issue.

Many thanks!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Did you update your firmware??

https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_capricorn/releases
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mainasus:
I'm using the lastest build. Can i just flash it now or I have to re-flash the rom with this?

I'm totally new and there's something I don't understand clearly.

Thank alot! :d
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Yes you can, just flash it and enjoy. P.S. next time use search, because this issue has been talked about before, in this thread.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] rible:
Is the latest firmware based on Oreo?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
You have to look at the file on the link to see if it is Oreo based.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] LordStanley:
The Oreo firmware releases are not stable yet, use versions prior to 0920
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mainasus:
Well noted, thank you very much mate :D
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mainasus:
Hi guys, sorry for ask again but I could not find the helpful reply for this:

I have clean install the latest built 20181029 with gapps. It's always the awesome built with fantastic performance and battery, however the fingerprint sensor is not working probably. It took me half an hour to register fingerprints. After that, it's not working at all.

I tried to re-flash the rom with latest firmware I found on github. But nothing changes.

I very appreciate if someone could help me on this. It's fine to use the phone without fingerprint. But the feeling of missing that feature makes me feel a little bit uncomfortable.

Many thanks!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] OJK:
You have to get used to it. It is just a ****ty sensor/badly documented/...? Bottom line is: it doesn't work.

I am on the original ROM*, and the fingerprint sensor is not working at all.

--

*because I still read about things like laggy video, bad battery life, etc, which I am not keen to face.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] mainasus:
Ya it's not a problem at all. I can got used to it in the next few days.

But if I can find the solution. That'll be great :fingers-crossed:
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] lukas.diem:
I had problems with the fingerprint Sensor when I used a screen protection glass. After removing it, the reading works although its not the besteht ;). Maybe this helps (took me a long time to figure out this Problem).

Best, Lukas
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] NerfSKyd3R:
I notices sometimes I can't record audio for Telegram or if I make a video the audio is missing. Restarting fix the problem.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ahmtdlbdk:
There is a lag problem with playing the video. How can i fix it?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Update your firmware
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ahmtdlbdk:
Thanks for the answer. But i don't know how can i do this? Do you have any link ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Flash and enjoy.

https://github.com/XiaomiFirmwareUp...iui_MI5S_V10.1.1.0.NAGCNFI_1e3c469f60_7.0.zip
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Sn4pdragon:
Hi,

I've looked through here and found similar but not exactly the same issue that I am facing:

Firstly I am able to launch the WiFi Hotspot by enabling it directly however if i try to use a third Party app such as Automatelt, Llama, Portable Wifi Hotpot etc none of these are able to turn on the hotspot.

Using Automatelt or Llama I am able to get the apps to turn on and off the WiFi, turn on/off aeroplane mode, change the sound settings so it's obviously not a system setting not triggered but these apps aren't able to turn on or off the WiFi hotspot.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] g0t.milkk:
Performance/battery issues

I had SERIOUS performance/battery issue since the last two LOS update, and followed [MENTION=4427611]predragiPredrag[/MENTION]'s link to flash last firmware and everything is back to normal, just to let other users know...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Canales1988:
Hi, I installed the Monday version. Yesterday I missed an update and installed it. Today I missed another one. It is normal?

It's just that it never happened to me. a greeting
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Linus X.:
Same here, 3 updates in 3 days. Any explanation what's happening?

Would like to understand before installing any of them.

Cheers,

Linus X.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] j1505243:
https://ift.tt/2Pm2LOK
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Canales1988:
OK thank you very much. I did not know that this feature had been implemented.

a greeting!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Here is link for everyone to BOOKMARK latest and updated firmware files:

https://xdaforums.com/showpost.php?p=75354656&postcount=2
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] schnoeselmeier:
How would I go back from Unoffical LOS 16 (Pie) to Official LOS 15.1. ? I tried to restore a 15.1 backup in TWRP with a full wipe but got stuck on the mi logo... I suppose I have to flash something else before restoring the backup...?? Thanks in advance for any assistance.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Bitdudeman:
Attention people

New build requires Oreo firmware.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Latest build with 8.11.15 firmware seems bit more draining my battery. But performance is good as usual ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] torjek:
Hi guys!

I'm kinda new to custom roms, rooting etc. I've flashed the latest rom, but it didn't feel snappy. I've also tried AKT proflies, but it still isn't that great. Is there something else I can do?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] KENZY_PT:
Hi guys!

Where I can download the latest firmware for version lineage-15.1-20181120. I think requires an Oreo firmware but I don't know where to find it.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Read few post back
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] rafazamp:
https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_capricorn/releases
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
One thing, Take this one indicating V8.11.X like this:

fw_capricorn_miui_MI5SGlobal_8.11.15_5c5145f64a_8.0.zip

And not what seems to be the latest V10.x like this:

fw_capricorn_miui_MI5SGlobal_V10.1.1.0.NAGMIFI_691a2ec0ca_7.0.zip

As you know Oreo is Android 8.0, it's indicated in the naming of the FW files at the end.

I'm coming from another rom, and the V10 was the latest, as opposed to here where V8 is the latest.

So here the V10.1.1.0 is not the latest, it actually don't have Oreo, it's android 7.0.

I got fooled so I prefer to inform you!

PS: Of course take the Global version or CN (China) according to your device HW.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] torjek:
Both China and Global should work, since you can install both the China and Global ROMs, right?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
No, stick to your version!! HW are different, possibility to have issues.

You might be able to "install" (flash a zip, extracting some files is not that complicated). You are more likely to get some issues.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] torjek:
Okay, thanks.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] bohmy1190:
Does it mean, that I have to flash the "MIUI 8.11.8 Global dev firmware" and then, I am able to install OTA-Updates again? They are not working anymore since the 17.11.2018.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] davefiddes:
I suspect you may also need to upgrade the version of TWRP you are running. I discovered that you need to be running 3.2.3 to handle the current OTA updates. Once you have it installed you no longer need to supply your PIN/password to carry out the upgrade. The whole process is a lot smoother.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] jehy_rus:
Android clock broken

Android clock (com.android.deskclock) is broken for me with latest builds.

Here is crash log:

I have found this problem in another topic:

https://xdaforums.com/oneplus-one/help/clock-t2918126

Guys advice to go to /data/data/com.android.deskclock/databases and remove the file alarms.db

I have no root, so I just cleared application data - but I think that this is a bug and it should not happen.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] eddiri:
Firmware upgrade

Hi, I got here because latest build I could install was 20181117. Now I read that I have to update firmware und found your links. My questions:

- where do i see which version to take, global or china? I already looked up specs of the phone, build, kernel, baseband version but can not find it

- will updating firmware result in data loss or is it just like installing a new build?

Thank you a lot for your help in advance.

Eddi

Edit: TWRP ist 3.2.3.0
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Take global one if you live outside china, and updating firmware not make your data loss
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
I'm sure there's a way to identify which hw version you have (china or global), I don't know it.

As said, probably you are likely to have a global if you bought from anywhere else than China. Probably... Only you have the clues, the packaging, the order details, etc...

As for the firmware, as said you don't risk data loss. Why? The firmware zip files only contains the files which will be extracted and replace your phone current fw. For example, that's how the "baseband" version changes. It's not touching any filesystem related to data. You can simply flash firmware in recovery mode, and that won't touch any data.

In general, is good to take regular backups and copy them outside your phone. That's a good precaution.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] eddiri:
Thank you both for your answers. I bought my MI5s from gearbest and I now did take the global rom. No problems until now.

I do regular backups before installing new builds but I never had to update firmware. Therefore I was unsure. Again thanks a lot!

Eddi
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] DinKapach:
Hello,

I have LineageOS 14 and android 7.1.2, do I need to update the firmware before flashing this? and how?

Thank you :)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Since september 18th built, Lineageos 15.1 need oreo firmware, so yes, you need update your firmware before flash this rom for the first time. As you upgrade from los 15, don't forget to clean flash.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Kiddo Monster:
LineageOS version: 15.1-20181123-NIGHTLY-capricorn

LineageOS Download url: download.lineageos.org/capricorn

Gapps version: open_gapps-arm64-8.1-stock-20181123

wipe/Format Data

Error : No Sound, Video lag and Phone need to open Speaker :(
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Use oreo firmware, read few pages back
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Kiddo Monster:
fw_capricorn_miui_MI5SGlobal_8.11.15_5c5145f64a_8.0.zip ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Yess
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
Yes, typical with the incorrect firmware. FYI "oreo firmware" is the one indicated with 8.X version. The ones called "stable" (10.x) are actually android 7 (Nougat, not oreo):

https://xdaforums.com/showpost.php?p=75354656&postcount=2

Direct link:

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

Make sure to take the global or China version according to your HW specs.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Kiddo Monster:
How can I know global or China ? my Phone come with Global Rom mean Global ? or something else ?

---------- Post added at 10:53 AM ---------- Previous post was at 10:32 AM ----------

Another Problem, I can't see Phone calling UI :(
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
Probably it's global then...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Hardy62:
Can somebody help me?

I leave my phone on charge overnight, with "do not disturb" mode and "sleep as android (smart alarm app)" tracking running

I also use lullaby (white noise) feature, built in "sleep as android" app, with headphones volume set to full (i plug phone into pc speakers)

The thing is: when i wake up in the morning - my headphones volume almost always resets to "safe, to not damage hearing" levels, so white noise is ineffective and (for example) stupid noisy neighbours can wake me up.

I have suspicions, that it's happening when there is any notification coming with do not disturb mode enabled, but i'm not sure.

How to make headphones volume stay at the full level throughout the night?

Thanks in advance.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] LordS4ddler:
The battery drain seems to be very high compared to MIUI ROM. Could I do somethings? I made a clean install of lineage wiping everything.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] warface9991:
Last update drains battery. But why?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] xdavidz:
I connected to the internet, but it says i'm not
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] KopiJahe:
Do you use adblocker? Either that or your DNS is blocking request or missing entries for these domains that android uses to check connectivity status:

connectivitycheck.android.com
android.clients.google.com
clients3.google.com
connectivitycheck.gstatic.com
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] xdavidz:
I'm sorry I didn't mentioned I'm in China, and I don't want get back to miui global.(actually not bad, below the comparison of ROMs in China)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] projectgus:
The Google domains that standard Android uses for connectivity & captive portal detection are blocked in China. To change to China-friendly ones, run this from an adb shell:

settings put global captive_portal_http_url http://www.google.cn/generate_204
settings put global captive_portal_https_url https://www.google.cn/generate_204

(This issue with Android is documented elsewhere on the internet if you need more information about it - it's not 5S or LineageOS specific.)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] JamesAb:
Hi all,

I'm on 15.1-20181205-Nightly and NFC doesn't seem to be working. I can enable and disable it, but it doesn't read anything at all.

Any clue on what can be done to get it back to normal?

Edit: Well, without me doing anything at all NFC sort of decided to work, but not always. It randomly reads tags or simply ignores them. Very unreliable.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] schnoeselmeier:
Please help! I want to update from a mid November nightly to the latest (06 Jan) nightly but I always get error code 7 when I try to flash it in TWRP. I am using the latest TWRP. What might be the problem?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] adeelvirgo1984:
[MENTION=5075128]LuK1337[/MENTION] any weather plugin for LOS 15.1 ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
Hi everyone and happy new year!

I have the Xiaomi Mi5s device for 2 years and still have the official global rom with Android Oreo. However I want to try new ROMs this year.

Which ROM do you recommend me?

- Keeping the official global rom with MIUI?

- Lineage 15.1 (official) which is updated everyday?

- Lineage 16 (unofficial)?

- Syberian ROM?

- Other?

I would like a stable ROM, and if it's possible, based on AOSP.

Thanks.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pee-wee:
Realy you ask here? LOS 15.1 is recommended then ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
I've tried to install this ROM but I did not get it.

I have installed the TWRP and then followed the steps of installation in the Lineage website.

I tapped on "Format Data", but I found these messages:

"falied to mount data" and "device or resource busy".

Then I tried to reboot the device and go into TWRP again and it is not there anymore. Instead, it is the xiaomi recovery.

What am I doing wrong?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] kosmozat:
Miui installs it's default recovery on boot, so that's what happened there. Did you unlock your bootloader?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
/deleted
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pylm69:
I can't find anywhere on this thread, is this ROM HMP os EAS based?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] magicfab38:
Hi everybody, my Phone run actually under Lineage OS 15.1 unofficial and I want to know how I could install à weekly official Lineage OS ? I just need to put thé zip on TWRP and install it ?

Envoyé de mon SM-A520F en utilisant Tapatalk
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
All LOS roms are HMP, if you want EAS than you have to flash rom based on AOSP.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
Yes, I did. When I turn on the cell phone, it shows an open padlock symbol. My device has the official ROM MIUI 10.1 Global. What should I do?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Cieniek:
Do you mean - how to install official LineageOS on unlocked Mi 5s while original MIUI is still there?

Just follow these instructions again:

https://wiki.lineageos.org/devices/capricorn/install

Regarding your problematic step:

Make sure you use the latest TWRP (v.3.2.3 from twrp.me/capricorn/)

If you encounter the same error - try, while still in TWRP:

1. Go to MOUNT and make sure DATA is not selected,

2. Format DATA using advanced wipe, i.e: WIPE -> ADVANCED WIPE -> select 'DATA' -> REPAIR OR CHANGE FILESYSTEM -> CHANGE FILESYSTEM -> EXT4

If all is fine, just follow the remaining instructions.

Most likely you want to install these 3 zip files:

1. Latest firmware https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_capricorn/releases/latest

2. Lates build: https://download.lineageos.org/capricorn

3. Latest Google Apps (Platform - ARM64 / Android: 8.1): https://opengapps.org/

Reboot, smile.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
---------- Post added at 07:30 PM ---------- Previous post was at 07:29 PM ----------

Thank you very much.

I will try it.

Do I have to install also the latest firmware from Xiaomi as you say in 1)?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergiolopezsan:
I have tried your steps, but same errors.

I can't CHANGE FILESYSTEM -> EXT4.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Cieniek:
That depends on how old was the firmware you had installed with your last MIUI update. Better update firmware at this point than struggle later.

unfortunately this is not descriptive enough for me / it doesn't ring a bell:

- are you sure that you have your data partition unmounted in step 1 of my instruction?

- what does it mean "I can't CHANGE FILESYSTEM -> EXT4."? you can't click it or what?

- on the bottom right corner of TWRP there is an icon you can click to show TWRP console / log. Make a screenshot of it after your failed attempt.