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

Search This thread

cvzalez

Senior Member
Jan 21, 2017
93
28
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 :)
Lineage don't use Google services, so it won't use Google Wifi Location or Cell Tower Location Services from Google, but it should use the UnifiedNLP protocol to get location from several plugins, Mozilla Wifi Location Services, Cell Tower Location services etc, there's several modules, check F-Droid app store for UnifiedNLP and it should appear a list. If you don't have this location protocol installed then will be only possible to have location by GPS what is not battery friendly nor is as fast, there's a side project called MicroG that goes even further, not only replace Google Location services with UnifiedNLP modules but also simulates Play Services making possible to receive Google Services Notifications, but with lot more control and way better battery life. This phone Redmi Note 9 (Mediatek CPU) is not officially supported by Lineage or Lineage for MicroG, if that wouldbe the case, then free easy installed ROMs with everything working would be available, so or you ask this developer to make this Lineage port to have MicroG support (it needs signature spoofing on the ROM) or we must do it by ourselves, I myself will try to install Lineage and MicroG later when I have more free time too. But would be awesome if the develloper would bake it already in this ROM. Best greetings, and Many Thanks for Who's making the hard work porting Lineage to Redmi Note 9!
 

Kebel

Member
Aug 7, 2021
6
0
Communos sir proooo!!! I am on the global version miui 12.5.1 stable, I want to know if I can install the ROM or do I have to wait for an update?
 

athenason

Member
Jul 22, 2021
17
3
Redmi Note 9
Thank you so much for this reply! I have microg installed (I used magisk and lsposed for signature spoofing) and following this I have installed unifiedNlp as well as the Mozilla back end installed off fdroid. It works like a charm and I like that I can toggle them in microg. Thank you for your reply :)
 

athenason

Member
Jul 22, 2021
17
3
Redmi Note 9
Lineage don't use Google services, so it won't use Google Wifi Location or Cell Tower Location Services from Google, but it should use the UnifiedNLP protocol to get location from several plugins, Mozilla Wifi Location Services, Cell Tower Location services etc, there's several modules, check F-Droid app store for UnifiedNLP and it should appear a list. If you don't have this location protocol installed then will be only possible to have location by GPS what is not battery friendly nor is as fast, there's a side project called MicroG that goes even further, not only replace Google Location services with UnifiedNLP modules but also simulates Play Services making possible to receive Google Services Notifications, but with lot more control and way better battery life. This phone Redmi Note 9 (Mediatek CPU) is not officially supported by Lineage or Lineage for MicroG, if that wouldbe the case, then free easy installed ROMs with everything working would be available, so or you ask this developer to make this Lineage port to have MicroG support (it needs signature spoofing on the ROM) or we must do it by ourselves, I myself will try to install Lineage and MicroG later when I have more free time too. But would be awesome if the develloper would bake it already in this ROM. Best greetings, and Many Thanks for Who's making the hard work porting Lineage to Redmi Note 9!
Also can I ask, if you do port this will you try going official with microg?
 

athenason

Member
Jul 22, 2021
17
3
Redmi Note 9
If I can yes, I think we all should after all is Open Source based software / ROMs. At least a version with and without.
I think the only thing that would make this ROM better is OTA updates, however I know its tricky. I'm just worried about how a dirty flash would work. It would be awesome if lineage would add support for this model like the previous notes :)
 

Unknow666

Member
Dec 27, 2014
5
0
Redmi Note 9
Hi ! First things first:
THANK YOU !
Well, that said, my ROM work like a charm with magisk and microG (was tricky tbo, and adding spoofing implementation was kinda hard without the right tutorial but ultimately I found a way to).
I still have an issue: the system bar (up-here, I don't remember the right name of it) is displaying wrong alarm time. It's actually showing lots of alarms at some weird time (can be 5AM or more, but I never configured such things). I just temporarily removed alarm icon.
It's not a big deal so don't focus on it but now you know (if it isn't related to the ROM, let me know so I keep search for another work through).
Thanks again for the time and the good ROM you gave us.

EDIT:

Extra hint for the problem: seems like the alarm the system set up by itself (they don't trigger alarms btw) is fixed at 5:00 everyday and if I'm not wrong, I also figured like a week ago it also set some between 5:00 and like 6:00. I don't clearly remember but forgive me, I won't wake up at 5AM by myself tomorrow, unless I'm still awake.
 

Attachments

  • IMG_20210813_191605.jpg
    IMG_20210813_191605.jpg
    42.9 KB · Views: 65
  • IMG_20210813_191522.jpg
    IMG_20210813_191522.jpg
    26 KB · Views: 67
Last edited:

athenason

Member
Jul 22, 2021
17
3
Redmi Note 9
Hi ! First things first:
THANK YOU !
Well, that said, my ROM work like a charm with magisk and microG (was tricky tbo, and adding spoofing implementation was kinda hard without the right tutorial but ultimately I found a way to).
I still have an issue: the system bar (up-here, I don't remember the right name of it) is displaying wrong alarm time. It's actually showing lots of alarms at some weird time (can be 5AM or more, but I never configured such things). I just temporarily removed alarm icon.
It's not a big deal so don't focus on it but now you know (if it isn't related to the ROM, let me know so I keep search for another work through).
Thanks again for the time and the good ROM you gave us.
If you go to:
Settings
System
Advanced

Then toggle use network provided time and time zone. You should then be able to set your own time zone and manually set the time and date. I'm not a developer but hope that helps anyway :)
 

Unknow666

Member
Dec 27, 2014
5
0
Redmi Note 9
Hi, thanks for the reply but, uh, no my alarms remain on the system bar.
Got some screenshots I took and added to my reply + I edited my first message with more info on the alarm behavior.
 

nikosefs

Member
Oct 13, 2019
5
2
can anyone tell me,i have pixelplusui 3.5 installed,can i flash this one as is or should i flsh miui first and then lineage?
 

ask6155

Member
Oct 9, 2021
7
1
Hello,
I have 2 queries.

1. Can I flash the latest firmware update on top of the rom and will it still work or will it brick the device?
2. I haven't payed attention to android modding in a few year and after I flashed this rom.
I tried to edit /system but to no avail. Is that now considered a feature or is that a bug?
 

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.