FORUMS
Remove All Ads from XDA

[ROM][OFFICIAL] LineageOS 14.1 weeklies for Xiaomi Mi 5

5,262 posts
Thanks Meter: 10,334
 
By bgcngm, Recognized Developer on 17th November 2016, 05:28 PM
View First Unread Post Reply Email Thread

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

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
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:
  • Nothing.

Working:
  • Everything except 'broken' stuff
    (see also second post for info on recurring questions)



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. Also thanks to @ValoXis for giving me the motivation I needed and to @shade.sh for compiling unofficial builds during the transition phase.

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

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

Contributors
bgcngm, Mi5Devs
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.18.x

Version Information
Status: Nightly

Created 2016-11-17
Last Updated 2017-05-02
The Following 292 Users Say Thank You to bgcngm For This Useful Post: [ View ]
 
 
17th November 2016, 05:28 PM |#2  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 10,334
 
Donate to Me
More
Some notes due to recurring questions:
  • Camera OIS can be recalibrated, if needed, with the following app: https://github.com/dobragab/Mi5CameraCalibrate.
  • Devices assembled with LGD panels may have less responsive hardware keys (recents and back) due to old touchscreen drivers released by Xiaomi. The workaround at the moment is to enable on-screen buttons and wait for more updated drivers in the next kernel source code release.
  • QC3.0 is not fully working and will be fixed when the next kernel source code drops.
The Following 80 Users Say Thank You to bgcngm For This Useful Post: [ View ]
17th November 2016, 05:43 PM |#3  
ravinder0003's Avatar
Senior Member
Thanks Meter: 554
 
More
So soon we have got cm13 official and cm14 almost stable...
thanks bgcngm and Mi5Devs team...
The Following 7 Users Say Thank You to ravinder0003 For This Useful Post: [ View ] Gift ravinder0003 Ad-Free
17th November 2016, 05:44 PM |#4  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 10,334
 
Donate to Me
More
There we go. Too late? Could be, but we got there, in the best way we could. Mi5Devs always leading.
The Following 68 Users Say Thank You to bgcngm For This Useful Post: [ View ]
17th November 2016, 05:46 PM |#5  
notoriouspk's Avatar
Senior Member
Flag Toronto
Thanks Meter: 47
 
More
nice to see cm 14 for mi5 well be getting my phone soon ....thanks for ur hard work
The Following User Says Thank You to notoriouspk For This Useful Post: [ View ] Gift notoriouspk Ad-Free
17th November 2016, 05:46 PM |#6  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 10,334
 
Donate to Me
More
One important note again: this is the one and only official support thread for CM-14.1 development.
The Following 32 Users Say Thank You to bgcngm For This Useful Post: [ View ]
17th November 2016, 06:01 PM |#7  
kmzway000's Avatar
Member
Flag Pontianak
Thanks Meter: 16
 
More
Nice . At last mi5 got CM14.1 .
Btw how about CM13 ?
Is it still got updated when this CM14.1 become Official ?
17th November 2016, 06:06 PM |#8  
bgcngm's Avatar
OP Recognized Developer
Flag Lisbon
Thanks Meter: 10,334
 
Donate to Me
More
Once Mi 5 moves to CM-14.1 official nightlies, CM-13.0 nigthlies will stop. That's what happens with all CM official devices.
The Following 20 Users Say Thank You to bgcngm For This Useful Post: [ View ]
17th November 2016, 06:13 PM |#9  
Parisaurus's Avatar
Member
Flag Barcelona
Thanks Meter: 28
 
More
Downloading and creating backups. As soon as i flash it, ill edit. Thanks for your work.
17th November 2016, 06:25 PM |#10  
sai milind's Avatar
Senior Member
Flag MUMBAI
Thanks Meter: 1,125
 
More
First of all a huge thanks to @bgcngm and mi5 devs for bringing cm-14.1 to mi5 and secondly about the camera broken stuff, are we using hal1 or hal3 camera, because when i checked the git for oneplus 3 they too had problems with hal3, hence they shifted back to hal1.
The Following User Says Thank You to sai milind For This Useful Post: [ View ] Gift sai milind Ad-Free
17th November 2016, 06:36 PM |#11  
dkmsn8's Avatar
Senior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by bgcngm

Once Mi 5 moves to CM-14.1 official nightlies, CM-13.0 nigthlies will stop. That's what happens with all CM official devices.

That means we'll get snapshot of cm13 ?
Post Reply Subscribe to Thread

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