[ROM][UNOFFICIAL] LineageOS 21 for Mi Max 2 - Kernel 4.19

Search This thread

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
1654054452255.png

LineageOS is a free, community-built, aftermarket firmware distribution of Android 14 (U), which is designed to increase performance and reliability over stock Android for your device.​

Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

What's working?
Fingerprint
RIL
Mobile data
DT2W
Camera
GPS
Lights
Sound / vibration

Known issues
Front camera video

Downloads
LineageOS 21
Recovery
Stay tuned
Device support channel

Flashing Instructions:
DO NOT use any custom recovery

- Flash the recovery
- fastboot wipe-super super_empty.img
- Reboot to LOS recovery
- Select `Factory reset" --> "Format data/factory reset`. You phone should say that /data, /cache, and /metadata have been formatted.
- Go back to main menu and select "Apply update" --> "Apply from ADB"
- Connect your phone to a computer
- Run `adb sideload rom_file_name.zip` in your cmd/powershell/terminal and wait until it finishes
- Reboot and enjoy

Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Magisk module
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If you like my work, consider a donation! MY PAYPAL

Contributors

me-cafebabe
 
Last edited:

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
Changelog for Android 14( LoS 21.0)
February 15

• Merged february security patch
• New boot animation
• Fixed some bugs regarding downloading files
• Kernel upstreamed to 4.19.306
• Other minor issues fixes

January 15
• Merged January security patch
• Fixed DT2W issue
• Add OTA support
• Kernel upstreamed to 4.19.303

December 31
• Initial Android 14

===================================

Changelog for Android 13( LoS 20.0)
November 2

• Merged october security patch
• Based on new kernel 4.19
•(los20 has been discontinued, 21 will be released next )

September 9
• Merged July security patch
• Update Chromium Webview to 117.0.5938.60
• Automatic translation import

July 9
• Merged July security patch
• Fixed regulator reference section mismatch
• Fix format zero-ed out SD card
• Update Chromium Webview to 114.0.5735.196
• Add additional NTP server for China region

June 25
• Merged June security patch
• Android 13 QPR3
• Update IMS related blobs to LA.UM.9.6.3.r1-06200-89xx.0
• Build Lineage Health HAL
• Bring back the hardware key and lights

May 5
• Merged May security patch
• Fixed FMRadio crash
• Fixed x25 socket not accept on connect
• Simplified Build Number information
• Fix potential issues with power
• Backport network related patches from 4.14
• Other minor issues fixes

April 17
• Merged April security patch
• Add back FMRadio
• Other minor issues fixes

March 20
• Merged March security patch
• March 2023 Quarterly Platform Release (QPR2)
• Use AOSP aptX/aptX HD

February 13
• Merged February security patch
• Pass CTS/Play Integrity by default under non-root
• Switch back to release-keys tag
• All system apps support Android 13 dynamic Themed icons
• Fix call echo for some users (untested)
• Fixed f2fs scanning NAT block infinite loop issue
• Other minor issues fixes

January 09 (2023)
• Merged January security patch
• Fixed screen recording issue
• Fixed USB dac
• Update keymaster to V4
• Kernel upstreamed to 4.9.337
• Updated to the latest mainline exFAT driver

December 14 (2022)
• Fixed the issue that the screen cannot be turned off
• Fixed an issue where audio was blocked during a call for some users
• Other minor issues fixes

December 10
• Merge Android 13 QPR1
• Merged December security patch
• Enable LLVM Polly optimizer for kernel
• QPR1 new media player
• Enable compressed APEX
• Fix undefined behavior in bit shift for AUDIT_BIT
• Updated to the latest mainline exFAT driver
• Kernel upstreamed to 4.9.335
• More performance improvements
• Other minor issues fixes

November 09
• Merged November security patch
• Migrate to QSSI build (Recommended to wipe the vendor partition before flashing)
• Update Graphics from LA.UM.10.6.2.r1-01600-89xx.0
• Fixed LQI recording
• Fix BUG when iput after ocfs2_mknod fails
• Fix initial connector audio value
• Remove some unnecessary configuration and optimize rom size
• Kernel upstreamed to 4.9.332
• Other minor issues fixes

October 19
• Fixed picture and Night Light flickering
• Fixed Jelly browser storage permission
• Update aptX from raven
• Update USB configure from LA.VENDOR.1.0.r1-17200-WAIPIO.QSSI13.0

October 08
• Fixed bluetooth calling
• Restoring the Jelly browser (Please flash gapps in advance instead)

October 06
• Merged October security patch
• Temporarily use DuckDuckGo instead of Jelly browser (because permission problem)
• Upstreamed Pixel power HAL to the latest android 13 tag
• Fixed SD card mount issue for exFAT filesystem
• Added OTA support
• Update kernel to 4.9.330

September 26
• Fixed fingerprint issue
• Fixed no network connection

September 25
• Initial Android 13

===================================

Changelog for Android 12.1( LoS 19.1)
October 11

- Merged October security patch
- Discontinued, no follow-up maintenance

Changelog for Android 12.1( LoS 19.1)
September 24

- Added Singapore network support
- Enable new Power implementation
- Kernel upstreamed to 4.9.329
- Synced latest LineageOS sources

September 11
- Merged September security patch
- Fixed an issue where goodix fingerprints could not be deleted
- Fixed refcount leak
- Use navbar by default
- Merged LA.UM.10.6.2.r1-02500-89xx.0 tags
- Kernel upstreamed to 4.9.327

August 28
- Fixed Bluetooth calling issues
- Fixed some user sensors issues
- Fixed Ok Google functionality
- Added Brazil Vivo VoLTE support
- Kernel upstreamed to 4.9.326

August 10
- Merged August security patch
- Added JIO carrier support
- Update some blobs from FP
- Updated media codec

July 30
- Fixed call speaker volume is too low
- Fixed an issue with low speed adapter charging
- Added WireGuard
- Increase wifi scan results
- Updated wifi stack (LA.UM.9.6.3.r1-06200-89xx.0)
- Updated some blobs (LA.UM.9.6.3.r1-06200-89xx.0)
- Update Kernel to 4.9.325

July 13
- Merge July security patch
- Fixed an issues with intermittent calls
- Updated aptX blobs
- Kernel upstreamed to 4.9.323

June 29
- Switch to enforcing
- Update DRM to v 1.4
- Kernel: Merge tag: LA.UM.10.6.2.r1-02200-89xx.0
- Enable LTO Optimize the kernel
- Enable lz4 compression zram
- Turn off volte notification by default

June 24
- Fixed notification LED
- Add hardware keys backlight

Note:
You can update it directly in Settings/System/Updater.

June 23
- Add in-system OTA support ➤Screenshost
- Re-enable hardware keys

Note: Needs wipe system, vendor to flash in.

June 21
- Fixed Auto brightness
- Fixed Dirac backend
- Fixed Google recorder
- Add more Dirac presets
- Update Graphics stack to LA.UM.10.6.2.r1-1900-89xx.0 (thanks zeelog)
- Update Vulkan driver to latest
- Update vendor security peach level
- Update Chinese translation
- Synced kernel with latest AOSP 4.9.319

June 17
- Fixed IR blaster

June 14
- June Security Patch
- Fixed fpc fingerprint
- Fixed fast charging

June 10
- Enable userdata partition encryption
- Fixed Microphone issue
- Fixed WIFi connection issue
- Update kernel to 4.9.317

June 01
- Synced latest LineageOS sources as of 30 May 2022
- Fixed HeadsUp notifications from previous release
- Add system-wide rounded corners
- Fix Dirac switch
- Add Game Space support (App section)
- Add support for repainter app
- Fix user avatar
- Default gesture navigation, this is not a bug
- Debug version, many functions are enabled by default, if you mind, wait for the next version
 
Last edited:

Amit2789

Member
Jan 12, 2017
14
21
Microphone, Finger print and fast charging not working rest all working perfectly
 

opheliaa

Member
Oct 23, 2020
7
3
Here is the log. Thanks for your effort. The 'I agree' button is always inactive
 

Attachments

  • Screenshot_20220613-094436_Settings.png
    Screenshot_20220613-094436_Settings.png
    153 KB · Views: 196
  • Like
Reactions: 111qqz

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    1654054452255.png

    LineageOS is a free, community-built, aftermarket firmware distribution of Android 14 (U), which is designed to increase performance and reliability over stock Android for your device.​

    Code:
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    What's working?
    Fingerprint
    RIL
    Mobile data
    DT2W
    Camera
    GPS
    Lights
    Sound / vibration

    Known issues
    Front camera video

    Downloads
    LineageOS 21
    Recovery
    Stay tuned
    Device support channel

    Flashing Instructions:
    DO NOT use any custom recovery

    - Flash the recovery
    - fastboot wipe-super super_empty.img
    - Reboot to LOS recovery
    - Select `Factory reset" --> "Format data/factory reset`. You phone should say that /data, /cache, and /metadata have been formatted.
    - Go back to main menu and select "Apply update" --> "Apply from ADB"
    - Connect your phone to a computer
    - Run `adb sideload rom_file_name.zip` in your cmd/powershell/terminal and wait until it finishes
    - Reboot and enjoy

    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Magisk module
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    If you like my work, consider a donation! MY PAYPAL

    Contributors

    me-cafebabe
    8
    Changelog for Android 14( LoS 21.0)
    February 15

    • Merged february security patch
    • New boot animation
    • Fixed some bugs regarding downloading files
    • Kernel upstreamed to 4.19.306
    • Other minor issues fixes

    January 15
    • Merged January security patch
    • Fixed DT2W issue
    • Add OTA support
    • Kernel upstreamed to 4.19.303

    December 31
    • Initial Android 14

    ===================================

    Changelog for Android 13( LoS 20.0)
    November 2

    • Merged october security patch
    • Based on new kernel 4.19
    •(los20 has been discontinued, 21 will be released next )

    September 9
    • Merged July security patch
    • Update Chromium Webview to 117.0.5938.60
    • Automatic translation import

    July 9
    • Merged July security patch
    • Fixed regulator reference section mismatch
    • Fix format zero-ed out SD card
    • Update Chromium Webview to 114.0.5735.196
    • Add additional NTP server for China region

    June 25
    • Merged June security patch
    • Android 13 QPR3
    • Update IMS related blobs to LA.UM.9.6.3.r1-06200-89xx.0
    • Build Lineage Health HAL
    • Bring back the hardware key and lights

    May 5
    • Merged May security patch
    • Fixed FMRadio crash
    • Fixed x25 socket not accept on connect
    • Simplified Build Number information
    • Fix potential issues with power
    • Backport network related patches from 4.14
    • Other minor issues fixes

    April 17
    • Merged April security patch
    • Add back FMRadio
    • Other minor issues fixes

    March 20
    • Merged March security patch
    • March 2023 Quarterly Platform Release (QPR2)
    • Use AOSP aptX/aptX HD

    February 13
    • Merged February security patch
    • Pass CTS/Play Integrity by default under non-root
    • Switch back to release-keys tag
    • All system apps support Android 13 dynamic Themed icons
    • Fix call echo for some users (untested)
    • Fixed f2fs scanning NAT block infinite loop issue
    • Other minor issues fixes

    January 09 (2023)
    • Merged January security patch
    • Fixed screen recording issue
    • Fixed USB dac
    • Update keymaster to V4
    • Kernel upstreamed to 4.9.337
    • Updated to the latest mainline exFAT driver

    December 14 (2022)
    • Fixed the issue that the screen cannot be turned off
    • Fixed an issue where audio was blocked during a call for some users
    • Other minor issues fixes

    December 10
    • Merge Android 13 QPR1
    • Merged December security patch
    • Enable LLVM Polly optimizer for kernel
    • QPR1 new media player
    • Enable compressed APEX
    • Fix undefined behavior in bit shift for AUDIT_BIT
    • Updated to the latest mainline exFAT driver
    • Kernel upstreamed to 4.9.335
    • More performance improvements
    • Other minor issues fixes

    November 09
    • Merged November security patch
    • Migrate to QSSI build (Recommended to wipe the vendor partition before flashing)
    • Update Graphics from LA.UM.10.6.2.r1-01600-89xx.0
    • Fixed LQI recording
    • Fix BUG when iput after ocfs2_mknod fails
    • Fix initial connector audio value
    • Remove some unnecessary configuration and optimize rom size
    • Kernel upstreamed to 4.9.332
    • Other minor issues fixes

    October 19
    • Fixed picture and Night Light flickering
    • Fixed Jelly browser storage permission
    • Update aptX from raven
    • Update USB configure from LA.VENDOR.1.0.r1-17200-WAIPIO.QSSI13.0

    October 08
    • Fixed bluetooth calling
    • Restoring the Jelly browser (Please flash gapps in advance instead)

    October 06
    • Merged October security patch
    • Temporarily use DuckDuckGo instead of Jelly browser (because permission problem)
    • Upstreamed Pixel power HAL to the latest android 13 tag
    • Fixed SD card mount issue for exFAT filesystem
    • Added OTA support
    • Update kernel to 4.9.330

    September 26
    • Fixed fingerprint issue
    • Fixed no network connection

    September 25
    • Initial Android 13

    ===================================

    Changelog for Android 12.1( LoS 19.1)
    October 11

    - Merged October security patch
    - Discontinued, no follow-up maintenance

    Changelog for Android 12.1( LoS 19.1)
    September 24

    - Added Singapore network support
    - Enable new Power implementation
    - Kernel upstreamed to 4.9.329
    - Synced latest LineageOS sources

    September 11
    - Merged September security patch
    - Fixed an issue where goodix fingerprints could not be deleted
    - Fixed refcount leak
    - Use navbar by default
    - Merged LA.UM.10.6.2.r1-02500-89xx.0 tags
    - Kernel upstreamed to 4.9.327

    August 28
    - Fixed Bluetooth calling issues
    - Fixed some user sensors issues
    - Fixed Ok Google functionality
    - Added Brazil Vivo VoLTE support
    - Kernel upstreamed to 4.9.326

    August 10
    - Merged August security patch
    - Added JIO carrier support
    - Update some blobs from FP
    - Updated media codec

    July 30
    - Fixed call speaker volume is too low
    - Fixed an issue with low speed adapter charging
    - Added WireGuard
    - Increase wifi scan results
    - Updated wifi stack (LA.UM.9.6.3.r1-06200-89xx.0)
    - Updated some blobs (LA.UM.9.6.3.r1-06200-89xx.0)
    - Update Kernel to 4.9.325

    July 13
    - Merge July security patch
    - Fixed an issues with intermittent calls
    - Updated aptX blobs
    - Kernel upstreamed to 4.9.323

    June 29
    - Switch to enforcing
    - Update DRM to v 1.4
    - Kernel: Merge tag: LA.UM.10.6.2.r1-02200-89xx.0
    - Enable LTO Optimize the kernel
    - Enable lz4 compression zram
    - Turn off volte notification by default

    June 24
    - Fixed notification LED
    - Add hardware keys backlight

    Note:
    You can update it directly in Settings/System/Updater.

    June 23
    - Add in-system OTA support ➤Screenshost
    - Re-enable hardware keys

    Note: Needs wipe system, vendor to flash in.

    June 21
    - Fixed Auto brightness
    - Fixed Dirac backend
    - Fixed Google recorder
    - Add more Dirac presets
    - Update Graphics stack to LA.UM.10.6.2.r1-1900-89xx.0 (thanks zeelog)
    - Update Vulkan driver to latest
    - Update vendor security peach level
    - Update Chinese translation
    - Synced kernel with latest AOSP 4.9.319

    June 17
    - Fixed IR blaster

    June 14
    - June Security Patch
    - Fixed fpc fingerprint
    - Fixed fast charging

    June 10
    - Enable userdata partition encryption
    - Fixed Microphone issue
    - Fixed WIFi connection issue
    - Update kernel to 4.9.317

    June 01
    - Synced latest LineageOS sources as of 30 May 2022
    - Fixed HeadsUp notifications from previous release
    - Add system-wide rounded corners
    - Fix Dirac switch
    - Add Game Space support (App section)
    - Add support for repainter app
    - Fix user avatar
    - Default gesture navigation, this is not a bug
    - Debug version, many functions are enabled by default, if you mind, wait for the next version
    4
    2023/12/31
    Changelog:
    • Initial Android 14
    4
    Changelog for Android 13( LoS 20.0)
    October 19

    - Fixed picture and Night Light flickering
    - Fixed Jelly browser storage permission
    - Update aptX from raven
    - Update USB configure from LA.VENDOR.1.0.r1-17200-WAIPIO.QSSI13.0
    4
    2023/02/13
    Changelog:

    • Merged February security patch
    • Pass CTS/Play Integrity by default under non-root
    • Switch back to release-keys tag
    • All system apps support Android 13 dynamic Themed icons
    • Fix call echo for some users (untested)
    • Fixed f2fs scanning NAT block infinite loop issue
    • Other minor issues fixes