yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] LuK1337:
Why are you asking here?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
Updating from 17.0 to 17.1 almost bricked my device!

I dirty-flashed LOS 17.0 over 16 which worked well. Then, I dirty-flashed 17.1-20200104_001812 over 17.0 and it didn't boot anymore. I reinstalled Gapps (arm64-10.0-nano-20191209-BETA), then it booted again but I had to go through the setup dialogue. Then it worked fine, without having lost data. Very weird. I'm guessing it's a Gapps issue, but sadly, I wasn't home and couldn't get logcats.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Same here :(
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Crescendo Xenomorph:
[MENTION=5075128]LuK1337[/MENTION] ROM OS Version: Windows 8 Mobile ??
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] LuK1337:
Are you new here?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Crescendo Xenomorph:
just kidding bro... ;)
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Paulo4fan:
Very smooth android 10 rom for Natrium. Thanks Dev very much!

I have a question: which is the best compatible Gcam mod version for this rom? I try a lot of mod but sill get problems:

- some moded apk have option to fix front cam green overlay but stuck when enable HDR/HDR+

- some moded apk working with HDR/HDR+ but don't have option to fix green overlay.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Crescendo Xenomorph:
as for Digital Wellbeing, I think this post is relevant: https://xdaforums.com/showpost.php?p=81143463&postcount=6389

Maybe it's due to missing overlay as Nezorflame stated in the post....
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Is possible to activate "trusted face" in some ways? Because there isn't the option in settings and I'm reading on internet that it is a feature that Google remove from Android 10 :crying:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] jdefaver:
Hi,

after trying a dirty flash with stock beta gapps, I had trebuchet crashing, so I did a clean flash. Now google play services are crashing : any ideas ?

Thanks !
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
[MENTION=5075128]LuK1337[/MENTION] what's new with the 20200111 build?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
i really wanna try this rom but i don't have the time to get my stuff back going if i mess it up or something. Can i use this as my daily driver? Currently using los 16 and it's pretty stable and fast.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] BigFatTony:
for me, it's stable enough as daily driver. but the update may fail. it is a risk... if i were you, i'd do a complete backup in TWRP, then you can roll back easily. if you don't have enough space on your device, you can backup directly to your computer: https://www.theandroidsoul.com/twrp-backup-pc-adb/

((btw, upgrade from 20200104_191334 to 20200111_135009 required me to flash gapps again but worked well otherwise.))
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] vic97:
[MENTION=5075128]LuK1337[/MENTION]

are there any recommended firmware before flashing lineage 17.1 because xiaomi has stopped releasing developer builds, 9.10.10 seems to be the last developer build
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] yucastanharo:
Any of you facing BT audio problems on calls? BT headphones working OK with music but not with audio from calls.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] AlecJY:
Does anyone know how to make NFC-SIM work?

The app provided by telecom cannot detect the NFC-SIM, which is worked in MIUI with OpenMobileAPI installed.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Nope
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] harvey186:
Is camera working without spying GCAM ??

Where can I find the vendor sources ?? Lineage Git doesn't include xiaomi vendor sources
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Camera works, both with gcam and stock app
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
last running 100% correctly

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
How many hours of sot do you get? Mine is 7,3 hours without any games.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Miosp:
Hi, i just installed rom then got gapps pico and magisk so i can get that juicy viper4android 2.7.1.0 and after installing driver my phone doesn't boot and goes straight into fastboot. I need to reinstall magisk to get it working again. I tried method with audio library module and compatibility mode with same result. Am I doing something not correctly?

Edit: Installing gapps nano causes phone note to boot
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Which gapps are you using?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Miosp:
Currently i use pico arm64 android 10 from 29.01.2020. Nano arm64 android 10 from 29.01.2020 made phone stuck on boot animation and then restart to recovery mode.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Try to flash just the ROM and the gapps
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
I'm having the same problem, have you solved?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
I instaled

Build 11/1

Magister 20.3

open_gapps-arm64-10.0-nano-20191209-BETA

And working perfect for me

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
You are able to call with Bluetooth earphones?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] imam.krismanto:
Hi [MENTION=5075128]LuK1337[/MENTION] thank you for great rom... But i had found a bug, why no pointer when phisical mouse connected? Can you fix that?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
I dont use earphones, but use speaker bluetooth and work fine, i change this option in Android 10.

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Lineage os version lineage-17.1-20200201_030031-UNOFFICIAL-natrium.zip

Gapps

open_gapps-arm64-10.0-nano-20200124.zip

Stock kernel

Bluetooth headphone doesn't work for call, instead bluetooth Speaker work.

I noticed random freeze of WhatsApp, usually typing on the keyboard
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Update of earphone problem after 20200204 ROM update.

Now earphones with Bluetooth 4.1 or lower works :D , instead earphones with Bluetooth 5.0 doesn't.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] SergioRius:
I was having terrible batt issues with the latest miui10 global on my device so this week just migrated to this rom. My battery duration has improved and now the phone doesn't shutdown with 50% batt. The system seems to work well.

I'm trying to get used to LOS but it seems to me so basic compared to MIUI.

Can someone tell me how do you get basic functionality that miui had like:

Scheduled power-saver/do not disturb while sleeping

Do not auto-connect to a wifi :eek:

Remove all background apps from memory in a row from task list (like miui does)

Force kill an app with holding back button.

Blacklist from contact list, so to block all the numbers in that contact (manually writing number only? really?)

Dialer shows an icon to record a conversation, but where do you access to those recordings?

Those seem to me real OS misess, do they have to be provided by external apps? Magisk modules? or can the MIUI dialer been reimplemented, for example?

Also, when starting lineage for the first time, it only recovered/stored call logs, messages, etc.... from that date backwards, but from the past year, so if I migrated 4th february, I only have call logs to the 4th february of 2019, not 2020. And it said that I had still more than 500 contacts still missing. I dont remember having that huge amount of contacts, and in the contacts list seem to be all of them.

Thanks.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Same problem with 20200209 version, Bluetooth 5.0 earphones don't work for call and microphone
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
The whatsapp freeze really is a pickle. The whole system freezes and reboots sometimes. Using the last version with floppy kernel and magisk.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
What floppy kernel version do you have installed?

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
18.01.2020 appearently

Linaro
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
is the link in the forum?

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Same problem in 20200211
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
Yes it says "autonomous builds"

here you go

https://github.com/JonasCardoso/android_kernel_xiaomi_msm8996/releases
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] D5Y8J@Q:
When official lineageOS 17 for Xiaomi Mi 5s Plus (NATRIUM)?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] alperi:
Which one should we choose from here? I will install kernel for the first time.

FloppyKernel-Mi5SPlus-Prime-Pro-15022020-arter97-Ten-HMP.zip

FloppyKernel-Mi5SPlus-Prime-Pro-15022020-Clang-Ten-HMP.zip

FloppyKernel-Mi5SPlus-Prime-Pro-15022020-Google-Ten-HMP.zip

FloppyKernel-Mi5SPlus-Prime-Pro-15022020-Linaro-Ten-HMP.zip
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] dozezzz:
Smooth，It's very good，thank you very much for your contribution.

---------- Post added at 02:13 AM ---------- Previous post was at 02:06 AM ----------

As a mobile phone produced in 2016, it is very good to be able to use it until now and have the latest Android Q support.Thank you
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] S YILDIRIM:
i use the last one."linaro"
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] imam.krismanto:
hi [MENTION=5075128]LuK1337[/MENTION].. please build your rom with release-key instead of test-key. Your rom is great but detect rooted on banking app.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] TheJags:
Couldn't install lineage-17.1-20200307_153746

Just in case if anyone run into the similar issues, always take a backup first.

While trying to install the latest ROM lineage-17.1-20200307_153746 through TWRP, I ran into Error: 7.

Error message I got in TWRP:

Patching system image unconditionally.
E1001: Failed to update system image.
Updater process ended with ERROR: 7.
Error installing zip file '/sdcard/LineageOS/lineageos-17.1-20200307_153746-UNOFFICIAL-natrium.zip'

I had removed Magisk before installing the ROM. Luckily, using USB-OTG, I was able to flash Luk's ROM from lineage-17.1-20200209_155551.

Though even after flashing Feb 09 RM, the phone wouldn't boot, so flashed the ROM again and this time flashed open_gapps-arm64-10.0-pico-20200307, rigth afterwards, and finally was able to log into the phone.

Then somehow permissions of all the apps including Play store, Play services etc were reset to none. So had to correct the permissions too.

Edit: I was updating the ROM from Feb 09 to Mar 07.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] imam.krismanto:
[MENTION=5075128]LuK1337[/MENTION] .. Why i got very lag when charged?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Crescendo Xenomorph:
install thermal mod with magisk...

also prolly you battery is too old...

I changed mine & it resolved the heating issue...
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] MrDotWalker:
Thank you very much, I just looking for android 10 rom for a long time...:good:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Which thermal mod are you using?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Crescendo Xenomorph:
This one: https://xdaforums.com/mi-5s-plus/themes/mod-lineageos16-thermal-throttling-fix-t3833400

Further modded by me: https://xdaforums.com/showpost.php?p=80073101&postcount=38
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Rapteee:
Rom works fine so far, but battery life is worse than LOS16. Thanks for the throttling fix post, it fixed the stutters I also had with LOS16. Great work Luk.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] suntitan:
Has someone managed to get V4A up and running? I've tried already a few ways of installing it but every time I got stuck at fastboot screen and I would have had to uninstall Magisk via recovery.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] dawid0089:
Yup. IT work well. On early versions android 10 delete post-data-fs from viper magisk module folder in recovery
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] emrebulgur:
Hi Folks. Mi Phone Mi 5S Plus. OS version Lineage 17.1. Gapps Pico. Bluetooth Devices Ashank Bluetooth Slider C200. Control Software Smoothone. Program wants Android Version 9.0. My Daily Cellphone Mi Note 10. I have no trouble connecting with the Mi Note 10. But I am constantly having trouble with Mi 5S Plus. It is very difficult to connect and it breaks constantly. What would you advise me about this? Is there a setting I should make? Shall we not switch to another os version?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] suntitan:
Thank you! That worked perfectly.

Here's explanation of this method: https://xdaforums.com/mi-8/themes/guide-force-enable-viper4android-stuck-t3972551

I still got a problem with processing in V4A

But I solved this isssue by simply installing Audio Modification Library in Magisk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] lokenk:
@ LuK1337 17.1 please come official
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Yhy1998:
Installed it and have been using it for the past few days. Battery seems to be fine for daily casual work e.g. checking social media basic browser work. How seems to have issues when running intensive software e.g. high intensive graphics games. I play Call of Duty Mobile and it's not the smoothest experience. Overheats very easily and causes the CPU to start throttling. Otherwise all good. Thanks for Android 10 ??
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Yhy1998:
Heads up, hopefully the developer may pick up on this.

Unable to setup up screen lock, whenever I attempt to set up pin lock it mentions that it has been done but reverts back to none lock status (swipe or none).

Not essential for me as I use it as an entertainment spare but someone else might be interested in working on this
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Lorenzopapi99:
Is battery good? (Especially compared with PE that is horrible)
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] davorzilic:
I have never tried PE, but it is much better than the Miui 11 stable from xiaomi.eu.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] mrchino_mapache:
this is the only ROM that is constantly updated

Enviado desde mi MI 5s Plus mediante Tapatalk
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] wedra:
Nice, thank you!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] kaboom83:
Upgraded to official 17.1 today. All went good. Made a TWRP backup just to be sure, sideloaded the image and gapps and booted to Android 10 with all my previous data intact.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] marcovibe:
Thank you LuK for the official update to 17.1! Much appreciated!
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] hasansarikaya:
You are wonderful luk, thank you.I will try as soon as possible. <3 <3 :good:
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Yhy1998:
Is it only me or is anyone having issues trying to put on screen lock after getting on LOS 17?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] deactivated17:
Help

when i flash lineage os my phone wont restart maybe brick , how can i flash lineage OS? im using stock rom MIU 10.2.4.0
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] dogeweb:
Hi, fantastic ROM, works very well.

A week ago I have installed clean the 17.1 of 7/7 with the latest TWRP.

I got the error:

ERROR: This package requires firmware from MIUI 8.11.23 developer build or newer. Please upgrade firmware and retry!
Updater process ended with ERROR:7

I resolved deleting the asserts in the META-INF\com\google\android\updater-script

Today I received the 07-14 OTA and I got the same error.

Is there another way to update without having to edit and rezip the file or is there possible to remove the asserts in future releases?

I have about 2/3h of screen time and 7/8h of standby time, I have installed a new battery after the installing. Is this normal or the phone is consuming more than it should?

EDIT:

I have found that I can update the firmware, but I can't find any guides about. How can I update the firmware with the TWRP?

I found this firmware https: //xiaomifirmwareupdater.com/firmware/natrium/

Does this work and which one should I install?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] wedra:
I have the same problem (around 4h SOT) even with the new battery bought on AliExpress. The stable global firmware works good, and yes, just flash it by TWRP
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] dogeweb:
Thanks a lot, I will try. I have read that flashing firmware in some cases locks the bootloader and bricks. Is the global stable safe to flash with an unlocked bootloader?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] wedra:
Yes of course, it's not a rom, just the firmware for modem/baseband
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] deactivated17:
thanks so much luk ! i hope in the future updates you add game mode :)
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] davorzilic:
Hey Luk, thanks for the great rom.

I have Mi 5s plus 4/64 and I am using your rom for a few months now. It is rooted wit latest magisk and I am using greenify to help with battery and smoothness.

Over all it is a great rom, very smooth and stable.

But there are few bugs, but only one really problematic and it is the problem with gps. It can locate my phone but navigation doesn't work, it says that phone could not find gps signal.

There is the problem also with the loudness of YouTube Vanced (last magisk version). It is sometimes to quiet but when you pause video and then press play it starts again with normal loudness.

Is there any fix for the GPS problem, for me it is deal breaker but I really like to stay on this rom?

I am attaching screenshot of gps test app.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] _mARk:
change the default configuration to a different gps.conf

I had a similar problem

additionally, the GPS was unstable and inaccurate

reconfigure gps.conf and that's fine
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] davorzilic:
Thanks mARK, can you please tell me how to that. I am not a developer so I am not familiar with manual configurations?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] _mARk:
replace with the file I added

/vendor/etc/
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] davorzilic:
Problem with gps still persist. Thanks to mARk's fix, navigation becomes usable but during driving gps signal every few minutes gets lost.

As it is deal breaker for me, I have tried to get back to MIUI but TWRP doesn't aloud me. When I try to install latest xiaomi.eu rom it gives me error 7 and when I try to recover latest backup it gives me error 255. So now I am stuck with lineage without proper working gps.

Does anyone have some kind of solution?
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] _mARk:
if you make install miui clean install then first format data, vendor, system...

if you stay on Lineage check the izat.conf file yet

turn off gps accuracy, set only sensor gps in settings
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] NatriumLink:
What version of TWRP you use? If it's the latest version downgrade your TWRP to 3.3.1.0
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] davorzilic:
Thank you NatriumLink, downgrade of TWRP helped, I have installed MIUI without any problem.

Now GPS rocks. Lineage is really great ROM but with one serious bug and it is unusable GPS. Hopefully it going to be fixed soon. Anyway thanks to developer for such hard work.

Here's the screenshot from gps test and this one is tested in interior running miui 11.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Zjanis:
i have the same problem no fix for gps...

EDIT: looks like the last update fixed it.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] kaboom83:
Hey everyone... It seems I made a silly mistake of starting the weekly update with a low battery charge :( So I just went from 10.11. to 17.11. ... was away from the phone while it did the upgrade and when I came back it was turned off and it would not turn on. I charged it and then turned it on. After a very long time booting LineageOS animation it goes to TWRP.

I tried:

-reinstalling 17.11. and 10.11

-I just recently installed magisk and magisk manager - so I also used "magisk uninstaller.zip" in TWRP

-original ROM boot image

all of the above in different combinations and sequences - I'm still in bootloop. any ideas would be welcome.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] serzh174:
Hello

On 17.1 from February 26 and early firmware, the screen turns on during a call because of this, you press all the buttons on the screen with your cheek.

tell me if there is any solution to this problem.
[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] Jing Arjay87:
Hi, is it possible to access the rear secondary monochrome sensor? I'm on the latest lineage 19.1 and I can't seem to get access to the secondary camera with open camera using cam2 api