FORUMS
Remove All Ads from XDA

[ROM][UNOFFICIAL] LineageOS 17.0 for Xiaomi Mi 5

6,602 posts
Thanks Meter: 19,242
 
By bgcngm, Recognized Developer on 11th October 2019, 10:46 PM
Post Reply Email Thread

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. 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:

Broken / not yet supported:
  • HW crypto
  • VoLTE

Working:
  • Camera (and flashlight)
  • WiFi
  • NFC
  • Bluetooth
  • Telephony (Calls and Data)
  • Audio (Record and Playback)
  • Video Playback
  • Sensors
  • GPS



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 8.5.10 dev 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] the LineageOS su addon to get root (there are obviously other root methods, but this is the recommended one as it survives to OTA updates)
  • 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 8.5.10 Global dev, 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:
XDA:DevDB Information
LineageOS 17.0, ROM for the Xiaomi Mi 5

Contributors
bgcngm
ROM OS Version: Android 10

Version Information
Status: Beta

Created 2019-10-11
Last Updated 2019-10-11
The Following 40 Users Say Thank You to bgcngm For This Useful Post: [ View ]
11th October 2019, 10:52 PM |#2  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 19,242
 
Donate to Me
More
Working beta OpenGapps packages: https://sourceforge.net/projects/ope...beta/20190928/
The Following 13 Users Say Thank You to bgcngm For This Useful Post: [ View ]
11th October 2019, 10:52 PM |#3  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 19,242
 
Donate to Me
More
Keep in mind that this is still beta. There are some features left to port.
The Following 11 Users Say Thank You to bgcngm For This Useful Post: [ View ]
12th October 2019, 12:55 AM |#4  
Member
Thanks Meter: 9
 
More
Is there any interest in updating the base kernel version? If possible, of course.
12th October 2019, 12:59 AM |#5  
Junior Member
Thanks Meter: 0
 
More
You sir is awesome. So happy to see lineage 17 available for Gemini.
12th October 2019, 02:11 AM |#6  
Member
Flag Depok
Thanks Meter: 10
 
More
thank you gonna try and report
12th October 2019, 03:26 AM |#8  
Senior Member
Flag Panjim
Thanks Meter: 64
 
Donate to Me
More
Awesome.... Waiting for VoLTE fix.

---------- Post added at 02:26 AM ---------- Previous post was at 02:24 AM ----------

Quote:
Originally Posted by bgcngm

Keep in mind that this is still beta. There are some features left to port.

Pls Port VoLTE
12th October 2019, 07:35 AM |#9  
Member
Thanks Meter: 13
 
More
Is magisk supported?

Most people seem to have downloaded gapps nano. is it working?

Any reviews?


UPDATE 1:

To all the people who couldnot download coz it exceeded download quota. Do this:

Add lineage os to your google drive(buttom at upper right)

Then make a copy(right click and click in make copy)

Then download the copy. lol


UPDATE 2:
  1. Magisk 20 works well.
  2. Ok gapps nano is stable.
  3. Phone doesnot overheat much.
  4. Android q adds too much animation and it feels extra slow. I turned off all the animation.
  5. Cannot install apk from 3rd party file manager for some reason. ---- Just the AMAZE file manager. Works with solid explorer.
  6. Also digital well being doesnot work.
  7. Some animations are very choppy.
  8. Battery indicator doesnot change from its default. Battery life is good though.
  9. Persistant notification is irritating.
  10. Changing accent color option is in developer instead of display setting.
  11. Adaway isnt working.
  12. Most important is SElinux is disabled.

UPDATE 3:
  1. Battery life has gone downhill. Standby time is good. But drain when using it is too high.
  2. Its kinda laggy right now. Some animation are very choppy.
  3. Doesnot heat up much.
  4. Charging speed is way too slow.
The Following 3 Users Say Thank You to bclub For This Useful Post: [ View ] Gift bclub Ad-Free
12th October 2019, 10:58 AM |#10  
Junior Member
Thanks Meter: 3
 
More
gapps
Quote:
Originally Posted by bclub

Is magisk supported?

Most people seem to have downloaded gapps nano. is it working?

Any reviews?


UPDATE 1:

To all the people who couldnot download coz it exceeded download quota. Do this:

Add lineage os to your google drive(buttom at upper right)

Then make a copy(right click and click in make copy)

Then download the copy. lol


UPDATE 2:

  1. Magisk 20 works well.
  2. Ok gapps nano is stable.
  3. Phone doesnot overheat much.
  4. Android q adds too much animation and it feels extra slow. I turned off all the animation.
  5. Cannot install apk from 3rd party file manager for some reason. ---- Just the AMAZE file manager. Works with solid explorer.
  6. Also digital well being doesnot work.
  7. Some animations are very choppy.
  8. Battery indicator doesnot change from its default. Battery life is good though.
  9. Persistant notification is irritating.
  10. Changing accent color option is in developer instead of display setting.
  11. Adaway isnt working.
  12. Most important is SElinux is disabled.

May I ask, where did you find the compatible Gapps zip? I tried several, but the phone stays in bootloop.
The Following User Says Thank You to avdo06 For This Useful Post: [ View ] Gift avdo06 Ad-Free
12th October 2019, 11:01 AM |#11  
Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by avdo06

May I ask, where did you find the compatible Gapps zip? I tried several, but the phone stays in bootloop.

The second thread here.

The developer dude posted gapps.

---------- Post added at 10:01 AM ---------- Previous post was at 10:00 AM ----------

The second thread here.

The developer dude posted gapps.

Quote:
Originally Posted by bgcngm

Working beta OpenGapps packages: https://sourceforge.net/projects/ope...beta/20190928/

The Following User Says Thank You to bclub For This Useful Post: [ View ] Gift bclub Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes