[NEW THREAD OPENED] arter97 kernel for OnePlus 5 - OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel

New thread is opened for rebooted kernel with Pie support
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 5/5T running OxygenOS​
/* Details */
Latest CAF kernel fully merged
Various optimizations from Paranoid Android
Reduced touch latency
Permissive SELinux
Passes SafetyNet
Built with O2 speed optimizations
Built with latest GCC
Random driver backported from mainline Linux(12 times faster)
Westwood as default TCP network congestion control
Entropy hook on storage removed
f2fs support with GC fixes and optimized SQLite libraries
Default file-system mount option with noatime
CFQ I/O scheduler backported from mainline
Systemless installation
Wi-Fi configuration from Pixel 2 and Paranoid Android
/* Disclaimer */
Your warranty is now 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 kernel
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. Hard. A lot.
/* Warning */
Redistribution, modifying files used within this project's file or integrating with other projects are prohibited with no exceptions other than my projects.
Making mirrors, re-uploading to another servers are also prohibited with no exceptions.
/* Thanks to */
TheCrazyLex
xboxfanj
Tim Murray
Sultan
/* Downloads and links */
arter97.com
XDA:DevDB Information
arter97 kernel for OnePlus 5, Kernel for the OnePlus 5
Contributors
arter97
Source Code: https://github.com/arter97/android_kernel_oneplus_msm8998
Kernel Special Features:
Version Information
Status: Stable
Created 2018-01-02
Last Updated 2019-04-09

/* Notice */
Support for other ROMs are not guaranteed and is not planned at the moment
Disabling data encryption is highly recommended for better performance and less headache
Magisk is not tested yet
Only Android Oreo is supported

/* Changelog */
2.3-rc1
Merged Linux 4.4.153
Merged LA.UM.6.4.r1-10300-8x98.0
Merged LA.UM.6.2.r2-10500-sdm660.0
Merged OnePlus 5T OxygenOS 5.1.5 ramdisk (Older versions no longer supported)
Magisk updated to v17.1
Built with GCC 8.2
Merged f2fs from Linux 4.19
Massive performance gains for f2fs with optimal mount and SQLite configurations
Applied pinctrl/serial commits from Pixel for better Bluetooth handling
Disabled UFS clock scaling for better power consumption
2.2-rc2
Merged Linux 4.4.139
Merged LA.UM.6.4.r1-09000-8x98.0
Merged LA.UM.6.2.r2-09300-sdm660.0
Merged OnePlus 5T OxygenOS 5.1.3 ramdisk
Merged f2fs from Linux 4.18 (sorry, rc1 was 4.17)
Merged several patches from Clear Linux
2.2-rc1
Merged Linux 4.4.138
Merged LA.UM.6.2.r2-03900-sdm660.0
Merged OnePlus 5T OxygenOS 5.1.2 ramdisk
Magisk updated to v16.4
Merged some patches from Pixel 2 to improve performance and efficiency
Reverted unnecessary UFS patch to improve power efficiency
Now built with GCC 8.1
Merged f2fs from Linux 4.18
Added f2fs GC optimizations for better performance and lifespan
2.1-rc1
Support for OxygenOS 8.1 added
Support for OxygenOS 8.0 dropped
Merged Linux 4.4.121
Merged LA.UM.6.4.r1-06900-8x98.0
Tweaked some kernel configurations to make it lighter
kswapd affinity removed for faster memory reclaimation
Faster resume from suspend (Thanks to Sultan)
Magisk updated to v16.0
2.0.1
Fixed a kernel panic occuring during Wi-Fi hotspot
2.0.1-rc1
Merged LA.UM.6.4.r1-06500-8x98.0
Backported several unicast and multicast commits from mainline for better wpa_supplicant compatibility
Fixed delayed notifications due to faulty Wi-Fi configuration (by joshuous)
Disabled several debugging features for lower overhead (breaks Android Studio app profiler)
Overrided 300 MHz as the minimum CPU frequency
Faster recovery time for panel reset
2.0
Kernel modules re-enabled for fixing Wi-Fi issues
Fixed custom SQLite libraries not working on f2fs
2.0-rc6
Merged Linux 4.4.115
Disabled kernel modules for lighter kernel
Merged OnePlus 5T OxygenOS 5.0.3 ramdisk
Removed multiple debug and dump stuffs from the ramdisk
Wi-Fi logging reduced
2.0-rc5
Wi-Fi configuration reworked
Enabled more power savings to the display panel
Merged Linux 4.4.114
2.0-rc4
Merged binder with Google Pixel 2
Fixed random reboots due to faulty Wi-Fi drivers
2.0-rc3
Linaro LSK merge reworked
Optimized for big.LITTLE
Toolchain updated to Linaro 7.2 2018.01 with hg-binutils-2.29.51.0.1
2.0-rc2
Merged latest Linaro LSK kernel
Fixed an issue causing camera to save corrupt images
Reverted Meltdown and Spectre patches
Merged latest binder patches from Google
2.0-rc1
Merged LA.UM.6.4.r1-06100-8x98.0
Optimized SQLite libraries only enabled to f2fs users
(f2fs users will need to use another dialer app)
Merged OnePlus 5T OB2
Magisk updated to v15.3
Merged various patches from Pixel 2 to improve Bluetooth, audio and other general performance
Merged Linux 4.4.113
Fixed support for encryption users
Various Wi-Fi issues fixed(including hotspot crashes)
1.0
Fixed slow boot with ext4 users
Fixed support for disabled encryption
Switched to LZ4 ramdisk compression
Reworked touch booster (by TheCrazyLex)
2-step touch booster implemented (by TheCrazyLex)
Merged more Paranoid Android tunables (by TheCrazyLex)
Added f2fs optimized SQLite libraries
Merged LA.UM.6.4.r1-05700-8x98.0 Wi-Fi stack
1.0-rc1
Initial release

/* Magisk */
Magisk is not yet properly supported due to heavy modification to ramdisk.
Obviously, I'm not going to ask the Magisk developer to support my kernel.
I'll be looking into supporting both non-Magisk and Magisk user with the same boot.img.
Until then, Magisk users can use this : http://arter97.com/browse/op5/kernel/magisk
(Magisk-integrated boot.img)
Flashing Magisk ZIP file on top of my kernel will result in boot issues for now.

Reserved 4

WELCOME arter97! Love your work from Galaxy S3 times! Nice to see you here! ???
edit: waiting for that PA now ?

Version 1.0-rc1 has been quietly re-uploaded after confirming SafetyNet breakage and fixing it.
Please re-download if you experience CTS check failures.

Having devs like arter97 developing for OP5 is a great privilege and pride for OnePlus 5 owners.
Thanks for this new year gift @arter97!

i tried to flash on op5 decrypted on xxx 9.2 oreo and just kept rebooting. tried to boot with and without no verity
i know im not officially supported, but im reporting just to share

Won't boot (OB3)

I confirmed boot with official Oreo on the OnePlus 5 and Open Beta 1 on OnePlus 5T.
I'm gonna need some more feedback..

I also tried on xxx and had the same problems as red. Also tried with and without no_verity zip. Tried with IBE's and codeworkx TWRP. Had to dirty flash Rom again because elementalX would stick/boot after trying.

Doesn't boot here on my 5T when trying to root with Magisk 15.0. It's fine if it's not rooted.

Dariusdd said:
Doesn't boot here on my 5T when trying to root with Magisk 15.0. It's fine if it's not rooted.
Click to expand...
Click to collapse
Magisk is the issue. Try latest 15.2, it's supposed to fix issues on the op5 and 5t
Sent from my ONEPLUS A5000 using Tapatalk

fjsferreira said:
Magisk is the issue. Try latest 15.2, it's supposed to fix issues on the op5 and 5t
Click to expand...
Click to collapse
It isn't. Running 15.2...... No boot

Yup can confirm with root (Magisk and SuperSU) it doesn't boot on my 5t. With blu kernel it's booting with or without root. Just to let you know. Really nice to have a Dev like you here. Thanks .

fjsferreira said:
Magisk is the issue. Try latest 15.2, it's supposed to fix issues on the op5 and 5t
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
Ehe! It's even worse with 15.2, it doesn't even bother getting to the oneplus logo. It stays with a black screen and the notification light on white, probably qualcomm mode.
With 15 it was at least getting to the logo, and it got stuck there. It wasn't tested anyway, so it's not unexpected.
SuperSU 2.82 SR5 is also not working. That's too bad, as the phone was flying when using the kernel.

Magisk is not yet properly supported due to heavy modification to ramdisk.
Obviously, I'm not going to ask the Magisk developer to support my kernel.
I'll be looking into supporting both non-Magisk and Magisk user with the same boot.img.
Until then, Magisk users can use this : http://arter97.com/browse/op5/kernel/magisk
(Magisk-integrated boot.img)
Flashing Magisk ZIP file on top of my kernel will result in boot issues for now.

arter97 said:
Magisk is not yet properly supported due to heavy modification to ramdisk.
Obviously, I'm not going to ask the Magisk developer to support my kernel.
I'll be looking into supporting both non-Magisk and Magisk user with the same boot.img.
Until then, Magisk users can use this : http://arter97.com/browse/op5/kernel/magisk
(Magisk-integrated boot.img)
Flashing Magisk ZIP file on top of my kernel will result in boot issues for now.
Click to expand...
Click to collapse
Flashed magisk integrated boot.img and i can't pass the oneplus logo, it boots into twrp directly.

The version modified with magisk is working fine for me on my 5T.

Related

[KERNEL]New Kernel 1.29-O/2.12-O [OOS-5.0.x/OOS-5.1.x][4.4.131]

Hello everyone. After some time for building Roms and kernels for the OnePlus One, now I am here for the OnePlus 5.
Some of you already know me for what I focus on my builds.
Functionality
Speed
Smoothness
Battery
Features:
Compiled by a custom toolchain from Google to ensure the best experience.
Schedulers available:
SIO
BFQ
ZEN
CFQ - Default
Deadline
NOOP
MAPLE
Extra TCP advanced algorithm:
Westwood - set as default
Reno
Cubic
Highspeed
HTCP
Vegas
Veno
lp
illinois
yeah
Sound Control - Sound and Microphone control
KCAL - Control colours on your display
Adreno Idler - (Battery saver without compromising performance)
Notification LED control
Sweep2sleep
To control features use kernel adiutor.
Patches from Google Kernel for 4.4 devices
Latest CAF patches LA.UM.6.4.r1-07600-8x98.0
Latest Linux patches 4.4.126
Optimized libraries
Crypto patches
Wakelock blocker to reduce battery drain due to the modules (does not affect functionality)
Upstream code for F2FS
Using noatime
Patches to improve battery life
Passes Safetynet
WireGuard
Upstream code android binder
Screen flickering fixes
Version to use:
2.xx-O - Oreo 8.1 - Recommended to use OB6
1.xx-O - Oreo 8.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download New Kernel ​
There are two branches:
Stable - which has all proven and tested development
Beta - new features introductions. Remember if your chip fries... It was done with good intentions, intended only for brave people.
To build this kernel I give a huge thank you to great dev @savoca has had a lot of patience and shared his knowledge to build a kernel with a step by step guide, as also explaining how each stuff works.
@andi79 for the introduction of the 64bit model kernel compilation.
All credits go to the OnePlus team.
Disclaimer: With the use of this kernel I am not responsible for any damage to the phone. It is at your own risk in case happens something wrong. I use this kernel daily and test it before release.
Source code
XDA:DevDB Information
[KERNEL]New Kernel for the OnePlus 5
Contributors
jgcaap
ROM OS Version: 8.0.0 oreo/8.1.0 oreo
Version Information
Status: Stable
Created 2017-12-10
Last Updated 2018-03-23
XDA:DevDB Information
New Kernel, Kernel for the OnePlus 5
Contributors
jgcaap
Source Code: [url]https://github.com/NewRom/android_kernel_oneplus_msm8998[/URL]
Kernel Special Features:
Version Information
Status: Stable
Created 2018-04-01
Last Updated 2018-04-01
Instructions:
1) If you come from another kernel (which is not stock) flash the boot.img of the stock version.
2) Flash the zip file.
Changelog:
v2.05-O
Updated toolchain compilation environment
v2.04-O
SELinux: removed switch option.
updated to Linux 4.4.125
adjusted swap kernel to 10%. It will be very hard to use this.
Added patches from Google related to
Merged new Oneplus patches
Upgraded to wifi LA.UM.6.4.r1-07400-8x98.0
ensure the kernel is compiled for LP64
Added patch to prevent regressions in the compressed kernel image.
Removed some debug options and unnecessary features.
v.2.03-O
Merged LA.UM.6.4.r1-07400-8x98.0
v.2.02-O
Merged linux v4.4.123 patches
v.2.01-O
Reverted some of the code from the last rebase.
v2.00-O
Rebase kernel from oneplus 8.1 sources.
There was added alot of patches for cfq.
Removed some schedulers.
Added wireguard.
Applied changed which use less cpu.
Added display options to provide power savings.
Added display dimmer option.
Added kcal back.
Removed fifo, so, vr schedulers.
v.1.29-O
Rebased current kernel commits as it is with 8.1 sources.
v.1.28-O
More upstream fixes by Google.
v.1.27-O
Screen flickering fixes (was finding this really annoying)
CPU jumping randomly fixed ( more battery)
Upstream code for android binder with loads of fixes from Google
v.1.26-O
Merged CAF patches LA.UM.6.4.r1-06900-8x98.0
v.1.25-O
Merged Linux patches 4.4.120
v.1.24-O
Merged Linux patches 4.4.119
v.1.23-O
Synced with Oneplus changes.
v.1.22-O
Added wireguard back.
v.1.21-O
Merged Linux patches 4.4.118.
Disabled wireguard
v.1.20-O
Merged Linux patches 4.4.117.
v.1.19-O
Updated toolchain
v.1.18-O
Rebased and merged Linux patches 4.4.116.
Ext4 fixes
CPU interactive fixes
Merge tag 'LA.UM.6.4.r1-06500-8x98.0'
Changed some configurations for WiFi.
Lowered min frequency to 300mhz (less heat).
v.1.17-O
Merged Linux patches 4.4.115.
v1.16-O
Merged Linux patches 4.4.114.
v1.15-O
Synced with new oreo beta
Added cpu patch
Added crypto
v1.14-O
Merged Linux. Patches 4.4.113
Updated WiFi from caf drivers
Merge caf LA.UM.6.4.r1-06100-8x98.0
v1.13-O
Compiled with custom toolchain
v1.12-O
Merged Linux patches 4.4.112
v1.11-O
Synced with beta 2 for op5t
v1.10-O
Added Linux patches until 4.4.111
Disabled some debug
Changed binary Wi-Fi to a custom one built by caf
Compiled with google toolchain
Troubleshooting :
No wifi or broken hotspot.
Solution: You probably come from another kernel, please reflash rom, then flash kernel.
Battery drain:
This rom has a bug in the wifi. Please go to advanced settings and turn off scanning always available.
On status appears kernel 4.4.21
Since there is a requirement to the kernel say that is version 4.4.21-perf+ for wifi to work then I named the kernel 4.4.21-perf+. This until I check wifi driver source.
Thanks for making the dedicated thread
Veliion said:
Thanks for making the dedicated thread
Click to expand...
Click to collapse
Welcome, and enjoy.
I'm on OOS 5.0.4 which is on android version 8.0.0. Is newKernel-OOS-1.29-O.zip the latest version that i should use? Or some other. Please help
wow. new kernel . gonna try .
sleepwalking0593 said:
I'm on OOS 5.0.4 which is on android version 8.0.0. Is newKernel-OOS-1.29-O.zip the latest version that i should use? Or some other. Please help
Click to expand...
Click to collapse
Correct.
Can you add tripndroid and Alucard?
Download and ready to flash. Thx for your work.
Thanks for op5 thread
Does it support for RR?
Glad to see you in op5 forum, I'm following you since the good old bacon times
h.castle said:
Does it support for RR?
Click to expand...
Click to collapse
Only on OOS ROMs. It doesn't support custom ROMs currently
New kernel online with latest Linux patches 4.4.127
I have installed this version newKernel-OOS-2.07-O.zip on open beta 8 on my Oneplus 5 but during flash it shows oneplus 5t .Is it good to go or i should wipe my phone ???
Aarju said:
I have installed this version newKernel-OOS-2.07-O.zip on open beta 8 on my Oneplus 5 but during flash it shows oneplus 5t .Is it good to go or i should wipe my phone ???
Click to expand...
Click to collapse
It is fine.. Just a message kernel are unified.
jgcaap said:
It is fine.. Just a message kernel are unified.
Click to expand...
Click to collapse
Thanks developer
2.07 work veey well. Thx dev.
How to update kernel??

[r5] arter97 kernel for OnePlus 5

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 5/5T​
/* Details */
Hybrid CAF msm-4.4 kernel
This kernel contains more cutting-edge changes from Qualcomm than the regular msm8998 tag
Latest Linux 4.4 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
Various changes merged from the Razer Phone 2 and Snapdragon 855
AnyKernel installation
/* Notice */
Both OnePlus 5 and 5T is supported.
Only OxygenOS is tested at the moment, but it is likely that the kernel will work with other ROMs thanks to the use of AnyKernel2 by osm0sis, though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* Disclaimer */
Your warranty is now 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 kernel
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. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 5, Kernel for the OnePlus 5
Contributors
arter97
Kernel Special Features:
Version Information
Status: Testing
Created 2019-04-09
Last Updated 2019-08-10
/* Changelog */
r5
Rewritten IOMMU by Sultan reverted to resolve random reboots
Linux v4.4.188 merged
LA.UM.7.4.r1-05400-8x98.0 merged
LA.UM.7.2.r1-07400-sdm660.0 merged
General scheduler improvements
Inability to display battery status on charging during shutdown fixed
Wi-Fi drivers updated to 5.1.1.73Q
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
Backported speculative page fault to improve system performance
Latest f2fs-stable merged
r4
Linux v4.4.180 merged
LA.UM.7.2.r2-00800-8x98.0 merged
LA.UM.7.5.2.r1-02900-8x96.0 merged
Latest f2fs-stable merged
Removed f2fs debug tracing codes added by Qualcomm
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
iommu fixes from Sultan
r3b1
Linux v4.4.179 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.4.r1-05100-8x98.0 merged
LA.UM.7.5.2.r1-02600-8x96.0 merged
Merged OnePlus changes
Backported a Qualcomm patch from the 4.9 kernel for lower power consumption
Applied various optimizations to the touch panel drivers
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
r2
Fixed an issue causing audio to stop working
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added kcal
Added vibration control
Added wcd9335 sound control
Improved encryption performance
r1
Initial reboot of the kernel with Pie support
Reserved 2
Reserved 3
Reserved 4
It says "Unsupported device" and i'm on OpenBeta29/Oneplus5.
Hello and thank you for your work
uCristian said:
It says "Unsupported device" and i'm on OpenBeta29/Oneplus5.
Hello and thank you for your work
Click to expand...
Click to collapse
Ow, stupid me.
I made a typo and wrote down "cheeseburget" instead of "cheeseburger".
It's been reuploaded.
Please try again
arter97 said:
Ow, stupid me.
I made a typo and wrote down "cheeseburget" instead of "cheeseburger".
It's been reuploaded.
Please try again
Click to expand...
Click to collapse
Ok flashing went fine and everything works good for now.
I was using stock kernel before , it was smoth and didn't have problems at all but wanted to try yours. I can fell the diference in smothness , l love it .
I'll report back if there will appear problems. Thank you:fingers-crossed::fingers-crossed::good:
Magisk isn't preloaded with this kernel unlike before, right?
EDIT: It's not.
Works with xxx?
Is this kernel eas or hmp
sleepwalking0593 said:
Is this kernel eas or hmp
Click to expand...
Click to collapse
Hmp
Pretty smooth so far. Hope we can add RGB calibration and KLapse. More power to you!
It's good to see your kernel release in xda.
I found magisk hide doesn't work to KT membership(KT membership) and KT customer application(my KT) on magisk 19.0 with your kernel.
I guess you'd know those application I mentioned.
I hope this symptom get better.
The adaptive color tone looks better to me after installing your kernel.
Thank you for your work again as always.
jerrygo2 said:
It's good to see your kernel release in xda.
I found magisk hide doesn't work to KT membership(KT membership) and KT customer application(my KT) on magisk 19.0 with your kernel.
I guess you'd know those application I mentioned.
I hope this symptom get better.
The adaptive color tone looks better to me after installing your kernel.
Thank you for your work again as always.
Click to expand...
Click to collapse
Check maybe your cts might be failing. Magisk hide working fine here for me. I don't know what those apps are but in general it's working fine. I don't think kernel have any commits to change colours of various display modes.
arter97 said:
/* Warning */
Redistribution, modifying files used within this project's file or integrating with other projects are prohibited with no exceptions other than my projects.
Click to expand...
Click to collapse
I don't think you can enforce this; the kernel is licensed GPL v2
espionage724 said:
I don't think you can enforce this; the kernel is licensed GPL v2
Click to expand...
Click to collapse
I can. You're talking about the sources and I'm talking about the binaries I produce.
People are free to do whatever they want to for the sources.
Harregukalerik said:
Hmp
Click to expand...
Click to collapse
Delete
---------- Post added at 09:05 AM ---------- Previous post was at 09:01 AM ----------
Kernel is running great. Thanks developer
Added to the OnePlus 5 Index Thread here. Glad to have you back here, @arter97!
Can someone check one thing. Keep your WiFi on and leave the connectivity area of WiFi and after sometime come back to connectivity area. Does WiFi connect automatically or do you want to turn on the display for it to connect.

[r71] arter97 kernel for OnePlus 7 series

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 7 series running OxygenOS​
/* Features */
Supports OnePlus 7, OnePlus 7 Pro, OnePlus 7T and OnePlus 7T Pro
Fully rebased kernel without unnecessary OnePlus' code
Latest CAF msm-4.14 kernel fully merged
Using zswap + vnswap to replace zram
- Ditched conventional zram swap approach for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
Use CONFIG_HZ = 300
Optimized power configuration
BBR as the default TCP network congestion control
vDSO 32 patches to improve 32-bit performance
vmalloc backported from mainline to improve memory allocation performance
Latest Linux 4.14 subversion merged
DM-verity fully disabled (you can remount /vendor to R/W properly)
Timer optimizations
Additional power savings applied to the display panel
RTL8152/8153 USB LAN adapter support
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
No VLAs(info)
A whole lot more...
/* Details */
- Fully rebased kernel without unnecessary OnePlus' code -
This kernel is not based on stock OxygenOS kernel source provided by OnePlus. Instead, it’s based on the latest and greatest Qualcomm has to offer. Only the necessary parts from the OnePlus kernel has been cherry-picked, such as OnePlus 7 specific device drivers.
This brings 2 major changes: less debugging code and an overall lighter kernel.
There are miscellaneous changes made by OnePlus that are supposed to maximize utilization of system memory. But seeing how it’s implemented(heavily relying on zram and a physical writeback swapfile), I decided to remove it entirely.
Users are recommended to disable the “RAM Boost” feature from Settings > System > RAM Boost.
Due to the completely different base, the memory management with this kernel will be drastically different from other kernels.
- Latest CAF msm-4.14 kernel fully merged -
This kernel is also constantly merging the latest Qualcomm Android 4.14 kernel. This tag contains more up-to-date changes from Qualcomm than the regular Snapdragon 855 tag(sm8150).
- Use CONFIG_HZ = 300 -
This changes the context switching interval from 10ms to 3.33ms. Pixel used this for years and Google recommends other vendors to do the same for less jitter.
This is even more important on displays with higher refresh rates.
- Optimized power configuration -
Stock OnePlus configuration forces display-related processes to use the Gold cluster(formerly known as big cores) exclusively.
This configuration brings a huge power regression since it makes every frame dispatch to wake up and use Gold cores.
This kernel resets this profile to use the configuration Google recommends, which is to use the Silver cluster(formerly known as LITTLE cores) exclusively instead. No performance penalty was noticed with this change while massively improving battery life.
- BBR as the default TCP network congestion control -
BBR is a (relatively)new TCP congestion control developed by Google, and it’s regarded as one of the best things you could do to your network configuration. You can find its benefits easily just by Googling BBR. I’ve been personally running BBR for months on various Linux machines including the server running arter97.com and it’s been great.
Now that our Android kernel is running v4.14, I’ve enabled BBR and backported other BBR changes from mainline.
/* Notice */
5G variant is unsupported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
OnePlus 7T and OnePlus 7T Pro users cannot use f2fs without involving heavy and risky repartitioning operations due to Dynamic Partitions.
r61+ allows using f2fs on OnePlus 7T and OnePlus 7T Pro.
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
The process differs with T and non-T series.
/* T variants */
The kernel now detects whether the userdata is in f2fs format and patches fstab on boot for OnePlus 7T and 7T Pro users during boot.
This is done in a volatile manner, which means your system files are not modified and using other kernels will revert the effect.
This is half of the puzzle.
The other half of the puzzle is to getting userdata partition into the f2fs format.
Due to lack of a proper recovery for the OnePlus 7T, I patched up f2fs-tools to support formatting while the Android is up and running.
You can use Franco Kernel Manager's flasher to flash the live-formatter.
This obviously removes all data on the device.
Please make sure your data is fully backed-up.
f2fs live-formatter:
https://arter97.com/browse/f2fs/liveformat
Existing f2fs users won't be affected by any of these changes.
Note that the OnePlus 7T and 7T Pro's OxygenOS has an issue handling FBE(File-Based Encryption) with f2fs(which is presumably why they left it out while the OnePlus 7 Pro had it), and encryption will be disabled when you use my kernel's f2fs live-patching feature.
Without encryption, your entire data will be in danger if you lose your device.
Please use f2fs if you understand this trade-off.
(Non-T series users can safely use f2fs with encryption.)
f2fs installation steps:
1. Download and install my kernel.
2. Download and install f2fs live-formatter.
OxygenOS OTA steps:
1. Install OTA and DO NOT reboot.
2. Download and install my kernel using Franco Kernel Manager.
3. Reboot.
Re-format into ext4 steps:
1. Use stock recovery and perform a factory reset.
Re-format into f2fs steps:
1. Use stock recovery and perform a factory reset and turn the userdata back to ext4.
2. Reboot to Android.
3. Download and install f2fs live-formatter using Franco Kernel Manager.
/* Non-T variants */
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, simply format /data to f2fs with TWRP.
Afterwards, flash f2fs-optimize.zip from http://arter97.com/browse/f2fs/optimize
There’s no need to flash separate zip files for replacing f2fs-tools or fstab.
/* Disclaimer */
Your warranty is now 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 kernel
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. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
kdrag0n
nathanchance - for android-linux-stable
/* Instructions */
1. Read the above. Please.
2. Flash the zip file from your existing TWRP recovery.
2.1. FK Kernel Manager also works for installation. EXKM is unsupported and reported to brick the device due to installation failures.
/* Downloads and links */
r30 and up only supports Android 10
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 7, Kernel for the OnePlus 7 Pro
Contributors
arter97
Source Code: https://github.com/arter97/android_kernel_oneplus_sm8150
Kernel Special Features:
Version Information
Status: Stable
Created 2019-07-28
Last Updated 2020-10-18
/* Changelog */
r71
Merged f2fs fixes from mainline (fixes quota inode corruptions)
Linux v4.14.233 merged
Wi-Fi drivers updated to 5.2.03.32J
Sultan's Simple LMK updated
r70
zswap + vbswap replaced with zram
Commits backported from mainline to improve lz4 performance (better memory performance)
LA.UM.8.1.r1-17100-sm8150.0 merged
Linux v4.14.231 merged
Wi-Fi drivers updated to 5.2.03.32G
2021-04-05 security patch merged
RTL8152/8153 drivers updated
Merged optimizations from Sultan
r65
Enabled SECCOMP to address recent security vulnerability issue
LA.UM.8.1.r1-16900-sm8150.0 merged
Linux v4.14.226 merged
Wi-Fi drivers updated to 5.2.03.32E
2021-03-05 security patch merged
WireGuard updated to v1.0.20210219
Merged mainline f2fs fixes
Merged optimizations from Sultan
r64
Merged mmap/mremap fixes from upstream to fix some Chinese apps causing reboots
Merged mremap optimization from upstream (~19x speed up)
r63
mmap/mremap, TLB invalidation, mmu_gather backported from mainline for a major performance boost
(Including https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.10-Mremap-Optimization )
Disabled PG table mapping for swap memory allocator (increased performance for 64-bit)
Saved 48 MB of RAM by removing unused reserved regions
Applied MAC fall-through patch for Chinese users
LA.UM.8.1.r1-16300-sm8150.0 merged
Linux v4.14.212 merged
Wi-Fi drivers reverted to 5.2.03.31L to fix compatibility issues
2020-12-05 security patch merged
WireGuard updated to v1.0.20201112
Merged OnePlus kernel changes
r62
A major memory management issue fixed for 6GB variants
A scheduler patch from Pixel merged to improve power consumption
Reverted drm changes from July to fix intermittent frame drops (mostly noticeable from app open/close animations)
Linux v4.14.202 merged (includes a fix for critical Bluetooth vulnerability "BleedingTooth")
Thanks to @idkwhoiam322 and @NTLinhHaHa for this release
r61
SELinux is now set to enforcing
f2fs fstab live-patching implemented to allow f2fs on OnePlus 7T and 7T Pro users
Memory swap's aggressiveness tuned to reflect the device's RAM size
Wi-Fi driver backported from LA.UM.9.12.r1-08400-SMxx50.0
(The version jumped from 5.2.03.31A to 5.2.022.4J)
Merged LE.UM.3.3.2-09000-SDX55 tag
OnePlus brain service is disabled in a cleaner manner
Disabled f2fs' background GC
r60
Applied a fix for rare random reboots since r57
The entire SELinux subsystem backported from mainline Linux for better performance and efficiency
(Magisk users must use Magisk v21.0 or the kernel will not boot)
LA.UM.8.1.r1-16000-sm8150.0 merged
Linux v4.14.200 merged
Wi-Fi drivers updated to 5.2.03.31A
Now built with GCC 10.2
2020-09-05 security patch merged
WireGuard updated to v1.0.20200908
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r58
LA.UM.8.1.r1-15400-sm8150.0 merged
Linux v4.14.188 merged
Wi-Fi drivers updated to 5.2.03.27R
Minor trivial optimizations
r57
Linux v4.14.186 merged
Wi-Fi drivers updated to 5.2.03.27K
LE.UM.4.3.3.r1-00500-SDX55 tag merged
Minor memory optimization to the graphics drivers (by Yaro330)
r56
Merged OnePlus kernel changes to support optimized charging
Bunch of memory allocations from various subsystems were reworked to perform much better
Now built with GCC 10.1
2020-06-05 security patch merged
Linux v4.14.183 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.26Q
WireGuard updated to v1.0.20200520
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r54
Switched to Sultan's Simple LMK to fix lags and stalls on memory-pressured scenarios
Disabled scheduler debug for better performance
Reduced memory allocations on network sockets
Reworked and optimized vnswap (renamed to vbswap)
Reworked Wi-Fi configuration
USB UASP enabled
Minor fixes to previous memory optimization commits
LV.AU.0.2.0-01800-gen3meta.0 merged
2020-03-05 security patch merged
Linux v4.14.173 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.22Q
r52
Fixed slow boot issue on OnePlus 7T series
r51
Fixed Wi-Fi not working on some devices due to MAC address loading failures
Backported Android ion driver from Snapdragon 865 kernel
Latest f2fs-stable merged
Linux v4.14.170 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.19P
r50
Beta details
Cleanly rebased version
OnePlus performance boost hacks removed
Random reboots with WireGuard fixed
Random reboots with f2fs encryption fixed
Added vibration level control (by flar2)
Few patches from LE.UM.4.1.1-02910-sa515m merged including scheduler improvements
LV.AU.0.2.0-00810-gen3meta.0 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Linux v4.14.163 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.18B
r40
OnePlus 7T and OnePlus 7T Pro support added
Added support for flashing via FK Kernel Manager
Major optimizations to touch panel drivers for lower overheads
Merged a zswap patch for faster lookups - better memory swap performance
Disabled unnecessary kernel log writeback debug feature
Linux v4.14.156 merged
Latest Qualcomm's Android 4.14 kernel merged
(LA.UM.8.1.r1-12200-sm8150.0, LA.UM.8.11.r1-01800-NICOBAR.0, LA.UM.8.9.r1-06500-SM6xx.0)
Wi-Fi drivers updated to 5.2.03.15T
exFAT drivers added
WireGuard updated to 20191127
r33
LA.UM.8.1.r1-10700-sm8150.0 merged
r32
Ported patches from Razer Phone 2 to improve touchboost and general performance (by TheCrazyLex)
Linux v4.14.151 merged
Ported patches from LA.UM.8.9.r1-05300-SM6xx.0
Wi-Fi drivers updated to 5.2.03.14L
Memory management patches applied from kdrag0n kernel
r31
Integrated Google Camera AUX mod
(No need to use a separate Magisk Module)
LA.UM.8.1.r1-10300-sm8150.0 merged
Linux v4.14.150 merged
WireGuard updated to 20191012
Backported patches from LA.AU.0.0.2.c1-07610-gen3meta.0
r30
Rebased the kernel for Android 10 (based on LA.UM.8.1.r1-09500-sm8150.0)
Applied zswap + vnswap for replacing zram
Wi-Fi drivers updated to 5.2.03.13O
Linux v4.14.148 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Backported BBR TCP congestion control patches (by kdrag0n)
Switched to AnyKernel3
r30 won't work with the OnePlus 7T
r25
Linux v4.14.141 merged
Merged additional f2fs bug-fixes
Kernel download size reduced
LA.AU.0.0.1-15710-gen3meta.0 merged as an extension of SDX55 merge (contains various patches including scheduler enhancements)
GPU runtime overhead reduced
Garbled sound with type-C wired headphones fixed
General stability improvements
r24
Fixed a display-related patch introduced in r20 that may cause severe memory leakage and freezes
r23
Fixed yet another recent f2fs rapid GC changes that caused an indefinite wakelock
Reverted TCP backports and cherry-picked relevant BBR commits to fix rare random reboots
r22
Fixed a recent f2fs rapid GC commit that caused an indefinite wakelock
5G support removed due to improper radio support
Linux v4.14.138 merged
Switched to GCC 9.2.0
r21
Merged some performance improvement patches from kdrag0n
r20
Random reboots due to improper TCP backports fixed (thanks to freak07)
Random reboots due to f2fs rapid GC fixed (thanks to ab123321)
Nightscape fixed
Booting issues with OnePlus 7 non-Pro fixed
Support for OnePlus 7 Pro 5G added
Linux v4.14.137 merged
LA.UM.7.1.r1-15800-sm8150.0 merged
Wi-Fi drivers updated to 5.2.03.11J
Latest OnePlus changes merged
Latest f2fs-stable merged with correct encryption patch
Properly disabled userspace lmkd
Qualcomm RmNet extensions added
Enabled power efficient workqueues
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
r1
Initial release
/* Known issues */
None
/* Telegram */
Join our Telegram group:
https://t.me/joinchat/FW_6TBAlmu0DeMzUDyLkIw
Reserved 4
Reserved 5
I'll be the first. Just formatted my device and rooted it, first kernel im going to test!
Wow, very interesting changelog, will be interesting to see how it performs and what others think!
Conflicting decisions between kernel devs it seems on some features, like ZRAM for example.
Looking forward to flashing
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Congrats on this release!
Finally arrived! waiting for it since I know you are about to build one for op7pro.
RazorBlade123 said:
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Click to expand...
Click to collapse
You came from stock or something else?
NateDev said:
You came from stock or something else?
Click to expand...
Click to collapse
I came from kirisakura, first went to stock and then this kernel
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Did you still flash the f2fs-optimise zip in the OP?
storytellerz said:
Did you still flash the f2fs-optimise zip in the OP?
Click to expand...
Click to collapse
I'm not using F2FS.
Asop or OOS only kernel?
kenbrownstone said:
Asop or OOS only kernel?
Click to expand...
Click to collapse
/* Notice */
Both OnePlus 7 and 7 Pro is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Android Q beta is not supported and I’ll not spend my time adding support for it.
Do not ask for premature Android Q beta support.
Click to expand...
Click to collapse
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
thank you @arter97 ... finally ... its been too long... thank you! :good: kamsahamnida
Nice to see here! Kudos
I know it says not supported on Q, but I will still give a try
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Do you have a link to the stock 9.5.10 kernel is zip, flashable form? Thanks

[ROM][10.0][UNOFFICIAL] LineageOS 17.1 [sumire] [STABLE]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), 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.
Bugs
What's working:
Boot
Bluetooth
Bluetooth Headphone (Media / In-Call)
Camera / Camcorder
Double Tap to Wake
Torch
Fingerprint Sensor
RIL (LTE/Call/SMS)
GPS
WiFi
WiFi Hotspot (2.4Ghz)
USB (ADB/MTP/PTP)
Audio Playback
Video Playback
NFC
LED lights
Sensors
Hardware Encryption
ExFAT SDCard
USB OTG (From Quick tiles -> Add USB OTG tile -> Press it)
SELinux is enforcing
What's not working:
FM Radio
You tell me.
Installation instructions
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe system / data / cache partitions
Flash ROM.
Optional: Install the Google Apps addon package.
Optional: Install Magisk for Root.
Supported models:
E6603, E6633, E6653, E6683
Downloads
Recovery : TWRP
Gapps : Open Gapps 10.0
Rom : Download
Sources
Device/Kernel/Vendor Tree: Sources
Donate
DONATE To Me
Big Thanks
LineageOS Team.
@Myself5
@Olivier97
all sony-msm8994 contributors.
XDA:DevDB Information
LineageOS 17 for Xperia Z5, ROM for the Sony Xperia Z5
Contributors
tarkzim
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Stock 7.1
Based On: LineageOS
Version Information
Status: Stable
Created 2020-02-11
Last Updated 2020-10-26
Changelogs
2020/11/03
Add missing SELinux policy rules for camera, fixes some issues.
2020/10/30
Sync camera wrapper codes with my LOS18 sources.
Sync camera blobs hack with my LOS18 sources.
2020/10/26
Upstream updates and fixes.
Fixed Camera / Camcorder (Proper fix, not using prebuilt patches), stock Snap camera might not be good, try Footej or Open Camera from Play store.
2020/09/19 [ TEST BUILD ]
Fixed RIL/Telephony issues.
DOWNLOAD
2020/09/14
### Camera is still broken ###
Updated with September security patches.
Upstream updates and fixes.
Disable PowerEfficient WQ to reduce wake-up events on kernel, Optimized for battery life.
Lower minimal CPU frequency for better power consumption and heating issues.
Revert 3.18 Kernel Binder/LMK changes for better memory management.
Fixed Offline-charging due to SELinux enforcing denials.
Fixed Encryption/Decryption due to SELinux denials.
Switch back to older Light HAL for better Notification LED compatibilities.
Allow apps to access OpenCL library.
Added WireGuard support in kernel.
2020/08/08
### Camera is still broken ###
Updated to Android 10.0.0_r41 with August security patches.
Upstream updates and fixes.
Fixed Torch light. (Camera preview and capture still broken)
SELinux is now enforcing.
Optimized UI performances.
2020/07/22
### Camera is still broken ###
Updated to Android 10.0.0_r40 with July security patches.
Upstream updates and fixes.
Finally fixed memory draining issues, thanks to @TALUAtXDA .
Kernel optimizations.
Support more models for flashing: E6603, E6683
2020/06/19
### Camera is still broken, and memory draining very fast ###
Updated to Android 10.0.0_r37 with June security patches.
Upstream updates and fixes.
Fixed Deep sleep problems with CPU task stats patches, now device goes into sleep more effective.
Updated Kernel from 3.10.84 to 3.10.108 with a lot of patches.
Updated LMK and Binder drivers from 3.18 Kernel.
Imported Power Efficient Workqueue with netfilter/ipa driver patches.
Added BFQ I/O Scheduler.
Updated Perf/Thermal stack from Nexus 6P - OPM6.171019.030.
Tweaked volume steps.
Fixed manually network operator search.
Support Encryption. (But there is no compatible TWRP for Z5 to support decryption, use it at your own risk)
Added back LiveDisplay HAL (for color calibration and picture adjustment).
2020/04/12
Updated to Android 10.0.0_r33 with April security patches.
Upstream updates and fixes.
Fixed SMS sending and dialing problems.
Kernel patches for memory management, improved performances.
Enabled ZRAM, improved performances.
Fixed audio routing issues on previous builds.
2020/03/08
Updated to Android 10.0.0_r31 with March security patches.
Upstream updates and fixes.
2020/02/28
Upstream updates and fixes.
Switched to Legacy WiFi Service - fixes Mac address.
Add Doze service, improves and deep sleep seems better now.
Fixed random reboots caused by some network behavior.
2020/02/11 - Initial release
Android 10.0.0_r27 with February security patches.
With Graphic / Vulkan drivers from Angler OPM3.171019.019.
With Proper RIL Signal strengths.
With FM Radio support.
With working GPS.
With ExFAT SDcard support.
With massive recent kernel patches.
Screenshots
here
Reserved
Mine!
Thanks for this! I'll attempt to bring this up for Z5P.
Good job! Thanks! Downloading....
Only thing that doesnt work for me is the camera and texting over SMS but other than that perfect rom
Is there any hope for the camera?
dim.on said:
Is there any hope for the camera?
Click to expand...
Click to collapse
simbanono said:
Only thing that doesnt work for me is the camera and texting over SMS but other than that perfect rom
Click to expand...
Click to collapse
Still working on it, no idea for now.
tarkzim said:
Still working on it, no idea for now.
Click to expand...
Click to collapse
The SMS-sending issue is first reported here.
I've never found a solution...
Berni-0815 said:
The SMS-sending issue is first reported here.
I've never found a solution...
Click to expand...
Click to collapse
I see, will try to figure it out.
wow, i thought the developers have already forgotten the Z5. I keep my fingers crossed to fix the errors. When wifi is fixed I will gladly test this rom. Good job
bladesss said:
wow, i thought the developers have already forgotten the Z5. I keep my fingers crossed to fix the errors. When wifi is fixed I will gladly test this rom. Good job
Click to expand...
Click to collapse
WiFi is all fine, it's just screen cast is broken.
Awesome. Does it not work on E6633/E6683 or has it just not been tested?
HaruKaze98 said:
Awesome. Does it not work on E6633/E6683 or has it just not been tested?
Click to expand...
Click to collapse
I have a single variant of Z5, so i can't give you the answer for now.
But it "Should be" working with your dual sim variant, grab me logcats if it's not.
Holy cow , I opened up XDA to see check magisk and ended up with THIS POST. Good luck , man , you doing a god's job XD
I got a z5 last week and I'm glad to hear good news. I got a lot of help when I was using Zenfone 5z. Thank you for your work
tarkzim said:
I have a single variant of Z5, so i can't give you the answer for now.
But it "Should be" working with your dual sim variant, grab me logcats if it's not.
Click to expand...
Click to collapse
I just tried flashing it. the device entered a bootloop and I didn't know how to get a logcat during it.
Good job! Keep it up :good:
HaruKaze98 said:
I just tried flashing it. the device entered a bootloop and I didn't know how to get a logcat during it.
Click to expand...
Click to collapse
backup working os via TWRP
flash this rom
reboot and wait a while or until kernel panic
press power+volume_up until vibration
hold power button
press power_down immediately after vibration
release all buttons
in TWRP go to advanced/terminal
copy the content (if any) of /sys/fs/pstore to /sdcard
restore working os
copy the files from /sdcard (see the step above) to somewhere and analyse them

[Kernel][MIUI-AOSP]Yuki ユキ Kernel 3.9 Miui 6 AOSP[curtana,excalibur,gram,joyeuse]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now 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/Kernel
* 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.
*/
Yuki kernel is based in CAF ​
/* Details */
Last Xiaomi Changes
Last CAF Merges
LZ4 zram
LMK PSI
Backported pidfd
Use power efficient working queues
Use overlayed DT (to avoid making dtbo images)
LMK config module (see screenshots)
Wireguard
kCAL
Manthilla governor
Jump label optimizations
CLANG LTO-CFI-SCS
F2FS Rapid GC
BBR2 tcp cong
/* Work in progress features */
sound control
Upstream
/* Instructions */
Simply flash the kernel zip file from the recovery.
This kernel uses Anykernel 3 so no need to reflash magisk (if you use magisk) after installing it.
For good work don't disable Yuki-ユキ Kernel RN9Pro LMKD module (see the image click to see the image...)
Yuki-ユキ MIUI
Yuki-ユキ Kernel MIUI download
Yuki-ユキ AOSP
Yuki-ユキ Kernel AOSP download​
Note: Yuki kernel (curtana folder) is for miui roms, miatoll folder is for AOSP based roms.
Note2: Now the AOSP variant have 2 versions uno for Android R versions for better compatibility zip name similar to this
"4.14.117-Redmi-Note-9s-Pro-AOSP-R.zip".
It is not necessary but if you like my job you could invite me a cup of coffee
​
Changelog in second post.
XDA:DevDB Information
Yuki-ユキ Kernel 3.6 for Xiaomi Atoll devices [curtana,excalibur,gram,joyeuse], Kernel for the Redmi Note 9 Pro
Contributors
TeamMex
Source Code: https://github.com/Klozz/android_kernel_xiaomi_sm6250
Kernel Special Features: LMK psi, Last CAF Merges, Backported pidfd, Wireguard and more...
Version Information
Status: Stable
Created 2020-10-26
Last Updated 2020-11-29
Reserved
Changelog:
19/02/2021
Upstream to 4.14.221
Add Klapse and kcal
Optimice randomness
don't leak vdso pagelist
Use a larger on-stack video copy buffer
UPSTREAM: net: bpf: Make bpf_ktime_get_ns() available to non GPL programs
BACKPORT: bpf: add bpf_ktime_get_boot_ns()
Yuki ユキ clang update to 20210219 build
Merge tag ' LA.UM.9.1.r1-08600-SMxxx0.0 '
Note: AOSP android R with inline encrypt only.
Miui kernel will be updatyed when xiaomi release R miui for all devices.
Q kernel will be updated soon.
24/01/2021
Fixed performance regretions
Implement via userspace and update exec prog configuration
Don't force Low Memory killer configuration if detects we are using LMDK
Reconfigure LMKD configuration if detects 4GB ram device (needs more testing i have RN9Pro 6GB ram device)
Track power changes from Gram Q OSS
power: Drop “_3P5” from type to get recognized in AOSP (some roms haven't added this flag yet and sometimes cause issues so remove it)
Update ds28e16 driver from Q gram OSS
Merge tag 'LA.UM.8.1.r1-16600-sm8150.0'
Upstream to 4.14.214
optimize bpf modulo operation
RCU fixes
disable binderfs [Q ROM]
29/11/2020
exfat 5.8 [both]
bindefs port (as per R requeriments) (R in the name Redmi-Note-9s-Pro-AOSP-R.zip)
haptic update from gram-q-oss [AOSP]
NFC firmware download fixes (from CAF)[AOSP]
magical changes to make your life better (or not)[both]
NOTE: AOSP zip have 2 variants now, 1 for Android Q and other for R
Some new requirements on Android R won't work on Q based roms and may cause fastboot reboot
Click to expand...
Click to collapse
14/11/2020
Fix usb XHCI connection
Fix usb EHCI connection
Fix usb OHCI connection
v4l2-ioctl: Use a larger on-stack video copy buffer
printk: Add sleep time to timestamps
Mark vdso_pagelist allocation as not a leak
Avoid dynamically allocating memory in ext4_ext_remove_space
Alsa: Don't dynamically allocate a single struct instance
Atoll: increase linux,cma to 128M
Enable ULP
TTL Fixed (?)
some more.... for both kernels miui and aosp variants
30/10/2020AOSP variant only
Enable CLANG LTO
-- https://llvm.org/docs/LinkTimeOptimization.html
Enable CFI
-- https://source.android.com/devices/tech/debug/kcfi
Implement F2FS rapid GC [credits to arter97]
Implement BBR2
Implement optimized checksum routine
Implement cpuidle gov
Jump label optimizations
Remove tracing's and loggin's
Implement kCAL
Optimize writebacks
Add Boeffla Wakelock Blocker
26/10/2020
Rebased over LA.UM.8.9.r1-10600-SM6xx.0 (AOSP variant only)
Merge tag 'LA.UM.8.1.r1-16200-sm8150.0'
Wifi, Audio tag used LA.UM.8.9.r1-10600-SM6xx.0
Net Wireward
Enable PSI monitor
Add pidfd backport
Fixed boot on Joyeuse (Miui variant )
Last xiaomi changes (Miui variant )
Disable LMK
Removed
[TESTING] exec: Add node tampering blacklist function
[TESTING] allow [email protected] and perf 2 to tampering blacklist
Old log history
dm-crypt: increase threads
mm: Introduce kvcalloc()
treewide: kvzalloc() -> kvcalloc()
Increase the cgroup limit to 7
fs: exec: Introduce is_zygote_pid()
[TESTING] exec: Add node tampering blacklist function
[TESTING] allow [email protected] and perf 2 to tampering blacklist
Optimize CRC32
UFS pm_qos
use buffer from the stack space
implement stpcpy
expose event streams
Allocate decoder buffers
Fix VLA's
Improve backwards memmove performance
Enable vDSO + vDSO COMPAT (32bit)
Reserved
Bug reports :
Take dmesg using adb or any app like Matlog
Adb processneed root)
Code:
adb shell su -c dmesg > dmesg.txt
Code:
adb shell logcat > logcat.txt
Code:
adb shell cat /sys/fs/pstore/console-ramoops > ramoops.txt
Matlog process:
Code:
Go to matlog menu and tap in create zip select log and kernel log
Updates:
Yuki kernel can be updated through Franco Kernel manager or similar using the following link:
Yuki-ユキ MIUI
https://thexperienceproject.org/downloads/device/api/curtana/kernel/kernel.json
Yuki-ユキ AOSP
https://thexperienceproject.org/downloads/device/api/miatoll/kernel/kernel.json
Follow telegram channel for faster updates:
https://t.me/Yuki_Kernel
Credits not in order:
Xiaomi (MiCode) for kernel sources
Code Aurora Forum for kernel changes
Google for easy access to PSI Pidfd changes
Demon000 for his work on AOSP kernel
kdragon for proton clang
xlidz for Yuki logo
RN9pro tg group for donate the device
KernelToast for kernel changes like qOS etc
To you for use my work
and a lot of others developers
this config help with some "laggy issues"
I leave some config for get more perf on gaming
Noice kernel
---------- Post added at 12:50 AM ---------- Previous post was at 12:48 AM ----------
:laugh:
Only installed the miui version on Joyeuse a couple of days ago, (obviously), but it's been faultless so far. Great job by the dev.
Was wondering if anyone had any info on the manthilla CPU governer? My Google skills are failing hard.
sir_bazz said:
Only installed the miui version on Joyeuse a couple of days ago, (obviously), but it's been faultless so far. Great job by the dev.
Was wondering if anyone had any info on the manthilla CPU governer? My Google skills are failing hard.
Click to expand...
Click to collapse
I'm not written documentation about Manthilla(Named for a good friend who passed away a few months ago) is my own governor based on schedalessa (another gov by me) is "new" i was working on it since dec of the last year (without name until now)
Similar to Schedutil with Energy awareness framework to make it more energy efficient without lags (if have issues with this let me know) Most of the settings are internal so there are no tunables to modify manually, maybe in the future add the way that the governor can be configured more.
I hope your question has been clarified, if not, let me know.
Have a nice day!
cheers.
Thanks for your great work for our device. Many thanks from my Heart.
I am using Evox 4.5 (Not Miatoll)
Can i flash this kernel over evox 4.5?
@TeamMex: Any tools to compile this kernel ?
Anonda said:
Thanks for your great work for our device. Many thanks from my Heart.
I am using Evox 4.5 (Not Miatoll)
Can i flash this kernel over evox 4.5?
Click to expand...
Click to collapse
should work
dungphp said:
@TeamMex: Any tools to compile this kernel ?
Click to expand...
Click to collapse
clang
TeamMex said:
should work
clang
Click to expand...
Click to collapse
Flashed. Now will see the battery backup.
I just need the battery back up
Sot Means to me "Screen off time."
If any suggestion about battery back up, any configuration, or any profile.
It will be highly appreciated.
Thanks.
TeamMex said:
should work
clang
Click to expand...
Click to collapse
Flashed. Now will see the battery backup.
I just need the battery back up
Sot Means to me "Screen off time."
If any suggestion about battery back up, any configuration, or any profile.
It will be highly appreciated.
Thanks.
Anonda said:
Flashed. Now will see the battery backup.
I just need the battery back up
Sot Means to me "Screen off time."
If any suggestion about battery back up, any configuration, or any profile.
It will be highly appreciated.
Thanks.
Click to expand...
Click to collapse
I'm sorry but I don't care if the battery lasts a long time.
I prefer raw performance so i don't have for now a config since i have with the device 2 weeks.
Is too early to deal with any configuration.
Wait some weeks more and i can tell you any good info.
cheers.
TeamMex said:
should work
clang
Click to expand...
Click to collapse
Flashed.
Now will see battery backup.
Any suggestions, any kernel configuration or any profile for battery backup?
Thanks
Please can anyone check if this kernel enables GNSS L5 and then Galileo is supported?
Thats what i looking for a miatoll kernel
Thank u..
Which one to flash for poco m2 pro? in curtana folder only note 9s,note 9pro is written
And one more question can flash it on official miui 12 without root??
TeamMex said:
I'm sorry but I don't care if the battery lasts a long time.
I prefer raw performance so i don't have for now a config since i have with the device 2 weeks.
Is too early to deal with any configuration.
Wait some weeks more and i can tell you any good info.
cheers.
Click to expand...
Click to collapse
Thanks for your answer, with take your time.
:good:
TeamMex said:
I'm not written documentation about Manthilla(Named for a good friend who passed away a few months ago) is my own governor based on schedalessa (another gov by me) is "new" i was working on it since dec of the last year (without name until now)
Similar to Schedutil with Energy awareness framework to make it more energy efficient without lags (if have issues with this let me know) Most of the settings are internal so there are no tunables to modify manually, maybe in the future add the way that the governor can be configured more.
I hope your question has been clarified, if not, let me know.
Have a nice day!
cheers.
Click to expand...
Click to collapse
Well I thought I'd give it a go after reading your reply. Made a rookie error initially, only changing the governer on the little cluster and that didn't end well.
But some 24 hours after switching on both clusters, it seems to have achieved your goals.
No noticeable performance degradation but an improvement in idle battery drain, (according to FKM after a resetting stats).
Will be sticking with it for now.....thanks again for making it available for MIUI.
I flashed this kernel yesterday on my 9s running xiaomi eu v11.0.11 and since then I'm having some issues with headset detection. Sometimes the phone doesn't detect the headset even after unplugging and plugging it back in several times. I have never had this problem before so I figure it's related to something I did recently. The only modification I've made is the kernel change so I figure it must be kernel-related.
What are your thoughts.
Sent from my Redmi Note 9S using XDA Labs
twistyplain said:
I flashed this kernel yesterday on my 9s running xiaomi eu v11.0.11 and since then I'm having some issues with headset detection. Sometimes the phone doesn't detect the headset even after unplugging and plugging it back in several times. I have never had this problem before so I figure it's related to something I did recently. The only modification I've made is the kernel change so I figure it must be kernel-related.
What are your thoughts.
Sent from my Redmi Note 9S using XDA Labs
Click to expand...
Click to collapse
Unfortunately the little time that I spent in miui I never had the problem you mention( but i was on stock miui EEA).
Normally that bug could be linked to the rom,Could you send me a kernel error log (Dmesg)? (Attach your headset then take the log)
I remind you that it is advisable to wipe cache and dalvik-cache every time you update the kernel to avoid weird and random issues =).
cheers.
Sent from my Redmi Note 9 Pro using XDA Labs

Categories

Resources