yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
I'm testing for you.

I took and flashed in this order:

fw_capricorn_miui_MI5SGlobal_8.12.27_dd1b17891d_8.0.zip

lineage-16.0-20190109_025518-UNOFFICIAL-capricorn.zip

open_gapps-arm64-9.0-mini-20190110.zip

Cleared dalvik & cache, rebooted into system and...it crashed somehow, during loading of the system. After a while it reboot on its own to Rescue party in TWRP.

Edit: It has tons of errors in the Recovery_tmp.log (open_gapps_debug_logs)

...

- Installing youtube

Archive: /sdcard/TWRP/open_gapps-arm64-9.0-mini-20190110.zip

signed by SignApk

extracting: /tmp/GApps/youtube-arm64.tar.lz

Found GApps/youtube-arm64 DPI path: youtube-arm64/480

/tmp/tar-arm: youtube-arm64/480/app/YouTube/YouTube.apk: time stamp 2008-02-28 14:33:46 is 1138342577.346650438 s in the future

/tmp/tar-arm: youtube-arm64/480/app/YouTube: time stamp 2008-02-28 14:33:46 is 1138342577.326633821 s in the future

/tmp/tar-arm: youtube-arm64/480/app: time stamp 2008-02-28 14:33:46 is 1138342577.326449811 s in the future

/tmp/tar-arm: youtube-arm64/480: time stamp 2008-02-28 14:33:46 is 1138342577.326384342 s in the future

/tmp/tar-arm: youtube-arm64/common: Not found in archive

/tmp/tar-arm: Exiting with failure status due to previous errors

- Miscellaneous tasks

find: /system/vendor/pittpatt: No such file or directory

- Copying Log to /sdcard/TWRP

Edit2: After many attempts, I had to rollback everything:

fw_capricorn_miui_MI5SGlobal_8.12.20_ff1da0e010_8. 0.zip

lineage-16.0-20181228_180602-UNOFFICIAL-capricorn.zip

open_gapps-arm64-9.0-mini-20181229.zip

That's the only thing that worked for now. No time to expend right now.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
Thank you very much, just to double check, the name of the group is "XiaomiFirmwareUpdater" and the version you mentioned is the one that says:

New weekly fimware update available!

Device: MI5S

Codename: capricorn

Version: 9.1.1

Android: 8.0

Filename: fw_capricorn_miui_MI5S_9.1.1_64245407b6_8.0.zip

Filesize: 54M

MD5: 541aabc928065f1acc010141280b8fca

Download Links: Here (https://xiaomifirmwareupdater.github.io/#weekly#capricorn)

You usually updates every weekly firmware is posted in that channel for MI5S/capricorn?

Thank you!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
Yes that's it. I always update because it's easy, and then if something goes wrong you can easily revert
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] adeelvirgo1984:
Latest update 20190109, so many issues.

Again encryption problem, i was using LOS 16.0 20190101 without any problem but dirty flashing latest build phone stuck on starting and asking for decrypting password.

So i flash again 20190101 build set a decryption password and successfully flashed 20190109 build and phone booted after giving decryption password. But dark mode not working properly. So i flash previous build again.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
Watchout, it's the CHINESE version... the current latest Global is 8.12.27. That's why it's best not to give links to "versions" ...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
Thank you for your reply, the user [MENTION=5271866]christ-al[/MENTION] wrote that he usually always use latest china firmware

https://xdaforums.com/mi-5s/development/rom-lineageos-16-0-t3828615/post78603625#post78603625

That's why I supposed installing chinese firmware has no impact on the performance

When you said "it's the chinese version" you meant that the version I posted (pasted from telegram channel XiaomiFirmwareUpdater) is the chinese version because the name is fw_capricorn_miui_MI5S... instead of fw_capricorn_miui_MI5SGlobal... right?

BTW, Do you remember where I can find on the settings the current firmware installed on my device?

And if it is not a tough task, could you please let me know why is better to install only Global firmware versions? Just to know more about this.

Thank you very much!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
I only know how to check using the baseband, and of course some table which tells you which FW version comes with which baseband... Maybe there's a better way.

It's better to install the version adequate for your HW (chinese or global).

Yes, the version you posted is a link to chinese version, because it's missing the GLOBAL in the naming. The naming is explained in the FW thread somewhere.

Yes, maybe you posted the right link for that user, but without the context someone else could get confused and take the wrong version. Probably not going to make big problems but...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
Many people say there is absolutely no difference between China and global firmware. I think they care only about China and don't give a **** about global (this phone wasn't even sold globally), so I flash China. Never had a problem
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Squida:
Who ever is having issues with installation. Install in this order.

1. Latest TWRP version 3.2.3.0

2. Fw Version 8.12.20 global. Not 27.

3. Lineage OS latest.

4. Magisk V18

4 Pico GAPPs. Jan 10th.

If still looping back to TWRP from splash. Reinstall TWRP.

I did it exactly like that and phone is all working.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
Well my version is global (at least according to invoice).

Many people are saying many things without checking, they are making assumptions.

Coming from IT, I've seen numerous times these assumptions and their consequences... I'm fine with sticking to the specific version.

Of course, feel free to choose the version you want, but if I'm going to help someone else by giving a piece of advice, I'd rather give something safe rather than something assumed.

EDIT:

A bit off topic, I checked the invoice carefully and it's true that it's not specifically showing that the HW version is "global", only it's about the ROM.

Therefore, it's possible it's actually the chinese version (or that it was only 1 version made). In that respect, that does not change the logic of taking the right firmware version. (in that case, it's hard to know which one is right...).Also, it creates a doubt: why there's 2 versions of FW if, information to be verified, there's only 1 HW version of that mi5s phone...

I checked MIUI forum and it seems that there's only Chinese version made for that phone...

---------- Post added at 09:36 AM ---------- Previous post was at 09:33 AM ----------

Yes, I had many issues and even went trying numerous versions of ROM/Gapps/FW.

I only managed to recover using :

fw_capricorn_miui_MI5SGlobal_8.12.20_ff1da0e010_8. 0.zip

lineage-16.0-20181228_180602-UNOFFICIAL-capricorn.zip

open_gapps-arm64-9.0-mini-20181229.zip

(I did the same procédure with the same FW and GAPPS but with the lineageos from 1st Jan, failed also). The "failure" is that it boots into system and simply loads for over 25 min doing nothing.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Best way to check your device is it chinese or global is to check your IMEI

https://www.mi.com/global/verify/#/en/tab/imei

And yes mi5s is China only device :)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
Thanks,

For the link and for the information.

Then, why there's 2 versions of FW made officially by Xiaomi for that device? That's strange. In another phone, it's 2 HW versions which need their specific FW.

It seems the seller are playing with words aswell, mine was global version (but reading the details, it turns out to be only the ROM). I see in gearbest it shows "international version" (https://www.gearbest.com/cell-phones/pp_706441.html#anchorGoodsFAQ). That's playing around the fact that it's a chinese version with Global rom...

Bottom line, it does appear that there is only 1 HW version for that phone, the Chinese one.

Edit: Your link actually add confusion lol, see what I got after typing the EMEI:

This is a

小米手机5s 高配全网通版 3GB内存 哑光金色 64G

Congratulations! You can be assured the phone you have purchased is the official international version.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Xiaomi and logic don't go together :D they are probably disabling some chinese freq or something similar for global phones... even though phones never soled globaly, through official chanels.

p.s. mine is chinese one so I go with chinese fw just in case :)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] grandma_p:
So far I only recognised that global fw is displaying "LTE+" whereas non-global displays "LTE" at the same location.

Since no LTE/cell info app is working under LOS16 (at least I was not able to retrieve cell information) I do not know if this is only related to displaying options. Or if global actually uses different LTE bands and therefore supports cell aggregation in my home network.

Btw that is the result using the imei verification:

小米手机5s 高配全网通版 3GB内

Thank you for choosing Xiaomi!

However, the device you purchased is not an official global version and user experience may be affected. Next time, please purchase the official global version of the device through officially authorized channels.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
I can confirm issues with diff version of firmware, so anyone that flashes LOS16 has to use some older fw combo like 8.11.15.

Something realy got wrong with latest version of xiaomi vendor blobs and LOS16.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Erlonbie123:
Could someone give me some help/tips about this?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
[MENTION=5075128]LuK1337[/MENTION] LOS16 and LOS15 have bootloop problems with latest gapps. Instaling just LOS goes without issues and first boot up is quite fast.

I have tried 3 diff gapps (mini, nano, pico)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] LuK1337:
Well then wait for opengapps to fix their thing.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergilujo:
I've just installed LOS 16 (I came from LOS 15.1) and is impossible to make Pixel Launcher work. Do anyone have the same problem??
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
I use cpl(it's in play store) and it works great
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergilujo:
Yes, cpl works fine, but I was trying to make pixel laucher work because of the backup I have on my goolge account, that is really helpful to have the phone exactly like it was before the update.

If someone was able to make it work please tell me.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] 7829hw:
With the latest opengapps, it boots well and work properly.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
I was thinking about updating the firmware but reading your last posts, seems to be issues with last release (01/09/19) and newer firmwares. Someone with newest firmware and last release and working right?

On the other hand, could anyone let me know what firmware is supposed to be installed in my device? baseband info shows the following:

TH20c1.9-0926_1430_dd3c95a, TH20c1.9-0926_1430_dd3c95a

I thought that could be some version from Sept 26th but I can't find that version on github.

Thanks!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
Latest firmware and latest lineage here, all works great. One of the best lineage builds I tried. All good and great battery too
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] stevenjtx:
awesome, thanks for your hardwork
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] RisingNoob:
Awesome ROM, using it with AKT mod.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Does anyone have issues with default Messaging app? Whenever I open it phone vibrates twice, if I go to settings menu for messages it also vibrates twice...

And if I have new message and I open messaging app, phone will vibrate twice on every 2-3 seconds untill I read message...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
I am trying, I had this setup:

fw_capricorn_miui_MI5SGlobal_8.12.20_ff1da0e010_8. 0.zip

lineage-16.0-20181228_180602-UNOFFICIAL-capricorn.zip

open_gapps-arm64-9.0-mini-20181229.zip

And flashing in order, each time testing into system if the step was successful, and rebooting into TWRP to flash the next file:

fw_capricorn_miui_MI5SGlobal_9.1.10_49250e6b38_8.0.zip:

Ok it booted, videos are playing properly...

lineage-16.0-20190109_025518-UNOFFICIAL-capricorn.zip:

Note: magisk 18 is also flashing automatically at that step

Ok, it booted into system (after 1 minute loading, at least), then I see if was finishing updating system for a few more seconds.

Seems working fine also.

open_gapps-arm64-9.0-mini-20190116.zip:

OK, booted into system! (after 85 seconds loading)

Then I made a few basic tests (video playing, picture taking, checking playstore...). All worked!

So at last it works!

Bottom line, avoid version of opengapps:

> open_gapps-arm64-9.0-mini-20181229.zip

AND

< open_gapps-arm64-9.0-mini-20190116.zip...

Why? because there seems to be a problem, or a change, that won't let you boot into system (yes, I tried each versions of opengapps mini between these dates, OUCH). It will try to load system forever (I stopped after 35min).
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ka3yal:
Was "Mobile Network Standby" bug fixed?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
Was "Mobile Network Standby" bug fixed?

For me battery is good
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] sergilujo:
I'm having some problems with alarm sounds (it doesn't stop ringing) and I think it could be because of the kernel. Anyone have the same problem?

Which kernel are u using with latest version of the rom?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] 7829hw:
You did a worthful experiment!

Thank you to your effort.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] miguelete555:
Not for me but it's considerably better. Which firmware are you using?

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Rom is still not using deep sleep to it's full extent. Using Floppy Kernel fixes that, and some lag issues.

But LOS16 is far better than in the beginning when it had huge battery drain and bunch of other small issues.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] christ-al:
Today's build is super smooth, almost definitive for me. thank you luk ?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
I agree, latest build is good, there is no messaging app issue that I had and smothnes is back :)

I am on latest FW and Gapps from 14 Jan.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] Dresior:
Latest build, swap buttons function is gone? Pls someone confirm ?? Edit. after restart option is back.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] MickyZa:
Latest build combined with lastest linaro is really good. I got 6 hours of sot and its really stable.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] tonyboy3:
Why is this happening? Help?

[IMG="help"]http://i.imgur.com/ZASkv5m.jpg[/IMG]

Syberia boots just fine!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] KopiJahe:
Disable internal memory encryption.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] monsieur:
What's the version of your "latest FW"?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
9.1.10

https://xiaomifirmwareupdater.github.io/#weekly

Deep sleep is not efficient as with floppy kernel, but I will give it a few more days to see if adaptive battery works :)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
I am so sorry about late reply. I am experiencing the same 'issue' from some time... It is like a "grrrrrrsssss" for 1 second or so... (It is so hard try to write characters for a sound...). I thought it was because some hit/strike so I thought it could be related to hardware instead of software. However, the camera seems to be working nice... I do not know if this helps, I hope so
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
I don't have those issues. I could hear camera going on on MIUI, like faint click but it sounded logical for me :)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
I am thinking about checking out the kernel. I read I have just to flash it and wipe dalvik and cache. You usually update kernel everyday a new version comes out? Last proper version to be flashed on our devices is the following:;

https://github.com/JonasCardoso/and...S-Lite-Prime-Pro-16012019-Linaro-Pie-HMP.zip?

Kernel-Mi5S-Lite-Prime-Pro-16012019-Linaro-Pie-HMP - release from 20190116?

On the other hand, after flashing it, is it necessary to install an app for manage the kernel?

Thanks in advance!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
Yes I flashed that version, with dalvic and cache cleaned and I don't use any kernel manager.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] tonyboy3:
How can I do that?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] KopiJahe:
Backup your important data first and either do:

A. System Settings -> Security & Privacy -> Encryption & credentials -> Decrypt phone

B. TWRP -> Wipe -> Format Data -> Yes

Option A can sometimes fail and Option B will completely remove your data...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] pres1o:
I come from android 7 (viper os). Is it necessary to format data to switch to this rom? Not sure if they are encrypted or not
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] htchd2sucks:
OK, better step in.

"Disable internal memory encryption" is as confusing as possible. It seems you are talking about decrypting the phone... In fact it's worse because:

1) You are not sure exactly of what is the problem because there's also a very abnormal white light on the screen. The message might not actually be the issue...

2) The message appears to be related to "Secure boot" and not to the actual encryption. The userdata (/data) can be encrypted without the android system to ask anything.

3) If you have that message and IF that's the problem, you can NOT do the option A, because simply you can not reach any settings in the OS.

[MENTION=4387680]tonyboy3[/MENTION] Please do open your own thread in the https://xdaforums.com/mi-5s/help.

Write exactly what you think the problem or the "abnormal" thing is (for example, explain if it's the white light or the message).

Also explain HOW you reach that situation, what you had before and what you were trying to do.

Moreover, tell if you have data you want to keep in your phone because frankly, it might be faster for others to tell you to wipe rather than going through some mess.

If you do that and bring that thread to my attention I'll try to help you (

I have no guarantee I can help or fix

whatever the problem is, I just have several experiences with secure boot and encryptions). Surely others will step in too, I just hope it's no more ill-advice.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] tonyboy3:
Thanks for the feedback.

This problem is strange to me.

I tried severall roms (xiaomi.eu, lineage 15.1, syberia[pie] and mokee os) and I only had this problem with Lineage Os 16.

I will wait for the official release and than if the problem persists I will try to do a full wipe before install.

At this moment, my phone is with Syberia OS and I dont have any decrypt option.

Thanks a lot.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
Good morning, I have an issue that I know it happened to me less than 2 months ago but I am not sure if this is about the firmware or the rom or whatever (I suppose it has not to do with custom kernel because is the first time I install it).

The thing is that, if I plug the USB with the screen off, the device does not charge: the icon change and shows the "lightning" that means 'charging' but the number that shows the percentage of the battery does not change.

Just restarting the phone with the cable plugged in 'solves' the issue, doing the device charges but I will suffer the same tomorrow if I try. I have tried wiping cache and dalvik, someone has experienced the same?

Thanks!
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] penggilajidat:
I have video lags in latest fw (8.12.20) and latest update. I also using floppy hmp linaro. Is the kernel the problem? Any solution?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] hpto:
Flash latest Stable FW. I have the same setup (with stable fw) and zero issues...
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
That is not latest firmware ;)

https://xiaomifirmwareupdater.com/#weekly
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
I have checked last two nights and my battery has decreased from 50 to 37%. I tried with "efficiency" and "equilibrated" (in battery performance, the middle and previous levels) so I am going back to normal Kernel. I suppose installing ROM & firmware will restore the usual kernel.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
I am on Floppy kernel, and consumption during night is maybe 5% so it works better than stock kernel, at least for me.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] DrLitte:
Are you on wifi or mobile network?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
WIFI, but mobile data is always on so phone switches between them when nececary.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] kikodeblay:
After updating the lineage version to the day 16, I asked for a password when starting android, I use normal point pattern, what password should I use?
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] ptitpuma:
The same for me
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] antonioxerez:
In my case, I switch off WIFI and mobile network before going to sleep..

I have just gone back to normal kernel from LOS 16.1, I wish other users have better results (as predragiPredrag has)
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] predragiPredrag:
One note is that I made clean install of latest LOS, Floppy kernel from 16th of Jan and gapps from 14th of jan.

Nothing more, no root, no magisk, and only issue that I have is that although phone app has vibrate on answer set it does not work. But it is old LOS15 bug.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] selfishjelly:
No need to clean install. I need to squeeze some more life from my batterry in following days. As greenify did not cut it, I've tried this floppy kernel and it behaves incredibly well! On dual sim, data off, wifi on it consumed 64mAh (3.2% of my 2000mAh) during the night (~8h45m).

What I dirty flashed, in this order:

- fw_capricorn_miui_MI5SGlobal_9.1.10_49250e6b38_8.0

- lineage-16.0-20190116_161207-UNOFFICIAL-capricorn

- FloppyKernel-Mi5S-Lite-Prime-Pro-16012019-Linaro-Pie-HMP

I still have old Magisk-v17.1 and open_gapps-arm64-9.0-pico-20180831-UNOFFICIAL that somehow survived flashes (I don't update that often)

The drain may be caused as well by some app constantly waking the phone up, for me accu​Battery reports ~90% of screen off time in deep sleep so I'm good there.
[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] msaiducar:
Today I tried to upgrade my lineageos 15.1 to 16. Latest build of gapps (20190126) didn't worked, first boot loops for ~10mins and reboots to twrp. However, the following versions worked properly and booted successfully.

fw_capricorn_miui_MI5SGlobal_9.1.24_8008aa4f2c_8.0.zip

lineage-16.0-20190116_161207-UNOFFICIAL-capricorn.zip

open_gapps-arm64-9.0-pico-20190116.zip

addonsu-16.0-arm64.zip

I'm using it for 8 hours so I can not say about battery but it seems fine.