• 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

SinnedNima

Member
Feb 27, 2016
43
11
Redmi Note 9 Pro
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.

LeddaZ, it's a shame that this ROM is reaching its final moments. I would want to donate and pay you back for this rock solid user experience you provided me. I understand your personal reasons and respect your decision. If you have a change of mind, please let us pay you back.

I think that would not be the only one who would donate monthly for your awesome work.
 

Stabys

Member
Feb 8, 2016
32
6
Hello guys!

It's been a while since I've used LineageOS...
For those using this one for a while.. How is it? Is it much better then stock?
Back in my days I liked Lineage because it was so much smaller then stock but from YT videos this one does not look too far behind from stock (storagewise).
Also because it lagged way less then stock (currently am I having this issue with Note 9S 4GB/64GB).

Thanks in advance!
 

foneiamone

Senior Member
Jan 15, 2016
215
64
fah1m.medium.com
New build is up

Changelog:
  • Synced with latest LineageOS 17.1 source code
  • February security patches
  • Switched to redfin Feb fp
  • Added support for Japanese curtana models
  • Other minor fixes and updates
Note: this will be the last build from me, I don't use Lineage anymore and I don't have much time to maintain a ROM.

Which rom are you using now?
 
  • Like
Reactions: dmenezes

dungphp

Senior Member
Jul 23, 2010
4,154
7,177
Ha Noi
dungphp.com

dungphp

Senior Member
Jul 23, 2010
4,154
7,177
Ha Noi
dungphp.com
Last edited:

lov1702

New member
Jul 10, 2009
3
2
LineageOS 17.1 final:
Good day. Can you fix a bug in Dialer?
When using two SIM cards, you can set the background color during a call, but there is a bug in the standard Dialer, the color of the operator's text on an incoming call becomes the same as the background, as a result it merges with the background.
Screenshot_20201106-092203103-Befor-001.jpg
Screenshot_20201106-092217378-Befor-001.jpg

Decision: Editing the file \Dialer\smali\com\android\incallui\contactgrid\BottomRow.smali
We are looking for lines:
Code:
new-instance v7, Landroid/text/style/ForegroundColorSpan;
invoke-virtual {p1}, Lcom/android/incallui/incall/protocol/PrimaryCallState;->primaryColor()I

Change to:
Code:
new-instance v7, Landroid/text/style/ForegroundColorSpan;
const-string p1, "#fafafa"
invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
Screenshot_20201106-092203103-After-002.jpg

Can you add this to the firmware?
 
  • Like
Reactions: dungphp

dungphp

Senior Member
Jul 23, 2010
4,154
7,177
Ha Noi
dungphp.com
Good day. Can you fix a bug in Dialer?
When using two SIM cards, you can set the background color during a call, but there is a bug in the standard Dialer, the color of the operator's text on an incoming call becomes the same as the background, as a result it merges with the background.

Decision: Editing the file \Dialer\smali\com\android\incallui\contactgrid\BottomRow.smali
We are looking for lines:
Code:
new-instance v7, Landroid/text/style/ForegroundColorSpan;
invoke-virtual {p1}, Lcom/android/incallui/incall/protocol/PrimaryCallState;->primaryColor()I

Change to:
Code:
new-instance v7, Landroid/text/style/ForegroundColorSpan;
const-string p1, "#fafafa"
invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

Can you add this to the firmware?
To quickly process, you tell us which rom version does not have this error
 

sidekick1

New member
May 29, 2014
4
1

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.