[Xiaomi Mi Max ROMs, Kernels, Recoveries, & Other D] nijel8:
FINAL RELEASE. NO MORE UPDATES!!!​

​

Bug reports with logs are very welcome!!! Without logs I most likely won't be able to help you/fix things...

Wipe system, data, cache, dalvik, flash ROM:

Download: - FINAL RELEASE! - dedicated builds for both hydrogen and helium...

- HYDROGEN: lineage-14.1-20180919-UNOFFICIAL-hydrogen.zip

- HELIUM: lineage-14.1-20180915-UNOFFICIAL-helium.zip
​

Then flash firmware update

for your device

:

- for

HYDROGEN

- you don't need to flash this again till next MIUI version number change and if you want to:

firmware-HYDROGEN_MG-9.2.1.0.zip
​

- for

HELIUM

- you don't need to flash this again till next MIUI version number change and if you want to:

firmware-HELIUM_MG-9.2.1.0.zip
​

My AFH corner for anything else(firmwares, old releases, fixes): Mi Max​

Flash latest 7.1 ARM64 opengapps package of choice.

If you are updating this ROM previous release try dirty flash first... You might get away with it...:) Wipe clean if problems and start over.

Native SU(root access) is and will always be present in this ROM.

SELinux status: Enforcing

Changelog:

09-15-18 - FINAL RELEASE! Fixes/New:

- Updated Android security patch level to September 5, 2018

- Sync with latest LineageOS sources
​

08-10-18 - Fixes/New:

- Updated Android security patch level to August 5, 2018

- Sync with latest LineageOS sources
​

07-22-18 - Fixes/New:

- Sync with latest LineageOS sources
​

06-17-18 - Fixes/New:

- Network Traffic Monitor: animate speed color to match arrows color for data sending/receiving

- Sync with latest LineageOS sources
​

05-30-18 - Fixes/New:

- Settings: add option to disable Nougat "In-call Auto DND mode" and play short sound during phone calls when SMS, MMS, Email, etc arrives - Settings > Sound > Do not disturb > In-call Auto DND mode

- Sync with latest LineageOS sources
​

05-06-18 - Fixes/New:

- Dialer: improve and fix dialpad layout

- Sync with latest LineageOS sources
​

04-08-18 - Fixes/New:

- Kernel: fix some scheduler policies and devices suspend issues

- Sync with latest LineageOS sources
​

03-16-18 - Fixes/New:

- if it ain't broke, don't fix it :cowboy:

- Sync with latest LineageOS sources
​

02-24-18 - Fixes/New:

- Kernel: add custom KCAL support

- Kernel: add Sound Control support

- Settings: KCAL support integrated in Settings > Display > LiveDisplay > Picture Adjustment(no root access required)

- Settings: Sound Control support integrated in Settings > Sound > Sound control(no root access required)

- Sync with latest LineageOS sources
​

02-16-18 - Fixes/New:

- Kernel: updated to latest 3.10.108

- Kernel: WiFi driver updated

- vold: add support for ext4 and f2fs formated external SD cards

- Base updated to latest Stable MIUI Global(matching firmware available)

- Sync with latest LineageOS sources
​

01-29-18 - Fixes/New:

- Settings: allow single SIM disable - get some quiet time with BT and WiFi on :)

- Settings: fix first time setting up root option not saved

- AppOps: display all ops, don't hide anything

- Snap: allow shutter sound disable for all countries

- Framework: don't re-launch stopped activities while the device is sleeping - squeeze more battery juice

- Sync with latest LineageOS sources
​

01-17-18 - Fixes/New:

- RIL: fix import/export contacts from/to SIM cards

- Sync with latest LineageOS sources
​

01-01-18 - quick fixes - Fixes/New:

- SystemUI: fix VoLTE icon missing

- Framework: fix kayboard missing in decrypt mode
​

01-01-18 - Fixes/New:

- Kernel: enable power-off alarm feature

- init: fix power-off alarm

- healtd: fix missed power-off alarm if device is OFF and charging

- Framework: fix kayboard resets to default in limited boot mode

- DeskClock: mimic what the proprietary Qualcomm power-off alarm app does: Since there is no way to continue boot properly after power-off alarm is triggered, the device will POWER OFF when alarm is snoozed or times-out; REBOOT when alarm is dismissed

- MediaScanner: try to fix ringtones reset to defaults if device is restarted with SIM 1 disabled(not tested)

- Sync with latest LineageOS sources
​

12-20-17 - Fixes/New:

- Camera: add QR/Barcode Scanner

- Framework: safely add signature spoofing permission for GmsCore(microG)

- Battery: improve lockscreen real time charging info

- Settings: add real time info on Battery settings screens

- Settings: improve Network Traffic Monitor settings

- Base updated to latest Stable MIUI Global(matching firmware available)

- Sync with latest LineageOS sources
​

11-24-17 - Fixes/New:

- Framework: eliminate single tap Home button delay if double tap action is set to "Last app"

- Network Traffic Monitor: add setting to hide speed, animate arrows for data sending/receiving

- Battery: turn off charging light if charger plugged in but not charging

- Kernel: keep battery fully charged while charger plugged in

- Kernel: add hoplimit/TTL target support for changing TTL if carrier is limiting internet sharing/tethering

- Add Substratum support - install/reinstall Substratum app from Play Store

- Base updated to latest Global Dev MIUI 7.11.16(matching firmware available)

- Sync with latest LineageOS sources
​

11-13-17 - Fixes/New:

- Updater: fix update check and notifications

- Kernel: fix sudden battery capacity drop to zero at low charge thus causing early shutdown

- Kernel: disable all mouse input devices

- Kernel: Increase maximum charging current to 2000 mA

- Base updated to latest Global Dev MIUI 7.11.6(matching firmware available)

- Sync with latest LineageOS sources
​

10-28-17 - Fixes/New:

- Settings: dial code *#*#4636#*#* -> Phone info is multi-SIM aware now

- Kernel: patched KRACK Wi-Fi vulnerability (thanks @Zola III)

- Base updated to latest Global Dev MIUI 7.10.19(matching firmware available)

- Sync with latest LineageOS sources
​

10-14-17 - Fixes/New:

- Telephony: respect user DNS addresses set by prop(net.rmnet_data0.user_dns1, net.rmnet_data0.user_dns2) for mobile data as well

- Telecomm: fix: use SIP calls for SIP contact entries and regular calls for regular entries

- Kernel: back to optimized RT 'Linux 3.10.105' stable

- Base updated to latest Global Dev MIUI 7.10.12(matching firmware available)

- Sync with latest LineageOS sources
​

09-30-17 - Fixes/New:

- Charging: fix QC 1800mA limitation

- Bluetooth: add support for WBS(Wide Band Speech) needed for some cars to connect(not tested)

- Telephony: fix "Keep preferred SMS Sim"

- Kernel: RT tasks optimizations(thanks @Zola III)

- Kernel: update to 'Linux 3.10.107'

- Build: use Snapdragon LLVM with cortex-a53 fixes(thanks @Zola III)

- Base updated to latest Global Dev MIUI 7.9.22(matching firmware available)

- Sync with latest LineageOS sources
​

09-16-17 - Fixes/New:

- Dialer: fix crash when launching Conference Manager

- Base updated to latest A-7.0 Global Dev MIUI 9 v.7.9.15(matching firmware available)

- Sync with latest LineageOS sources
​

09-02-17 - Fixes/New:

- Pico TTS: fix garbled output

- Sync with latest LineageOS sources
​

08-16-17 - Fixes/New:

- Phone: take 2(final): fix reboot when receiving call and per SIM ringtones are not yet set by user(after clean flash)

- Settings: take 2(final): fix ringtone volume control playback if ringtones are not yet set by user(after clean flash)

- FMRadio: take 2: fix unable to create initial recordings folder

- LineageOS Updater: OTA check and notify for ROM updates(Settings > About phone > LineageOS updates)

- Sync with latest LineageOS sources
​

08-13-17 - Fixes/New:

- Phone: fix reboot when receiving call and per SIM ringtones are not explicitly set/updated(fingers crossed...)

- Settings: disable ringtone selection for empty slot or disabled SIM

- Settings: fix ringtone volume control playback if SIM 1 has no ringtone selected

- Dialer: bring ringtone settings in-line with system settings

- Battery: fix wrong voltage in Lock screen charging info

- Audio/Eleven: fix playback for some flac/ogg encoded media files

- Audio/Bluetooth: enable aptXHD codec support

- Sync with latest LineageOS sources
​

08-07-17 - Fixes/New:

- Phone: fix IMEI per SIM slot in Dialer and Status

- Settings: fix per SIM ringtone set and playback(need dual SIM feedback)

- Settings: add option to show/hide Lock screen real time charging info(Settings > Security > Screen lock gear)

- kernel: few optimizations

- Base updated to latest A-7.0 Global Stable MIUI 8.5.1.0(matching firmware available)

- Sync with latest LineageOS sources
​

07-23-17 - Fixes/New:

- Statusbar: add VoLTE icon from CAF (not tested, need feedback)

- Battery: display real time charging current, voltage and temperature on Lock screen

- Media: disable Headset Safe Volume annoying message for all countries (not tested, need feedback)

- Snap: fix low resolution front camera switch icon

- kernel: force enable charging on power change - should fix battery not charging when charger is first connected sometimes

- Sync with latest LineageOS sources
​

07-08-17 - Fixes/New:

- Dialer: add T9 support for Greek, Hebrew, Korean, Russian, Ukrainian(not tested, need feedback)

- Settings: add per SIM ringtone support(not tested, need feedback)

- Settings: add option to show RAM bar in Resents view(Settings -> Memory)

- Settings: add Enhanced volume control option(doubles volume steps)(Settings -> Sound -> Enhanced volume control)

- Settings: togle SELinux(Settings -> About phone -> SELinux status)(Restart required)Now you can run whatever *** mods(Viper etc?) you want

- QTI-Telephony: update from MIUI 7.6.8 and fix more pointers to Lineage/Android framework resources

- thermal-engine: decipher /system/etc/thermal-engine-89(5/7)6.conf configuration files for easy cpu throttle tuning

- kernel: set androidboot.selinux=permissive (fixes init.d and userinit.sh support)

- kernel: enable EXFAT and NTFS support(does it fix OTG EXFAT/NTFS drives access!?)

- kernel: enable and set TCP Westwood+ congestion control as default

- kernel: enable and set FIOPS i/o scheduler after boot complete

- kernel: lots of task scheduler optimizations

- fix file/folder delete on EXFAT formated SD Card bug

- Sync with latest LineageOS sources
​

06-24-17 - Fixes/New:

- Settings: add option to disable battery light pulsing on QC charging(Settings > Notifications > Battery light)

- Settings: add option to enable zRAM, configurable in /system/etc/cpu/cpu.conf(Settings > Memory)

- Keyguard: fix and enable Quick unlock feature for PIN entry as well(Settings > Security > Screen lock)

- Task scheduler and memory config exposed in /system/etc/cpu/cpu.conf, defaults set per CAF config for SD650/652

- Sync with latest LineageOS sources
​

06-12-17 - Fixes/New:

- FMRadio: revert "don't require wired headset/headphones plugged in"

- FMRadio: fix recording

- Settings: add user-adaptable Home button double tap timeout for better go-to-Home-screen experience(Settings > Buttons > Home button)

- Settings: fix core_ctl handling(root access should be bug-free now)

- Keyguard: port Quick unlock feature from CM-12.1(Settings > Security > Screen lock) (only for password for now, pin still buggy)

- Base updated to latest A-7.0 Global Dev MIUI 7.6.8(matching firmware available)

- Sync with latest LineageOS sources

- fix all my last-build sh*t
​

06-04-17 - Fixes/New:

- Settings: add option to hide Nettork Traffic Monitor arrows, make text bold for consistency

- Camera: fix camera-deamon cpuset

- FMRadio: don't require wired headset/headphones plugged in

- Settings: add SafetyNet helper toggle in Developer options

- System: change double tap timeout 300 -> 120 for more tolerable, lag-free Home button single tap action(Home screen)

- Settings: add CPU power/perf preferences (Battery->Battery saver and performance) for loading and configuring core_ctl/governor in real time(requares root access)... SEE NOTE

- Performance: tweak MSM-irqbalance

- Kernel: lots of cherry-picks from yet-to-be-merged(if...) changes to Lineage kernel source(thanks TheStrix)

- Base updated to latest A-7.0 Global Dev MIUI 7.5.25 - matching firmware update is highly recommended!

- Sync with latest Lineage sources

- Su: broke some things this time:(
​

05-14-17 - Fixes/New:

- Settings: add Nexus/Pixel 7.1.2 "Usage Alerts" feature in Battery overflow menu

- Battery: add pulsing LED (low-90% level) while charging with QC 2.0/3.0 charger

- Power: switch to @Zola III recommended CPU config with minor change (2+1 cores)

- Developer options: add "Restore selected USB Configuration" setting when USB connected: !!!READ PREFERENCE SUMMARY!!!

- Status bar: rework Network traffic monitor

- Base updated to latest A-7.0 Global Dev MIUI 7.5.11 - matching firmware update is highly recommended!

- Sync with latest Lineage sources
​

- USB: fix MTP as default

- QS: fix CellularTile in-header-tap to toggle mobile data ON/OFF

- kernel: re-add lost IPTV support (IP multicast)

- Browser: welcome to the new Lineage lightweight Jelly browser

- Base updated to latest A-7.0 Global Dev MIUI 7.4.27

- Sync with latest Lineage sources
​

04-16-17 - Fixes/New:

- Android 7.1.2

- Lot of cherry picked fixes

- Base updated to latest A-7.0 Global Dev MIUI 7.4.13

- Sync with latest Lineage sources
​

04-08-17 - Fixes/New:

- fix helium core_ctl max_cpus set to 4

- Browser: remove Gello (big file size and bugs)

- Base updated to latest A-7.0 Global Dev MIUI 7.3.30

- Sync with latest Lineage sources
​

03-27-17 - Fixes/New:

- Camera: fix video recording not saved or corrupt file saved with non-stock camera apps

- Telephony: fix com.android.phone FC trying to access SIM settings from Dialer Calling accounts settings

- Kernel: back to stock (fixes and new features stay)... 'nough fooling around...

- CPU: back to stock configuration... 'nough fooling around...
​

03-26-17 - Fixes/New:

- Telephony: fix SIM detection with userdata encrypted

- Snap: fix record time and pause button visability in some cases

- Kernel: add CD-drive emulation for use with DriveDroid and similar

- Kernel: enable 6 boot CPUs

- Kernel: tune Adreno idler

- CPU: tune core_ctl and interactive governor

- Base updated to official A-7.0 Global Dev MIUI 7.3.23 (update firmware if needed)

- Sync with latest Lineage sources
​

03-19-17 - Fixes/New:

- Bluetooth: handle bluetooth/BLE modes separately thus persisting user set state across restarts

- Phone: Fix missed call notification light turning off after few seconds in some cases

- Kernel: tune core_ctl

- Kernel: add Adreno idler for msm-adreno-tz GPU governor

- Kernel: add virtual mouse driver back (didn't fix the problem for some users having cursor showing up occasionaly)

- Base updated to official A-7.0 MIUI Global Dev 7.3.16 (update firmware if needed)

- Sync with latest Lineage sources
​

03-11-17 - Fixes/New:

- Camera: Fix video recording frame freeze after ~30 sec

- Dialer: Proper fix for missed call notification light (screen OFF -> light ON... system wise for all notifications with light enabled)

- Bluetooth: Fix bluetooth ON setting not saved (persist bluetooth state across restarts)

- Messaging: Allow MMS with mobile data OFF

- PinnerService: Pin key files into memory for better system performance

- sepolicy: Address some more denials

- Base updated to official A-7.0 MIUI Global Dev 7.3.2 (update firmware if needed)

- Sync with latest Lineage sources
​

03-05-17 - Fixes/New:

- Battery: further fix sudden battery level drop bug(needs more testing)

- Settings: final fix for Developer options black screen hanging

- Settings: use classic Stock Android Primary Colors

- LiveDisplay: Fix display mode handling

- Phone: fix FC when roaming

- Audio: add aptX codec support

- Sync with latest Lineage sources
​

02-27-17 - Fixes/New:

- Battery: fix inacurate battery level after device wakeup from prolonged sleep(sudden battery level drop bug... needs more testing)

- Phone: fix No Notification light on missed calls

- Settings: fix Developer options black screen hanging with latest Lineage commits

- Sync with latest Lineage sources
​

02-21-17 - Fixes/New:

- cpu_ctl: Set small cores up and down busy thresholds back to stock (UI lag/worst battery?)

- Input: Fix Wired Headset Volume up/down buttons

- Settings: Fix unable to set User profile picture

- Settings: Hide sRGB toggle in developer options, Mi Max does't support sRGB color space

- Postprocessing: Fix displayfeature service

- Radio: Fix mmbn-daemon service

- sepolicy: Address more denials

- Sync with latest Lineage sources
​

02-18-17 - Fixes/New:

- Framework: enable WiFi display

- Kernel: add Multicast and NAT UPDLite support(for IPTV)

- Kernel: remove virtual mouse input device(who needs that?)

- The quest for better blobs continues: base updated to official A-7.0 MIUI Global 7.2.16 (update firmware if needed)
​

02-12-17 - Fixes/New:

- wlan: Disabled logging to /sdcard/wlan_logs

- core_ctl: Set small cores up and down busy thresholds(per mat9v suggestion)

- cherry-pick latest device changes

- base updated to official A-7.0 MIUI 7.2.9 China Dev (update firmware if needed)

- Synced to latest Lineage sources
​

02-01-17 - Fixes/New:

- USB config: Fix no MTP with clean flash/Dev settings disabled

- Dialer: add Delete button to InCall Dialpad number field

- System profiles: Fix black screen after boot if Lockscreen is disabled in active profile

- Improved fix data lost after TWRP backup/restore

- QTI Telephony is back due to some SIM cards can't authorize and switch network modes​

01-29-17 - Fixes/New:

- Fix data and settings lost after TWRP backup/restore operations

- Button settings: added long press on power button while screen-off to turn torch on/off

- WiFi 2.4ghz performance fix (props)

- MTP is now the default USB configuration

- ADB debug and USB charging notifications disabled, to enable (why would anyone need that!?) set persist.charging.notify and/or persist.adb.notify to 1 in build.prop

- Snap camera: fix thumbnail sometimes not being shown initially in video mode

- MIUI QTI Telephony removed due to interfering with Android Telephony and Preferred network type (is VoLTE working?)

- MIUI base updated to latest 7.0 beta 7.1.19​

01-27-17 - Fixes/New:

- Full HELIUM support build from scratch. Thank you @Jerry08 for pointing out missed core_ctl parameter

- GPS: full support for GLONASS, BeiDou etc. Thank you @TheStrix for the new HAL:good:

- VoLTE: supported (not tested). Thank you @TheStrix:good:

- Snap camera: no more FC switching to front camera if back camera is set to 4K UHD

- Snap camera: now last used camera is active when reopening the app

- QS panel: Bluetooth toggle is no longer disabled after first use

- Sim card settings: user set Preferred network type is no longer changing by system

- Sim card settings: friendly title/summary for CDMA roaming prefference

- Synced to latest Lineage code​

01-19-17 - Fixes/New:

- Adaptive display: configuration rework for better response to ambient light changes

- Tethering: you should no longer see ZERO in QS tile with clients connected

- Kernel: added support for f2fs encryption

- Synced to latest Lineage code​

01-17-17 - Fixes/New:

- Settings->Status bar: added Network traffic monitor preference

- Settings->Status bar->Status bar icons: added SU indicator show/hide switch

- Telephony: attempt to bring back H+ icon in Status bar for those who lost it(need feedback)

- Building again with default compiler​

01-13-17 - Fixes:

- Button brightness is back in Settings, my apologies

- Brought back Gello, android browser too buggy

- Latest MIUI 7.1.12 base

- Synced with latest Lineage code, lot of commits/fixes...Not for our device specifically but we should see Android fixes

- Build with Qualcomm Snapdragon LLVM compiler​

01-11-17 - Fixes/New:

- GPS: working finally

- Camera: now has all it needs to work properly including auto-focusing in scanning apps(need more testing)

- Language & input settings: cleaned up the mess that was there

- Graphics: added Vulkan support​

01-07-17 - Fixes/what's new:

- MIUI base updated for both hydrogen and helium

- Button Settings: added buttons brightness slider and fixed it for real time change

- Language & input settings: brought back missing keyboard select and settings items(were disabled for some dev test)

- Email: removed 20 extra EAS accounts flooding Add Account screen(left from some dev test)

- SIM # settings: SIM cards are now properly recognized in settings(need more testing)

- Preferred network type: device now is a World Phone with ALL network types to choose from

- speaker volume: tuned down a bit

- updater-script: no more install headaches for helium users... Sorry about that​

01-01-17

- Initial release.
​

Device source in use: My Github

Thank you TheStrix for maintaining the official device repos!:good:

XDA:DevDB Information

Lineage OS 14.1, ROM for the Xiaomi Mi Max

Contributors

nijel8, Zola III

Source Code: https://github.com/lineageos

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Recomended

Based On: Lineage OS 14.1 & MIUI 9.2.1.0

Version Information

Status: Stable

Created 2017-01-01

Last Updated 2018-09-15