[ROM][DISCONTINUED] LineageOS 18.1 for Xiaomi Mi 5

Search This thread

JackSlaterIV

Senior Member
Sep 4, 2013
169
38
@bgcngm
First thanks for porting the LOS 19.1 to the Mi5.

Would you consider maintaining this 18.1 rom for the security updates for some time?
It's running nicely and it doesn't suffer from any major drawbacks. It doesn't require any 4.4 kernel porting, which unfortunately had bugs on the Mi5. The camera works as expected.
Moreover many users (including me) don't feel comfortable with the Android 12 interface.
I think the LOS team should maintain the 18.1 branch as long as possible.
 
  • Like
Reactions: autokoise

bgcngm

Recognized Developer
Apr 2, 2007
7,036
21,263
Lisbon
HTC One (M8)
Xiaomi Mi 5
Would you consider maintaining this 18.1 rom for the security updates for some time?
It's running nicely and it doesn't suffer from any major drawbacks. It doesn't require any 4.4 kernel porting, which unfortunately had bugs on the Mi5. The camera works as expected.
Moreover many users (including me) don't feel comfortable with the Android 12 interface.
I think the LOS team should maintain the 18.1 branch as long as possible.
It's hard to please everyone, I have learned that throughout the years, but I must be honest. I have no intention in maintaining what is soon going to be considered a legacy branch.
 
Last edited:
  • Like
Reactions: eriol1

JackSlaterIV

Senior Member
Sep 4, 2013
169
38
It's hard to please everyone, I have learned that throughout the years, but I must be honest. I have no intention in maintaining what is soon going to be considered a legacy branch.
I can't blame you, because you have been doing a great work.

I hope that someone else reading here will take over the building process of the 18.1 branch.
From what I see it is still kept updated with the security fixes.
I would try to build it myself but my PC has very low specs, at least for this kind of stuff.
 

bgcngm

Recognized Developer
Apr 2, 2007
7,036
21,263
Lisbon
HTC One (M8)
Xiaomi Mi 5
I can't blame you, because you have been doing a great work.

I hope that someone else reading here will take over the building process of the 18.1 branch.
From what I see it is still kept updated with the security fixes.
I would try to build it myself but my PC has very low specs, at least for this kind of stuff.
Very very low specs? Even if it takes few hours to make a build you would only need to make one per month.
 

JackSlaterIV

Senior Member
Sep 4, 2013
169
38
Very very low specs? Even if it takes few hours to make a build you would only need to make one per month.
Hello Bruno,

From what I see here and there, I can't build the 18.1 branch on a 8GB RAM machine, without dealing with errors.
Moreover I only have 2 old laptops with mobile i7 processors (62xx and 26xx) and HDD. And they easily oveheat, making them unusable.
I remeber building an old Android 5 rom took like 5 hours on my i7-26xx.

Can you tell me one thing? Are you allowed to keep the 18.1 build server up, even without doing any active development on the device tree and the kernel? Is that allowed by the LOS team?
Even a few months of updates would be useful, while the 19.1 development goes ahead.
Anyway thanks again for your work.
 

Sir_Baracuda

Member
Dec 5, 2022
5
0
is there any way to i get lastest security uptates on lineage os 18.1 mi 5 device, it is working very stable i dont want to go linage os 19 now, i want make linage os 18.1 with its lastest uptades. can any one explain
 

BulldozerPT

Senior Member
Jun 26, 2008
56
0
Hi there.
Can someone point me to a working mirror from where I can download the latest 18.1 build?
Thank you.
 

Top Liked Posts

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

    LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

    GPL compliance:
    yG18r6g.png

    Broken / not yet supported:
    • Nothing (?)

    Working:
    • Camera (and flashlight)
    • WiFi
    • NFC
    • Bluetooth
    • Telephony (Calls and Data), including VoLTE
    • Audio (Record and Playback)
    • Video Playback
    • Sensors
    • GPS
    • HW crypto (FDE)

    Compatibility:
    Compatible with all Xiaomi Mi 5 variants (32GB / 64GB / 128GB). Xiaomi Mi 5S and 5S Plus are not supported.​
    Builds are based off the Xiaomi's Android 8.0 firmware with proprietary blobs from MIUI V10.2.2.0.OAAMIXM global stable package.​

    Downloads:

    Notice:
    • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

    Installation:
    • Reboot to recovery (TWRP recovery for Mi 5 - Direct link)
    • Format /system, /data and /cache
    • Install LineageOS zip package
    • Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
    Important notes:
    • Current minimal * required * firmware version is MIUI V10.2.2.0.OAAMIXM global stable, otherwise installation will fail. Download the latest dev fastboot package directly from Xiaomi and flash it prior to installing LineageOS or, alternatively, download and install one of the latest custom packages containing firmware only (at your own risk).
    • GApps can only be flashed on clean installs.
    • Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.

    Credits & collaborations:
    This work is due to efforts from Mi5Devs founding members (@h2o64 and me) that did the full device bring-up. Huge thanks to @deovferreira for all the help during the kernel bring-up after source code dropped. Last but not least, pleasure having @luca020400 and @LuK1337 onboard since the bring-up of the whole Xiaomi 8996 family.​
    Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!​


    Device wiki:
    16
    New build is up. Since this is based on the new AOSP feature drop, it's now Lineage 18.1. Enjoy. :cool:
    13
    New build is up, with this month's Android security fixes already included.
    10
    A new thing is coming soon!
    10
    New build is up. It includes March's security patch.