• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL][ROSY] LineageOS 18.1 Kernel 4.9 [12/08/2021][Android 11]

Search This thread

Pulkit Agarwal

Senior Member
Dec 15, 2017
200
142
Please explain me how to change the kernel? I m interested install this ROM but I dont know how to change please thanks
This ROM comes with Kernel 4.9 and there's no custom 4.9 available for this yet so only option is to stick with stock, stock is powerful enough and gets the job done

If you flash any 3.18 kernel on LineageOS 4.9 by me, it will not boot
 

sis tema

Senior Member
Aug 30, 2014
110
20
New update available !
Changelog: 2021-05-24

Code:
ROM Changelog:
- reworked power menu (by los)
- added charging animation
- new battery info
- improved performance
- added back blur, under developer options
- synced with latest lineage sources as of 23/5

Device changelog:
- stable release with 4.9 kernel
- SELinix Enforcing and addressed alot of denials
- thermal changes
- increased max freq drop thresholds

Kernel changelog: (from last los alpha release released on TG)
- cleaned up camera changes and fixed stupid calls related to camera
- power driver changes
- fixed FPC fingerprint
- fixed zram
- fixed goodix unbalanced irq
- Fixed front flash
- Fixed charging power source detection
- Fixed green lines in GCam
- changed readahead size to 128KB from 512KB
- improved overall battery backup and performance
- memory management improvements

Kernel, wlan drivers and audio drivers are based on CAF Tag LA.UM.9.6.2.r1-04200-89xx.0

Clean Flash is mandatory
For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

Sources:
My GitHub
Download: GDrive || SourceForge


best best best best <3

The best rom that even exists for this device
 
  • Love
Reactions: Pulkit Agarwal

fechucas

Member
Jul 16, 2020
5
0
This ROM comes with Kernel 4.9 and there's no custom 4.9 available for this yet so only option is to stick with stock, stock is powerful enough and gets the job done

If you flash any 3.18 kernel on LineageOS 4.9 by me, it will not boot
If I Flash this rom through twrp recovery use wipe system, data, dalvik cache, and install adb sideload my phone will boot or not?
do you understand me? thanks
 

Pulkit Agarwal

Senior Member
Dec 15, 2017
200
142
New update available !
Changelog: 2021-06-13

never gonna give you up

Code:
Source Changelog:
- Merged June Security Patch
- Added option to change HW renderer to Vulkan in Dev options (From Android Pie)
- Added settings to adjust nav bar length
- Added DataSwitch Tile
- Added Battery Stats reset button
- merged LA.QSSI.11.0.r1-12200-qssi.0 in telephony repos
- Performance improvements
- Enabled LTE+ icon if available
- One Click to rearrange tiles
- Added ThemePrimerUI from ProtonAOSP

Device Changelog:
- fixed location + Hotspot turn off issue
- Updated Audio, ADSP, DSP, Voice blobs from LA.UM.9.6.2.r1-03600-89xx.0
- recompiled BSP's thermal-engine with correct thermal sensors for msm8953 k4.9 from LA.UM.9.6.2.r1-03600-89xx.0
- Updated Audio HAL from LA.UM.9.6.2.r1-03600-89xx.0
- Upstreamed Audio configs and xml to LA.UM.9.6.2.r1-03600-89xx.0
- [TEST Change] Applied some mixer path changes from Daisy (devices share same audio card so why not)
- Switched to Google's LMKD configuration and ditched CAF's kernel LMK driver
- fixed memory management issues
- fixed heating issues

Kernel Changelog:
- switched to zstd as default ZRam compression
- disabled CAF's CPU boost
- fixed a cold -> cool typo from Xiaomi in Fuel Gauge driver
- Improved charging speeds (if not fixed lol)
- disabled some misc configs for in general improvements

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

Download:
GDrive || SourceForge
 

sis tema

Senior Member
Aug 30, 2014
110
20
New update available !
Changelog: 2021-06-13

never gonna give you up

Code:
Source Changelog:
- Merged June Security Patch
- Added option to change HW renderer to Vulkan in Dev options (From Android Pie)
- Added settings to adjust nav bar length
- Added DataSwitch Tile
- Added Battery Stats reset button
- merged LA.QSSI.11.0.r1-12200-qssi.0 in telephony repos
- Performance improvements
- Enabled LTE+ icon if available
- One Click to rearrange tiles
- Added ThemePrimerUI from ProtonAOSP

Device Changelog:
- fixed location + Hotspot turn off issue
- Updated Audio, ADSP, DSP, Voice blobs from LA.UM.9.6.2.r1-03600-89xx.0
- recompiled BSP's thermal-engine with correct thermal sensors for msm8953 k4.9 from LA.UM.9.6.2.r1-03600-89xx.0
- Updated Audio HAL from LA.UM.9.6.2.r1-03600-89xx.0
- Upstreamed Audio configs and xml to LA.UM.9.6.2.r1-03600-89xx.0
- [TEST Change] Applied some mixer path changes from Daisy (devices share same audio card so why not)
- Switched to Google's LMKD configuration and ditched CAF's kernel LMK driver
- fixed memory management issues
- fixed heating issues

Kernel Changelog:
- switched to zstd as default ZRam compression
- disabled CAF's CPU boost
- fixed a cold -> cool typo from Xiaomi in Fuel Gauge driver
- Improved charging speeds (if not fixed lol)
- disabled some misc configs for in general improvements

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

Download:
GDrive || SourceForge
The microphone does not work in Messenger and Viber, this is probably a kernel problem as it also does not work in dot os 5.1.1 and works perfectly in PE +
 

Pulkit Agarwal

Senior Member
Dec 15, 2017
200
142
New update available !
Changelog: 2021-07-15

may the force be with you

Code:
Changelog:
Source:
- July Security Patch
- synced with latest LineageOS sources as of 13 June 2021
- zygote backports for better app forking
- updated jemalloc from latest official repository
- power menu tile (helpful if u've broken power button)
- fixed extreme battery saver not working
- added back privacy indicators (were removed by Google in June SP)
- reduced debugging (disabled stats daemon and tracing debugging in production build, yes this is production user build :P)

Thanks to Kdrag0n and ProtonAOSP for most of performance patches, u can read more about them here)

Device:
- fixed DT2W not working on first boot
- faster boot time (Pixel boot enhancement + sched_boost + schedtune boost from Pixel's (crosshatch))
- Switched to libperf Power HAL
- Enhanced Scheduler settings from Pixel's
- Fixed mic not working in VoIP calls in last build
- Fixed CAF's broken mincpubw governor setting in post_boot script
- Increased zram size to 1.3GB
- Shortened wait time for services exit to optimize shutdown time
- fixed speaker on call when device screen turned off

kernel:
- disabled {debug kernel, UFS, SCHED_CORE_CTL} configs
- Enabled and Upstreamed LZ4 module (upstream from ALS 5.4)
- thermal changes from Pixel 3XL
- BBR backports from lmaoicon
- added sound control (requires root and kernel manager to access)
- fixed offline charging leds
- disabled DMA for i2c node
- imported missed out xiaomi audio changes (improved speaker audio quality)
- improved performance

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

Further More: Here

Download: GDrive || SourceForge
 
  • Like
Reactions: Michael P.

Manucr15z10

New member
Jul 14, 2021
1
0
2okPze5.png


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 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.

What's working :
• Boots
• RIL (Calls, SMS, Data, VoLTE)
• Wi-Fi
• Hotspot
• Bluetooth
• Video Playback
• Camera
• Flash
• Audio
• Sensors
• LED
• GPS
• WFD

Installation instructions
• Download the latest build , GApps
• Reboot to recovery
• Wipe system , vendor , data , cache.
• Flash the latest build & GApps
• Reboot

OTA Updates Available

Downloads:
find the newest comment by me on this thread
at the last with changelogs : D

Source Code: My GitHub

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

Contributors
Pulkit Agarwal
ROM OS Version: Android 11
ROM Kernel: Linux 4.9.x
Based On: LineageOS

Version Information
Status:
Stable

Created 2020-11-11
Last Updated 2021-07-15
Good
 

Pulkit Agarwal

Senior Member
Dec 15, 2017
200
142
New update available !
Changelog: 2021-08-15
we're in the endgame now


Code:
Changelog:
Source side:
 - Added Hotspot manager
 - added turn off sim toggle from CAF
 - improved faceunlock from PE
 - Added data usage info in QS

Device side:
 - updated post_boot script from LA.UM.9.6.2.r1-04800-89xx.0
 - fixed power profile mismatch error from logs
 - LMKD changes
 - performance optimizations and improvements
 - disabled iorapd
 - fixed GPU stuck at 320MHz in GPU intensive tasks

Kernel side:
 - KewL-0x01 Release!
 - Upstreamed to v4.9.279
 - added exFAT support from @arter97
 - upstreamed exFAT to torvalds/linux
 - mm backports and changes
 - lz4 changes from upstream
 - zram changes from upstream
 - inlined binder to aosp/4.19
 - disabled IPA_WS wakelock
 - ion changes
 - Enabled GCC graphite optimization
 - scheduler ricing and backports
 - vmalloc backports and performance from Linux 5.2 (fixes issue where ram management used to degrade after few days of uptime)
 - crypto backports
 - fixed some race conditions
 - enabled optimized inlining
 - switched to 300Hz tickrate
 - performance improvements
 - merged LA.UM.9.6.2.r1-04800-89xx.0 in kernel, wlan and audio drivers

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

This build has many improvements related to memory management from last build which some users reported
Screenshots of new stuff are attached below

Download: GDrive || SourceForge
 

Attachments

  • photo_2021-08-10_02-15-35.jpg
    photo_2021-08-10_02-15-35.jpg
    27.3 KB · Views: 77
  • photo_2021-08-12_19-49-49.jpg
    photo_2021-08-12_19-49-49.jpg
    9.5 KB · Views: 75
  • photo_2021-08-12_19-50-07.jpg
    photo_2021-08-12_19-50-07.jpg
    25.2 KB · Views: 68
  • photo_2021-08-12_19-50-23.jpg
    photo_2021-08-12_19-50-23.jpg
    24.7 KB · Views: 65
  • photo_2021-08-12_19-50-25.jpg
    photo_2021-08-12_19-50-25.jpg
    31.9 KB · Views: 61
  • photo_2021-08-12_19-50-28.jpg
    photo_2021-08-12_19-50-28.jpg
    25.1 KB · Views: 76
Last edited:

sis tema

Senior Member
Aug 30, 2014
110
20
New update available !
Changelog: 2021-08-15
we're in the endgame now


Code:
Changelog:
Source side:
- Added Hotspot manager
- added turn off sim toggle from CAF
- improved faceunlock from PE
- Added data usage info in QS

Device side:
- updated post_boot script from LA.UM.9.6.2.r1-04800-89xx.0
- fixed power profile mismatch error from logs
- LMKD changes
- performance optimizations and improvements
- disabled iorapd
- fixed GPU stuck at 320MHz in GPU intensive tasks

Kernel side:
- KewL-0x01 Release!
- Upstreamed to v4.9.279
- added exFAT support from @arter97
- upstreamed exFAT to torvalds/linux
- mm backports and changes
- lz4 changes from upstream
- zram changes from upstream
- inlined binder to aosp/4.19
- disabled IPA_WS wakelock
- ion changes
- Enabled GCC graphite optimization
- scheduler ricing and backports
- vmalloc backports and performance from Linux 5.2 (fixes issue where ram management used to degrade after few days of uptime)
- crypto backports
- fixed some race conditions
- enabled optimized inlining
- switched to 300Hz tickrate
- performance improvements
- merged LA.UM.9.6.2.r1-04800-89xx.0 in kernel, wlan and audio drivers

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

This build has many improvements related to memory management from last build which some users reported
Screenshots of new stuff are attached below

Download: GDrive || SourceForge


Congratulations, there is a lot of news and almost no problems. good job... <3
 
  • Like
Reactions: Pulkit Agarwal

Arya Adiputra

New member
Feb 11, 2019
4
0
New update available !
Changelog: 2021-08-15
we're in the endgame now


Code:
Changelog:
Source side:
- Added Hotspot manager
- added turn off sim toggle from CAF
- improved faceunlock from PE
- Added data usage info in QS

Device side:
- updated post_boot script from LA.UM.9.6.2.r1-04800-89xx.0
- fixed power profile mismatch error from logs
- LMKD changes
- performance optimizations and improvements
- disabled iorapd
- fixed GPU stuck at 320MHz in GPU intensive tasks

Kernel side:
- KewL-0x01 Release!
- Upstreamed to v4.9.279
- added exFAT support from @arter97
- upstreamed exFAT to torvalds/linux
- mm backports and changes
- lz4 changes from upstream
- zram changes from upstream
- inlined binder to aosp/4.19
- disabled IPA_WS wakelock
- ion changes
- Enabled GCC graphite optimization
- scheduler ricing and backports
- vmalloc backports and performance from Linux 5.2 (fixes issue where ram management used to degrade after few days of uptime)
- crypto backports
- fixed some race conditions
- enabled optimized inlining
- switched to 300Hz tickrate
- performance improvements
- merged LA.UM.9.6.2.r1-04800-89xx.0 in kernel, wlan and audio drivers

For the love of God DO NOT FLASH 3.18 Kernel
Existing users will get OTA update

This build has many improvements related to memory management from last build which some users reported
Screenshots of new stuff are attached below

Download: GDrive || SourceForge
In this last build, I can't adjust the speaker volume when making video calls on WhatsApp. Have done a clean flash with the recommended twrp.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    New update available !
    Changelog: 2021-08-15
    we're in the endgame now


    Code:
    Changelog:
    Source side:
     - Added Hotspot manager
     - added turn off sim toggle from CAF
     - improved faceunlock from PE
     - Added data usage info in QS
    
    Device side:
     - updated post_boot script from LA.UM.9.6.2.r1-04800-89xx.0
     - fixed power profile mismatch error from logs
     - LMKD changes
     - performance optimizations and improvements
     - disabled iorapd
     - fixed GPU stuck at 320MHz in GPU intensive tasks
    
    Kernel side:
     - KewL-0x01 Release!
     - Upstreamed to v4.9.279
     - added exFAT support from @arter97
     - upstreamed exFAT to torvalds/linux
     - mm backports and changes
     - lz4 changes from upstream
     - zram changes from upstream
     - inlined binder to aosp/4.19
     - disabled IPA_WS wakelock
     - ion changes
     - Enabled GCC graphite optimization
     - scheduler ricing and backports
     - vmalloc backports and performance from Linux 5.2 (fixes issue where ram management used to degrade after few days of uptime)
     - crypto backports
     - fixed some race conditions
     - enabled optimized inlining
     - switched to 300Hz tickrate
     - performance improvements
     - merged LA.UM.9.6.2.r1-04800-89xx.0 in kernel, wlan and audio drivers

    For the love of God DO NOT FLASH 3.18 Kernel
    Existing users will get OTA update

    This build has many improvements related to memory management from last build which some users reported
    Screenshots of new stuff are attached below

    Download: GDrive || SourceForge
    8
    2okPze5.png


    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 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.

    What's working :
    • Boots
    • RIL (Calls, SMS, Data, VoLTE)
    • Wi-Fi
    • Hotspot
    • Bluetooth
    • Video Playback
    • Camera
    • Flash
    • Audio
    • Sensors
    • LED
    • GPS
    • WFD

    Installation instructions
    • Download the latest build , GApps
    • Reboot to recovery
    • Wipe system , vendor , data , cache.
    • Flash the latest build & GApps
    • Reboot

    OTA Updates Available

    Downloads:
    find the newest comment by me on this thread
    at the last with changelogs : D

    Source Code: My GitHub

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

    Contributors
    Pulkit Agarwal
    ROM OS Version: Android 11
    ROM Kernel: Linux 4.9.x
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2020-11-11
    Last Updated 2021-08-12
    3
    New update available !
    Changelog: 2021-04-08

    Code:
     - April security path
     - synced with latest los sources as off 8th April
     - fixed late network registration
     - addressed few denials
     - fixed trust HAL showing not secured
     - fixed ok google detection

    Existing users will get OTA update

    Download:
    GDrive || SourceForge
    3
    New update available !
    Changelog: 2021-01-18

    Code:
     - Jan Security Patch
     - fixed faceunlock showing Too many attempts
     - switched to OSS libmmcamera_interface
     - updated Radio blobs from LA.UM.9.6.2.r1-02800-89xx.0
     - updated FM blobs from LA.UM.9.6.2.r1-02800-89xx.0
     - fixed network taking ages to register after reboot
     - stupid IMS spam which has been killed
     - built missing camera packages after new blobs update
     - added missing BT SAR 1.1 blobs and manifest entry
     - fixed screen flickering in games
     - synced with latest LineageOS sources as of 18 Jan 2021

    Existing users will get OTA update

    Download:
    GDrive || SourceForge
    3
    New update available !
    Changelog: 2021-06-13

    never gonna give you up

    Code:
    Source Changelog:
    - Merged June Security Patch
    - Added option to change HW renderer to Vulkan in Dev options (From Android Pie)
    - Added settings to adjust nav bar length
    - Added DataSwitch Tile
    - Added Battery Stats reset button
    - merged LA.QSSI.11.0.r1-12200-qssi.0 in telephony repos
    - Performance improvements
    - Enabled LTE+ icon if available
    - One Click to rearrange tiles
    - Added ThemePrimerUI from ProtonAOSP
    
    Device Changelog:
    - fixed location + Hotspot turn off issue
    - Updated Audio, ADSP, DSP, Voice blobs from LA.UM.9.6.2.r1-03600-89xx.0
    - recompiled BSP's thermal-engine with correct thermal sensors for msm8953 k4.9 from LA.UM.9.6.2.r1-03600-89xx.0
    - Updated Audio HAL from LA.UM.9.6.2.r1-03600-89xx.0
    - Upstreamed Audio configs and xml to LA.UM.9.6.2.r1-03600-89xx.0
    - [TEST Change] Applied some mixer path changes from Daisy (devices share same audio card so why not)
    - Switched to Google's LMKD configuration and ditched CAF's kernel LMK driver
    - fixed memory management issues
    - fixed heating issues
    
    Kernel Changelog:
    - switched to zstd as default ZRam compression
    - disabled CAF's CPU boost
    - fixed a cold -> cool typo from Xiaomi in Fuel Gauge driver
    - Improved charging speeds (if not fixed lol)
    - disabled some misc configs for in general improvements

    For the love of God DO NOT FLASH 3.18 Kernel
    Existing users will get OTA update

    Download:
    GDrive || SourceForge