[ROM][13][ROSY] LineageOS 20.0 [UNOFFICIAL]

Search This thread

54b1d

Member
May 16, 2014
27
9
Xiaomi Redmi 5
Today I try two sim cards on the latest from (clean flashed). Its weird that both sims (different networks, Viettel & Mobifone) cannot connect to data. Swap sims could not help. Remove one sim, then the remaining sim show connected to LTE network.
And when 2 sims in the slot, the way to make a call on which sim is very inconvenient. Have to click on the four dots on the left to choose the sim to call. Or just make the call and switch sim during the call.

The other error: the only MicroSD this Rosy accepts properly is the 8Gb class 4 Transcend. I have several 64Gb working MicroSD (Toshiba/Sandisk) but the phone format them several times in both modes (internal/ external) then it crashed and formatted again/ or rebooted.
64GB formatted exFat from recovery as external sd working fine for me.
 
  • Like
Reactions: lifegap

LGD Breath

Senior Member
Sep 15, 2021
254
24
22
West Bengal , India
The latest rom drain battery significantly vs the previous one. I left the phone fully charged for 8 hours without touching it and battery down to 75%
As earlier i told , it's doesn't matters how the rom is lightweight , battery will drain more with higher Android version services ! Dead driver update possibilities ! If somehow you can make Qualcomm to allow gives daily driver update then it will be solve
 
  • Like
Reactions: lifegap

MrTvees

New member
Oct 10, 2018
1
0
Does this ROM work better than 19.1? The past begins to slow down over time. Maybe I should install some other kernel?
 

baunilla

Recognized Developer
Apr 16, 2019
484
1,179
New build is up.
2022-11-26
Code:
• Signed Bluetooth with new certificate
• Fixed GMS device-config permissions
• Bumped limit on sched-tune boost groups
• Migrated to cgroup task_profiles
• Disabled sched iowait_boost
• Fixed DM reads capped at max request size
• Fixed potential FS unmount issue
• Fixed FG Rslow charger compensation

Clean flash required!

Updated Bluetooth modules have new security certificates, so the signatures will NOT match previous builds. DO NOT try to dirty-flash or apps will crash. Clean-flash only!
 
Last edited:

risunygma

Senior Member
Apr 13, 2019
83
13
New build is up.
2022-11-26
Code:
• Signed Bluetooth with new certificate
• Fixed GMS device-config permissions
• Bumped limit on sched-tune boost groups
• Migrated to cgroup task_profiles
• Disabled sched iowait_boost
• Fixed DM reads capped at max request size
• Fixed potential FS unmount issue
• Fixed FG Rslow charger compensation

Clean flash required!

Updated Bluetooth modules have new security certificates, so the signatures will NOT match previous builds. DO NOT try to dirty-flash or apps will crash. Clean-flash only!
I just clean flashed and using for an hour or so, and for me cpu is stuck at 1.8ghz but I only chat on nekogram and whatsapp.
battery drains a lot 😥
 

baunilla

Recognized Developer
Apr 16, 2019
484
1,179
I just clean flashed and using for an hour or so, and for me cpu is stuck at 1.8ghz but I only chat on nekogram and whatsapp.
battery drains a lot 😥

No issues here. Grab this from adb:

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

Prints time spent on each freq:
Code:
 652800  101728
1036800    1438
1401600   15247
1689600    1664
1804800   13711
 

risunygma

Senior Member
Apr 13, 2019
83
13
No issues here. Grab this from adb:

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state

Prints time spent on each freq:
Code:
 652800  101728
1036800    1438
1401600   15247
1689600    1664
1804800   13711
thanks
it got fixed after some hour. then rebooted and it's all fine now. 🥲🥲 battery draining is still faster 🥲
 

baunilla

Recognized Developer
Apr 16, 2019
484
1,179
Mindthegapps is not suitable for 2/16 version. It occupied 90-95% memory and cause serious lag. I have to disable the Google app, replace it with Google Go to get it run properly.
I just clean flashed and using for an hour or so, and for me cpu is stuck at 1.8ghz...
it got fixed after some hour. then rebooted and it's all fine now...
Apparently Play services are not happy after the initial setup (SUW) will keep scanning packages, resulting in high cpu usage for some time. It gets fixed once updated to latest PlayStore/Services, but that can take a while (or a few reboots)

EDIT: Removing Gapps package from Downloads section for now...
 
Last edited:

LGD Breath

Senior Member
Sep 15, 2021
254
24
22
West Bengal , India

Attachments

  • Screenshot_20221129-064206_Settings.png
    Screenshot_20221129-064206_Settings.png
    78.4 KB · Views: 16

Top Liked Posts

  • 1
    New build is up.
    2023-03-26
    Code:
    • ThemePicker icon/shape/font customizations
    • Color-themed Icons no longer beta
    1
    Hey devs just want to know why dont you preinstall face unlock feature i really want it
    as far as im aware the phone doesn't support face unlock. there are some stupid ways to get it but it wont be real face unlock
  • 5
    New build is up.
    2023-03-21
    Code:
    • Android 13 QPR2 (Quarterly Platform Release)
    • March security patch 13.0.0_r35
    Code:
    • Fixed delayed SMS notifications
    • Fixed icon theme color in QS
    • Fixed vibrate icon in status-bar

    EDIT: New build uploaded with additional ROM-side changes.
    2023-03-22
    Code:
    • Switched to AOSP themes stub package
    • Fixed scramble pin layout when unlocking
    3
    New build is up.
    2023-03-19
    Code:
    • Android 13 QPR2 (Quarterly Platform Release)
    • March security patch 13.0.0_r35

    Gapps package also updated with NikGapps core from 19-Mar-2023.
    3
    Yet another build w/ smore fixes.
    2023-03-24
    Code:
    • Updated blobs from FP3 (2023-02-05)
    • Fixed Theme color in QS footer
    • Fixed padding for battery usage graph
    • Fixed spellcheck on sentence end
    • Applied theme to auth ripple animation
    • Updated packages translations
    1
    New build is up.
    2023-03-26
    Code:
    • ThemePicker icon/shape/font customizations
    • Color-themed Icons no longer beta
    1
    Hey devs just want to know why dont you preinstall face unlock feature i really want it
    as far as im aware the phone doesn't support face unlock. there are some stupid ways to get it but it wont be real face unlock
  • 16
    2okPze5.png


    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.

    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.


    Code:
    /*
    * Your warranty is now maybe 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.
    *
    */

    LineageOS 20.0 for Xiaomi Redmi 5 (rosy)

    Installation

    1. If you're coming from another ROM or performing a clean flash:
    • Reboot to Recovery
    • Backup any important data
    • Format Data partition
    • Wipe Dalvik, Cache, System, Vendor
    • Flash the ROM
    • Flash GApps (optional)
    • Reboot to System
    2. If you're updating the ROM or performing a dirty flash:
    • Reboot to Recovery
    • Flash the ROM
    • Wipe Cache
    • Reboot to System

    Downloads

    OTA Updates
    • Once an update is available in System settings, download the update package and select Install. The device will restart itself and install the update.
    • Consider enabling auto-delete in Updater settings, since OTA packages can take up considerable storage space.

    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel, have installed Magisk, or have made modifications to read-only partitions (with GApps being the only exception).
    • 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.)
    • Remember to provide as much info as possible, including the necessary steps to reproduce your issue. The more info you provide, the more likely that the bug will be solved.

    Credits

    Rom Information
    LineageOS 20.0, ROM for the Xiaomi Redmi 5

    Contributors
    baunilla
    Source Code: https://github.com/baunilla

    ROM OS Version: Android 13
    ROM Kernel: Linux 4.9.x
    ROM Firmware Required: Latest
    Based On: LineageOS

    Version Information:
    Status:
    Stable
    SELinux: Enforcing
    Encryption: FBE

    Created 2022-09-01
    Last Updated 2023-03-26
    13
    Changelog
    2023-03-26
    Code:
    • Android 13 QPR2 (Quarterly Platform Release)
    • March security patch 13.0.0_r35
    • Blobs updated from FP3 (2023-02-05)
    Code:
    • Kernel tag LA.UM.10.6.2.r1-02500-89xx.0
    • Kernel upstreamed to 4.9.337

    Code:
    2023-02-16
    • February security patch 13.0.0_r30
    • Dynamic app icons for Clock & Calendar
    • Fixed stock camera frame drop issue
    
    2023-01-22
    • Merged Kernel ipset/ipv6 upstream bug fixes
    • Switched HAL Virtual displays to GPU fallback
    • Switched 3GP codec parser to AOSP fallback
    • Disabled Media transcoding feature (unsupported)
    • Disabled Bluetooth Hearing Aid profile (unsupported)
    • Disabled Wifi EXTScan feature (unsupported)
    
    2023-01-10
    • January security patch 13.0.0_r20
    • Kernel upstreamed to 4.9.337
    • Updated blobs from FP3 (8901.4.A.0019.2)
    • Updated Vendor SPL (2022-12-05)
    
    2022-12-26
    • Fixed dual-sim data switching issue
    • Added support for Wifi Aware data-path
    • Upgraded Radio config to v1.1
    • Fixed potential VADC issue breaking suspend
    • Enabled speed-profile filter for system-server
    • Reduced ROM package size and RAM usage
    
    2022-12-19
    • Kernel upstreamed to 4.9.336
    
    2022-12-11
    • Android 13 QPR1 (Quarterly Platform Release)
    • December security patch 13.0.0_r16
    • Kernel upstreamed to 4.9.335
    • Added Launcher icon size customizations
    • Added boot image optimization profile
    • Fixed speakerphone screen timeout issue
    
    2022-11-30
    • Kernel upstreamed to 4.9.334
    • Addressed some selinux denials
    • Fixed permissions for ipsec tunnel
    
    2022-11-26
    • Signed Bluetooth with new certificates
    • Fixed GMS device-config permissions
    • Bumped limit on sched-tune boost groups
    • Migrated to cgroup task_profiles
    • Disabled sched iowait_boost
    • Fixed DM reads capped at max request size
    • Fixed potential FS unmount issue
    • Fixed FG Rslow charger compensation
    
    2022-11-20
    • Added AOSP FM Radio
    • Addressed block discard selinux denials
    
    2022-11-12
    • Kernel upstreamed to 4.9.333
    • Improved treble response from speaker
    
    2022-11-09
    • November security patch 13.0.0_r13
    • Improved call volume adjustment range
    • Improved echo cancellation for voice calls
    • Restored mic mixer-paths from stock
    
    2022-11-05
    • Switched build type USERDEBUG -> USER
    • Rolled back Audio ACDB blobs from stock MIUI
    • Fixed poor low-end response from speaker
    • Improved mic volume for dual mic use cases
    
    2022-11-01
    • Kernel upstreamed to 4.9.331
    • Reduced kernel wakelocks from FuelGauge
    • Bumped power-supply limit for pmic
    • Fixed supply type probe issue at bootup
    • Adjusted fp unlock animation
    
    2022-10-25
    • Fixed NPE when iterating power supplies
    • Fixed potential bug in battery percentage
    • Addressed surfaceflinger selinux denials
    
    2022-10-20
    • Updated blobs from FP3 (4.A.0017.3)
    • Updated vendor SPL (2022-10-05)
    • Dropped obsolete QCOM codec parsers
    
    2022-10-12
    • Fixed DAPM probe for external speaker
    • Enabled LTE+ icon when available
    • Switched to provided shim for ims-vt
    • Removed unnecessary recovery libs
    
    2022-10-05
    • October security patch 13.0.0_r8
    • Updated USB configurations
    • Downgraded Radio HAL to v1.4
    
    2022-09-30
    • Kernel upstreamed to 4.9.330
    • Fixed MT SMS sent during power off
    • Fixed VoLTE ringback tone issue
    • Fixed Browser storage permissions
    • Enabled zygote critical window
    • Added WLAN time-slice duty cycle
    • Addressed linkerconfig denials
    
    2022-09-26
    • Re-Enabled OTA updates
    • Disabled Kernel debug monitoring
    • Adjusted privacy indicator
    
    2022-09-23
    • Android release 13.0.0_r6
    • Kernel upstreamed to 4.9.329
    • Enabled File-based encryption
    • SELinux enforcing
    • Updated Audio HAL to v7.1
    • Switched to AIDL DRM HAL
    • Updated Bluetooth configs
    
    2022-09-07
    • September security patch 13.0.0_r4
    • Kernel upstreamed to 4.9.327
    • Fixed WiFi interface scan errors
    • Fixed WiFi Hotspot issues
    • Fixed & enabled Setup Wizard
    • Removed QTI BT Audio HAL
    
    2022-09-03
    • Fixed Bluetooth Audio issues
    • Fixed Network access for 3rd party apps
    
    2021-09-01
    • August security patch 13.0.0_r3
    • Kernel tag LA.UM.10.6.2.r1-02500-89xx.0
    • Kernel upstreamed to 4.9.326
    8
    New build is up.
    2022-11-05
    Code:
    • Switched build type USERDEBUG -> USER
    • Rolled back Audio ACDB blobs from stock MIUI
    • Fixed poor low-end response from speaker
    • Improved mic volume for dual mic use cases

    * Build is now of type user without the additional debugging and diagnostic tools found in previous userdebug builds.

    * The external speaker should now perform like stock MIUI... hopefully putting an end to the 'lack of bass' discussion.
    8
    New build is up.
    2023-01-05
    Code:
    • January security patch 13.0.0_r20
    8
    New build is up.
    2022-12-09
    Code:
    • Android 13 QPR1 (Quarterly Platform Release)
    • December security patch 13.0.0_r16
    • Kernel upstreamed to 4.9.335
    • Added Launcher icon size customizations
    • Added boot image optimization profile
    • Fixed speakerphone screen timeout issue