FORUMS
Remove All Ads from XDA

[ROM][4.4][UNOFFICIAL] LineageOS 16.0 with 4.4 kernel

193 posts
Thanks Meter: 517
 
By xNombre, Senior Member on 1st September 2019, 01:58 PM
Post Reply Email Thread
LineageOS 16.0 for Xiaomi Mi 5 with 4.4 kernel

Remember this is a beta release, althought I've been using it for more than a week and it's working perfectly.
If you experience any bugs, panics or so, please report full logs to me (logcat and dmesg, you can look in /sys/fs/pstore)

Installation:
You can flash it on top of OFFICIAL 3.18 LOS also you can always go back within a dirty flash.
For safety reasons always perform a backup of your important data!

Features:
This is well-known LOS, none of the functionalities have been altered.
Build is running 4.4.189 kernel with many improvements over 3.18, it will keep this device alive for upcoming Android releases.
Kernel is suited with initial bug fixes, however, it's a stock kernel without any advanced tweaks. It's built with CLANG (!).

Working:
Probably everything!

Not working:
Kernel is permissive

Temporary MTP fix (I didn't have enough time to investigate it well):
Developer settings -> Default USB conf -> MTP -> connect cable -> profit

READ ONLY IF YOUR DEVICE IS ENCRYPTED:
There is an incompatibility between 3.18 and 4.4 kernels, you have to flash new TWRP with 4.4 kernel, otherwise your data partition will be DAMAGED!
Nevertheless there could be a need to full wipe your /data (magic Format Data button in TWRP) so perform a FULL BACKUP.

Download:
LineageOS zip
TWRP

Future development:
Device tree will be created from scratch over new Qualcomm tag to get rid of old junk. Full Treble compability will be provided.
More kernel bug fixes
Vendor update

FAQ:
Can I install XXX ? Does it support XXX ?
- It's still LOS, it supports everything what stock LOS does.
Can't you ship kernel package only?
- No, ROM has to be modified to meet 4.4 requriements. You can't flash 4.4 kernel on top of 3.18 ROM.
But why 4.4? Do I need it?
- More fixes, more performance, more support. If you want, search for kernel changelog.
EAS?
- Not now, there are more important things to work on.

If you want to buy me a coffee, please consider donating, I've put much effort to make it working.
DONATE

Join Mi5 group on Telegram

Huge thanks to Zuk kernel team for initial 4.4 support!

Credits:
@DD3Boh
@YaroST12
@kenny3fcb
@Luk1337 - fix for USB
@Jawor245 - random stuff
@RadixCube

XDA:DevDB Information
LineageOS 16.0 with 4.4 kernel, ROM for the Xiaomi Mi 5

Contributors
xNombre
Source Code: https://github.com/xNombre/msm-4.4

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x

Version Information
Status: Beta

Created 2019-09-01
Last Updated 2019-09-01
The Following 29 Users Say Thank You to xNombre For This Useful Post: [ View ] Gift xNombre Ad-Free
1st September 2019, 03:03 PM |#4  
musabcel's Avatar
Senior Member
Flag Elazığ
Thanks Meter: 561
 
More
Xiaomi Mi5 | 3.18 Kernel vs 4.4 Kernel Benchmark | Antutu - Geekbench 4
https://youtu.be/qLG6pMwPpsQ
The Following User Says Thank You to musabcel For This Useful Post: [ View ] Gift musabcel Ad-Free
2nd September 2019, 07:50 AM |#5  
Member
Thanks Meter: 18
 
More
In Antutu 7.2.3 tested fresh, stock LOS + nano gapps and fresh this rom + nano gapps on my 32Gb version. Biggest improvement for my device is memory +22% in Antutu points.
Stock: 144 086 overall
CPU: 50 420
GPU: 53 892
UX: 34 159
MEM: 5 615

4.4 LOS: 148 079 overall
CPU: 50 600
GPU: 54 615
UX: 35 657
MEM: 7 207
2nd September 2019, 04:14 PM |#6  
dev>null's Avatar
Senior Member
Thanks Meter: 701
 
More
@xNombre great job!
I'll be testing your ROM in the future for sure. Looks very promising.
It would be great if you pulled the Floppy Kernel mods to tweak your 4.4 kernel
(Just my wish)
However, congratulations man.
3rd September 2019, 06:22 PM |#7  
Senior Member
Thanks Meter: 18
 
More
I really appreciate your effort I would love to test your ROM But I only want to know 2 things before if someone can help.

1. Can I use it as daily driver?
2. Android Auto is working?
3. Will I need to do clean flash for future updates? Atleast for couple weeks.

Thanks
3rd September 2019, 08:05 PM |#8  
OP Senior Member
Thanks Meter: 517
 
Donate to Me
More
I'm using it for two weeks and no problems here.
If Android Auto is working on official LOS it will for for mine, too.
Nope, not for now.

#edit
Here is the new kernel you can flash on top of my LOS. (DON'T FLASH IT ON ANYTHING ELSE)
https://androidfilehost.com/?fid=1899786940962575411

Changelog:
add exFAT and NTFS
fix problems with wakelocks
use LZ4 for ZRAM
debloat a bit
skip sync for better battery
The Following 8 Users Say Thank You to xNombre For This Useful Post: [ View ] Gift xNombre Ad-Free
4th September 2019, 06:51 AM |#9  
Senior Member
Thanks Meter: 486
 
More
@xNombre What is the reason behind choosing 4.4 instead of a newer LTS version like 4.9 or 4.14? Or was the decision out of your hands?
4th September 2019, 03:53 PM |#10  
OP Senior Member
Thanks Meter: 517
 
Donate to Me
More
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.

msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
The Following 9 Users Say Thank You to xNombre For This Useful Post: [ View ] Gift xNombre Ad-Free
4th September 2019, 04:50 PM |#11  
Senior Member
Thanks Meter: 486
 
More
Quote:
Originally Posted by xNombre

Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.

msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.

Whoa, calm down, mate. I just wanted to know the rationale. Knowing that msm8996 supports 4.4 is good enough for me.

Sorry to hear about the two damaged devices, though. That must have been extremely frustrating.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes