[ROM][UNOFFICIAL][capricorn][9] LineageOS 16.0

Search This thread

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
2okPze5.png



LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Updating LineageOS from recovery​

  1. Download LineageOS installation package.
  2. Reboot to recovery.
  3. Flash the package.
  4. Reboot to system

Installing LineageOS from recovery, coming from other ROMs​

  1. Download LineageOS installation package.
    • Optionally, download an application package add-on such as Google Apps (use the arm64 architecture).
  2. If you are not in recovery, reboot into recovery:
    • With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
  3. Now tap Wipe.
  4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
  5. Return to the previous menu and tap Advanced Wipe, then select the Cache and System partitions and then Swipe to Wipe.
  6. Sideload the LineageOS .zip package:
    • On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
    • On the host machine, sideload the package using: adb sideload filename.zip.
      check
      TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success.
  7. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
    info_outline
    NOTE: If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!
  8. Once you have installed everything successfully, run ‘adb reboot’.
Official installation instructions from Lineage.

Downloads :

The purpose of this thread is to continue the support of Lineage 16 for Mi5S.
I am no developer, therefore I can't promise fixing bugs or changing the functionality.
The builds are done the official way and no software is added or removed afterwards.
My target is to do a build at least once a month.

XDA:DevDB Information
[ROM][UNOFFICIAL][capricorn][9] LineageOS 16.0, ROM for the Xiaomi Mi 5s

Contributors

Unicastbg
Source Code: https://github.com/LineageOS

First Created 2021-04-05
Last Updated 2022-04-20
Security patch level January, 2022
Latest build: lineage-16.0-20220420-capricorn-OTA
Changelog (for all LOS16 devices): https://www.lineageoslog.com/16.0
 
Last edited:

Fasic

Member
May 13, 2015
27
10
Tanks for this one, before i test it, what is best ROM you all use on mi5s, right now i am on PE-10, didn't update it for like 6 months. Now i want fresh installation, and i don't need latest anything, just OS that works, it is as fluid as it can be. So:

-this
-PE10
-PE11
-Official LoS16
-Unofficial LoS18
-or something else, what is best right now? Did anyone test more then one ROM.
 
  • Like
Reactions: Mam.Q

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
Official LOS anything is gone for Mi5s. LOS16 was official, but due to the fingerprint issues it will never get 17.1 or 18.
I personally use LOS16 because everything works. And we still have regular security patches.
I have tried briefly the LOS18 and found it's not to my liking.
This is what I wrote in 18.1's forum (Link) based on my experience:

Well... Not sure if related somehow to Viper4Android, but the fingerprints are getting deleted after some time. And after restart. But when present, I think it unlocks faster than compared to LOS 16. However there are a few design features of Android 11 that made me switch back to 9.
Viper4android currently not working.
Apps that rely on fixed SU folder will fail.
Cannot disable Camera - Lens Cap app.
Cannot record calls. There might be a better app that does it ok, but I haven't searched much.
And finally - cannot limit the battery charge percentage - have it charged to 90% for example. I've tried with Floppy kernel as well.
 

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
The only thing that I really miss is the EIS that we had in MIUI. But the customization there is very limited compared to Lineage.
I haven't played much with other ROMs, maybe PE has it all sorted out and EIS and the fingerprint reader are both working just fine...
 
  • Like
Reactions: Mam.Q

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
I've been waiting for a security patch for a while, but I think that was it for LOS 16. Had some blind hopes since we got updates after the official end. I'll be checking for updates for a while and if such appear, will update the build.
Update - to my surprise we got security and other updates!
 
Last edited:
  • Like
Reactions: Mam.Q

Fasic

Member
May 13, 2015
27
10
Hmmm i tested this one, for now i found just one problem, if you unlock phone with pin, home button is "fingerprinet sensor" and not home button until you put finger.

And i got problem on install, i couldn't use OpenGApps aroma version (there was 2 problems, it asked for android 7 version, and then asked for arm not arm64 version, and any of this didn't work), othere openGApps versions worked. After install i have problem, banking app doesn't work (tested on othere phone, it works), so probably something from google is missing, if i don't find what i will must go on PE ROM. On install i used pico GApps (i really dont wan't googles bloatware), i will try with FULL version of GApps tonight, if it doesn't work i will must go on othere ROM-s.

But it is "ok" ROM, for now.
 
  • Like
Reactions: unicastbg

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
We got the July security updates today. I'll do another release tomorrow (done, forgot to update this post).
Using 3 banking apps, haven't had problems so far. About GAPPS, I've followed the official links and got the Nano version.
 
Last edited:

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
Hey guys, are you still using LOS 16 on your Mi 5s phones? Is there still need for up to date builds? I'm asking this because if it turns out no one's using this LOS version, then there's no need for newer builds. Like or reply if you want to continue receiving updates. I can also make custom builds with custom software installed, as per your liking. AdAway built in for example.
 

warden spy

Member
Aug 18, 2021
6
4
Hey guys, are you still using LOS 16 on your Mi 5s phones? Is there still need for up to date builds? I'm asking this because if it turns out no one's using this LOS version, then there's no need for newer builds. Like or reply if you want to continue receiving updates. I can also make custom builds with custom software installed, as per your liking. AdAway built in for example.
Yes, I am using. I installed lineageos 18.1 but it's graphical performance wasn't as good as 16.0, animation looked like stuttering it was awkward. So I installed your ROM. I preper vanilla lineageos 16.0 over prebuilt packages included.
 

ukiz

Senior Member
Hey guys, are you still using LOS 16 on your Mi 5s phones? Is there still need for up to date builds? I'm asking this because if it turns out no one's using this LOS version, then there's no need for newer builds. Like or reply if you want to continue receiving updates. I can also make custom builds with custom software installed, as per your liking. AdAway built in for example.
Yes, I am using it, super stable and smooth. And everything works! Thanks for your work, it would be great to have monthly builds!
 
  • Like
Reactions: unicastbg

mind_pt

Member
Dec 30, 2015
39
7
Yes, I am using it, super stable and smooth. And everything works! Thanks for your work, it would be great to have monthly builds!
Tell me about SOT?
The LOS18 is a mess for this phone and the LOS17, is bad too? Is only for use a lastest version of Android.
Thanks
 

EpicSauce

Senior Member
Jan 15, 2011
60
20
Perth
HTC Sensation
Lenovo K3 Note
Hey guys, are you still using LOS 16 on your Mi 5s phones? Is there still need for up to date builds? I'm asking this because if it turns out no one's using this LOS version, then there's no need for newer builds. Like or reply if you want to continue receiving updates. I can also make custom builds with custom software installed, as per your liking. AdAway built in for example.
Thanks for the updates. My Mi5s is going strong, battery life as good as ever. I run battery charge limit and charge to 80%, recharge from 40%. Get plenty enough use during the day and it's very quick to charge when needed.

Coming up to 5 years, of use, it's the longest I've used the same phone. With everything working well including my banking apps it does what I need!

While it would be good to have a later android version, 16 works well on this device - appreciate your time to keep it updated.
 
  • Like
Reactions: unicastbg

unicastbg

Senior Member
May 1, 2011
198
69
Sofia
Sony Xperia V
Xiaomi Mi 5s
Thanks for the updates. My Mi5s is going strong, battery life as good as ever. I run battery charge limit and charge to 80%, recharge from 40%. Get plenty enough use during the day and it's very quick to charge when needed.

Coming up to 5 years, of use, it's the longest I've used the same phone. With everything working well including my banking apps it does what I need!

While it would be good to have a later android version, 16 works well on this device - appreciate your time to keep it updated.
I appreciate your feedback! My Mi 5s is also the only phone I've ever used for that long. And yes, Android 9 is getting old, but it will run for an year or two more. And by that time our phones will probably have some hardware defects forcing us to move to something newer.
 

frank7d

Member
Oct 18, 2021
5
1
I am also still using the mi5s, I am on the last official 16.0. I appreciate your effort and will install an update now.
 
  • Like
Reactions: unicastbg

frank7d

Member
Oct 18, 2021
5
1
I tried to install your latest build.
I got a boot loop. After a couple of seconds the mi symbol again and again.. Then also installed the latest los 16 from january, to no avail.
Fortunately I managed to restore from backup, on the second try.
 

frank7d

Member
Oct 18, 2021
5
1
I am on official los16. (Updated from los15 in 2019) Regularly updated via its updater until January 2021. Magisk 23.0
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    2okPze5.png



    LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Updating LineageOS from recovery​

    1. Download LineageOS installation package.
    2. Reboot to recovery.
    3. Flash the package.
    4. Reboot to system

    Installing LineageOS from recovery, coming from other ROMs​

    1. Download LineageOS installation package.
      • Optionally, download an application package add-on such as Google Apps (use the arm64 architecture).
    2. If you are not in recovery, reboot into recovery:
      • With the device powered off, hold Volume Up + Power. Keep holding both buttons until the “MI” logo appears on the screen, then release.
    3. Now tap Wipe.
    4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
    5. Return to the previous menu and tap Advanced Wipe, then select the Cache and System partitions and then Swipe to Wipe.
    6. Sideload the LineageOS .zip package:
      • On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
      • On the host machine, sideload the package using: adb sideload filename.zip.
        check
        TIP: If the process succeeds the output will stop at 47% and report adb: failed to read command: Success.
    7. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.
      info_outline
      NOTE: If you want the Google Apps add-on on your device, you must follow this step before booting into LineageOS for the first time!
    8. Once you have installed everything successfully, run ‘adb reboot’.
    Official installation instructions from Lineage.

    Downloads :

    The purpose of this thread is to continue the support of Lineage 16 for Mi5S.
    I am no developer, therefore I can't promise fixing bugs or changing the functionality.
    The builds are done the official way and no software is added or removed afterwards.
    My target is to do a build at least once a month.

    XDA:DevDB Information
    [ROM][UNOFFICIAL][capricorn][9] LineageOS 16.0, ROM for the Xiaomi Mi 5s

    Contributors

    Unicastbg
    Source Code: https://github.com/LineageOS

    First Created 2021-04-05
    Last Updated 2022-04-20
    Security patch level January, 2022
    Latest build: lineage-16.0-20220420-capricorn-OTA
    Changelog (for all LOS16 devices): https://www.lineageoslog.com/16.0
    5
    Hey guys, are you still using LOS 16 on your Mi 5s phones? Is there still need for up to date builds? I'm asking this because if it turns out no one's using this LOS version, then there's no need for newer builds. Like or reply if you want to continue receiving updates. I can also make custom builds with custom software installed, as per your liking. AdAway built in for example.
    3
    Ok, I've done the build from 11.11 with new keys, as per @archipepe advise.
    I've already installed it on my phone. No problem switching between the unofficial keys and the new signing.
    Still, would love to hear from you if all works ok.
    I've uploaded it to mega.nz only as it's a test. You can find it by its generic name - signed-ota_update.zip.
    2
    So just to make sure - you don't have Magisk installed, right?
    Yes, no Magisk. I will try installing it now, maybe Magisk Hide can solve the problem.

    Edit: Apps still don't work with Magisk Hide.
    Edit2: After reboot, Magisk Hide started to work. I can use the problematic apps now.
    2
    Official LOS anything is gone for Mi5s. LOS16 was official, but due to the fingerprint issues it will never get 17.1 or 18.
    I personally use LOS16 because everything works. And we still have regular security patches.
    I have tried briefly the LOS18 and found it's not to my liking.
    This is what I wrote in 18.1's forum (Link) based on my experience:

    Well... Not sure if related somehow to Viper4Android, but the fingerprints are getting deleted after some time. And after restart. But when present, I think it unlocks faster than compared to LOS 16. However there are a few design features of Android 11 that made me switch back to 9.
    Viper4android currently not working.
    Apps that rely on fixed SU folder will fail.
    Cannot disable Camera - Lens Cap app.
    Cannot record calls. There might be a better app that does it ok, but I haven't searched much.
    And finally - cannot limit the battery charge percentage - have it charged to 90% for example. I've tried with Floppy kernel as well.