[ROM][11.0] LineageOS 18.1 for Redmi Note 9/Redmi 10X 4G[UNOFFICIAL]

Search This thread

Communos

Senior Member
Oct 28, 2019
243
171
Paris
Xiaomi Redmi 5
Google Pixel 3 XL
IMG_20210309_165814_218.jpg

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

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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

Code:
/*

* Your warranty is now void.

*

* I am 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 me for messing up your device, I will laugh at you.

*/

What's working :
  • Audio
  • Bluetooth
  • Camera
  • EGL
  • GPS
  • RIL (Calls, SMS, Data)
  • Sensors
  • Video Playback
  • Wi-Fi
  • MTP
  • VoLTE
Everything is Working Except following Bugs

Known issues/Bugs :
  • VoWiFi
  • You tell me the rest:)

Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed any root implementation
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 it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless). Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.


Instructions
  • Flash MIUI 12.0.1 ID or 12.0.2/12.0.3 Global in fast boot.
  • Install custom recovery.
  • Download the latest LineageOS build.
  • Wipe Data, Dalvik, Internal, Cache
  • Flash the ROM
  • Format data
  • Reboot
Note
For people who wish to use GApps, use MagiskGApps by @Wacko1805 ,
OR
MindTheGApps

Downloads

Download ROM
Download MagiskGApps


Credits

LineageOS Team
@SparXFusion
@whyredFire
@Pulkit Agarwal
@henloboii
@TechyMinati
& All People Who helped me in a way or Other !

Source Code
Build Author: Communos


If you liked my work, press thanks on this thread :) !

Screenshot_20210309-172438_Settings.png
 
Last edited:

riccardosimo

Senior Member
Jun 9, 2013
80
8
28
Lecce
Can i update lineage os 17.1 to 18.1 without losing anything? And what about OTAs? Once you release new updates will we be able to install them without starting over again?
 
  • Like
Reactions: vlad3647

ma259

Member
Feb 21, 2014
33
8
Great ROM, nice performance!

What I've notice:
- Volume buttons from headsets not working

Another issue it has, it's something that happens in all LOS ROMs published in this same forum for merlin and its that when you are listening any Whatsapp Voice Note through earphones, bluetooth or loudspeaker and screen turns off or you change main app and move Whatsapp to background, audio starts cracking.
 

Communos

Senior Member
Oct 28, 2019
243
171
Paris
Xiaomi Redmi 5
Google Pixel 3 XL
Great ROM, nice performance!

What I've notice:
- Volume buttons from headsets not working

Another issue it has, it's something that happens in all LOS ROMs published in this same forum for merlin and its that when you are listening any Whatsapp Voice Note through earphones, bluetooth or loudspeaker and screen turns off or you change main app and move Whatsapp to background, audio starts cracking.
Hey, I just tested the whatsapp audio issue, it's working fine for me, just ensure the sensors are not covered, and I tried changing volume from my bluetooth headphones, worked fine too.
I've attached the picture of showing sensor location for you. Is it wired headsets that you talk of?
 

Attachments

  • IMG_20210317_000122_895.jpg
    IMG_20210317_000122_895.jpg
    96 KB · Views: 249

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    IMG_20210309_165814_218.jpg

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

    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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

    Code:
    /*
    
    * Your warranty is now void.
    
    *
    
    * I am 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 me for messing up your device, I will laugh at you.
    
    */

    What's working :
    • Audio
    • Bluetooth
    • Camera
    • EGL
    • GPS
    • RIL (Calls, SMS, Data)
    • Sensors
    • Video Playback
    • Wi-Fi
    • MTP
    • VoLTE
    Everything is Working Except following Bugs

    Known issues/Bugs :
    • VoWiFi
    • You tell me the rest:)

    Reporting Bugs
    DO NOT Report bugs if you're running a custom kernel or you installed any root implementation
    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 it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless). Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.


    Instructions
    • Flash MIUI 12.0.1 ID or 12.0.2/12.0.3 Global in fast boot.
    • Install custom recovery.
    • Download the latest LineageOS build.
    • Wipe Data, Dalvik, Internal, Cache
    • Flash the ROM
    • Format data
    • Reboot
    Note
    For people who wish to use GApps, use MagiskGApps by @Wacko1805 ,
    OR
    MindTheGApps

    Downloads

    Download ROM
    Download MagiskGApps


    Credits

    LineageOS Team
    @SparXFusion
    @whyredFire
    @Pulkit Agarwal
    @henloboii
    @TechyMinati
    & All People Who helped me in a way or Other !

    Source Code
    Build Author: Communos


    If you liked my work, press thanks on this thread :) !

    Screenshot_20210309-172438_Settings.png
    5
    Hi guys, Latest LineageOS build for Redmi Note 9 is here.
    All the major bugs listed here have been fixed, Updated security patch and SELinux is now Enforcing!

    Download Link


    Note:
    If you're on previous build of lineage or any other rom that does not come with OSS Vendor, you will have to reflash MIUI 12.0.1 ID or 12.0.2 Global in fastboot and then proceed with flashing.
    4
    Latest build is up.

    Changelog:
    It was reported that Video playback in apps and video recording with camera was broken, it has been fixed.
    Screen recording lag has been fixed.
    Misc Improvements.
    SELinux Enforcing
    3
    I Installed magisk via twrp, and then flashed the gapps in magisk and now it's working fine. But, i really don't want to root my device because of netflix..
    Aha, it's easy to get Netflix working,

    Install Magisk hide props module

    open termux type these

    • su
    • props
    • 1
    • f
    • 7
    • 26
    • y
    • y
    Enable Hide magisk manager in magisk settings, also MagiskHide, After that hide google play services and netflix in magisk hide and wipe data of play store app. After that reboot, Netflix should be working :)

    You might as well get free benefits with the Pixel 5 fingerprint which is installed with the method I mentioned above, Check google one app and see if you get free trial, who knows, good luck ;)
    3
    Is this compatible with any version? I have the Italy, Germany, France, Spain edition. Do you think it could work?

    I bought mine in Germany (so it's probably the same version), and it worked fine with every ROM I've tried so far - within their respective limitations. Currently running Kraken, though.

    Keep in mind that you will need to downgrade to MIUI 12.0.1 (Indonesia) or 12.0.3 (Global) before you flash, otherwise it won't work. Ask me how I know.

    Also, in case something goes wrong, how do I reset the factory image?

    As long as the bootloader is still working, you can flash the stock firmware back onto the device via fastboot (which obviously has to be installed on your PC). There's a website with all versions. Get the fastboot type, extract it, and run the included script (flash_all.sh on Linux, probably flash_all.bat on Windows). There may also be a GUI way to do it, but I can't help you with that.