• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][OTA] LineageOS 17.1 for Redmi Note 9S/Pro/Pro Max/POCO M2 Pro

Search This thread

LeddaZ

Senior Member
Dec 24, 2016
65
108
18
Padua
www.youtube.com
Lenovo Yoga Tab 2
9PsNlIg.png

Note: this ROM will not receive any further updates from me, my last build will be 20210210.
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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. You can also view the Changelog for a full list of changes & features.

What's not working:
  • Widevine L1
  • Some users may face "idle freeze" bug (phone reboots after a few minutes with the screen off). If it happens try to change kernel.

Instructions:
  • Download the latest build and gapps (optional)
  • Reboot to recovery
  • Wipe cache/dalvik and format data
  • Flash the latest build and gapps (optional)
  • Reboot

Downloads:

OTA Instructions:
Installing updates automatically from the Updater won't work, so follow these instructions if you want to update via OTA - If you have encrypted /data Lineage Recovery won't work, use TWRP/PBRP/OrangeFox:
  • After downloading the update, long press on it and tap "Export update". The zip file will be exported to /data/lineageos_updates
  • Reboot to recovery and enter decryption password if necessary
  • Tap "Install" (not necessary on OFox), browse to /data/lineageos_updates and select the zip file
  • Install the zip, wipe cache/dalvik and reboot.
  • Open the Updater, long press on the update and tap on "Delete" (optional)

Notes:
  • Read the instructions above for OTA updates!
  • GApps not included
  • ANXCam v190 works with all features
  • SafetyNet should always pass, if not use MagiskHide
  • The build codename is curtana but the ROM and recovery are unified for all miatoll devices
  • If you use Lineage Recovery make sure to mount /system before flashing GApps and Magisk
  • If you want Magisk flash it after first boot
  • If you want to update the ROM, make sure to disable ANXCam before flashing, you can re-enable it after the update
  • Use latest global firmware for curtana and joyeuse, Indian firmware for excalibur and gram

Source code:
Thanks to everyone that contributed to the original xiaomi-sm6250-devs trees


XDA:DevDB Information

LineageOS 17.1 for Redmi Note 9S/Pro/Pro Max and POCO M2 Pro, ROM for the Redmi Note 9 Pro

Contributors
LeddaZ, erfanoabdi
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked bootloader

Version Information
Status:
Stable

Created 2020-10-08
Last Updated 2021-02-10
 
Last edited:

scott86

Senior Member
Jan 8, 2015
78
9
Just puts me in a bootloop when i try to install it(never getting past the Redmi spalsh screen)...
Curtana 6/128, previously running the official redmi rom(unlocked bootloader, then re-installed miui)
Should add that when i try to run the pixel experience it does not recognize my sim cards or any wifi, so maybe something more is wrong with my phone.

using TWRP 3.4.0-14 Unofficial by mauronofrio as my recovery, btw... incase that matters.
 

LeddaZ

Senior Member
Dec 24, 2016
65
108
18
Padua
www.youtube.com
Lenovo Yoga Tab 2
Just puts me in a bootloop when i try to install it(never getting past the Redmi spalsh screen)...
Curtana 6/128, previously running the official redmi rom(unlocked bootloader, then re-installed miui)
Should add that when i try to run the pixel experience it does not recognize my sim cards or any wifi, so maybe something more is wrong with my phone.

using TWRP 3.4.0-14 Unofficial by mauronofrio as my recovery, btw... incase that matters.
Try to reflash stock rom and format data before installing rom
 

nirie

Member
May 1, 2020
8
0
Installation worked. But it didn't connect to my wifi. It connected to mobile hotspot, so maybe an issue of my wifi. I tried two times and wiped cache and data. Didn't work. So I installed resurrection remix. Now it works.
 

canteo

Senior Member
May 6, 2012
291
73
Installation worked. But it didn't connect to my wifi. It connected to mobile hotspot, so maybe an issue of my wifi. I tried two times and wiped cache and data. Didn't work. So I installed resurrection remix. Now it works.

In my case i installed with pbr and no issues, i always format data and wipe cache, dalvik, system......and all is working fine, i'm not a heavy user and deep sleep is now at 91% two days after installation, i flashed with nikgapps core, i'm on joyeuse, RR is also a good chance, but there is no selinux enforcing...
 

phil2sat

Senior Member
Apr 8, 2014
163
267
Rätzlingen
@LeddaZ
So far everthing fine... thank you for this wonderful rom.

But i found some little things:
1. Camera Cutout is on Traffic Indicator position, so cant't use it
2. When i Pulldown Quicktiles i get 10(QQ3A200805.001) right behind the edit Stick (AndroidDownloadManager/10, says google if i search for the text), just cosmetic
3. It's not pssible to Remap the Software Button functions (not longpress or double tap) even with Button remapper
4. Kernel is built without Wireguard support, it' so damn easy to add https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
5. How the Hell did you integrate ANX Cam 190 with all functions, tried all ,can't get it working, could'd you explain which modules you used.

Thanks for your hard work
 

LeddaZ

Senior Member
Dec 24, 2016
65
108
18
Padua
www.youtube.com
Lenovo Yoga Tab 2
@LeddaZ
So far everthing fine... thank you for this wonderful rom.

But i found some little things:
1. Camera Cutout is on Traffic Indicator position, so cant't use it
2. When i Pulldown Quicktiles i get 10(QQ3A200805.001) right behind the edit Stick (AndroidDownloadManager/10, says google if i search for the text), just cosmetic
3. It's not pssible to Remap the Software Button functions (not longpress or double tap) even with Button remapper
4. Kernel is built without Wireguard support, it' so damn easy to add https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
5. How the Hell did you integrate ANX Cam 190 with all functions, tried all ,can't get it working, could'd you explain which modules you used.

Thanks for your hard work

  1. I'll fix the cutout in the next update, but afaik LOS doesn't support traffic indicator on devices with notch/cutout
  2. It's an AOSP/LOS thing, when you enable developer options the build number appears in the quick settings
  3. I think LOS doesn't support button remapping
  4. Thanks for sharing, will add in the next update
  5. After installing ANX you have to manually grant all permissions to the app
 

phil2sat

Senior Member
Apr 8, 2014
163
267
Rätzlingen
  1. After installing ANX you have to manually grant all permissions to the app

Installed:
ANXCameraUnity_190.BountifulDistantHapuka.zip
ANXFrameworkUnity_190.BountifulDistantHapuka.zip
ANXCameraHotfix.190.BootloopFix.zip
And granted all permissions

The result is ANX Cam starts but like in every other rom, portrait isn't working and Selfiecam crash.

Actuall i installed:
ANXCameraUnity_185.SaltyIntelligentPlainsqueaker.zip
48MPFixQ_181.GlossyIntelligentCock.zip
And in ANX Camera Pro app i choosed erverything with Portrait except portrait night
So far 185 works with Selfiecam portrait, only not working is rearcam portrait

Did you get other results or did you installed other modules than i?
 

LeddaZ

Senior Member
Dec 24, 2016
65
108
18
Padua
www.youtube.com
Lenovo Yoga Tab 2
Installed:
ANXCameraUnity_190.BountifulDistantHapuka.zip
ANXFrameworkUnity_190.BountifulDistantHapuka.zip
ANXCameraHotfix.190.BootloopFix.zip
And granted all permissions

The result is ANX Cam starts but like in every other rom, portrait isn't working and Selfiecam crash.

Actuall i installed:
ANXCameraUnity_185.SaltyIntelligentPlainsqueaker.zip
48MPFixQ_181.GlossyIntelligentCock.zip
And in ANX Camera Pro app i choosed erverything with Portrait except portrait night
So far 185 works with Selfiecam portrait, only not working is rearcam portrait

Did you get other results or did you installed other modules than i?

I also installed ANXCameraProvider and disabled hand gestures from ANXCamera Pro app and everything works
 

phil2sat

Senior Member
Apr 8, 2014
163
267
Rätzlingen
Seems JOYEUSE is slightly different

ANX Camera 190 working so far except rear portrait:
1. ANXCameraUnity_190.BountifulDistantHapuka.zip
2. ANXFrameworkUnity_190.BountifulDistantHapuka.zip
3. 48MPFixQ_181.GlossyIntelligentCock.zip
4. ANXCameraHotfix.190.BootloopFix.zip
5. JoyeuseCameraFix_V1.0.zip
and AnxCamera Pro app enabled everything with portrait except night portrait did the trick.

thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    9PsNlIg.png

    Note: this ROM will not receive any further updates from me, my last build will be 20210210.
    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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. You can also view the Changelog for a full list of changes & features.

    What's not working:
    • Widevine L1
    • Some users may face "idle freeze" bug (phone reboots after a few minutes with the screen off). If it happens try to change kernel.

    Instructions:
    • Download the latest build and gapps (optional)
    • Reboot to recovery
    • Wipe cache/dalvik and format data
    • Flash the latest build and gapps (optional)
    • Reboot

    Downloads:

    OTA Instructions:
    Installing updates automatically from the Updater won't work, so follow these instructions if you want to update via OTA - If you have encrypted /data Lineage Recovery won't work, use TWRP/PBRP/OrangeFox:
    • After downloading the update, long press on it and tap "Export update". The zip file will be exported to /data/lineageos_updates
    • Reboot to recovery and enter decryption password if necessary
    • Tap "Install" (not necessary on OFox), browse to /data/lineageos_updates and select the zip file
    • Install the zip, wipe cache/dalvik and reboot.
    • Open the Updater, long press on the update and tap on "Delete" (optional)

    Notes:
    • Read the instructions above for OTA updates!
    • GApps not included
    • ANXCam v190 works with all features
    • SafetyNet should always pass, if not use MagiskHide
    • The build codename is curtana but the ROM and recovery are unified for all miatoll devices
    • If you use Lineage Recovery make sure to mount /system before flashing GApps and Magisk
    • If you want Magisk flash it after first boot
    • If you want to update the ROM, make sure to disable ANXCam before flashing, you can re-enable it after the update
    • Use latest global firmware for curtana and joyeuse, Indian firmware for excalibur and gram

    Source code:
    Thanks to everyone that contributed to the original xiaomi-sm6250-devs trees


    XDA:DevDB Information

    LineageOS 17.1 for Redmi Note 9S/Pro/Pro Max and POCO M2 Pro, ROM for the Redmi Note 9 Pro

    Contributors
    LeddaZ, erfanoabdi
    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Unlocked bootloader

    Version Information
    Status:
    Stable

    Created 2020-10-08
    Last Updated 2021-02-10
    7
    The LineageOS team has merged January security patches for 17.1, so a new build will be available soon.
    6
    New build is up!

    Changelog:
    • Synced with latest LineageOS 17.1 source code
    • December 5, 2020 security patches
    • Addded my changelog link in the Updater (3-dot menu > Show changelog)
    • Re-added WireGuard support in kernel
    • Other minor fixes and updates

    Check 1st post for download, OTA is already available. Enjoy!
    5
    New build is up

    Changelog:
    • Synced with latest LineageOS 17.1 source code
    • January security patches
    • Switched to redfin Jan fp (if SafetyNet still doesn't pass flash this Magisk module)
    • Updated OTA URL (Updater will work again from this build)
    • Enabled fluence for voice recording (fixes Google Recorder)
    • Added missing camera props from stock MIUI
    • Other minor fixes and updates
    Check 1st post for download. Enjoy!
    5
    Build for {codename} | LineageOS Wiki
    Android-Tools/Building_AOSP.txt at master · nathanchance/Android-Tools (github.com)

    I recommend these two guides for building the ROM, and also the @AndroidBuildersHelp group on Telegram.
    For the device trees, after downloading the source put this in (source dir)/.repo/local_manifests and sync again.