FORUMS
Remove All Ads from XDA

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

5,637 posts
Thanks Meter: 12,697
 
By bgcngm, Recognized Developer on 7th September 2017, 10:33 AM
Post Reply Email Thread

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), 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:
  • BT audio streaming (A2DP)
  • 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 7.0 firmware with proprietary blobs from MIUI 7.4.11 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 7.7.6 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, that lately did the major work in the O era.

Finally, all LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

Device wiki:
XDA:DevDB Information
LineageOS 15.0, ROM for the Xiaomi Mi 5

Contributors
bgcngm, Mi5Devs
ROM OS Version: 8.0 Oreo
ROM Kernel: Linux 3.18.x

Version Information
Status: Alpha

Created 2017-09-07
Last Updated 2017-09-07
The Following 111 Users Say Thank You to bgcngm For This Useful Post: [ View ]
 
 
7th September 2017, 10:34 AM |#2  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 12,697
 
Donate to Me
More
Keep in mind that for now this is just an alpha, take it like an early preview. Quite a lot hasn't yet been ported to Lineage, so please don't report issues like: "broken buttons backlight".
The Following 35 Users Say Thank You to bgcngm For This Useful Post: [ View ]
7th September 2017, 10:36 AM |#3  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 12,697
 
Donate to Me
More
Unofficial Gapps here: https://www.androidfilehost.com/?fid=889764386195926952
The Following 20 Users Say Thank You to bgcngm For This Useful Post: [ View ]
7th September 2017, 10:38 AM |#4  
gowtham300's Avatar
Senior Member
Thanks Meter: 216
 
More
so finally here
7th September 2017, 10:44 AM |#5  
Junior Member
Thanks Meter: 1
 
More
Amazing, Thank You for your effort
7th September 2017, 10:51 AM |#6  
gowtham300's Avatar
Senior Member
Thanks Meter: 216
 
More
guys remember gapps 8.0 isn't proper once you install los and then install gapps and once the installer says installation complete do a force reboot
The Following User Says Thank You to gowtham300 For This Useful Post: [ View ] Gift gowtham300 Ad-Free
7th September 2017, 10:52 AM |#7  
Plabon7's Avatar
Senior Member
Flag Dhaka
Thanks Meter: 62
 
More
Finally Lineage OS 15 for Mi5 is up. I've been waiting for this eagerly since August. Thanks a lot devs. Great Effort. And please guys support our devs to give their best effort for our device. Hurray
The Following User Says Thank You to Plabon7 For This Useful Post: [ View ] Gift Plabon7 Ad-Free
7th September 2017, 11:15 AM |#8  
Tyrany's Avatar
Senior Member
Flag Faro
Thanks Meter: 373
 
More
didn't notice earlier amigo good job =)
7th September 2017, 11:23 AM |#9  
Bianfuchen's Avatar
Junior Member
Thanks Meter: 1
 
More
amazing rom ! thanks for your work.

---------- Post added at 10:23 AM ---------- Previous post was at 10:18 AM ----------

so which fw should i flash ?
7th September 2017, 11:26 AM |#10  
Senior Member
Thanks Meter: 2,787
 
More
you made my day thanks Bruno! will wait for camera working though but really appreciated!!
7th September 2017, 11:27 AM |#11  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 12,697
 
Donate to Me
More
Quote:
Originally Posted by Bianfuchen

so which fw should i flash ?

You must be really lazy to read... or blind maybe.
The Following 12 Users Say Thank You to bgcngm For This Useful Post: [ View ]
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