Development [ROM][13][UNOFFICIAL] LineageOS 20 [mojito/sunny]

Search This thread

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
2okPze5.png


LineageOS
for the Redmi Note 10 (mojito/sunny)

DISCLAIMER
I'm not responsible for bricked devices

ABOUT

LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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.


DOWNLOADS
ROM :
LineageOS 20 | LineageOS 19 | LineageOS 18
GApps : NikGApps
Magisk : GitHub
SafetyNet Fix : GitHub

INSTALLATION
Boot to any Custom Recovery
Format Data
Flash Required Firmware (if needed)
Reboot to Recovery
Flash ROM
Reboot to System


INFORMATION
Build Author/Maintainer :
alonsoj636
Kernel Source : Anush02198 Kernel Repo
FW Required : V13.0.10.0.SKGMIXM

BUGS
Failed SafetyNet
 
Last edited:

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
LineageOS UNOFFICIAL for the Redmi Note 10

Status:
LineageOS 20.0 -> Active

LineageOS 19.1 -> Active
LineageOS 18.1 -> EOL

Main Changelogs :
13/11/2022
20
• November 2022 Security Patches
• Sync with LOS 20.0 latest sources
• changed base tree
• switched to WCSF Kernel (v4.14.299)
• drop kprofiles
• fix a lot of sepolicy denials
• compile hwui for a bit more performance
• drop editor config
• drop lights hal
• use rsa4096 key also for vbmeta_system
• drop bluethoot component-override
• Enable video pause workaround for video calling
• Drop Mlipay
• drop gpu drivers apk
• Set readahead_size_kb=128 on fstab
• Set readahead_size_kb=128 on data
• don't latch unsignaled buffers
• disable skia tracing by default
• enable gralloc ion sync
• Use QCOM implementation for audio effects
• sync audio props from v13.0.10.0
• remove useless props
• build qti vibrator from source
19
• November 2022 Security Patches
• Sync with LOS 20.0 latest sources
• Updated WCSF Kernel to 4.14.299
• drop editor config
• drop lights hal
• Drop Mlipay
• drop gpu drivers apk
• Set readahead_size_kb=128 on fstab
• Set readahead_size_kb=128 on data
• don't latch unsignaled buffers
• disable skia tracing by default
• compile hwui for a bit more performance



01/11/2022
• Initial LineageOS 20.0 based on Android 13

09/10/2022
• Cleanup of dead props
• Fix some sepolicy issues with props
• Kernel built with Clang 15.0.3
• Sync with Lineage Source


06/10/2022
• October 2022 Security Patch

01/10/2022
• Switch to SkiaGL Threaded
• Optimize package manager dexopt properties
• Kernel upstreamed to v4.14.295
• Kernel built with Clang 15.0.2
• Enable config_avoidGfxAccel
• wifi: Disable TDLS offchannel
• Disable few debug services
• Don't enable iostats


15/09/2022
• September 2022 Security Patch
• Rebased WCSF Kernel upstreamed to v4.14.292
• Removed pre-rendering feature

• Disable IOP UXEngine
• Reduce trim enable memory to 2GB
• Disable userspace LMK

• Updated translations for XiaomiParts
• Tuned msm_irqbalance.conf


16/08/2022
• August 2022 Security Patch
• Sync with Lineage Sources

• Import perf from vendor

05/08/2022
• Switch back to Redfin FP
• Sync with Lineage Sources
• Do not use phase offsets as durations
• Revert : Enabled updateable APEX
• Revert : Increase the customized max cached processes number to 64
• Props Cleanup (delete some props)
• Flatten APEXs for performance
• Thermal settings's app list improvement
• Kernel upstreamed to 4.14.290
• Kernel built with Clang 15.0.1
• Translated Thermal Settings and Dirac Settings to Spanish
• fstab.zram: Set max_comp_streams to 4

• Improve peak brightness (Thanks MPK99)

19/07/2022
• Switch to Raven FP
• Add front facing camera protection
• Enable 64-bit inode version support for ext4
• Speed profile services and wifi-service to reduce RAM and Storage
• Address QCOM WFD denials
• Drop DFPS props labelling
• Increase the customized max cached processes number to 64
• Minor fixes


14/07/2022
• July 2022 Security Patch
• Updated Blobs for MIUI V13.0.9.0.SKGMIXM
• Updated WCSF Kernel (4.14.287)
• Drop Mojito Cutout
• Increased max notification icons to 6
• Build Signed
• Drop config_haveNotch
• Adjusted Status Bar and Rounded Corners
• Drop QTI Camera
• Use speed tuning for settings/systemui
• Disable zram writeback
• Force disable iorap
• Use threaded GLES render engine
• Use FUSE passthrough by default
• wifi: Increase max bss count
• Enable back WfdCommon BOOT_JAR
• fstab.zram: Set max_comp_streams to 4
• Enable LZ4 compression for ramdisks
• Disable Chimera.GmsIntentOperationService
• Enable sys.use_fifo_ui prop if EAS is present

14/06/2022
• June 2022 Security Patch (android 12.1.0_r8)
• Updated Blobs from MIUI 13.0.7
• Decouple suspend from screen state
• Drop display STATE_DOZE (Fix AOD Flickering Issue)
• Update SurfaceFlinger Props
• Sync duration props with raven
• Removed IORAP
• Enabled MultiGen LRU
• Disable NearbyMessagesService
• Reduced System Lag

12/05/2022
• Sync with Lineage OS Sources
• May 2022 Security Patches
• Adjusted device rounded corners
• Don't pin launcher in memory
• Added Full screen option for legacy apps
• Force show 4G instead of LTE

01/05/2022
• Reduced Logspam
• Enable IORAP
• GBoard Round Corners
• Disable V-Sync for CPU Rendered Apps
• Added Props to Increase General Performance
• Other minor fixes
 
Last edited:

ChristianWS

Senior Member
Sep 6, 2016
99
16
Moto G
Redmi Note 10
Finally.

I'm gonna have to wait a bit, my device is still locked and I want to wait and see a bit before I **** something up.

What isn't working yet? Really dumb to ask at this point, but what is missing from the ROM to become official?
 

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
Finally.

I'm gonna have to wait a bit, my device is still locked and I want to wait and see a bit before I **** something up.

What isn't working yet? Really dumb to ask at this point, but what is missing from the ROM to become official?
everything is working... i'm using this rom since release and i finally found my daily driver rom...

maybe you will face some lags on apps but can be easily fixed by adding some props to build.prop (i'll do on next build)

About Official... LineageOS Requeriments are very strict and i'm not a experienced developer (i'm just learning) so i can't make this official

So , i'll provide monthly updates as long as i have server to build it.

Long Live LineageOS...
 
Last edited:

Zirila

Senior Member
Jul 31, 2015
226
93
@alonsoj636 this is awesome!

many of us have been waiting for this for so long! a true ROM diamond! :)


..and I'm gonna look into it soon, I need to have a few days off to tinker around with it.


I wonder if it's still possible with haystack needle to get signature spoofing working and with it microG.

also, i guess, after flashing FW 13.x there is no way back to 12.x and lower due to anti-rollback protections.. so it's a one-way ticket to flash.
 
  • Like
Reactions: alonsoj636

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
@alonsoj636 this is awesome!

many of us have been waiting for this for so long! a true ROM diamond! :)


..and I'm gonna look into it soon, I need to have a few days off to tinker around with it.


I wonder if it's still possible with haystack needle to get signature spoofing working and with it microG.

also, i guess, after flashing FW 13.x there is no way back to 12.x and lower due to anti-rollback protections.. so it's a one-way ticket to flash.
since i use Google Services i didn't look at spoofing and microg but you can always try :)

For next build i'll look into it

About anti - rollback you can downgrade MIUI but you should ALWAYS choose the correct variant that the phone came with (Global , India , Indonesia , EEA , etc) and avoid locking the bootloader
 
  • Like
Reactions: Agent Lu

Stan m

Senior Member
Jun 1, 2020
62
7
Redmi Note 10 Pro
Hey, i have redmi note 10 pro, and I would love to use lineage 19 on my device. As redmi note 10 and 10 pro are so similar, can please tell if you faced issues while porting it, or was the process straight forward? ( I have never ported a rom before and have little knowledge).
Thank you!
 

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
Beggars can't be choosers and all of that, and I know LineageOS requirements are strict, but it doesn't really spark much confidence.

Let me rephrase that: what is missing from the ROM becoming official?
i already answered you... everything is working and this ROM is stable enough to be official. But since I don't meet the requirements and I don't have much time to maintain it it will not be possible from my side... Maybe another developer can take Official LineageOS but meanwhile , i will maintain Unofficial.
 

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
Hey, i have redmi note 10 pro, and I would love to use lineage 19 on my device. As redmi note 10 and 10 pro are so similar, can please tell if you faced issues while porting it, or was the process straight forward? ( I have never ported a rom before and have little knowledge).
Thank you!
They are completely different devices.
This is only for Redmi Note 10 (mojito/sunny)
 
  • Like
Reactions: Agent Lu

ChristianWS

Senior Member
Sep 6, 2016
99
16
Moto G
Redmi Note 10
i already answered you... everything is working and this ROM is stable enough to be official. But since I don't meet the requirements and I don't have much time to maintain it it will not be possible from my side... Maybe another developer can take Official LineageOS but meanwhile , i will maintain Unofficial.
Okay, let me rephrase that again: what requirements aren't being met?
 

alonsoj636

Senior Member
Aug 30, 2020
954
484
21
Santiago , Chile
Redmi Note 10
Okay, let me rephrase that again: what requirements aren't being met?
time : i don't have enough time to take care of lineage os ... i just can do builds when i get time.

interest : i'm not currently interested on submitting any ROM to Official Status (reason : i don't care about official rules)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    that's nice... i'm planning on switching to westcoast again
    i hope @Anush02198 can keep the good work on it coz it´s a really great kernel.

    But for LOS... NPLC variant is recommended
    Thank you @alonsoj636, the build lineage-20.0-20221113-UNOFFICIAL-mojito.zip seems to be running fine.

    Let us hope that @Anush02198 will keep this kernel up-to-date and otherwise https://github.com/PixelExperience-Devices/kernel_xiaomi_mojito might be an alternative.

    I would like to maintain the kernel, but my time is very limited at the moment, so I understand why you want to drop support for v19 and focus on v20. You are doing pretty decent builds anyway compared to what I've seen since 2010.

    I've attached the original kernel config of the official mojito_global_images_V13.0.10.0.SKGMIXM_20220829.0000.00_12.0_global_48bc0a4a3a.tgz here. The official kernel is identified as 4.14.190-perf-g88390ef4216a and it seems the same as the source at https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/mojito-r-oss . But I have to decompile the boot.img first to be sure. If there are fixes from Xiaomi, we need them too in our kernel most of the time.


    And (@Zirila) Magisk, AFWall, MicroG, LSPosed etc. are working and SafetyNet + MicroG checks have passed.

    If someone is conservative about updating, but you can flash v19 in slot A and V20 in slot B. But beware that in some situations the data partition may be borked because of conflicts between the two versions (sort of dirty flash), so make A TWRP / Swift Backup backup first.

    You can backup/restore certain android settings of your phone using:
    adb shell settings list system > config-system-orig adb shell settings list secure > config-secure-orig adb shell settings list global > config-global-orig

    And sort of howto here: https://www.reddit.com/r/tasker/comments/fbi5ai
    2
    Tested the new LineageOS 20 build (clean flash) and i have to say it's awesome performing!
    Tested some other A13 ROMs and this will be my final choice for daily usage. 😍
    Works much better than my old trys with different A12 ROMs (performance, smoothness).

    One little bug I've found: Setting an action for "Long Press home" in the settings doesn't work, but "Double Tap home" Setting is working on my device.

    Only one whish: Would be really cool to make an official buld out of it to get OTA Updates for LineageOS 20. 😇Good work!! 👍👍👍

    One hint to others : To get Google Assistant working with the smaller NikGapps Packages (not enough space for full install): Get the latest "Terminal App Systemizer" for Magisk and a terminal App like "Termux" and systemize the "Google" App (installed from Playstore before) to " /system/priv-app/" and "Hey Google" Voice Command works perfectly.
    2
    Smoothness: [*][*][*][*][*]
    Performance: [*][*][*][*][*]
    Kernel: [*][*][*][*][*]
    Features: [*][*][*][*][ ]
    Battery: [*][*][*][*][*]
    Speaker sound and loudness: [*][*][*][*][*] (activate DIRAC in Settings and get pretty loud speaker)
    No bloatware: [*][*][*][*][*]
    2
    Tested the new LineageOS 20 build (clean flash) and i have to say it's awesome performing!
    Tested some other A13 ROMs and this will be my final choice for daily usage. 😍
    Works much better than my old trys with different A12 ROMs (performance, smoothness).
    well that's amazing and nice that you are enjoying the rom as well!! i also tested almost every a12-a13 rom available but only lineageOS have all i need... no useless features and good performance + god westcoast kernel.
    One little bug I've found: Setting an action for "Long Press home" in the settings doesn't work, but "Double Tap home" Setting is working on my device.
    that's probably source side bug i have too... it should be fixed in incoming updates
    Only one whish: Would be really cool to make an official buld out of it to get OTA Updates for LineageOS 20.
    i also wish that but is not possible for mojito.
    in my case i'm using some hacks and additional commits to get all things working (´which lineage will never allow) + i have more freedom with unofficial builds
    ;)
    2
    New Lineage 20.0 and 19.1 builds with November 2022 Security Patches and more are up!

    Clean Flash Mandatory for 20.0!

    For 19.1 dirty flash is fine but if you have the chance .. go with clean flash
  • 16
    2okPze5.png


    LineageOS
    for the Redmi Note 10 (mojito/sunny)

    DISCLAIMER
    I'm not responsible for bricked devices

    ABOUT

    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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.


    DOWNLOADS
    ROM :
    LineageOS 20 | LineageOS 19 | LineageOS 18
    GApps : NikGApps
    Magisk : GitHub
    SafetyNet Fix : GitHub

    INSTALLATION
    Boot to any Custom Recovery
    Format Data
    Flash Required Firmware (if needed)
    Reboot to Recovery
    Flash ROM
    Reboot to System


    INFORMATION
    Build Author/Maintainer :
    alonsoj636
    Kernel Source : Anush02198 Kernel Repo
    FW Required : V13.0.10.0.SKGMIXM

    BUGS
    Failed SafetyNet
    8
    Finally.

    I'm gonna have to wait a bit, my device is still locked and I want to wait and see a bit before I **** something up.

    What isn't working yet? Really dumb to ask at this point, but what is missing from the ROM to become official?
    everything is working... i'm using this rom since release and i finally found my daily driver rom...

    maybe you will face some lags on apps but can be easily fixed by adding some props to build.prop (i'll do on next build)

    About Official... LineageOS Requeriments are very strict and i'm not a experienced developer (i'm just learning) so i can't make this official

    So , i'll provide monthly updates as long as i have server to build it.

    Long Live LineageOS...
    7
    LineageOS UNOFFICIAL for the Redmi Note 10

    Status:
    LineageOS 20.0 -> Active

    LineageOS 19.1 -> Active
    LineageOS 18.1 -> EOL

    Main Changelogs :
    13/11/2022
    20
    • November 2022 Security Patches
    • Sync with LOS 20.0 latest sources
    • changed base tree
    • switched to WCSF Kernel (v4.14.299)
    • drop kprofiles
    • fix a lot of sepolicy denials
    • compile hwui for a bit more performance
    • drop editor config
    • drop lights hal
    • use rsa4096 key also for vbmeta_system
    • drop bluethoot component-override
    • Enable video pause workaround for video calling
    • Drop Mlipay
    • drop gpu drivers apk
    • Set readahead_size_kb=128 on fstab
    • Set readahead_size_kb=128 on data
    • don't latch unsignaled buffers
    • disable skia tracing by default
    • enable gralloc ion sync
    • Use QCOM implementation for audio effects
    • sync audio props from v13.0.10.0
    • remove useless props
    • build qti vibrator from source
    19
    • November 2022 Security Patches
    • Sync with LOS 20.0 latest sources
    • Updated WCSF Kernel to 4.14.299
    • drop editor config
    • drop lights hal
    • Drop Mlipay
    • drop gpu drivers apk
    • Set readahead_size_kb=128 on fstab
    • Set readahead_size_kb=128 on data
    • don't latch unsignaled buffers
    • disable skia tracing by default
    • compile hwui for a bit more performance



    01/11/2022
    • Initial LineageOS 20.0 based on Android 13

    09/10/2022
    • Cleanup of dead props
    • Fix some sepolicy issues with props
    • Kernel built with Clang 15.0.3
    • Sync with Lineage Source


    06/10/2022
    • October 2022 Security Patch

    01/10/2022
    • Switch to SkiaGL Threaded
    • Optimize package manager dexopt properties
    • Kernel upstreamed to v4.14.295
    • Kernel built with Clang 15.0.2
    • Enable config_avoidGfxAccel
    • wifi: Disable TDLS offchannel
    • Disable few debug services
    • Don't enable iostats


    15/09/2022
    • September 2022 Security Patch
    • Rebased WCSF Kernel upstreamed to v4.14.292
    • Removed pre-rendering feature

    • Disable IOP UXEngine
    • Reduce trim enable memory to 2GB
    • Disable userspace LMK

    • Updated translations for XiaomiParts
    • Tuned msm_irqbalance.conf


    16/08/2022
    • August 2022 Security Patch
    • Sync with Lineage Sources

    • Import perf from vendor

    05/08/2022
    • Switch back to Redfin FP
    • Sync with Lineage Sources
    • Do not use phase offsets as durations
    • Revert : Enabled updateable APEX
    • Revert : Increase the customized max cached processes number to 64
    • Props Cleanup (delete some props)
    • Flatten APEXs for performance
    • Thermal settings's app list improvement
    • Kernel upstreamed to 4.14.290
    • Kernel built with Clang 15.0.1
    • Translated Thermal Settings and Dirac Settings to Spanish
    • fstab.zram: Set max_comp_streams to 4

    • Improve peak brightness (Thanks MPK99)

    19/07/2022
    • Switch to Raven FP
    • Add front facing camera protection
    • Enable 64-bit inode version support for ext4
    • Speed profile services and wifi-service to reduce RAM and Storage
    • Address QCOM WFD denials
    • Drop DFPS props labelling
    • Increase the customized max cached processes number to 64
    • Minor fixes


    14/07/2022
    • July 2022 Security Patch
    • Updated Blobs for MIUI V13.0.9.0.SKGMIXM
    • Updated WCSF Kernel (4.14.287)
    • Drop Mojito Cutout
    • Increased max notification icons to 6
    • Build Signed
    • Drop config_haveNotch
    • Adjusted Status Bar and Rounded Corners
    • Drop QTI Camera
    • Use speed tuning for settings/systemui
    • Disable zram writeback
    • Force disable iorap
    • Use threaded GLES render engine
    • Use FUSE passthrough by default
    • wifi: Increase max bss count
    • Enable back WfdCommon BOOT_JAR
    • fstab.zram: Set max_comp_streams to 4
    • Enable LZ4 compression for ramdisks
    • Disable Chimera.GmsIntentOperationService
    • Enable sys.use_fifo_ui prop if EAS is present

    14/06/2022
    • June 2022 Security Patch (android 12.1.0_r8)
    • Updated Blobs from MIUI 13.0.7
    • Decouple suspend from screen state
    • Drop display STATE_DOZE (Fix AOD Flickering Issue)
    • Update SurfaceFlinger Props
    • Sync duration props with raven
    • Removed IORAP
    • Enabled MultiGen LRU
    • Disable NearbyMessagesService
    • Reduced System Lag

    12/05/2022
    • Sync with Lineage OS Sources
    • May 2022 Security Patches
    • Adjusted device rounded corners
    • Don't pin launcher in memory
    • Added Full screen option for legacy apps
    • Force show 4G instead of LTE

    01/05/2022
    • Reduced Logspam
    • Enable IORAP
    • GBoard Round Corners
    • Disable V-Sync for CPU Rendered Apps
    • Added Props to Increase General Performance
    • Other minor fixes
    7
    LineageOS 20.0 Screenshots
    (coming very soon)
    6
    Update... 03/09/2022

    • Mainly cleaned the device tree from bloat commits i introduced earlier... will add more changes and fix other stuff on September Patch Release

    • LineageOS 18.1 is up (once again)