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

Search This thread

ErnestoSV

Senior Member
Jul 7, 2017
182
37
Google Pixel 3
Realme GT
Yes, install the full miui firmware.
Hello, I finally flashed the correct firmware and then I flashed the latest rom (220730) and nikgapps (stock version).

Now I am having some issues:

- When calling, sometimes the person in calls doesn't hear me clear, the voice keeps randomly off, that happens only with google dialer app, it doesn't happens with AOSP dialer.
- Proximity sensor remains without turn the screen off on calling.

Am I missing some important step ?
 
Last edited:
  • Like
Reactions: Vkg1985

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
Hello, I finally flashed the correct firmware and then I flashed the latest rom (220730) and nikgapps (stock version).

Now I am having some issues:

- When calling, sometimes the person in calls doesn't hear me clear, the voice keeps randomly off, that happens only with google dialer app, it doesn't happens with AOSP dialer.
- Proximity sensor remains without turn the screen off on calling.

Am I missing some important step ?
What is the stock version date?
 
Last edited:

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
Hello, I finally flashed the correct firmware and then I flashed the latest rom (220730) and nikgapps (stock version).

Now I am having some issues:

- When calling, sometimes the person in calls doesn't hear me clear, the voice keeps randomly off, that happens only with google dialer app, it doesn't happens with AOSP dialer.
- Proximity sensor remains without turn the screen off on calling.

Am I missing some important step ?
I don't have any of these two problems. If you can, please reproduce the operation and grab the log and send it to me via xda private message.
 
  • Like
Reactions: ErnestoSV

virtualhjs

Member
Jan 19, 2015
16
3
Please help me make mobile data work. Everything seems to work fine, even Wi-Fi and phone calls. But the system is unable to manage mobile data usage. This issue also occurred in your Pixel Experience ROM. Is there no advanced configuration or modification procedure I can try?
 

iparout

Member
Nov 3, 2011
14
3
If you have mobile data issues, please flash this version
Download
I also can't get the mobile data to work. I will try this version. Any other way apart from flashing a new ROM ? If not, is there anyway to avoid setting up the phone from scratch again ? I loaded a google backup when flashing your ROM initially, the apps were installed automatically when I restored the google backup, but I needed to setup each app from scratch.

Titanium Backup might work ?
 

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
I also can't get the mobile data to work. I will try this version. Any other way apart from flashing a new ROM ? If not, is there anyway to avoid setting up the phone from scratch again ? I loaded a google backup when flashing your ROM initially, the apps were installed automatically when I restored the google backup, but I needed to setup each app from scratch.

Titanium Backup might work ?
Directly dirty installation, no need to clear data
 

iparout

Member
Nov 3, 2011
14
3
Directly dirty installation, no need to clear data
Thanks for the quick reply. So, I log into TWRP and just flash the new ROM, without wiping anything ? (I have installed the NOVA Launcher, I am not using the default launcher that came with your ROM - yes, I am a noob, I am impressed I managed to come so far)
 
Last edited:

virtualhjs

Member
Jan 19, 2015
16
3
Thank you.

Unfortunately, no mobile data. I contacted my carrier, APNs and Preferred network type are correct, however still no mobile data.
Hi, have you tested the indicated ROM: lineage-19.1-20220801-UNOFFICIAL-oxygen.zip ?
I don't understand if you've tested it, that's why I'm asking. I've already downloaded it and as soon as I have free time I'll test it and return my experience.
 

iparout

Member
Nov 3, 2011
14
3
Hi, have you tested the indicated ROM: lineage-19.1-20220801-UNOFFICIAL-oxygen.zip ?
I don't understand if you've tested it, that's why I'm asking. I've already downloaded it and as soon as I have free time I'll test it and return my experience.
I did, it didn't fix the problem and I think the updated ROM also disabled the fingerprint sensor. I went back to the latest official ASAP since I am on vacation and everything is working again. If you have any experience with a stable working ROM using Android 8+, I'd be happy to go there.

Still, the support for the ROM posted in this thread is phenomenal (I got a PM by Helifax), but unfortunately it's buggy for me and having no mobile data is a deal breaker.
 

virtualhjs

Member
Jan 19, 2015
16
3
If you have mobile data issues, please flash this version
Download
In this version mobile data works! The rest of the system seems to work normally.
Install ROM and GApps by TWRP.
I couldn't get GApps to work. I tested NikGApps core and a preliminary version of OpenGApps, it was possible to login the Play Store, but the application did not start completely after login. Sometimes it was stuck on the Play Store logo, sometimes it passed and it was on a black screen.
As soon as I have really adequate time, I will re-install the ROM, test FlameGApps, BiTGapps and NiKGapps again.
When I install some GApps and it doesn't work, is it viable to reinstall some alternative over the top or do you need to reinstall the system to have a clean ROM of GApps for retesting? Thanks for any tips on this.
 
Last edited:

HalifaxTe55

Senior Member
Mar 1, 2017
185
156
perth
In this version mobile data works! The rest of the system seems to work normally.
Install ROM and GApps by TWRP.
I couldn't get GApps to work. I tested NikGApps core and a preliminary version of OpenGApps, it was possible to login the Play Store, but the application did not start completely after login. Sometimes it was stuck on the Play Store logo, sometimes it passed and it was on a black screen.
As soon as I have really adequate time, I will re-install the ROM, test FlameGApps, BiTGapps and NiKGapps again.
When I install some GApps and it doesn't work, is it viable to reinstall some alternative over the top or do you need to reinstall the system to have a clean ROM of GApps for retesting? Thanks for any tips on this.
Reinstalled the system to get gapps, NikGapps SL works fine.
 

virtualhjs

Member
Jan 19, 2015
16
3
Reinstalled the system to get gapps, NikGapps SL works fine.
Houston, we have a problem!
I reinstalled the system, installed correct NikGApps and finally everything worked fine for quite some time. When I turned on Bluetooth and connected to the radio, the mobile data stopped working. It continued to work phone call, sms, wifi as before, but mobile data, even restarting, disabling Bluetooth and testing other types of preferred network in the settings, did not come back. But that's not the worst part. I reinstalled the same ROM twice in a row and these times mobile data didn't work. Would the operation be a random factor? Apparently it lacks little adjustment for full operation.
 

virtualhjs

Member
Jan 19, 2015
16
3
Houston, we have a problem!
I reinstalled the system, installed correct NikGApps and finally everything worked fine for quite some time. When I turned on Bluetooth and connected to the radio, the mobile data stopped working. It continued to work phone call, sms, wifi as before, but mobile data, even restarting, disabling Bluetooth and testing other types of preferred network in the settings, did not come back. But that's not the worst part. I reinstalled the same ROM twice in a row and these times mobile data didn't work. Would the operation be a random factor? Apparently it lacks little adjustment for full operation.
A few more tests performed, news. Again I reinstalled the ROM (totaling 3 reinstallations in a row), to have the system clean. In the initial configuration step I just went ahead without contaminating the settings, not even wifi was configured. After booting the system completely, again mobile data did not work. The first procedure I did before any other was to disable "Use SIM", which by default is already enabled and then re-enabled. Then mobile data worked. This test I did because in the previous installation I tested several settings on the part of SIMs, only when I disabled and reactivated mobile data, it also worked. If I restart the system, mobile data stops working. Then I disable and re-enable "Use SIMs" and again it works again. I hope this can shed some light on this problem. I keep doing tests.
 
  • Like
Reactions: fd.svensson

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