• 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][10] LineageOS + PixelExperience // personal builds

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
This thread hosts personal builds of LineageOS 17.x and PixelExperience 10 for Mix 2. Full credits to Arian, Wight and others doing the actual bringup, allowing us to build upon the awesome work.

Small changes in my builds:
  • Default stretch-to-fullscreen (force apps to render in 18:9) - LOS official solution defaults to OFF, which complicates setup
  • Grey-blue DeskClock color scheme (when possible)
  • Navbar stays on the right side of the screen under 270° rotation (optional - set the behaviour with "setprop persist.ui.seascape.disable <true|false>" in a rooted shell)
  • Signature spoofing support from MicroG
  • Revived navbar layout tuning via sysui_nav_bar tunable
  • ...

What's working:
  • Everything?

Instructions:
  • Use firmware Stable V11.0.3.0
  • Use official TWRP
  • Download the latest build and optionally GAPPS (PE comes with GAPPS though, don't use any from external sources)
  • Reboot to TWRP
  • Flash the latest build, GAPPS and whatever other additions you need
  • Reboot

Extras:
  • Read here if you want to use unencrypted data - post is from Oreo thread, but still applies

Downloads:

Source Code:

Donation:

XDA:DevDB Information
LineageOS 17.x, ROM for the Xiaomi Mi Mix 2

Contributors
AndyYan, NeoArian, wight554
Source Code: https://github.com/LineageOS/

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: MIUI V11.0.3.0
Based On: LineageOS

Version Information
Status: No Longer Updated

Created 2020-01-11
Last Updated 2020-02-27
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
Compared to the test builds of last year...
- Now using official LOS device trees - you might have to clean flash even if you come from a previous test build by me
- IMPORTANT regarding PE - if you're clean flashing, flash the package twice so that /system can be populated properly. I have no idea why this is happening...
 

dairinin

Member
Jul 17, 2007
16
36
0
Have a problem while installing new PE.

Wiped everything (system, vendor, data). Installed zip (twice, as advised), no error messages.
TWRP warns on reboot that no OS is installed. Phone reboots to fastboot.
Tried twice with the same result. Tried re-downloading zip without success.

Ok, managed to solve the problem. As the device tree is from LOS, the solution is in the LOS thread. Need a recovery with support for SAR. Seems like official TWRP does not. So flashed recovery from the first post of LOS thread and the OS have installed just fine.
 
Last edited:

SanHelios

Senior Member
Oct 19, 2015
115
33
28
Minden
@AndyYan
Nice to see you again being active, and thx (of course to all users who made it possible) providing LOS 17.

I know, this is probadly the wrong thread for this, but openGapps doesn't provide GAPPS for 10. The option is always greyed-out. Where do i get GAPPS then?
 

candiduslynx

Senior Member
Mar 20, 2018
50
9
0
@AndyYan
Nice to see you again being active, and thx (of course to all users who made it possible) providing LOS 17.

I know, this is probadly the wrong thread for this, but openGapps doesn't provide GAPPS for 10. The option is always greyed-out. Where do i get GAPPS then?
You can find them on Sourceforge: https://sourceforge.net/projects/opengapps/files/arm64/beta/
However, not flashable on LOS: Gapps detect SDK 27 (Android 8.1). @AndyYan, can you look into it?
Update: found that PE prop.default file is fine, but for LOS it's old (says SDK=27 and some stuff more). I think you forgot to include proper props to LOS build.
 
Last edited:

AndyYan

Recognized Contributor
Jan 30, 2012
4,197
3,282
113
Beijing
@AndyYan
Nice to see you again being active, and thx (of course to all users who made it possible) providing LOS 17.

I know, this is probadly the wrong thread for this, but openGapps doesn't provide GAPPS for 10. The option is always greyed-out. Where do i get GAPPS then?
You can find them on Sourceforge: https://sourceforge.net/projects/opengapps/files/arm64/beta/
However, not flashable on LOS: Gapps detect SDK 27 (Android 8.1). @AndyYan, can you look into it?
Update: found that PE prop.default file is fine, but for LOS it's old (says SDK=27 and some stuff more). I think you forgot to include proper props to LOS build.
Aw, I don't use GAPPS so I didn't verify that...
Does manually changing prop.default make it pass? Supposedly there's nothing in the device source dictating that.
 

candiduslynx

Senior Member
Mar 20, 2018
50
9
0
Aw, I don't use GAPPS so I didn't verify that...
Does manually changing prop.default make it pass? Supposedly there's nothing in the device source dictating that.
There are several lines that need to be changed (for instance, arch is set to 'arm' instead of 'arm64'). I decided to go with PE for now and don't want to reconfigure all stuff once more.
 

kiki37250

Senior Member
Sep 1, 2014
75
20
8
You can find them on Sourceforge: https://sourceforge.net/projects/opengapps/files/arm64/beta/
However, not flashable on LOS: Gapps detect SDK 27 (Android 8.1). @AndyYan, can you look into it?
Update: found that PE prop.default file is fine, but for LOS it's old (says SDK=27 and some stuff more). I think you forgot to include proper props to LOS build.
Weird, I didn't had this problem yesterday. I used "open_gapps-arm64-10.0-nano-20191209-BETA.zip" on LOS.

@AndyYan Thanks for your build of LOS, it's working like a charm here.
Just gotta need a patch for my provider APN. (I'm on it)
 

lbstrb

Member
Nov 14, 2009
5
0
0
Thanks @AndyYan for the build. I have flashed the PixelExperience version and it is working fine. Using Parrot043's GCam version and the photo quality is also fine.
The major issue I have is regarding VoLTE incoming call support on my carrier (Airtel/India). Outgoing calls are fine, but for incoming (VoLTE) calls my phone doesn't ring at all, but on the caller side it looks as if it is ringing and I am not answering calls. For the time being I have switched to WCDMA mode.
Any input to solve the VoLTE issue is highly appreciated. I have tried creating an APN named IMS with type as ims, but that didn't work.
 
Last edited: