• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][UNOFFICIAL][DISCONTINUED] LineageOS 15.1 for Xiaomi Mi6

blankaf

Senior Member
Apr 28, 2015
119
690
0
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.​
Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are 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 us for messing up your device, we 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.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Important information:
This thread is for LineageOS 15.1 builds for Xiaomi Mi 6. The following will not be supported here:
  • Custom kernels
  • Mods
  • Xposed

We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:
  • Flashed a custom kernel
  • Installed or did mods from untrusted sources
  • Modified system files

WARNING:
  • This is an early preview of LineageOS 15.1, there's no guarantee it'll work stable.
  • Database migration from previous LineageOS is currently NOT supported, you MUST perform a data wipe before.

Tips:
  • SELinux works in permissive
  • FBE is currently not supported
  • NFC is a bit buggy and drains a lot in standby, disable it when you don't use it.
  • You need at least MIUI Global Oreo 8.2.8 firmware, otherwise you'll get error 7 when installing the zip. Latest MIUI Global Oreo firmware is recommended.

Installation:
First time flashing LineageOS 15.1 on your device, or coming from another ROM?
  1. Download the zip(s)
  2. Install a compatible Recovery (I recommend twrp-3.2.1-0-sagit-blankaf-3.img as it works with /vendor (/cust) partition and February security patch decryption.)
  3. Perform a nandroid backup of your current ROM (Optional)
  4. Format data & wipe system, data, cache and dalvik cache
  5. Flash LineageOS
  6. Optional: Install the Google Apps addon package
  7. Reboot

Source code:

Credits:
  • LineageOS Team & Contributors
  • Code Aurora Forum
  • ......

Download:

XDA:DevDB Information
LineageOS 15.1 for Xiaomi Mi6, ROM for the Xiaomi Mi 6

Contributors
blankaf
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x

Version Information
Status: Beta

Created 2018-02-24
Last Updated 2018-04-08
 

0kti

Elite Member
Jun 11, 2009
1,194
251
83
kuj-pom
How's battery life?
Maybe some day we will receive official?

If not how ofter you will be update this rom?

Tapatalk - Xiaomi Mi6
 

wojtoo

Senior Member
Jul 29, 2016
196
96
28
PL

Ultraschorsch

Senior Member
Sep 29, 2007
633
159
0
Munich
@blankaf
It's good practice to mention in credits people who works you based on
device_xiaomi_sagit - it's based on xiaobai https://github.com/thune-xiaobai/android_device_xiaomi_sagit/tree/lineage-15.1-unclean
vendor_xiaomi_sagit - based on NisseCool

few days ago I saw what repo you forked but you delete it
unfortunately, I haven't chance to find any of your previous project.
could you tell as please your achievement as a developer
thanks
Ummm, do you know who made blankaf? Hint: the answer is in your post.
 

Dobsgw

Elite Member
Dec 16, 2015
2,100
1,673
0
How its related to my post?
so now we have same undercover developer who can disappear by night ?
good luck
Just don't use the ROM.
XDA isn't meant to be personal. Just a webpage to share work.

If you don't like it just don't use it I guess.
Whatever gets done is usually added to github so any changes can be forked into others builds so improvement happens regardless of the developer abandoning the project etc.
That's the point of android development. Its open source so progress is shared.

Don't worry too much and go with the flow :)
 

Ultraschorsch

Senior Member
Sep 29, 2007
633
159
0
Munich
Just don't use the ROM.
XDA isn't meant to be personal. Just a webpage to share work.

If you don't like it just don't use it I guess.
Whatever gets done is usually added to github so any changes can be forked into others builds so improvement happens regardless of the developer abandoning the project etc.
That's the point of android development. Its open source so progress is shared.

Don't worry too much and go with the flow :)
What Dobsgw said ;)
 

Liaoyiwa

Member
Nov 27, 2017
17
2
0
Thanks for your hard work!
I flashed this ROM,and found a issues.
Every time I put the Sim card into the phone. it just pop up"com.android.phone has stopped"over and over again.
If there is no Sim card in it , it is normal.
 

blankaf

Senior Member
Apr 28, 2015
119
690
0
LineageOS 15.1 - 25th Feb
  • SELinux is now enforcing (Huge thanks to @DanWard)
  • Upstream kernel to 4.4.118
  • Blobs from MIUI Global Oreo 8.2.24
  • Some misc tweaks
  • Synced with LineageOS code

lineage-15.1-20180225-UNOFFICIAL-sagit.zip

NFC might still drain a lot of battery, disable it when you don't use it!

I am pretty sure goodix fingerprint sensor works but I can't test it as I have fpc, If someone tested the goodix fingerprint sensor would be appreciated! Confirmed working
If you find any bugs that weren't there in last build a logcat would be very appreciated!
 
Last edited: