• 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

[1005] LineageOS 14.1 for MI MAX 2 (oxygen)

Status
Not open for further replies.

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
Introduction
LineageOS 14.1 designed and built for MI MAX 2
Images

(Click "Screenshots" on top left for more)
Downloads
MOD EDIT Download removed
Installation instructions
Just like any device flashing using TWRP, before which you need xiaomi oem unlocking
  1. Unlock bootloader >> && install TWRP
  2. Boot into TWRP recovery by holding Volume Up
  3. Download ROM file in your PC, transfer ROM file to phone with MTP access
  4. Wipe -> Wipe data if it was not LineageOS 14.1
  5. Install -> select ROM file you just download, swipe to flash
Features
  1. MIUIv5 like navigation buttons haptic feedback
  2. Brevent (formerly "Prevent Running") integrated
  3. Clean, no bloatware
Warning: Although this is designed for Max 2, this project is in Beta test status.
Warning: Brevent (which was "Prevent running") is built into this ROM. For any IME or Tasker like app that need foreground running, remove the app from Brevent.

Donation
Consider donate to the author to get this ROM better
Paypal.com or QQ: [email protected]
Alipay Donate:
The kernel in this ROM is taken from stock rom. No source released by Xiaomi O.E.M. yet

XDA:DevDB Information
android_device_xiaomi_oxygen, ROM for the Xiaomi Mi Max 2

Contributors
xuefer
Source Code: https://github.com/xuefer/android_device_xiaomi_oxygen

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
Based On: LineageOS

Version Information
Status: Testing
Current Beta Version: 1005
Beta Release Date: 2017-10-05

Created 2017-07-11
Last Updated 2017-10-05
 

Attachments

Last edited by a moderator:

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
This project is still in develop. Donate if you like this project

Current buggy/non working:

  • MI SIM not working (no idea how to support it)

What's working/fixed

  • Display color fixed, disabled color profile while keeping other SDM effects
  • WiFi fixed. MAC address need fixed
  • Bluetooth
  • headphone-jack
  • Phone calls
  • Phone IMS setting won't crash any more
  • RIL stable, thanks to getting rid of MI3TD special changes
  • SMS
  • Dual SIM/LTE
  • LED/Lights, HAL driver written (modified source from MI3 TD), but LineageOS support 256 levels only
  • Touch, Vibration, Sensors
  • Fingerprint fixed
  • packed firmware into lineage_oxygen_*.zip (firmware need to match blobs version)

WIP status (not published yet)

  • Infra-red

Sorry for the delay. I was busy with my house and the device was given to my dad. I'll try to fix Bluetooth issue. for any boot loop issue, please really provide log like i describe in one of the reply
Thank you for the donation

ChangeLog:
1005:
0826:
  • adds widevine drm
0823:
0811:
  • fixes for goodix fingerprint sensor
  • fixes white led-blink (custom brightness is N/A for blinking, limited by kernel)
  • removes fingerprint no longer map as dpad center button
  • DPI reset to 480 (default) instead of the real-world value. fix play store app compatibility issue
 
Last edited:

Akemdwr

Senior Member
Feb 25, 2010
60
3
0
Kiev
If I am on official global ROM, I need — Advanced wipe, wipe: dalvik, cash, data, system; or just wipe data?
And after flash will be TWRP still working, so I can return to backup without PC?
Sorry if my questions are a little nubish, my previous devise was sony, on 5 android, nougat and xiaomi are still complicated for me.
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
Nice seeing Lineage coming, thanks Xuefer.
Won't install until wifi/bluetooth/sound works, but I'm already excited :)
what about "RIL get restarted periodically" :cyclops:
wifi(with correct mac)/bluetooth done

ear-piece/speaker doesn't work for now but all other seems fine, including sound over bluetooth, sound over Wireless Display

it's really hard to track things down, took me hours to get each problem fixed. let's hope if someone donate
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
Trying this many thanks!
Btw is there an official development thread or is this it?
it depends on what you mean by "official"
I made both this ROM and this thread, yes, official
for LineageOS: since there's no kernel source release by xiaomi, i guess it won't be accepted by LineageOS
for other independent work on same goal, there is, however comes with bloat-ware, can be found on miui.com thread
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
If I am on official global ROM, I need — Advanced wipe, wipe: dalvik, cash, data, system; or just wipe data?
And after flash will be TWRP still working, so I can return to backup without PC?
Sorry if my questions are a little nubish, my previous devise was sony, on 5 android, nougat and xiaomi are still complicated for me.
you need to:
back up data if you want
wipe cache if you want
wipe data is required (which also wipe dalvik-cache)

to flash back MIUI, restore data (or wipe data), flash MIUI full zip
as of now this version: do NOT auto reboot, do NOT reboot using GUI button. hold hardware button key for a few seconds so it power off, then power on, you're good to go, wait a few minutes for the initial boot
 
Status
Not open for further replies.