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

Search This thread

ntcq

New member
Jun 17, 2021
1
0
Thank you @Communos for this build!
The download link for the ROM no longer works (download quota exceeded).

EDIT: fixed!
 
Last edited:

Rika_san

Member
Jun 23, 2021
7
0
LineageOS
View attachment 5244689
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 :) !

View attachment 5244703
Rom download link not working
 

NotVinx

Member
Jun 16, 2021
5
1
Bihar
Redmi Note 9
"Flash MIUI 12.0.1 ID or 12.0.2/12.0.3 Global in fast boot."

So I need to flash the whole rom from mi flash tool or can I just flash the vendor of the same version. If only vendor works then how to flash vendor from fast boot ?

(Sorry for this noob question but redmi note 9 is much more complex than other devices.)

And yeah the link is not working pls update :(
 
  • Like
Reactions: Rika_san

cvzalez

Senior Member
Jan 21, 2017
93
28
Congratulations for the good work, I wonder what it takes to make this ROM Lineage OS official? Best regards
 
D

Deleted member 11731185

Guest
Can I report bugs here ? (No custom kernel, root or anything)
This is a probabilistic issue, I use gesture navigation, on note 9. Sometimes I cannot swipe up to open the recent apps menu. The other gestures work, but only the 'swipe and hold' to reveal recent apps doesnt work. It gets stuck in animation mid way and then goes back to the previous position before the swipe was attempted.
Sorry for the long message, and for not sending the log file, the issue only happens a few times in a couple of days.
 

jonezy82

Member
Jan 5, 2013
26
9
I found a bug in my device, BT MAC address seems wrong.
Pairing and file transfers still work.

Anyone else have same possible issue?
Screenshot_20210728-105304_Asetukset_1.jpg
 

Communos

Senior Member
Oct 28, 2019
243
170
Paris
Xiaomi Redmi 5
Google Pixel 3 XL
Is this the same build as the previous one ? Or is it a completely new build ? If new then what is changed in this build ? Great work btw :)
Media playback fixed for some apps,
Kernel upstreamed
VoLTE fixed for all carriers
Misc performance improvements.

Also to mention the fact that the latest build is by "@chcepizze on telegram".
I've stopped building roms due to me being overburdened by exams. I'll still be updating the links here with builds by pizzeria.

Thank you all for the support!
 
  • Like
Reactions: renthebat

sgrb

New member
Jun 1, 2021
2
2
Media playback fixed for some apps,
Kernel upstreamed
VoLTE fixed for all carriers
Misc performance improvements.

Also to mention the fact that the latest build is by "@chcepizze on telegram".
I've stopped building roms due to me being overburdened by exams. I'll still be updating the links here with builds by pizzeria.

Thank you all for the support!
Thank you for the work performed, but where can I see the last fixes you have done in the source code? The github repos referenced in the first post seem to be outdated (last update about 6 months ago for device tree).
 
  • Like
Reactions: cvzalez

[email protected]

New member
Aug 3, 2021
1
0
I need to know that I am on miui 12.0.8.0 , do I need to downgrade to miui 12.0.1.0 or I can just flash this directly.
It's my first time.
 

athenason

Member
Jul 22, 2021
17
3
Redmi Note 9
This rom works perfectly, except for one little thing for me. I have location access enabled and location on, but osmAnd and google maps both cant get my location. They both have permissions so I am slightly confused. Any help would be greatly appreciated I know you are all very busy :)
 

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.