FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][UNOFFICIAL][7.1.2][HYDROGEN/HELIUM][OTA][OMS]LineageOS 14.1 r.11-24-2017

1,962 posts
Thanks Meter: 4,126
 
By nijel8, Senior Member on 1st January 2017, 09:57 AM
Post Reply Email Thread

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. Clean flash is mandatory updating from 7.1.1 to 7.1.2 builds or don't bother reporting bugs:
Download: - dedicated builds for both hydrogen and helium...

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

- HELIUM: lineage-14.1-20171124-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_MGD-7.11.16.zip
- for HELIUM - you don't need to flash this again till next MIUI version number change and if you want to:

firmware-HELIUM_MGD-7.11.16.zip
Everybody HIT @jpph THANKS BUTTON for providing us with FREE and FAST FTP mirror where you can find all latest releases by device: jpph's FTP Mirror
Second mirror - HIT @raghavdua1995 THANKS BUTTON for providing us with another FREE mirror where you can find all latest releases by device: raghavdua1995's Mirror
My AFH corner for anything else(firmwares, old releases, fixes): Mi Max
Flash latest 7.1 ARM64 opengapps package of choice.
Note from official Lineage install guide about first time clean flash:
IMPORTANT: If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, else expect crashes.
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:

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
- VoLTE: supported (not tested). Thank you @TheStrix
- 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!



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 7.11.16

Version Information
Status: Stable

Created 2017-01-01
Last Updated 2017-11-24
The Following 164 Users Say Thank You to nijel8 For This Useful Post: [ View ] Gift nijel8 Ad-Free
 
 
1st January 2017, 09:57 AM |#2  
nijel8's Avatar
OP Senior Member
All over US
Thanks Meter: 4,126
 
Donate to Me
More
Reserved
"About Phone" Screenshots...

.....
The Following 37 Users Say Thank You to nijel8 For This Useful Post: [ View ] Gift nijel8 Ad-Free
1st January 2017, 10:38 AM |#3  
Recognized Contributor
Flag Pune
Thanks Meter: 2,184
 
More
Great work as always sir.
Please provide firmware folder also.
Will test and rwport back.
Thanks for this new year gift.

Happy new year.
The Following User Says Thank You to avi3230 For This Useful Post: [ View ] Gift avi3230 Ad-Free
1st January 2017, 11:00 AM |#4  
nijel8's Avatar
OP Senior Member
All over US
Thanks Meter: 4,126
 
Donate to Me
More
Quote:
Originally Posted by avi3230

Great work as always sir.
Please provide firmware folder also.
Will test and rwport back.
Thanks for this new year gift.

Happy new year.

Sorry, can't do...
The Following 4 Users Say Thank You to nijel8 For This Useful Post: [ View ] Gift nijel8 Ad-Free
1st January 2017, 11:38 AM |#5  
eseregin's Avatar
Senior Member
Flag Moscow
Thanks Meter: 540
 
More
Happy new year, nijel, thanks for ROM!

Happy holidays!
The Following User Says Thank You to eseregin For This Useful Post: [ View ] Gift eseregin Ad-Free
1st January 2017, 01:38 PM |#6  
Senior Member
Thanks Meter: 83
 
More
Any tips for those with locked bootloaders who used the EDL TWRP hack? I'd rather not get bricked by flashing the latest bootloader on the leaked MIUI Nougat release.
1st January 2017, 02:09 PM |#7  
Senior Member
Flag XDA Forums
Thanks Meter: 209
 
Donate to Me
More
Quote:
Originally Posted by oatcooky

Any tips for those with locked bootloaders who used the EDL TWRP hack? I'd rather not get bricked by flashing the latest bootloader on the leaked MIUI Nougat release.

+1

i think this is important (as a general announcement too)
The Following User Says Thank You to panyan For This Useful Post: [ View ] Gift panyan Ad-Free
1st January 2017, 02:30 PM |#8  
mat9v's Avatar
Senior Member
Flag Gdynia
Thanks Meter: 1,152
 
Donate to Me
More
Quote:
Originally Posted by oatcooky

Any tips for those with locked bootloaders who used the EDL TWRP hack? I'd rather not get bricked by flashing the latest bootloader on the leaked MIUI Nougat release.

You can remove "fastboot %* flash sbl1 %~dp0images\sbl1.mbn" from batch files that start flashing process in MiFlash to prevent installation of new bootloader.

MiFlash bypasses locked bootloader but I would not try to flash new bootloader on locked phone - it would either work and just change version to Nougat one or would not flash it and the rom would potentially not work at all - I mean it would not get installed as the installation process would not pass the bootloader flashing. Either way hardbricking the phone is not possible, the worst case scenario would require opening the phone to do a flash trick.
But since unlocking bootloader does not break warranty I see no reason to keep it locked and you can always lock back the device using "fastboot oem lock" command if you are worried about security.
The Following User Says Thank You to mat9v For This Useful Post: [ View ] Gift mat9v Ad-Free
1st January 2017, 03:15 PM |#9  
Senior Member
Thanks Meter: 27
 
More
VOLTE support ?
The Following 2 Users Say Thank You to kevinpunk For This Useful Post: [ View ] Gift kevinpunk Ad-Free
1st January 2017, 03:22 PM |#10  
Senior Member
Thanks Meter: 82
 
More
i literally have no words to thank you nijel.its quite a new years gift.another masterpiece by a master.after the closure of cyn inc. the future looked bleak.i especially like the theme engine.oms themes dont look good to me.i knew lineage os was my only hope,but i didnt expect this early.what a pleasant surprise.this new year is definitely off to a good start,thanks to nijel.

edit:clean installed over latest firmware on hydrogen,i found it to be more stable than,cm14.the camera seems to be rock stable,with no crashes so far(stills-100%quality & video at 4k),a problem which i used to face in some roms.lte data works fine in sim2(didnt try sim1)
The Following User Says Thank You to wingryder For This Useful Post: [ View ] Gift wingryder Ad-Free
1st January 2017, 03:36 PM |#11  
tarkzim's Avatar
Senior Member
Flag Kaohsiung
Thanks Meter: 324
 
Donate to Me
More
Quote:
Originally Posted by mat9v

You can remove "fastboot %* flash sbl1 %~dp0images\sbl1.mbn" from batch files that start flashing process in MiFlash to prevent installation of new bootloader.

MiFlash bypasses locked bootloader but I would not try to flash new bootloader on locked phone - it would either work and just change version to Nougat one or would not flash it and the rom would potentially not work at all - I mean it would not get installed as the installation process would not pass the bootloader flashing. Either way hardbricking the phone is not possible, the worst case scenario would require opening the phone to do a flash trick.
But since unlocking bootloader does not break warranty I see no reason to keep it locked and you can always lock back the device using "fastboot oem lock" command if you are worried about security.

@nijel8
sorry for off-topic here, is the new bootloader will not booting with "unlocked bootloader with TWRP" or i can't flash TWRP manually after updating to new bootloader?
and if you guys want, i can pack the latest firmware (leaked?!) into a flashable zip then post here.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes