• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][11][ROSY] LineageOS 18.1 [UNOFFICIAL]

Search This thread

baunilla

Senior Member
Apr 16, 2019
217
483
New build is up.
2021-05-20
Code:
• Enabled IWLAN AP-assisted mode
• Merged kernel fixes for icmp
• Added system props for DPM
• Removed unnecessary media blobs
• Removed unused Updater package
 

Barricade_21

New member
May 2, 2021
1
0
Xiaomi Redmi 5
2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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 18.1 for Xiaomi Redmi 5 (rosy)

Installation

1. If you're coming from another ROM or performing a clean flash:
  • Reboot to Recovery
  • Take a full backup (optional)
  • Wipe Dalvik, Data, 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

Credits

Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or any other modificattions.
  • 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. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

XDA:DevDB Information
LineageOS 18.1, ROM for the Xiaomi Redmi 5

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

ROM OS Version: Android 11
ROM Kernel: Linux 3.18.x
ROM Firmware Required: Latest
Based On: LineageOS

Version Information:
Status:
Stable, Signed
SELinux: Enforcing

Created 2020-10-09
Last Updated 2021-05-20
There is a bug in these android 11 ROMS. There is no obb file folder in Android. I had these experiences with a few of them as well, Please fix this as soon as possible. I would like to use Android 11 ROM comfortably
 

burchik.v

Member
Nov 18, 2019
15
6
Code:
[email protected]:~$ adb shell dmesg | grep 'avc:'
[   10.452496] type=1400 audit(20943217.949:3): avc: denied { execute_no_trans } for comm="init" path="/system/bin/clean_scratch_files" dev="mmcblk0p24" ino=1344 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   13.605996] type=1400 audit(1624035324.880:4): avc: denied { dac_override } for comm="cp" capability=1 scontext=u:r:qti_init_shell:s0 tcontext=u:r:qti_init_shell:s0 tclass=capability permissive=1
[   81.281351] type=1400 audit(1624035392.550:5): avc: denied { read } for comm="m.android.phone" name="u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=17675 scontext=u:r:radio:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
[   81.281531] type=1400 audit(1624035392.550:6): avc: denied { open } for comm="m.android.phone" path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=17675 scontext=u:r:radio:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
[   81.281606] type=1400 audit(1624035392.550:7): avc: denied { getattr } for comm="m.android.phone" path="/dev/__properties__/u:object_r:bluetooth_prop:s0" dev="tmpfs" ino=17675 scontext=u:r:radio:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=file permissive=1
[  171.119432] type=1400 audit(1624035482.390:8): avc: denied { open } for comm="IntentService[D" path="/dev/__properties__/u:object_r:adbd_prop:s0" dev="tmpfs" ino=17666 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adbd_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  171.120720] type=1400 audit(1624035482.390:9): avc: denied { getattr } for comm="IntentService[D" path="/dev/__properties__/u:object_r:adbd_prop:s0" dev="tmpfs" ino=17666 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adbd_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  171.121653] type=1400 audit(1624035482.390:10): avc: denied { open } for comm="IntentService[D" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=17667 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  171.122546] type=1400 audit(1624035482.390:11): avc: denied { getattr } for comm="IntentService[D" path="/dev/__properties__/u:object_r:apexd_prop:s0" dev="tmpfs" ino=17667 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  171.123514] type=1400 audit(1624035482.390:12): avc: denied { open } for comm="IntentService[D" path="/dev/__properties__/u:object_r:apk_verity_prop:s0" dev="tmpfs" ino=17668 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:apk_verity_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  171.124366] type=1400 audit(1624035482.390:13): avc: denied { getattr } for comm="IntentService[D" path="/dev/__properties__/u:object_r:apk_verity_prop:s0" dev="tmpfs" ino=17668 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:apk_verity_prop:s0 tclass=file permissive=1 app=com.google.android.gms
[  266.850542] type=1400 audit(1624035578.110:349): avc: denied { read } for comm="Binder:638_3" name="u:object_r:graphics_config_prop:s0" dev="tmpfs" ino=17756 scontext=u:r:gpuservice:s0 tcontext=u:object_r:graphics_config_prop:s0 tclass=file permissive=1
[  266.850813] type=1400 audit(1624035578.110:350): avc: denied { open } for comm="Binder:638_3" path="/dev/__properties__/u:object_r:graphics_config_prop:s0" dev="tmpfs" ino=17756 scontext=u:r:gpuservice:s0 tcontext=u:object_r:graphics_config_prop:s0 tclass=file permissive=1
[  266.850884] type=1400 audit(1624035578.110:351): avc: denied { getattr } for comm="Binder:638_3" path="/dev/__properties__/u:object_r:graphics_config_prop:s0" dev="tmpfs" ino=17756 scontext=u:r:gpuservice:s0 tcontext=u:object_r:graphics_config_prop:s0 tclass=file permissive=1
[  271.400863] type=1400 audit(1624035582.670:352): avc: denied { open } for comm="emui:screenshot" path="/dev/__properties__/u:object_r:exported_audio_prop:s0" dev="tmpfs" ino=17735 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:exported_audio_prop:s0 tclass=file permissive=1 app=com.android.systemui
[  271.402365] type=1400 audit(1624035582.670:353): avc: denied { getattr } for comm="emui:screenshot" path="/dev/__properties__/u:object_r:exported_audio_prop:s0" dev="tmpfs" ino=17735 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:exported_audio_prop:s0 tclass=file permissive=1 app=com.android.systemui
[ 1366.225767] type=1400 audit(1624036728.917:354): avc: denied { read } for comm="Thread-12" name="drivers" dev="proc" ino=4026531853 scontext=u:r:untrusted_app_29:s0:c166,c256,c512,c768 tcontext=u:object_r:proc_tty_drivers:s0 tclass=file permissive=1 app=org.telegram.messenger
[ 1366.226433] type=1400 audit(1624036728.917:355): avc: denied { open } for comm="Thread-12" path="/proc/tty/drivers" dev="proc" ino=4026531853 scontext=u:r:untrusted_app_29:s0:c166,c256,c512,c768 tcontext=u:object_r:proc_tty_drivers:s0 tclass=file permissive=1 app=org.telegram.messenger
[ 1366.226996] type=1400 audit(1624036728.917:356): avc: denied { getattr } for comm="Thread-12" path="/proc/tty/drivers" dev="proc" ino=4026531853 scontext=u:r:untrusted_app_29:s0:c166,c256,c512,c768 tcontext=u:object_r:proc_tty_drivers:s0 tclass=file permissive=1 app=org.telegram.messenger
[ 1366.231635] type=1400 audit(1624036728.927:357): avc: denied { read } for comm="Thread-12" name="u:object_r:serialno_prop:s0" dev="tmpfs" ino=17794 scontext=u:r:untrusted_app_29:s0:c166,c256,c512,c768 tcontext=u:object_r:serialno_prop:s0 tclass=file permissive=1 app=org.telegram.messenger
[ 1366.236372] type=1400 audit(1624036728.927:358): avc: denied { open } for comm="Thread-12" path="/dev/__properties__/u:object_r:serialno_prop:s0" dev="tmpfs" ino=17794 scontext=u:r:untrusted_app_29:s0:c166,c256,c512,c768 tcontext=u:object_r:serialno_prop:s0 tclass=file permissive=1 app=org.telegram.messenger
[ 5567.137144] type=1400 audit(1624041870.838:363): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:netd:s0 tclass=binder permissive=1
[ 5567.203641] type=1400 audit(1624041870.908:364): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:installd:s0 tclass=binder permissive=1
[ 5586.874570] type=1400 audit(1624041890.578:365): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:netd:s0 tclass=binder permissive=1
[ 5586.912369] type=1400 audit(1624041890.618:366): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:installd:s0 tclass=binder permissive=1
[ 5586.946735] type=1400 audit(1624041890.648:367): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:netd:s0 tclass=binder permissive=1
[ 5602.123003] type=1400 audit(1624041905.828:368): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:netd:s0 tclass=binder permissive=1
[ 5602.141703] type=1400 audit(1624041905.838:369): avc: denied { call } for comm=4173796E635461736B20233132 scontext=u:r:system_app:s0 tcontext=u:r:installd:s0 tclass=binder permissive=1
[ 5903.574050] type=1400 audit(1624042207.278:370): avc: denied { call } for comm=4173796E635461736B20233231 scontext=u:r:system_app:s0 tcontext=u:r:netd:s0 tclass=binder permissive=1
[ 5903.591412] type=1400 audit(1624042207.288:371): avc: denied { call } for comm=4173796E635461736B20233231 scontext=u:r:system_app:s0 tcontext=u:r:installd:s0 tclass=binder permissive=1
[ 6082.243274] type=1400 audit(1624042385.938:372): avc: denied { syslog_read } for comm="dmesg" scontext=u:r:shell:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
[email protected]:~$
 
  • Like
Reactions: baunilla

Michael P.

Member
Mar 12, 2020
20
6
Xiaomi Redmi 4a
Xiaomi Redmi 5
New build is up.
2021-06-19
Code:
• Kernel tag LA.UM.9.6.2.r1-04700-89xx.0
• Updated Prima WLAN kernel driver
• Fixed fingerprint fpc issues
• Fixed Network stats
• Addressed thermal selinux denials
• Updated Bluetooth configs

Thanks @burchik.v for testing ;)
Can you disable touch boost ( or whatever the name is for that setting). Basically when I thouch the screen the cpu stays at 1.7 ghz and this is consuming battery.
 
  • Like
Reactions: paulikkkkk

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    New build is up.
    2021-07-08
    Code:
    • July security patch 11.0.0_r39
    • Updated IMS Radio HAL to v1.6
    • Switched to AOSP audio effects
    • Enabled VOIP audio compression
    • Disabled Prima WLAN debugging
    3
    New build is up.
    2021-07-21
    Code:
    • Switched to CAF blobs for R
    • Blobs from LA.UM.9.6.2.r1-02800-89xx.0
    • Updated Qti Radio HAL to v2.4
    • Updated Qti Data Factory to v2.1
    • Updated Qti GNSS HAL to v4.0
    • Updated IMS RTP service to v3.0
    • Updated Widevine HAL to v1.3
    • Addressed some SELinux denials
    • Removed unused firmware blobs
    3
    New build is up.
    2021-07-22
    Code:
    • Switched to CAF blobs for R
    • Blobs from LA.UM.9.6.2.r1-02800-89xx.0
    • Updated Qti Radio HAL to v2.4
    • Updated Qti Data Factory to v2.1
    • Updated Qti GNSS HAL to v4.0
    • Updated IMS RTP service to v3.0
    • Updated Widevine HAL to v1.3
    • Addressed some SELinux denials
    • Removed unused firmware blobs

    Build was re-uploaded to fix issue: 20210721 --> 20210722
    2
    New build is up.
    2021-07-28
    Code:
    • Kernel tag LA.UM.9.6.2.r1-04800-89xx.0
    • Added missing Media blobs
    • Added missing CNE permissions
    • Added IPA TCP buffer configs
    • Addressed location selinux denials
    • Fixed IMS RTP user permissions
    • Fixed excessive ADB connections
  • 10
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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 18.1 for Xiaomi Redmi 5 (rosy)

    Installation

    1. If you're coming from another ROM or performing a clean flash:
    • Reboot to Recovery
    • Take a full backup (optional)
    • Wipe Dalvik, Data, 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

    Credits

    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or any other modificattions.
    • 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. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.

    XDA:DevDB Information
    LineageOS 18.1, ROM for the Xiaomi Redmi 5

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

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

    Version Information:
    Status:
    Stable, Signed
    SELinux: Enforcing

    Created 2020-10-09
    Last Updated 2021-07-28
    4
    New build is up. (Clean flash recommeded)
    2021-06-10
    Code:
    • June security patch 11.0.0_r38
    • Kernel 4.9.227 (built w/ clang)
    • CAF tag LA.UM.9.6.2.r1-04600-89xx.0
    • Updated thermal blobs from FP3
    • Updated rootdir scripts for k4.9

    Known issue: front camera flash.
    4
    New build is up.
    2021-05-05
    Code:
    • May security patch 11.0.0_r37
    • Updated camera socket paths
    • Disabled scheduler runtime share
    • Addressed some selinux denials
    3
    Changelog
    2021-07-28
    Code:
    • Kernel tag LA.UM.9.6.2.r1-04800-89xx.0
    • Added missing Media blobs
    • Added missing CNE permissions
    • Added IPA TCP buffer configs
    • Addressed location selinux denials
    • Fixed IMS RTP user permissions
    • Fixed excessive ADB connections
    Code:
    • Switched to CAF blobs for R
    • Blobs from LA.UM.9.6.2.r1-02800-89xx.0
    • Updated Qti Radio HAL to v2.4
    • Updated Qti Data Factory to v2.1
    • Updated Qti GNSS HAL to v4.0
    • Updated IMS RTP service to v3.0
    • Updated Widevine HAL to v1.3
    • Addressed some SELinux denials
    • Removed unused firmware blobs
    Code:
    To disable fp vibration, add to build.prop:
    fingerprint.disable_success_vibration=true

    Code:
    2021-07-22
    • Switched to CAF blobs for R
    • Blobs from LA.UM.9.6.2.r1-02800-89xx.0
    • Updated Qti Radio HAL to v2.4
    • Updated Qti Data Factory to v2.1
    • Updated Qti GNSS HAL to v4.0
    • Updated IMS RTP service to v3.0
    • Updated Widevine HAL to v1.3
    • Addressed some SELinux denials
    • Removed unused firmware blobs
    
    2021-07-08
    • July security patch 11.0.0_r39
    • Updated IMS Radio HAL to v1.6
    • Switched to AOSP audio effects
    • Enabled VOIP audio compression
    • Disabled Prima WLAN debugging
    
    2021-06-26
    • Enabled zram lz4 compression
    • Fixed zram swap issues
    • Disabled MSM Remote debug driver
    • Disabled coresight gpu tracing
    
    2021-06-22
    • Fixed USB Tethering
    • Disabled boosts for power-saving profiles
    • Updated USB configs from CAF
    
    2021-06-19
    • Kernel tag LA.UM.9.6.2.r1-04700-89xx.0
    • Updated Prima WLAN kernel driver
    • Fixed fingerprint fpc issues
    • Fixed Network stats
    • Addressed thermal selinux denials
    • Updated Bluetooth configs
    
    2021-06-10
    • June security patch 11.0.0_r38
    • Kernel 4.9.227 (built w/ clang)
    • CAF tag LA.UM.9.6.2.r1-04600-89xx.0
    • Updated thermal blobs from FP3
    • Updated rootdir scripts for k4.9
    
    2021-05-20
    • Enabled IWLAN AP-assisted mode
    • Merged kernel fixes for icmp
    • Added system props for DPM
    • Removed unnecessary media blobs
    • Removed unused Updater package
    
    2021-05-05
    • May security patch 11.0.0_r37
    • Updated camera socket paths
    • Disabled scheduler runtime share
    • Addressed some selinux denials
    
    2021-04-07
    • April security patch 11.0.0_r34
    • Kernel fixes and optimizations
    
    2021-03-28
    • Enabled power/performance profiles
    • Added fingerprint vibration configs
    • Addressed some selinux denials
    
    2021-03-07
    • March security patch 11.0.0_r32
    • Switched back to QTI telephony
    
    2021-02-25
    • Switched to AOSP Bluetooth stack
    • Switched to AOSP Telephony framework
    • SELinux enforcing
    • Signed with release-keys
    
    2021-02-21
    • February security patch 11.0.0_r29
    • Kernel fixes and optimizations
    • Enabled FM Radio
    • Enabled interaction boosts
    • Enabled Tap to wake
    • Updated Light HIDL service
    • Updated USB init configs
    • Removed unused camera blobs
    
    2021-01-07
    • January security patch 11.0.0_r27
    • Kernel fixes and optimizations
    • Updated common blobs from Daisy
    • Updated touchscreen drivers
    • Switched to CodeAurora RCS
    
    2020-12-21
    • Disabled recovery updater to avoid accidental wipes
    • Fixed andr-perf-mpctl link issue
    • Upstream fixes and optimizations
    
    2020-12-12
    • Lineage 18.1 is here for Xmas
    • December security patch 11.0.0_r19
    • Chromium Webview 87.0.4280.101
    • Kernel fixes and optimizations
    • Updated common blobs from Daisy
    • Migrated to Health HAL v2.1
    
    2020-11-22
    • Fixed camera allowing unsupported resolutions
    • Upstream fixes and optimizations
    
    2020-11-15
    • Kernel tag LA.UM.8.6.r1-05300-89xx.0
    • Updated Prima WLAN driver
    • Enabled Qualcomm telephony framework
    • Fixed TimeServices QMI issue
    • Unpinned camera app from memory
    • Upstream fixes and optimizations
    
    2020-11-05
    • November security patch 11.0.0_r17
    • Fixed WiFi hotspot issues
    • Enabled display adjustments
    • Upstream fixes and optimizations
    
    2020-10-17
    • October security patch 11.0.0_r4
    • Enabled supported WiFi features
    • Overall fixes and optimizations
    
    2020-10-09
    • Initial build
    3
    New build is up.
    2021-06-19
    Code:
    • Kernel tag LA.UM.9.6.2.r1-04700-89xx.0
    • Updated Prima WLAN kernel driver
    • Fixed fingerprint fpc issues
    • Fixed Network stats
    • Addressed thermal selinux denials
    • Updated Bluetooth configs

    Thanks @burchik.v for testing ;)