• 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][8.x][TREBLE][UNOFFICIAL] LineageOS, ResurrectionRemix & more // personal builds

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
This thread was formerly "[ROM][8.1.0][UNOFFICIAL] LineageOS 15.1 [BETA][VoLTE]"

This thread hosts personal builds of LOS15.1 and other ROMs for Mix 2, built from @Cozzmy13 's and official LOS trees. It wouldn't have been possible without tremendous efforts from all the Mix 2 / Mi 6 devs behind the scene; I'm just building upon their awesome work and making choices available, so full credits to them.

Currently I build the following ROMs:
  • LineageOS 15.1 (weekly, follows official LOS schedule)
  • ResurrectionRemix 6 (weekly, follows official LOS schedule)
  • AOSPExtended 5 (biweekly)
  • PixelExperience 8.1 (biweekly)

My builds differentiate from official with some small changes:
  • Default stretch-to-fullscreen (force apps to render in 18:9) - LOS official solution defaults to OFF, which complicates setup
  • Full built-in root from LOS (when possible - enable from Developer options)
  • Lollipop-esque lockscreen fonts (when possible)
  • Grey-blue DeskClock color scheme (when possible)
  • Navbar stays on the right side of the screen under 270° rotation
  • System-level rounded corners overlay (size adjustable on RR), courtesy of @Arasthel
Do note that I build ROMs firstly for self use, so I make changes out of personal preferences, and it's my freedom to accept/reject features (e.g. I will not add gestures into LOS).

What's working / not:
  • Refer to official LOS

Instructions:
  • Coming from MIUI? Since the new encryption has been implemented, you only need to wipe (not format) /data.
  • Flash an appropriate Oreo firmware - the current required version is 8.4.19.
  • Download the latest build and optionally GAPPS
  • Reboot to TWRP
  • Flash the latest build, GAPPS and whatever other additions you need
  • Reboot
  • If you're stuck in bootanimation, manually reboot by holding POWER

Extras:
  • Read here if you want to use unencrypted data
  • Read here if you want to migrate between official/unofficial LOS

Downloads:

Source Code:
  • https://github.com/LineageOS/

XDA:DevDB Information
LineageOS 15.1, ROM for the Xiaomi Mi Mix 2

Contributors
AndyYan, Cozzmy13, mikeioannina, Arasthel, Andr68rus, wight554
Source Code: https://github.com/LineageOS/

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: MIUI Oreo base
Based On: LineageOS

Version Information
Status: No Longer Updated

Created 2018-03-11
Last Updated 2018-10-17
 
Last edited:

CrazyBeaver2377

Senior Member
Jan 19, 2018
416
621
0
Tilburg
Awesome AndyYan! I'm running Arasthel's LOS15.1 currently and have been running your LOS14.1 build prior.

Can you tell what the main differences are between this build and Arasthel's build? Is there no need to flash the kernel 2.zip that has been going around in the other Oreo topics?

Thanks very much for your work!

Edit: Running it now for a few hours, works great! Camera quality seems on par with Arasthel's LOS after flashing the kernel 2. One difference I noticed is that this build doesn't have the AOSP night mode, but only LOS LiveDisplay. The fast blinking led is also solved in this build, where I needed to tweak it on Arasthel's LOS build.
 
Last edited:
  • Like
Reactions: L0802

Jayz2K

Senior Member
Sep 15, 2007
230
97
0
@AndyYan

Glad to see you back with an Oreo version of LOS ! Been following telegram group since a bit and just switched to your release. Thanks for sharing ! I hope battery drain will be improved while roaming with this one. Will check tomorrow and report ;)

Keep it up guys, your work is really appreciated !
Cheers.

Envoyé de mon MI Mix 2 en utilisant Tapatalk
 

m4r0v3r

Senior Member
Jan 27, 2011
377
120
0
@AndyYan

Hello :)

This is more about the lineage 14.1 port. I was built a kernel from the lineage os repos. and I built one from the prebuilt and one from the mokee repos. but they all just boot loop on the mi logo. The kernel also seems to be around 2 megs smaller than the one in the zips but the ram disks are the same size. any idea what I might be doing wrong?

cheers :)
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
I make a clean install. After the Startsscreen i can setup the language, then in the Next screen the setup Program crash. Any ideas?
You installed GAPPS? I've been receiving reports of neither of the linked GAPPS work properly from some of my local mates (which isn't something I can do anything about, I don't even use GAPPS). The vanilla installation works fine on my side.

@AndyYan

Hello :)

This is more about the lineage 14.1 port. I was built a kernel from the lineage os repos. and I built one from the prebuilt and one from the mokee repos. but they all just boot loop on the mi logo. The kernel also seems to be around 2 megs smaller than the one in the zips but the ram disks are the same size. any idea what I might be doing wrong?

cheers :)
I've never built a standalone kernel. Since I don't think I'm building LOS14.1 anymore, I might as well just sticky the manifest I use here, might be of help:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="AndyCGYan/android_device_xiaomi_chiron" path="device/xiaomi/chiron" remote="github" revision="cm-14.1" />
  <project name="AndyCGYan/android_device_xiaomi_msm8998-common" path="device/xiaomi/msm8998-common" remote="github" revision="cm-14.1" />
  <project name="MoKee/android_kernel_xiaomi_msm8998" path="kernel/xiaomi/msm8998" remote="github" revision="mkn-mr1" />
  <project name="hondajohn88/android_vendor_xiaomi_chiron" path="vendor/xiaomi/chiron" remote="github" revision="xenonhd" />
  <project name="hondajohn88/android_vendor_xiaomi_msm8998-common" path="vendor/xiaomi/msm8998-common" remote="github" revision="mkn-mr1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.1" />
  <remove-project name="LineageOS/android_system_bt" />
  <project name="hondajohn88/android_system_bt" path="system/bt" remote="github" revision="mkn-mr1" />
  <remove-project name="LineageOS/android_hardware_qcom_audio" />
  <project path="hardware/qcom/audio/default" name="hondajohn88/hardware_qcom_audio" groups="qcom,qcom_audio,pdk" revision="xenonhd" />
  <project path="hardware/qcom/audio-caf/msm8998" name="RR-chiron/hardware_qcom_audio" groups="qcom,qcom_audio" revision="proximity" />
</manifest>
 

m4r0v3r

Senior Member
Jan 27, 2011
377
120
0
You installed GAPPS? I've been receiving reports of neither of the linked GAPPS work properly from some of my local mates (which isn't something I can do anything about, I don't even use GAPPS). The vanilla installation works fine on my side.



I've never built a standalone kernel. Since I don't think I'm building LOS14.1 anymore, I might as well just sticky the manifest I use here, might be of help:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="AndyCGYan/android_device_xiaomi_chiron" path="device/xiaomi/chiron" remote="github" revision="cm-14.1" />
  <project name="AndyCGYan/android_device_xiaomi_msm8998-common" path="device/xiaomi/msm8998-common" remote="github" revision="cm-14.1" />
  <project name="MoKee/android_kernel_xiaomi_msm8998" path="kernel/xiaomi/msm8998" remote="github" revision="mkn-mr1" />
  <project name="hondajohn88/android_vendor_xiaomi_chiron" path="vendor/xiaomi/chiron" remote="github" revision="xenonhd" />
  <project name="hondajohn88/android_vendor_xiaomi_msm8998-common" path="vendor/xiaomi/msm8998-common" remote="github" revision="mkn-mr1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.1" />
  <remove-project name="LineageOS/android_system_bt" />
  <project name="hondajohn88/android_system_bt" path="system/bt" remote="github" revision="mkn-mr1" />
  <remove-project name="LineageOS/android_hardware_qcom_audio" />
  <project path="hardware/qcom/audio/default" name="hondajohn88/hardware_qcom_audio" groups="qcom,qcom_audio,pdk" revision="xenonhd" />
  <project path="hardware/qcom/audio-caf/msm8998" name="RR-chiron/hardware_qcom_audio" groups="qcom,qcom_audio" revision="proximity" />
</manifest>
so were you using the prebuilt kernel?
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
Awesome AndyYan! I'm running Arasthel's LOS15.1 currently and have been running your LOS14.1 build prior.

Can you tell what the main differences are between this build and Arasthel's build? Is there no need to flash the kernel 2.zip that has been going around in the other Oreo topics?

Thanks very much for your work!

Edit: Running it now for a few hours, works great! Camera quality seems on par with Arasthel's LOS after flashing the kernel 2. One difference I noticed is that this build doesn't have the AOSP night mode, but only LOS LiveDisplay. The fast blinking led is also solved in this build, where I needed to tweak it on Arasthel's LOS build.
Sorry for the late reply.
It has been quite a while since that last LOS15.1 build, during which Arasthel refined the source quite a bit, to the extent that you'd no longer need the prebuilt kernel for up-to-par camera and fixes for a bunch of stuff have been integrated. Try flashing again without it and see it for yourself.
 

CrazyBeaver2377

Senior Member
Jan 19, 2018
416
621
0
Tilburg
Sorry for the late reply.
It has been quite a while since that last LOS15.1 build, during which Arasthel refined the source quite a bit, to the extent that you'd no longer need the prebuilt kernel for up-to-par camera and fixes for a bunch of stuff have been integrated. Try flashing again without it and see it for yourself.
Thanks very much for your reply. Already running your build since yesterday, flashed with opengapps (working fine). Only difference I noticed is the AOSP night mode is missing, but LiveDisplay also works fine. Of course I also noticed the kernel changes, very nice! I love how fast Mix 2 development is going.
 

Sard Shift

Member
Mar 19, 2013
27
22
0
Hi! Thanks for your continued support in building ROMs for us, I really appreciate it.

I was wondering if there'd be any chance of you making 100% stock LOS builds? I don't really have a need for root on my device and I would rather stick to the stock version if at all possible.

Again, I appreciate it! Thanks.
 

Alsybub

Senior Member
Sep 7, 2009
106
27
0
London
Hi,

Thanks for the great ROM! Everything is working well for me but, just one thing, is there any way to adjust the haptic feedback intensity/duration?

I find the dafault setting too intense compared to MIUI.

Thanks

Sent from my MI Mix 2 using Tapatalk
 

kenernest

New member
Oct 26, 2007
3
0
0
Si it necessary change oreo firmware if i hace your ROM 14.1? Sorry about my basicall english.

I think undestand is right but i'll like somebody confirmed, because i was a lucky when rooted my phone after a lot of mistakes.

Thanks

Enviado desde mi MI Mix 2 mediante Tapatalk
 

CrazyBeaver2377

Senior Member
Jan 19, 2018
416
621
0
Tilburg
Si it necessary change oreo firmware if i hace your ROM 14.1? Sorry about my basicall english.

I think undestand is right but i'll like somebody confirmed, because i was a lucky when rooted my phone after a lot of mistakes.

Thanks

Enviado desde mi MI Mix 2 mediante Tapatalk
Yes, read the startpost.

Do the following in TWRP (Most people here use Raupe's TWRP)

Format data
Flash oreo firmware
Flash rom
Flash gapps
Reboot
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone