• 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

johnny.tifosi

Senior Member
Dec 11, 2012
103
26
My FM radio audio on headphones stops when locking the screen. This issue appeared randomly, without an OS update or anything.
In speaker mode the radio continues playing as normally.
Playing on headphones works for VLC.
Radio resumes shortly if I get a notification.
I checked the usual culprits like data saver or battery optimisation and they're off.
It looks to me like the FM app fails to establish some kind of wakelock? Any help is appreciated.
 

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.