Let's get this out of the way, I'm not responsible for anything more than a kernel panic.
Now that we've got that over with, I introduce to you - Zest Kernel. This ain't your average kernel on XDA. Zest Kernel is tuned down to every last mmap() to ensure that your device runs as fast and smooth as your hardware permits. No longer are the days of your battery dying on the bus, slow network speeds at home, or lags when swiping on those hot, new Android 11 gestures. Zest Kernel will revamp the experience of your device.
Spoiler: Here's what you get with Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
Boot Time
By shrinking the kernel's size with Dead Code Elimination (DCE) and removing a bloat of debug and unused drivers, we decrease boot times [1].
LLVM Tools
Zest Kernel is built exclusively with the LLVM toolchain and tools, which allows us to utilise a wide range of security and performance features as well as satisfying my LLVM fanboy needs.
Networking Performance
Due to the addition of the rmnet_perf and rmnet_shs drivers from Qualcomm, cellular networking performance can see improvements due to network aggregation.
Performance
Through backporting mainline improvements to mmap() and locking, the kernel's core code receives improvements in performance and works to reduce jitter and improve system responsiveness. The return of BPF JIT allows us to improve performance with eBPF programs that Android utilises. As well as these changes, Danny (kdrag0n)'s efficient frequencies and Sultan's latency reduction patchsets are included which improve system fluidity and performance. LTO is also enabled, improving overall kernel performance. Tuning for ext4
Security
Zest Kernel utilises Clang's Control Flow Integrity (CFI) to protect against undefined behaviour that tries to subvert the kernel's control flow. Clang's ShadowCallStack, which protects programs against return address overwrites such as stack overflows, is also switched on and enabled with virtually mapped call stacks. All locals that are automatically initialised with zeros instead of patterns, which is safer for strings, pointers, indexes, and sizes. WireGuard is also included to provide a secure, performant VPN tunnel for those who wish to use it.
zRAM Improvements
Backports from mainline and changes from Sony allow us to utilise a more efficient zRAM backend, z3fold. While zRAM is only used on bramble, since 8GB is more than enough memory on redfin, this should provide a nice improvement for zRAM on bramble.
[1] - The first boot may take longer as F2FS (the filesystem we use) needs to check for corruption every time the kernel is changed for safety measures. Subsequent boots should be much faster.
Spoiler: How to install Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
1) Make sure you're on the December or January SP.
2) Download Zest Kernel from the link below.
3) Enter fastboot (not fastbootd) with adb reboot bootloader or another method.
4) fastboot boot ZestKernel-Installer-P4A5G<DATE>.img where <DATE> refers to the release date of the specific kernel.
5) Yes, I said boot not flash. I hope you read that correctly.
6) Read my beautiful installation header and wait for your device to boot up.
Spoiler: Download Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ directly from my site.
Visit https://www.thezest.dev, click on "builds", then get the latest build from the relevant folder (Zest Kernel/bramble, in this case).
Releases are named in the form of ZestKernel-Installer-<Device Name><ISO 8601 Date>.img.
Spoiler: Where to get the source code of Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
GitHub - lazerl0rd/tryme_redbull: A kernel for the Google Pixel 5 tuned to enhance system responsiveness, efficiency, and security.
A kernel for the Google Pixel 5 tuned to enhance system responsiveness, efficiency, and security. - GitHub - lazerl0rd/tryme_redbull: A kernel for the Google Pixel 5 tuned to enhance system respons...
github.com
Spoiler: Some screenshots of Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
{
"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"
}
Spoiler: Notable credits for Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
Sultan Alsawaf (kerneltoast/@Sultanxda) for his patchsets which help to improve the fluidity of graphics and more.
Danny Lin (@kdrag0n) for kramflash (the kernel installer) as well as a load of useful patches.
Jason Donenfeld (@zx2c4) for WireGuard.
Artem Labazov for his suggestion to use z3fold as a backend for zRAM.
***
If you enjoyed Zest Kernel, please donate to help keep up maintenance at https://paypal.me/paydiab. I'm strict on quality, and give each release it's quality time and care (possibly even more so than your OEM). Having a small income from these kernels gives me a better incentive to keep pushing them out for y'all.
***
Great work man. Reall appreciate to bring some love for this device despite you own a pissel 5
Thanks for making this for our beloved bramble!
Thanks. I've installed it and will report back.
Much appreciated.
Works perfect since yesterday
So far so good. Battery life seems to have improved which is very nice. Thanks so much for the awesome kernel!
I know this may be a dumb question, but how do I enable Wire guard? Do I need to install a separate client?
Appreciate your work.
I just installed and it seems to have disabled zRAM according to Ex Kernel Manager and FKM. Is it because of the change to z3fold? and if so, are there any apps that could help monitor this?
Also, I was curious if there's any chance you will eventually add color control and high brightness mode like in cleanslate?
PhantomCoder24 said:
So far so good. Battery life seems to have improved which is very nice. Thanks so much for the awesome kernel!
I know this may be a dumb question, but how do I enable Wire guard? Do I need to install a separate client?
Click to expand...
Click to collapse
To use the kernel-backend of WireGuard, install the WireGuard app from GPlay/F-Droid and provide root access when asked. You can check which backend you are using if you go into WireGuard's settings.
mistermojorizin said:
I just installed and it seems to have disabled zRAM according to Ex Kernel Manager and FKM. Is it because of the change to z3fold? and if so, are there any apps that could help monitor this?
Click to expand...
Click to collapse
I'll need to look into that, thanks for bringing it up. zRAM should still be visible in those applications with any backend, by the way.
mistermojorizin said:
Also, I was curious if there's any chance you will eventually add color control and high brightness mode like in cleanslate?
Click to expand...
Click to collapse
I've been thinking about that, and while HBM seems to be a good addition I'm not a fan of colour control within the kernel. If it's an important feature for many users, I'll add it and just build a separate kernel for myself.
LazerL0rd said:
Let's get this out of the way, I'm not responsible for anything more than a kernel panic.
Now that we've got that over with, I introduce to you - Zest Kernel. This ain't your average kernel on XDA. Zest Kernel is tuned down to every last mmap() to ensure that your device runs as fast and smooth as your hardware permits. No longer are the days of your battery dying on the bus, slow network speeds at home, or lags when swiping on those hot, new Android 11 gestures. Zest Kernel will revamp the experience of your device.
Spoiler: Here's what you get with Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
Boot Time
By shrinking the kernel's size with Dead Code Elimination (DCE) and removing a bloat of debug and unused drivers, we decrease boot times [1].
LLVM Tools
Zest Kernel is built exclusively with the LLVM toolchain and tools, which allows us to utilise a wide range of security and performance features as well as satisfying my LLVM fanboy needs.
Networking Performance
Due to the addition of the rmnet_perf and rmnet_shs drivers from Qualcomm, cellular networking performance can see improvements due to network aggregation.
Performance
Through backporting mainline improvements to mmap() and locking, the kernel's core code receives improvements in performance and works to reduce jitter and improve system responsiveness. The return of BPF JIT allows us to improve performance with eBPF programs that Android utilises. As well as these changes, Danny (kdrag0n)'s efficient frequencies and Sultan's latency reduction patchsets are included which improve system fluidity and performance. LTO is also enabled, improving overall kernel performance. Tuning for ext4
Security
Zest Kernel utilises Clang's Control Flow Integrity (CFI) to protect against undefined behaviour that tries to subvert the kernel's control flow. Clang's ShadowCallStack, which protects programs against return address overwrites such as stack overflows, is also switched on and enabled with virtually mapped call stacks. All locals that are automatically initialised with zeros instead of patterns, which is safer for strings, pointers, indexes, and sizes. WireGuard is also included to provide a secure, performant VPN tunnel for those who wish to use it.
zRAM Improvements
Backports from mainline and changes from Sony allow us to utilise a more efficient zRAM backend, z3fold. While zRAM is only used on bramble, since 8GB is more than enough memory on redfin, this should provide a nice improvement for zRAM on bramble.
[1] - The first boot may take longer as F2FS (the filesystem we use) needs to check for corruption every time the kernel is changed for safety measures. Subsequent boots should be much faster.
Spoiler: How to install Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
1) Make sure you're on the December or January SP.
2) Download Zest Kernel from the link below.
3) Enter fastboot (not fastbootd) with adb reboot bootloader or another method.
4) fastboot boot "Zest Kernel.img"
5) Yes, I said boot not flash. I hope you read that correctly.
6) Read my beautiful installation header and wait for your device to boot up.
Spoiler: Download Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ directly from my site.
https://thebox.thezest.dev:61447/s/Sy2sM26HKtBHB3q?path=%2FBuilds%2FZest%20Kernel%2Fbramble
Spoiler: Where to get the source code of Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
GitHub - lazerl0rd/tryme_redbull: A kernel for the Google Pixel 5 tuned to enhance system responsiveness, efficiency, and security.
A kernel for the Google Pixel 5 tuned to enhance system responsiveness, efficiency, and security. - GitHub - lazerl0rd/tryme_redbull: A kernel for the Google Pixel 5 tuned to enhance system respons...
github.com
Spoiler: Some screenshots of Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
View attachment 5193437
View attachment 5193439View attachment 5193441
View attachment 5193443View attachment 5193445
Spoiler: Notable credits for Zest Kernel ꜰᴏʀ ʙʀᴀᴍʙʟᴇ.
Sultan Alsawaf (kerneltoast/@Sultanxda) for his patchsets which help to improve the fluidity of graphics and more.
Danny Lin (@kdrag0n) for kramflash (the kernel installer) as well as a load of useful patches.
Jason Donenfeld (@zx2c4) for WireGuard.
Artem Labazov for his suggestion to use z3fold as a backend for zRAM.
***
If you enjoyed Zest Kernel, please donate to help keep up maintenance at https://paypal.me/paydiab. I'm strict on quality, and give each release it's quality time and care (possibly even more so than your OEM). Having a small income from these kernels gives me a better incentive to keep pushing them out for y'all.
***
Click to expand...
Click to collapse
Can i relock bootloader after flashing the kernel ?
MegaJuif said:
Can i relock bootloader after flashing the kernel ?
Click to expand...
Click to collapse
AFAIK No!
Do not relock the bootloader unless the firmware is 100 percent stock. You might brick your phone, if it is not 100 percent stock when you relock the bootloader.
Homeboy76 said:
AFAIK No!
Do not relock the bootloader unless the firmware is 100 percent stock. You might brick your phone, f it is not 100 percent stock when you relock the bootloader.
Click to expand...
Click to collapse
aw, so if i install the kernel google pay wont work anymore ?
I tested the kernel on my smartphone for several days (firmware stock, bootloader open, magisk and root installed), everything is fine. Smartphone performance is faster and better battery drain.
Only there is one caveat - adaptive charging does not work at night, it worked on the stock core.
Measurements were made using Accubattery and 3C programs
MegaJuif said:
aw, so if i install the kernel google pay wont work anymore ?
Click to expand...
Click to collapse
custom kernel does not affect Gpay payment in any way. Unlocking the bootloader affects.
to pay, you need to install Magisk and some modules.
The topic has been discussed many times.
MegaJuif said:
Can i relock bootloader after flashing the kernel ?
Click to expand...
Click to collapse
Unfortunately you can't, sorry.
Homeboy76 said:
AFAIK No!
Do not relock the bootloader unless the firmware is 100 percent stock. You might brick your phone, if it is not 100 percent stock when you relock the bootloader.
Click to expand...
Click to collapse
I think he's noticed ROMs liek Calyx ship lockable ROMs for Pixel devices, this is possible but the entire ROM (inc. the kernel) needs to be signed with a single key - which can't eb done with my installation method unfortunately.
Thanks for all your support with Zest Kernel, and the lovely messages on XDA. Today I've released an update to Zest Kernel for redfin and bramble. The changelog is as follows:
- A bug which caused stuttering and high jitter randomly has been fixed, jitter should stay consistently low now.
- Improvements to the security of your device, with hardening inspired by GrapheneOS and the linux-hardened project.
As always, if you wish to donate my PayPal is available at https://paypal.me/paydiab. It's a great help for those of you who do, as I put in quite some time into my kernels.
LazerL0rd said:
Today I've released an update to Zest Kernel for redfin and bramble.
Click to expand...
Click to collapse
For bramble, did you make any changes that would re-enable the zram?
mistermojorizin said:
For bramble, did you make any changes that would re-enable the zram?
Click to expand...
Click to collapse
It should be working now (I noticed a mistake in the old builds) but if it doesn't, send me a PM and I'll try my best to release a bugfix by tomorrow evening.
Related
{
"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"
}
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
Transparent Hugepages are enabled
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Simple temperature controls for msm_thermals exposed
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Undervolted the Adreno 530 GPU voltage rail to keep things cooler
CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details
DOWNLOADS
AnyKernel: Click Here (Or check top of the post, download tab)
(Optional) LineageOS 14.1 Netflix Black Screen Fix : Click Here
(Optional) Updated Adreno Drivers by @BlackSoulxxx : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
Here is a GeekbenchV4 result example : http://browser.geekbench.com/v4/cpu/7618872
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Since LineageOS uses a way newer Bluetooth stack, this Kernel will most likely not work on old ROM's such as ResurrectionRemix
This will not work with LineageOS 15.1, please see the other thread
KNOWN BUGS
When using v1.0.0 will fail to boot if you had Magisk previously installed. Please install something newer if using Magisk.
When using v13.0.0 - v15.x.x infrared remote control will not work.
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
@joshuous
@RenderBroken
and many others!
<< If you like my work here is my hat, please donate! >>
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code: https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 46.0.0
Stable Release Date: 2018-07-11
Created 2017-12-10
Last Updated 2018-10-22
CHANGELOG
46.0.0 - Started msm_irqbalance by default on boot, disabled lp11 and enabled allow mdss phy powerdown during idle screen.
45.0.0 - Smoother memlat ramp and tuned the schedTune DVR cpusets a bit for better performance overall.
44.0.0 - More deep sleep enhancements.
43.0.0 - Update to Oreo TouchScreen firmware and more MDSS PLL merge fixes that help deep sleep.
42.0.0 - Missing MDSS Oreo merges are now in place.
41.0.0 - Added IPA_WS as a default in the wakelock blocker, as well as enabling CONFIG_PM_SLEEP which if missing would in turn cause some ueventd wakeups.
40.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers. Tweaked the random wakeup values, added some extra cpusets based on Marlin's android-cts-8.0_r8/init.common.rc and fixed some BFQ IO possible hang.
39.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers.
38.2.0 - Removed LGE's battery manager alarms.
38.1.0 - Fixed potential wireless packet loss.
38.0.0 - Further tweaked the wlan_rx_wake wakelock, migrated the audio and thermal workers to power efficient queues, and added an arm64 prefetching optimization for memcpy.
37.0.0 - Better deep sleep enhancements with the charger infrastructure borrowed from the V30 Kernel Oreo sources.
36.0.0 - Full fix for 6a00000.ssusb wakelocks while keeping fast charging enabled.
34.0.0 - Added boeffla_wl_blocker to tame NETLINK wakelock, this wakelock is caused by IPC between the wireless driver in the Kernel and Android. This was the reason why when on wireless the battery would drain more compared than radio. Also disabled OTG as this keeps the phone from deep-sleeping for now.
33.0.0 - Enabled OTG.
32.0.0 - Fixed a bug from Oreo merge that causes video to go green and crash sometimes. Disabled ZRAM from the compilation rather than AnyKernel patch.
31.0.0 - Merged some V20 Oreo Kernel changes in, as well as some DAC enhancements to prevent popping, better USB PD and QC 2.0/3.0 charging code.
30.0.0 - Oreo Kernel changes in, trying to unify the Kernel to keep support for a little while on 14.1.
29.0.0 - Merged msm idle from Linux 4.4 as well as full EAS 1.4 support from Linux 4.4, reduced the memory subsystem timer ramp values for speedier operation.
27.0.0 - Enabled wifi.supplicant_scan_interval on boot, and disabled IPv4 TCP Timestamps and ICMP responses as well as CCKM fast secure roaming.
26.0.0 - Full EAS 1.4 from Wahoo (Pixel 2XL) backported.
25.0.0 - Updated EAS (schedutil, walt, fair scheduler) to be in sync with Wahoo (Pixel 2XL) latest changes.
24.0.0 - Fixed another performance regression in multi-core scores within schedutil.
23.0.0 - Screen brightness is 50% while booting to reduce heat when it is regenerating cache on boot. v22.1.0 was 25% but this was barely visible if you were rebooting under direct sunlight. So went for the safe value.
22.1.0 - Reduced the screen brightness while booting to reduce the heat of the device during cache wipes.
22.0.0 - WALT and schedutil cpufreq commit fixes backported from RenderBroken.
21.0.0 - The GPU Voltage rail undrervolt is now ~60 mV, do not see any problem and games run way cooler.
20.0.0 - After feedback on frequency utilization/distribution I've put 3 WELT commits that should help alleviate this. And enabled some extra configurations from our wireless driver for better power savings.
19.0.0 - Trimmed around ~40 mV from the GPU voltage rails, and updating the wireless stack to DHD 1.80.13 - 2017.06.22, from us997 V16a.
17.0.0 - Increased the multi-core benchmark scores.
16.1.0 - Reverted the binder to be Nougat only, since Oreo support will be on a separate Kernel anyway. Fixed the Infrared Remote Control support that I had broken, and tuned the memory scaling to be more responsive.
15.0.0 - More audio fixes. This audio CAF merging has fixed the speaker-phone that suddenly stops recording or suddenly stops recieving audio from the phone call in LineageOS. Also have increased the schedutil timer values to be similar to the Pixel 2 XL (Wahoo). And finally have fixed a CONFIG_LGE_PM_LGE_POWER_CLASS_CHARGER_SLEEP problem, so that the charger module now sleeps better and uses less power in idle.
14.0.0 - Updated WALT (Window Assisted Load Tracking) fixes aggregated by RenderBroken. Fixed an audio bug introduced in 13.0.0 where headphone insertion could change the sampling rate of other audio sessions. Changed again the schedutil timer values to favor benchmarks a tiny bit and increased the external SD read-ahead and minimum number of requests so that there is better merging when using slow SD cards while keeping the internal storage device in a low-latency configuration.
13.0.0 - Merged CAF audio upstream changes and enabled transparent hugepages.
12.0.0 - Tuned the memory subsystem frequency scaling parameters further down to focus on batter savings as well as the EAS timers.
11.0.0 - Added cpuidle optimizations to idle more, bumped up the memlatency trigger.
10.2.0 - Reintroduced back QuickCharge 2.0 and QuickCharge 3.0 fast charging support into the Kernel.
10.0.0 - Bumped up the Kernel to version 3.18.71.
9.0.0 - Full arm64 arch CAF update done to the Kernel based on CAF LA.UM.6.5.r1-05300-8x96.0. Added support for H918 variant too.
8.2.0 - Partial update to get the Kernel in a big percent that of CAF LA.UM.6.5.r1-05300-8x96.0, no bugs introduced and using a CAF / LineageOS kernel base. Using the binder interface that works both for Android Oreo and Nougat to be prepared for Lineage15. Also fixed a bug that I had introduced in previous versions related to wireless access point, hence why I had pulled versions 7.x from the server.
4.1.0 - Reintroduced into the LineageOS kernel the partial-update in the panel, to gain some power savings and overall performance feeling when refreshing the panel and screen elements.
4.0.0 - Raised the EAS schedutil timers and the memlat governor threshold to kick in faster. This will bring up the responsiveness to similar levels to HMP even when still using EAS. Brought back KSM after profiling on battery utilization, it doesn't hurt as long as a the timer value is between 4000.
3.0.x - Bugfixes and testing with Magisk compatibility, I think there are no more compatibility problems with Magisk after this, had to remove KSM for testing.
1.0.0 - Initial version, with KCAL, and streamlined defconfig based on cm-14.1 kernel sources and minor commits on top.
Omar-Avelar said:
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources to get and share my own performance improvements up and adding minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with less blue tints by default
Schedutil governor making use of EAS features
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Re-introduced stock thermal values and engine for a safer device operation
DOWNLOADS
1) AnyKernel: Click Here (Or check top of the post, download tab)
2) EAS-Project OP3 Prebuilts Flashable : Click Here
3) Thermal Engine Flashable : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Please flash all *.zip's mentioned in the download sections for optimal results
KNOWN BUGS
Hopefully none
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
and many others!
<< If you like my work here is my hat, please donate! >>
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code:https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2017-12-09
Created 2017-12-10
Last Updated 2017-12-09
Click to expand...
Click to collapse
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
nightra88 said:
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
Click to expand...
Click to collapse
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Here are some Geekbench results in case anyone is interested : http://browser.geekbench.com/v4/cpu/5506983
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Omar-Avelar said:
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Click to expand...
Click to collapse
That sounds great! I'll look forward to it! But I'm about 12-14hrs in the kernel now, and so far so good! With normal usage.
Have updated Kernel to 1.1.0 version with two minor changes that improve the performance by quite a big. Figured out the OP3 and the Marlin Kernel was using 300 Hz tick timers. But for some reason our Kernel was only using 100 Hz tick's. So two changes in this version.
1. Enable high-res timers for schedulercks
2. arm64: hz: make it configurable
Click to expand...
Click to collapse
Plus I have decided to go on and change the perfd binary again. I was not aware how much of impact this has to EAS and the fluidity, since with EAS the input freq boost in the Kernel is now gone. You can read more about it here : https://github.com/EAS-Project/android_device_voxpopuli in the README.md. I am not yet using 100% of the capabilities of Vox Populi Power HAL but a lot of features from it turned off for now.
NippleSauce said:
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Click to expand...
Click to collapse
Most likely yes, but after I polish a few features and once I am 100% happy with the performance
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I only tried the latest one. I did not try without Magisk though or the older version, the all 3 reference was all 3 files you had. gamma/vox/thermal.
I noticed in your thermal, that the camera files are the same as Lineage, so you could take those out. I also took out the mixer one as I bumped those VOL up as it was hard to hear on calls without it. If you do find any adjustments that the op3 or marlin did, we might be able to get those into the Lineage msm8996 kernel. Ideally, the commits from op3 in the Lineage tree, then I can cherry pick it to preserve history. I'm all for getting things into Lineage where we can.
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I flashed with Magisk, on the first version, and everything is going fine for me
nightra88 said:
I flashed with Magisk, on the first version, and everything is going fine for me
Click to expand...
Click to collapse
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Omar-Avelar said:
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Click to expand...
Click to collapse
No problem! Glad to help.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Flashed Magisk-v14.5(1456).zip
Hit reboot
If you can let me know if the v1.1.1 version works on your side then I can blame the bad upload. If not I can do more experiments to see if there is some other condition that depends on the order of flashing with my AnyKernel approach... and then I can try and replicate and fix it , please do let me know...
UPDATE: I am able to hit the failure now @x86cpu... let me see if AnyKernel needs any update or something to allow to re-install the Kernel if Magisk is already pre-installed. In order to hit it I had to:
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
I've uploaded flashable-us996-gamma-kernel-v1.2.0.zip now with an updated AnyKernel script that seems to now be working even with Magisk installed previously. Thanks to @x86cpu for reporting this bug.
U
Omar-Avelar said:
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
Click to expand...
Click to collapse
I just installed the v1.1.1 before the fix. So. In other words before I saw this update, I just flashed it with no wiping, Desolation rom, and it booted fine, it's just now, in Magisk I can't pass cts or basic integrity. I'll try your updated method and see if that fixes the problem.
Edit: did the above steps, minus wiping twice and flashing the hot fixes twice. Rebooted it. And now I can successfully pass safetynet on the latest gamma kernel!
Edit#2: false hope, my apologies, safetynet apparently isn't passed.
Edit#3: okay. I had a blonde moment. I forgot to wipe my dalvik. It passes now.
What do the HAL's do? And what order should I flash the zips?
Obamaloominaty said:
What do the HAL's do? And what order should I flash the zips?
Click to expand...
Click to collapse
The order doesn't matter as they are independent. And I would suggest you read about the EAS perfd HAL in here : README.md
However keep in mind that I haven't implemented all of the VoxPopuli features from the HAL in the AnyKernel as it needs some SELInux permissions updates (which I can do later on). But without all of those enhancements it will behave like the Pixel HAL.
KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15
{
"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"
}
THIS KERNEL IS FORTREBLE & NO-TREBLE
Introduction
Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
Follow upstream Linux always
Features will be added only as needed
Security and stability are paramount
I hope you'll all agree with these three rules
Thread Rules
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
Stay classy, I won't tolerate flaming of any kind, ever.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version (3.18.119)
Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
Mainline Linux patches for CFQ and media memory allocation
F2FS driver updated
VDSO32 built in
Latest energy aware scheduling patches ported to 3.18 (check EAS)
Converted some workqueues to use power efficient workqueues
Wake up improvements and other optimization from Sultanxda
Rewrited the fingerprint sensor driver (fpc1020_tee)
The following user features:
Faux Sound Control with high-performance audio
Westwood (default)
Maple I/O scheduler
Wakelock control
Lastest WireGuard snapshot
Build with official Clang toolchains 7.0 (clang-4679922).
Hides bootloader unlock from SafetyNet (can still fail through other means)
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads
Lastest version is the v2.01 (AceKernel-Potter-v2.01_eas_unified.zip)
Eas-Unifiedhttps://download.martichou.me/Potter/
Only small issue is fingerprint gestures broken on Treble rom with this version. I'm working on how to solve this issue.
Old versions: https://download.martichou.me/Potter/Old/
Do not mirror my kernels and don't share the direct link!
Installation
If you are on a custom ROM:
Either dirty flash your ROM or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
If you are on a GSI/Treble ROM:
Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
Upgrading from one Flash version to the other:
Boot into TWRP
Flash the zip.
Reboot and profit!
Changelog
Complet changelog here:
https://github.com/Martichou/potter/
Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread
DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou
TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w
Website
I've made my personal website. (Hosted at OVH, should be fast for everyone)
It means, I'm gonna upload all zip on it and it also mean that you can take a look at the website
Website: https://martichou.me
DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus
Contributors
Martichou
Source Code: https://github.com/Martichou/potter
Kernel Special Features:
Version Information
Status: Stable
Created 2018-06-08
Last Updated 2018-09-15
Reserved
Thank you señor
Best kernel overall! (for me). Thanks Martichou!
which non treble rom can I use??
https://potterroms.me/du-mod/
can I use this??
I tried it on cr-droid 01/06, camera stops, so which roms have the latest commits??
Can u please suggest one? Or is it in development??
rishivg said:
which non treble rom can I use??
https://potterroms.me/du-mod/
can I use this??
I tried it on cr-droid 01/06, camera stops, so which roms have the latest commits??
Can u please suggest one? Or is it in development??
Click to expand...
Click to collapse
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
Martichou said:
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
Click to expand...
Click to collapse
Tried all of them after 7th June... none of them supported this...
rishivg said:
Tried all of them after 7th June... none of them supported this...
Click to expand...
Click to collapse
Try the 8 June Pixelexperience build.
There is also the lastest LOS15.1 from Vache.
As I said, maintainer will have to update their own tree.
Basically it's just a 2-3 days gaps.
As of now, supported roms are PE, LOS, and Firehound
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.
I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?
Also, what are the effects of "audio high performance mode"?
ichmyselfandi said:
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.
I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?
Also, what are the effects of "audio high performance mode"?
Click to expand...
Click to collapse
I don't recommend you to change the GPU governor. GPU don't take that much battery, and adreno_tz is already pretty great.
On GPU side, you can however change the GPU initial frequency to 133MHz if you want.
If you really want to change GPU governor (even if I don't recommend that at all), you can use simple_ondemand.
And about the Audio High performance mode:
Every phone powered by a Qualcomm processor has a built-in WCD9xx Audio DAC,
but it's rarely configured to be used to its full potential by OEMs.
This might not seem like a problem to some people, but if you're a music lover,
or you simply enjoy high-quality sound, it's an issue you'll definitely want to fix.
By enabling High-Performance Mode, the audio quality of Qualcomm-powered devices
will not only receive a boost in volume but will sound more clear and crisp as well.
- from android.gadgethacks.com
Click to expand...
Click to collapse
Is this kernel compatible with LiquidRemix?
jesus693 said:
Is this kernel compatible with LiquidRemix?
Click to expand...
Click to collapse
If the rom has been merged with june updates, then yes. Otherwise camera won't work.
.... i feel like people are going to yell at me but what is treble? i thought it was all about that bass
Ae3NerdGod said:
.... i feel like people are going to yell at me but what is treble? i thought it was all about that bass
Click to expand...
Click to collapse
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
Martichou said:
THIS KERNEL IS FORTREBLE & NO-TREBLE
Introduction
Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
Follow upstream Linux always
Features will be added only as needed
Security and stability are paramount
I hope you'll all agree with these three rules
Thread Rules
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
Stay classy, I won't tolerate flaming of any kind, ever.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version (3.18.112)
Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
Mainline Linux patches for CFQ and media memory allocation
Latest energy aware scheduling patches ported to 3.18 (check EAS)
Converted some workqueues to use power efficient workqueues
Wake up improvements and other optimization from Sultanxda
Rewrited the fingerprint sensor driver (fpc1020_tee)
The following user features:
Faux Sound Control with high-performance audio
Westwood (default)
Maple I/O scheduler
Wakelock control
Lastest WireGuard snapshot
Build with official Clang toolchains 7.0 (clang-4679922).
Hides bootloader unlock from SafetyNet (can still fail through other means)
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads
Treble : AceKernel-Potter-v1.10_eas_treble
No-Treble : AceKernel-Potter-v1.10_eas_no-treble
For no-treble, the ROM need to be updated with lastest blobs from boulzordev GitHub organization.
Do not mirror my kernels and don't share the direct link!
Installation
If you are on a custom ROM:
Either dirty flash your ROM or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
If you are on a GSI/Treble ROM:
Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
Upgrading from one Flash version to the other:
Boot into TWRP
Flash the zip.
Reboot and profit!
Changelog
Complet changelog here:
For TREBLE variant use the eas_treble branch.
For NO-TREBLE variant, use the eas_no-treble branch.
https://github.com/Martichou/potter/commits/eas_treble
Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread
DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou
TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w
FOR DEVELOPER:
If you want to inline this kernel into your rom, you'll need a change in init.qcom.rc.
I also made this commit to make your life easier. Feel free to pick it [Treble & No-treble branch (depends on what you're building)]
https://github.com/Martichou/android_device_motorola_potter/commit/654854f3bc695a7cfbcc5ff11d7d3943b67869af
DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus
Contributors
Martichou
Source Code: https://github.com/Martichou/potter
Kernel Special Features:
Version Information
Status: Stable
Created 2018-06-08
Last Updated 2018-06-11
Click to expand...
Click to collapse
Great kernel ??? thank you
monster1612 said:
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
Click to expand...
Click to collapse
That is brilliant.
Does this mean our phones compass works on Oreo now? I read somewhere it was because of an issue with not having the 64bit drivers for it. Makes gps apps unusable for me and is basically while I'm still on nougat
hello I want to install the ROM but there is 2 treble version and no treble and I do not know which one to install. I have the latest version of RR-O-v6.0-20180608-potter-official
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 now the games are closed only after 5 minutes of opening them by little ram: '(
jesus693 said:
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 now the games are closed only after 5 minutes of opening them by little ram: '(
Click to expand...
Click to collapse
You can enable Zram in Kernel Auditor or Exkm or any kernel tweakers.
Enabling Zram should fix your issue.
By the way, I want to say that free ram is wasted ram. The ram need to be full the most of the time. (As far as I know and what others dev said).
{
"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"
}
DISCLAIMER:
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.
I don't provide support for OneUI-pie & treble ROMs, asking me if I will ever do is just a waste of time.
INFO:
If you wonder what the hell RAD Kernel is... Then let me explain, RAD Kernel is a project oriented towards people who depend on their phone every day.
RAD Kernel is designed for maximum stability.
All kernel builds are thoroughly tested before Release.
As the title says RAD Kernel per se supports AOSP ROM(s), OneUI 2 ROM(s) and it's meant to be used with it for a better STABLE experience.
RAD Kernel will NOT work with any other ROMS except AOSP & OneUI-2 (i.e no OneUI-pie & treble support).
SUPPORTED DEVICES:
G950(N/F/FD)
G955(N/F/FD)
N950(F/FD)
FEATURES:
Linux 4.4.111
Compiled with Clang 9.
O3 optimizations.
Fast, smooth and great for Daily Use!
Permissive SE-Linux.
Boeffla Wakelock Blocker.
Interactive governor as Default.
Optimized Integer SQRT. for upto 3x faster operation.
Tuned Interactive governor for better balance between performance and battery.
CPU BIG up to 2314MHz.
CPU small up to 1690MHz.
GPU OC up to 572MHz
WireGuard.
Disabled CRC by default - 30% File system performance.
Fsync toggle enabled by default, can be changed in a kernel tweaker.
TCP congestion - bic as default.
Z-RAM enabled by default and set at 2592MB.
Z-RAM compression - lzo
HMP values tuned for better performance!
and the list goes on!
ROOT:
RAD Kernel DOES NOT come with pre-installed ROOT.
You can flash the latest MAGISK to get ROOT!
SUPPORT:
Telegram Group - Click here!
Telegram Channel - Click Here!
CREDITS:
Me, for developing without time and for the struggle to test new things.
Stricted for LineageOS development.
Dr.DoubtReaper for testing my kernel images.
Samsung Open Source for their Kernel source.
Topjohnwu for magisk!
Linus torvalds for Linux!
Thanks to anyone else who made this whole thing possible, you are part of it as well!
and all the people on GitHub whom i might have cherry-picked from!
XDA:DevDB Information
RAD Kernel for Exynos8895, Kernel for the Samsung Galaxy S8
Contributors
bruh™
Source Code: https://github.com/Exynos-nigg/RAD-8895
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R4
Stable Release Date: 2021-01-07
Created 2020-10-05
Last Updated 2020-11-08
R4 (07/01/2021) [EOL]
BUGS:
DexOnPc is bugged, device wont be recognized (OneUI2 build only!)
DOWNLOADS:
Official Kernel Website - click here!
Google Drive - click here!
INSTALLATION:
NOTE! YOU NEED TO BE ALREADY ON AOSP/OneUI-2 ROM, BEFORE FLASHING THIS CUSTOM KERNEL
Download the provided zip for your device model.
Put the zip inside your storage.
Reboot to TWRP recovery.
Flash the zip and wait until it completes.
Reboot your device, and enjoy the Butter smooth experience.
CHANGELOGS:
R4(07/01/2021)
Added OneUI-2 support! (make sure to flash the OneUI-2 build)
Disabled logging and some debug stuff
Older changelogs below! =)
R3.5 HOTFIX(08/11/2020)
Unified installer zips!
Fix bootloop issues!
Switch from AK3 to AIK zips!
NOTE: This releases has no changes kernel side, but the installation zips have been changed!
NOTE: Sorry for the inconveniences caused because of the bootloops, this releases should (hopefully!) fix em =)
R3 (04/11/2020)
Disabled GFS (Gentle Fair Sleepers) for better UI performance!
Fix placebo tweaks blocker!
General optimizations!
Kill DVFS completely!
Remove excessive logging from decon, GPU drivers & touchscreen drivers!
Unified S8/S8+ kernel!
Set "westwood" as default TCP congestion algorithm!
NOTE: The kernel zips have different time labels on them because i did build them few days before but was just lazy to release them
R2 (13/10/2020)
Changed to Interactive on CPU!
Fixed sound not coming from earpiece!
Remove Audit dependency!
Enabled touch input booster!
Disabled Hotplug!
Change default IO scheduler to "deadline"!
Disable some logging!
This kernel build should be way smoother than R1!
R1 (05/10/2020)
Initial Release!
FAQ: (Read this before flashing the kernel and reporting bugs!)
Q. Gaming performace isnt good in this kernel!
A. Disable Samsung Hotplug from your preferred kernel tweaker app! Hotplug is disabled in builds from R2 onwards!
Q. Whats Fsync? should i disable it?
A. fsync transfers ("flushes") all modified in-core data of (i.e., modified buffer cache pages for) the file referred to by the file descriptor fd to the disk device (or other permanent storage device) so that all changed information can be retrieved even after the system crashed or was rebooted. This includes writing through or flushing a disk cache if present. The call blocks until the device reports that the transfer has completed. It also flushes metadata information associated with the file (see stat(2)).
Too scientific, didnt read! : In layman terms disabling Fsync gives you better performance with the risk of a Data loss/corruption during a system crash!
Q. I cant Flash NFS injector, FDE.AI, MAGNETAR and other tweakers on this kernel!
A. I have added a in-built kernel blocker to block installation of these so called "AIO kernel tweakers". You shouldnt install these tweaks in my opinion! If you still want to use a Tweaker, i prefer you use KTweak though i wont be providing support for issues if u have flashed any mods or anything of this likeliness!
Q. I have an issue and i have reported it in the XDA thread, yet nobody replied to me.
A. I might be slow in responding for issues reported in the XDA thread, if u want me to reply more faster, report it in the Telegram support group!
Q. My phone gets HOT while using this kernel!?
A. Short answer: It's your own issue, fix it yourself. Nobody makes a kernel just to burn your hands.
Long answer:
* Install Termux app from Play Store * Enable screen rotation, open Termux in landspace mode * Type this command: su -c top -d 2 * A list of processes will appear and refresh with 2s interval. Find which process consumes the most CPU usage with [%CPU] column and the package name in ARGS column. You should see the culprit of your issue.
Reminder: There is no such thing as "I have nothing in background but the phone still heats up". There definitely something happen and 99% of the time it's some of the rogue apps running in background.
Thanks to Diep Quynh for finding this one out!
Nice,finally a good kernel for android q
great kernel , ive been using with ZenX OS 1.9
I'm using s8 just for social media without gaming , is there any best battery tweak or kernel auditor config for this kernel ? are conservative cpu governor best suitable for battery life ?
cpunkaz said:
Nice,finally a good kernel for android q
Click to expand...
Click to collapse
Thanks m8!
Claver90 said:
great kernel , ive been using with ZenX OS 1.9
I'm using s8 just for social media without gaming , is there any best battery tweak or kernel auditor config for this kernel ? are conservative cpu governor best suitable for battery life ?
Click to expand...
Click to collapse
I would recommend you use the kernel default presets and yes conservative is pretty good for battery!
Live0verfl0w said:
Thanks m8!
I would recommend you use the kernel default presets and yes conservative is pretty good for battery!
Click to expand...
Click to collapse
i humbly requst u to make 2 kernel one for normal user(who dont want overclock)
and second for advanced user who wants overclock.
thanks
@Live0verfl0w
HMP reworked aka HMP 2.0!
could you please post a "git diff" for this ?
ace2nutzer said:
@Live0verfl0w
HMP reworked aka HMP 2.0!
could you please post a "git diff" for this ?
Click to expand...
Click to collapse
Sorry for the late reply, i dont really login to xda much
as for the query the source is up on github, and by "rework" i merely meant changing the values and also tweaking the up threshold and stuff in my init.rc, the OP has it now cleared.
and Thanks for ur work on a2n kernel, keep it up sir!
Best kernel! Keep up the great work! R2 works great!
R2 on Zen Is, and battery is draining fast and stops charging at 77% and starts discharging, even while plugged in. Is that normal? Didn't experience this in R1
alberto23 said:
Best kernel! Keep up the great work! R2 works great!
Click to expand...
Click to collapse
Thanks man!
[email protected] said:
R2 on Zen Is, and battery is draining fast and stops charging at 77% and starts discharging, even while plugged in. Is that normal? Didn't experience this in R1
Click to expand...
Click to collapse
Its definetely an issue with u or u doing something, i can say this because im on Zenx OS and i dont have this issue.
P.S - Disable all mods and magisk modules:good:
Orangelelo said:
battery uses like hell. heats and freezes in direct sunlight.
Click to expand...
Click to collapse
It's HMP Driver issue.
@ Dev
try to port EAS from RZ Kernel, (didn't test by me, but maybe better than HMP)
or if it's too difficult, try to use my method:
Code:
CONFIG_SCHED_HMP_CUSTOM
It's basically same like stock HMP, but without tasks migration between little and big cpu. Because that's the buggy part of the driver.
That means, you have to hardcode and configure by hand your own CPUSET ... Tasks that are performance critical, will run always on big cpu and tasks (all sort) like audio driver, non important services like logd ..magiskd .. etc should run on little cpu. This basically even improves performance on big CPU for foreground apps, because u'll offload big cpu if you move as much as possible to the little cpu.
Also migration related latencies are completely eliminated.
The only drawback is that you will see lower score in geekbench in multicore ... because the benchmark will use 4 cores instead all 8.
But don't worry, this will not reduce the real performance of the phone because many apps uses only one core .. and even 4 cores are enough.
If you use my method, i suggest my ramdisk related changes for cpuset or make your own.
If you have any problems or questions, feel free to contact me.
Orangelelo said:
battery uses like hell. heats and freezes in direct sunlight.
Click to expand...
Click to collapse
Kindly refrain from posting fake report/bug reports, if u have dramas contain it in telegram and dont bring toxicity in xda and misleading people, kthknx
ace2nutzer said:
It's HMP Driver issue.
@ Dev
try to port EAS from RZ Kernel, (didn't test by me, but maybe better than HMP)
or if it's too difficult, try to use my method:
Code:
CONFIG_SCHED_HMP_CUSTOM
It's basically same like stock HMP, but without tasks migration between little and big cpu. Because that's the buggy part of the driver.
That means, you have to hardcode and configure by hand your own CPUSET ... Tasks that are performance critical, will run always on big cpu and tasks (all sort) like audio driver, non important services like logd ..magiskd .. etc should run on little cpu. This basically even improves performance on big CPU for foreground apps, because u'll offload big cpu if you move as much as possible to the little cpu.
Also migration related latencies are completely eliminated.
The only drawback is that you will see lower score in geekbench in multicore ... because the benchmark will use 4 cores instead all 8.
But don't worry, this will not reduce the real performance of the phone because many apps uses only one core .. and even 4 cores are enough.
If you use my method, i suggest my ramdisk related changes for cpuset or make your own.
If you have any problems or questions, feel free to contact me.
Click to expand...
Click to collapse
1. As for the eas thingy, i dont wanna port eas bcz if i did, then my kernel wud just become a rz reborn - lol
2. As for @Orangelelo "s bug report, he was asking for etas, OC, and forcing people and being toxic in general and i banned him from my TG group, out of this anger he has been posting all these wrong issue reports.
3. As for the HMP thing, thanks m8 and i will look into it, thanks once again for ur reply here =)
Orangelelo said:
heating issue is there. check
Click to expand...
Click to collapse
no there isnt
now kindly refrain from bringing ur toxicity in here too, like u did on telegram before as @Live0verfl0w mentioned earlier
kthxbye
AFAIK Stock HMP Driver only works more or less "fine" if you don't change cpu min/max freq and interactive gov is in use.
If you change just one thing of them, then the driver in certain situations starts to freak out.
That's why i was asking for HMP related commits, because i was hoping that someone finally did managed to fix it.
That Driver is marked as EXPERIMENTAL, see in source code.
But anyway, EXPERIMENTAL doesn't automatically mean that it's quite buggy, as there are a lot of linux kernel drivers marked as experimental but works fine.
But the HMP implementation is really quite buggy wthout any modifications.
So it's very likely that he is right facing "overheating + freezes" issues, because exactly those symptoms i had faced as well even with stock Kernel/ROM.
Havoc OS the phone cannot start with this kernel (R2), S8+ Exynos
kraft6677 said:
Havoc OS the phone cannot start with this kernel (R2), S8+ Exynos
Click to expand...
Click to collapse
Its an installer issue, i have found the cause and am rectifying it, meanwhile
u can flash the kernel zip two times, weirdly enough this seems to fix bootloop issues.
p.s - also havoc os has an issue with sound not coming from earpiece, so if u do encounter that issue kindly do not report it here as its a rom issue that i cant help with.
Thread cleaned!
A friendly word of advice to @Live0verfl0w and @Orangelelo. I will ask you both to kindly refrain from bringing TG issues to XDA plain and simple!! If you continue to have issues with each other, please keep them relegated to PM's since the public forums are not the place for flamming wars or accusations for all to see. Thank you for your cooperation, and a pleasant day to all.
Best regards: Badger50
{
"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"
}
Mint Kernel for the Samsung Galaxy A50s
An optimized, One UI-first kernel for the Samsung Exynos 9610 platform.
Mint is an optimized kernel source based on Samsung's open-source kernel drops of the Galaxy A50.
Additional features include:
Built with cutting-edge LLVM/Clang 13 (proton-clang)
Built with Link-Time Optimizations (LTO)
Backported changes from the Galaxy A51 and Galaxy S10/Note10.
Various kernel and performance improvements from upstream, and even from Snapdragon devices.
Disabled basic Samsung hardening (Knox, Heavy SEAndroid auditing, and more)
Replaced kernel random number generator (HWRandom) with SRandom.
WireGuard VPN support out-of-the-box (needs root).
Boosted fingerprint scanning for faster biometrics.
Samsung Page Boost support (for supported ROMs).
Samsung RAM Plus/SQZR support (for supported ROMs).
Additional I/O schedulers:
Maple - set as default for great performance and good battery life
Anxiety
SIO
Zen
FIOPS
CFQ - optimizations from Android upstream
Additional TCP Congestion algorithms:
westwood - default
reno
bbr
bic
cubic
htcp
Get the latest Mint Kernel release from GitHub:
See Mint's source here.
The device must have an unlocked bootloader; as well as TWRP, OrangeFox Recovery, or any recovery of your choice installed.
Download latest available release from GitHub Releases.
Copy the ZIP file to your SD card if necessary.
Reboot to recovery.
Flash downloaded ZIP.
Reboot to System instead of recovery.
???
Profit
If you ever experience issues with lock screen and/or Samsung Account, see FAQ on the second post.
Q: What bootloader does this need?A: It is strongly advised to install the One UI 3.1 update before installing Mint, for the most stable experience. Installing on Android 10 will cause issues, and is not supported.Q: I'm locked out (bootloop) after installation. What do I do?A: If you ever experience being locked out after installing any build, with SystemUI restarting after entering your password/PIN, and Samsung Account showing a Samsung Account logged out notification, you may have been experiencing the "Pin Problem".Several builds of TWRP and OrangeFox have a security patch level (SPL) of 2099-12 (December 2099), but Mint follows the latest SPL available to the device. This causes the device to act up once booted into the kernel.Please note that it is intended behavior by the system and is not a bug.You can flash PassReset, or wipe your device to fix it.See here for more information.Q: I'm signed out from my Samsung Account and cannot log back. What do I do?A: Clear Samsung Account data. You can do either of the following:With a PC and ADB installed, run this command:
Code:
adb shell pm clear com.osp.app.signin
On a terminal app with root access, do:
Code:
su -c pm clear com.osp.app.signin
Q: I'm experiencing other issues.A: Please report through this feedback form, or the Fresh Community on Discord or Telegram. Please include logs, screenshots, or screen recordings so I can help you better.
Mint will never be possible without the unwavering work of these awesome people. I have tried my best to keep their authorships on Mint's commit history. Thank you very much!
Cruel Kernel for the Galaxy S10/Note10 (evdenis)
ThunderStorms Kernel for the Galaxy S10/Note10 (ThunderStorms21th)
Cosmic Fresh (Dark-Matter7232) and Optimized M21 Kernel (repinger) for the Galaxy M21.
Destrictize Project (DestrictizeProject)
Motorola One Action/Vision Kernel Sources
Quantum Kernel (prashantpaddune)
Zeus Kernel for the Galaxy Note9 (THEBOSS619)
Custom Galaxy A51 Kernel (ianmacd)
StormBreaker Kernel (stormbreaker-project) and Stratosphere Kernel (Stratosphere-Kernel) for the POCO X3
Artemis Kernel for the Pixel 4 XL (celtare21)
GS101/Tensor SoC Kernel Source (Google/AndreiLux)
Reserved 2
Does it bettter than the freshcore ?
Vipxpert said:
Does it bettter than the freshcore ?
Click to expand...
Click to collapse
Mint is a rebranded, and updated version of Fresh Core. :>
TenSeventy7 said:
Mint is a rebranded, and updated version of Fresh Core. :>
Click to expand...
Click to collapse
Interesting.. Must try it out !
There is AOSP version for this, does that mean camera will work on GSI ROM ?
Quick Update:
I'm currently pulling out the Mint 11.5 release as I have observed instabilities when using specific applications. I thought those were fixed from testing but it seems the issue stems deeper than just a single commit revert.
HUGE apologies. The performance is great if I say so myself, but there are some major issues needed to be fixed.
Thank you for your understanding.
Mint 11.6 is here! Attempt 2!
This release brings tons of performance, battery life, and security improvements over Mint 11.3.1, plus Magisk v24 with full support for Zygisk!
Main Changes
Upstream kernel to Linux 4.14.200
Bumps Security Patch Level to December 2021 (2021-12).
Upstream kernel modules to currently-available Samsung stock sources.
Updated Magisk to v24.1, with full support for Zygisk.
Support and fixes for Android 12-based ROMs and GSIs.
Finally, enabled support for COMPAT_VDSO again after months of tweaking. Improves performance for 64-bit compatibility for 32-bit processes.
Move to 500Hz interrupts for observable improvements to device performance.
For-performance tweaks and backports from custom kernels for the POCO X3 and the Galaxy M21.
Improvements and Fixes
Updates to devfreq_boost, should be more stable and battery-friendly now.
Updates to Pressure Sensitive Indicator (PSI) support.
Improvements to schedutil. Should fix device frequency scaling, which on 11.3 was staying on the lowest.
Re-enable Samsung's "AI"-based frequency management, Kernel perspective AI based Resource Control (KAIR).
Changes to the Mali GPU driver, which should improve performance as well as battery life.
Changes to TCP, including improvements for bbr.
Improvements to memory management and allocation.
Improvements to Samsung SQZR/RAM Plus support. Requires a supported ROM.
Improvements for the boosted fingerprint scan to further improve biometric speed.
Fixes for MTP support on AOSP for some edge-cases.
Various performance and stability improvements.
For who have been able to install Mint 11.5 while it was available: This is an intermediary release, fixing a fatal device crash when using specific apps. Notably, streaming services such as Netflix or Amazon Prime Video.
Releases are available from the OP!
View attachment 5534167 Mint 11.6 is here! Attempt 2!
This release brings tons of performance, battery life, and security improvements over Mint 11.3.1, plus Magisk v24 with full support for Zygisk!
Main Changes
Upstream kernel to Linux 4.14.200
Bumps Security Patch Level to January 2022 (2022-01).
Upstream kernel modules to currently-available Samsung stock sources.
Updated Magisk to v24.1, with full support for Zygisk.
Support and fixes for Android 12-based ROMs and GSIs.
Finally, enabled support for COMPAT_VDSO again after months of tweaking. Improves performance for 64-bit compatibility for 32-bit processes.
Move to 500Hz interrupts for observable improvements to device performance.
For-performance tweaks and backports from custom kernels for the POCO X3 and the Galaxy M21.
Improvements and Fixes
Updates to devfreq_boost, should be more stable and battery-friendly now.
Updates to Pressure Sensitive Indicator (PSI) support.
Improvements to schedutil. Should fix device frequency scaling, which on 11.3 was staying on the lowest.
Re-enable Samsung's "AI"-based frequency management, Kernel perspective AI based Resource Control (KAIR).
Changes to the Mali GPU driver, which should improve performance as well as battery life.
Changes to TCP, including improvements for bbr.
Improvements to memory management and allocation.
Improvements to Samsung SQZR/RAM Plus support. Requires a supported ROM.
Improvements for the boosted fingerprint scan to further improve biometric speed.
Fixes for MTP support on AOSP for some edge-cases.
Various performance and stability improvements.
For who have been able to install Mint 11.5 while it was available: This is an intermediary release, fixing a fatal device crash when using specific apps. Notably, streaming services such as Netflix or Amazon Prime Video.
Releases are available from the OP!
TenSeventy7 said:
View attachment 5534167 Mint 11.6 is here! Attempt 2!
This release brings tons of performance, battery life, and security improvements over Mint 11.3.1, plus Magisk v24 with full support for Zygisk!
Main Changes
Upstream kernel to Linux 4.14.200
Bumps Security Patch Level to January 2022 (2022-01).
Upstream kernel modules to currently-available Samsung stock sources.
Updated Magisk to v24.1, with full support for Zygisk.
Support and fixes for Android 12-based ROMs and GSIs.
Finally, enabled support for COMPAT_VDSO again after months of tweaking. Improves performance for 64-bit compatibility for 32-bit processes.
Move to 500Hz interrupts for observable improvements to device performance.
For-performance tweaks and backports from custom kernels for the POCO X3 and the Galaxy M21.
Improvements and Fixes
Updates to devfreq_boost, should be more stable and battery-friendly now.
Updates to Pressure Sensitive Indicator (PSI) support.
Improvements to schedutil. Should fix device frequency scaling, which on 11.3 was staying on the lowest.
Re-enable Samsung's "AI"-based frequency management, Kernel perspective AI based Resource Control (KAIR).
Changes to the Mali GPU driver, which should improve performance as well as battery life.
Changes to TCP, including improvements for bbr.
Improvements to memory management and allocation.
Improvements to Samsung SQZR/RAM Plus support. Requires a supported ROM.
Improvements for the boosted fingerprint scan to further improve biometric speed.
Fixes for MTP support on AOSP for some edge-cases.
Various performance and stability improvements.
For who have been able to install Mint 11.5 while it was available: This is an intermediary release, fixing a fatal device crash when using specific apps. Notably, streaming services such as Netflix or Amazon Prime Video.
Releases are available from the OP!
Click to expand...
Click to collapse
thanks for your hard work
Sorry if this is a dumb question! Can I install a TWRP from one of the other threads on this forum? They have Magisk included, so will there be conflicts between the TWRP magisk and the one in this kernel? Sorry if I'm being dumb.. thanks!
Is this TWRP OK?: https://forum.xda-developers.com/t/...-9-0-for-samsung-galaxy-a50s-sm-a507.4251671/
AntiCheatBot said:
Sorry if this is a dumb question! Can I install a TWRP from one of the other threads on this forum? They have Magisk included, so will there be conflicts between the TWRP magisk and the one in this kernel? Sorry if I'm being dumb.. thanks!
Is this TWRP OK?: https://forum.xda-developers.com/t/...-9-0-for-samsung-galaxy-a50s-sm-a507.4251671/
Click to expand...
Click to collapse
The version differences on Magisk may be a problem for the system/ROM (Mint 11.6 now comes with Magisk v24), but they shouldn't conflict with one another on the kernel and recovery side.
I do recommend using a non-patched recovery as Mint already comes with Magisk embedded into the kernel. :>
nvm
deleted
Hello sir, I am big fan of your kernel and i am using if for long time and it's very stable . But please make Android 12 supported kernel ( One Ui based) , In other words please upstream to 4.19.. or 5.1... etc .
I am waiting for your reply.
Will you update mint kernel to magisk 25.2 for samsung a50s sir ?
can u update mint 13 for a50s sar ?
Is there any way to patch Mint Kernel with other Magisk fork such as Magisk Delta, because it is the only root that works with TNG in Malaysia.
{
"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"
}
Hello, friend.
Inspired by @wrongway213's original custom kernel for Pixel 4/XL, I decided to make my own project starting with the PIxel 4a 4G, and then wanted to expand the support to the Pixel 4a 5G. The naming is a tribute to both his ideas and Mr. Robot. fsociety tribute's goal is to give the device a set of useful features while ensuring its stability for a daily life usage. Those features and changes are pulled from different places like Sultan kernel, Arter97 kernel, Kirisakura and many more.
Features
General features
Built with Google Clang version 14.0.2 + LLD linker
Full -O3 build with chipset's flags included (thanks to @eng.stk and @Sultanxda)
AnyKernel3 powered installation to stay OTA and flashers (EXKM, FKM...) friendly
ARM64 architecture optimization and performance patches
Merged security and code fixes from Google and Qualcomm - CAF
Filesystem (ext4/f2fs) optimizations
Scheduler code improvements for better CPU tasks assigning
Disabled several debugging cruft
Memory related features
Merge zRAM and zRAM's compression algorithm code updates
Increase zRAM's disksize to 4GB (from the stock 2GB). Apps can be easily memory intensive nowadays...
Swap 1 page at a time instead of the default's 8, so that it may help in case "the device is under extreme memory pressure"
(source: https://source.android.com/devices/tech/perf/low-ram)
Reduce memory and CPU time usage by avoiding dynamic memory allocations in different kernel components (thanks to @arter97 and @Sultanxda)
Network related features
Set BBR as the default TCP network congestion control and switch to fq_codel queue discipline
(this combination improves network speed and reliability - thanks to @kdrag0n)
Enable support for TTL spoofing
Update Wireguard to its latest release
Power-saving related features
Some of the main kernel parts (such as the audio drivers and the WLAN driver's delayed work/tasks) now use power-efficient workqueues (thanks to @Freak07)
Display "power-saving tweaks" merged-in (from Proton kernel)
Reduce the GPU idle timeout set to 64 ms and implement GPU power-saving changes from Sultan kernel
battery: Tweak QG SOC to be more linear/monotonic (from Proton kernel)
That fixes the stock kernel's unlinear battery level curve, especially between 100% and 90%. The device will need a few charge-discharge cycles to take it into consideration
Performance related features
Faster system call filtering using BPF JIT (from Proton kernel)
Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)
fuse: give wakeup hints to scheduler to speed up compress/decompress in internal storage (from Qualcomm,
found in P6's Kirisakura kernel)
Disable the GPU memory usage tracing (which was enabled for debugging purposes)
Return before thermal trip evaluates (it is a workaround for the lag occurring when the device is low on battery and automatically switches to battery saving mode)
Other under the hood changes
Extra features
KCAL Color Control support (from ElementalX/Cleanslate - thanks to @savoca, @tbalden, and @flar2)
Haptic Feedback level Control with Fingerprint Haptic Feedback Control support from blu_spark kernel (thanks to @eng.stk)
Boeffla Wakelock Blocker (to use with caution, and only if it is necessary)
Download & Links
#1.57 ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel4a-5g/fsociety-tribute-stable%231.57.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/redbull/raw/a12-rebase/fkm/bramble/fkm.json
Support: Telegram group
Donations: PayPal
Credits go to
LineageOS and GrapheneOS for providing their initial source drops
@wrongway213 for inspiring me to achieve this project and his contributions (especially this thread template)
@eng.stk for blu_spark kernel, for his contributions and his personal pieces of advice
@tbalden for Cleanslate kernel, KCAL support, providing the building script and his contributions
@Freak07 for his guidance in solving my first kernel compiling issues and for his amazing contributions
@kdrag0n for Proton kernel and his innovative contributions
@Sultanxda for Sultan kernel and his outstanding contributions
@arter97 for Arter97 kernel and his efficient contributions
@osm0sis for AnyKernel3 and his contributions
@flar2 for ElementalX, KCAL support and his contributions
@nathanchance for his compilation guides and repos
Thanks to
@Anonshe, @redsmith, @badaas and all my Telegram's group members for being the awesome testers they are
@lacia-chan and @JoshuaDoes for their technical support and the discussions we had together
Every person that submitted a donation, including Shane that gave me his financial contribution which pushed me to work on redbull
XDA:DevDB Information
fsociety tribute for Pixel 4a 5G, Kernel for the Google Pixel 4a 5G
Contributors
momojuro
Source code: Github repository
Kernel Special Features: KCAL, Vibration Control, Wireguard
Version Information
Status: Stable
Current Stable Version: 1.57
Stable Release Date: 2022-06-12
Created 2022-02-22
Last Updated 2022-06-12
Reserved #1
Hey nice kernel! I'm planning on using this in a custom rom(lighthouse sailboat) i plan on building and maintaining for the 4a5G. Is this ready to be built with roms or does it need any modifications? If unsure, i'll just test and see myself.
xxseva44 said:
Hey nice kernel! I'm planning on using this in a custom rom(lighthouse sailboat) i plan on building and maintaining for the 4a5G. Is this ready to be built with roms or does it need any modifications? If unsure, i'll just test and see myself.
Click to expand...
Click to collapse
Hi,
I appreciate your support! It is indeed ready to use, but feel free to contact me if you want to have the build script. I suggest you to fork the repository after the upcoming March build release (as I often force push during my testing phases)!
momojuro said:
Hi,
I appreciate your support! It is indeed ready to use, but feel free to contact me if you want to have the build script. I suggest you to fork the repository after the upcoming March build release (as I often force push during my testing phases)!
Click to expand...
Click to collapse
Ahaha no worries, the rom will be in testing for a while anyways. As for the build script, yea sure send it over!
xxseva44 said:
Ahaha no worries, the rom will be in testing for a while anyways. As for the build script, yea sure send it over!
Click to expand...
Click to collapse
You can contact me on Telegram! (username same as here)
Might be a stupid question, but can this be flashed without rooting?
Edikuun said:
Might be a stupid question, but can this be flashed without rooting?
Click to expand...
Click to collapse
Unfortunately, no.
I also want to mention that the next build is currently being tested on the Telegram group. It shall be released on XDA very soon!
Hello friends,
Here we are for a new update!
The project which started with the Pixel 4a 4G, then extended its support to the Pixel 4a 5G, Pixel 5 and Pixel 5a, has reached 2000+ downloads over 60+ countries, and it is a milestone I wouldn't have reached without your support! Thank you.
You're kindly asked to make sure you're using the stable v24.3 of Magisk before flashing fsociety tribute!
Changelog
fsociety tribute stable#1.43
- Full code rebase for better stability and address the previous reported issues on #1.00
- Android 12L - March 2022 security patch ready (thanks to @lacia-chan for providing the complementary merges)
- Merge the fix for the dirty pipe exploit (more info at: https://dirtypipe.cm4all.com/)
- Reduce the GPU idle timeout from 64ms to 58ms (stock is 80ms)
- Reset zRAM's disksize to stock's default
- Update the compiler from Clang 14.0.1 to Google's latest Clang 14.0.2
- Implement LRNG and enable it as default for better performance (more info at: https://www.phoronix.com/scan.php?page=news_item&px=LRNG-Random-2021-v41)
- Misc. under-the-hood changes
Download & Links
Android 12/L ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel4a-5g/fsociety-tribute-stable%231.43.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/redbull/raw/a12-rebase/fkm/bramble/fkm.json
Telegram group: https://t.me/fsociety_tribute_redbull
Donations: https://paypal.me/momojuro
Thank you for making this. Eager to give it a try.
You accidentally posted the 1.43 update file for the pixel 5. We can't flash the update as it says wrong device.
I also manually edited the script to allow it to install on bramble instead of redfin and of course when I booted my device I could not control the touchscreen (aka a pixel 5 kernel installed on pixel 4a 5g).
I checked the files on Sourceforge and I cannot actually locate the real pixel 4a 5g 1.43 update. Those are mislabeled for the wrong device.
I'm surprised no one has said anything since you released this update.....
kratosjohn said:
You accidentally posted the 1.43 update file for the pixel 5. We can't flash the update as it says wrong device.
I also manually edited the script to allow it to install on bramble instead of redfin and of course when I booted my device I could not control the touchscreen (aka a pixel 5 kernel installed on pixel 4a 5g).
I checked the files on Sourceforge and I cannot actually locate the real pixel 4a 5g 1.43 update. Those are mislabeled for the wrong device.
I'm surprised no one has said anything since you released this update.....
Click to expand...
Click to collapse
well someone did mention in the telegram group. But yes, it is as you wrote.
Hello everyone!
I hope you're all doing well. First of all, thank you for your support as always. I would also like to apologize for the sudden communication silence which wasn't planned. Sometimes life gets in the way, and you've got to make choices.
I fortunately found a part-time job and the first weeks were mentally and physically draining. If everything goes well, I will be able to buy a Pixel 5a soon in June, so that I may work again on the redbull/barbet kernel builds while also keeping my 4a 4G as my second device to maintain the original fsociety tribute project!
Excited to come back and exchange with the lots of you, but also address the reported issues.
Hello friends,
Let's finally get back to business! I would like to thank each one of you for your patience, and all my Telegram testers for their feedback and support throughout the past weeks testing phase.
Note: Even though the kernel works with Android 13, I will not provide any support until it is officially released.
Changelog
fsociety tribute stable#1.57
Full code rebase to make the updating process easier and address the reported issues from the previous releases (such as the momentary display rendering lags)
Android 12L - June 2022 security patch ready with Android 13 security and code fixes merged-in
Merged-in Qualcomm's 4.19 repo latest code and scheduler improvements
Updated Wireguard to its latest version's changes
Removed the support of the following features for stability purposes:
Haptic Feedback level Control with Fingerprint Haptic Feedback Control (Vibration control is still supported however)
Boeffla Wakelock Blocker
Download & Links
Android 12/L ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel4a-5g/fsociety-tribute-stable#1.57.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/redbull/raw/a12-rebase/fkm/bramble/fkm.json
Telegram group: https://t.me/fsociety_tribute_redbull
Donations: https://paypal.me/momojuro
momojuro said:
Hello friends,
Let's finally get back to business! I would like to thank each one of you for your patience, and all my Telegram testers for their feedback and support throughout the past weeks testing phase.
Note: Even though the kernel works with Android 13, I will not provide any support until it is officially released.
Changelog
fsociety tribute stable#1.57
Full code rebase to make the updating process easier and address the reported issues from the previous releases (such as the momentary display rendering lags)
Android 12L - June 2022 security patch ready with Android 13 security and code fixes merged-in
Merged-in Qualcomm's 4.19 repo latest code and scheduler improvements
Updated Wireguard to its latest version's changes
Removed the support of the following features for stability purposes:
Haptic Feedback level Control with Fingerprint Haptic Feedback Control (Vibration control is still supported however)
Boeffla Wakelock Blocker
Download & Links
Android 12/L ZIP download: https://sourceforge.net/projects/fsociety-tribute/files/pixel4a-5g/fsociety-tribute-stable#1.57.zip/download
Android 12/L Franco Kernel Manager custom json: https://github.com/fsociety-tribute/redbull/raw/a12-rebase/fkm/bramble/fkm.json
Telegram group: https://t.me/fsociety_tribute_redbull
Donations: https://paypal.me/momojuro
Click to expand...
Click to collapse
Thank you Momojuro, happy to have you back, and really appreciate your efforts.
I just flashed this and am excited to see how it works. The stock kernel leaves a lot to be desired.
Hi ! How install it on root devices ? And the adaptative charging work with kernel custom ?
Thanks
Could someone please advise if this Kernel will work with Lineage OS 19.1?
If so, do I need to flash it in Fastboot mode: Fastboot boot 'Kernel Image' or from Recovery > Apply Update > ADB Push.
Thank you!
brickwall99 said:
Could someone please advise if this Kernel will work with Lineage OS 19.1?
If so, do I need to flash it in Fastboot mode: Fastboot boot 'Kernel Image' or from Recovery > Apply Update > ADB Push.
Thank you!
Click to expand...
Click to collapse
Why don't you just ask someone to read the OP to you?
Try starting there before asking questions answered in the OP.