Proton Kernel
Performance-oriented kernel
Proton Kernel is a minimal kernel focused on improving overall UX with performance and battery tuning.
Usage with my ProtonAOSP ROM is recommended to get the most out of your phone. The ROM does not include Proton Kernel, so you will need to flash it yourself. The kernel alone will work just as well on stock, but you will not get the benefits of the ROM. More tightly coupled features may be added in the future.
Installation
This kernel is provided as a bootable flasher image. It is not a boot image for flashing into the boot partition. Boot the image with "fastboot boot ProtonKernel-pixel5-VERSION.img" to flash it. The image is specially packed with a custom flasher that is fast and easy to use, so flashing it into the boot partition directly will not work.
All versions of all ROMs are supported, as well as Magisk if you wish to use it. Magisk will be preserved after flashing if you already have it installed. If not, you can install Magisk by patching your boot image before flashing the kernel.
DO NOT FLASH THE IMAGE DIRECTLY TO THE BOOT PARTITION! It will not work, no matter what you flash it with — fastboot, kernel managers, etc.
Features
• Advanced CPU tuning specifically for the Snapdragon 765G to improve performance and reduce jitter
• Scheduler ramp/decay tuning for faster response to quick actions
• Display power-saving tweaks (mostly Pixel 5 only)
• Near-instant display wakeup (Pixel 5 only)
• Reduced touch latency and motion jitter (at the cost of losing Deep Press)
• ThinLTO optimizations for performance
• TCP ECN, BBR congestion control, and fq_codel network scheduler for faster and more reliable networking
• 80 MiB of extra RAM unlocked for apps to use
• More linear and consistent battery percentage curve
• Custom fast & easy kernel flasher with support for Magisk and all ROMs
• Minimal debugging for better security, performance, and reduced size
• Sultan's Simple Low Memory Killer to improve memory utilization
• Tuning for F2FS garbage collection, low-level atomic operations, and more
• System call filters compiled to machine code for 66% faster filtering
• Reduced CPU usage when using cellular data (for testing with 5G mmWave networks)
• Compiled with the latest Proton Clang 13 toolchain
• zRAM disabled to reduce CPU waste
• WireGuard VPN acceleration
• Support for power user tasks: USB modem-like devices (e.g. RFID tools), custom virtual USB Ethernet networking, isolated Linux containers
• SafetyNet basic attestation passing without Magisk
Click to expand...
Click to collapse
Downloads
Downloads and changelogs can be found on GitHub. The topmost release is the latest.
Make sure you download a flasher image, not source code! Source code cannot be flashed.
Join the Telegram group for support and extras
Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee
Source code
Hey, thank you for Bramble's first custom kernel! How do I install Magisk? Can your image from Github be patched by Magiskmanager as with normal boot.img's? Thx
I installed this using EX Manager but it caused a boot freeze.
How do you recommend installing it to not cause any issues please?
Nevermind, got it working with fastboot.
Are the 4a 5G and the P5 using the same kernels? Just noticed EXKM is asking me to install Elemental P5
Voodoojonny said:
Hey, thank you for Bramble's first custom kernel! How do I install Magisk? Can your image from Github be patched by Magiskmanager as with normal boot.img's? Thx
Click to expand...
Click to collapse
No, I've just updated the installation section to add more details about Magisk.
GoldElocks said:
Are the 4a 5G and the P5 using the same kernels? Just noticed EXKM is asking me to install Elemental P5
Click to expand...
Click to collapse
Yes, they are basically the same device save for the display refresh rate. The Pixel 4a is completely different.
Great work, thanks for this.
Does this mean the redbull ProtonAOSP ROM would work on the 4a 5G too? If so, I'm looking forward to that. (https://github.com/ProtonAOSP/android_device_google_redbull)
andrew207 said:
Great work, thanks for this.
Does this mean the redbull ProtonAOSP ROM would work on the 4a 5G too? If so, I'm looking forward to that. (https://github.com/ProtonAOSP/android_device_google_redbull)
Click to expand...
Click to collapse
The redfin build will not work, ROM builds for the two devices are slightly different. I haven't bothered to support bramble in my ROM because unlike kernel builds which are small, ROMs take a long time to build and incur bandwidth costs on upload.
Running super smooth, thanks for sharing. Retained root and still passing safetynet, no issues so far. Will have to give it some more time to see how battery drain goes.
Was really hoping for a Proton Rom too but completely understand why it's not feasible. More than happy with stock rooted and a great custom kernel for now.
Thank you [emoji3526]...just installed...
Note to self: you know you've eaten too much when running script you see waiting for device scratching your head ...oh wait hmm yup phone is still on not in fastboot mode ..lol [emoji23]
thanks a ton for this kernel.
this made basic integrity check pass. then installed hardware off module for magisk to get ctsprofile to pass. now i think i can google pay
Flashed it fine following the directions in the OP with no issues. Will report back with how it functions after a few days of use. So far so good. Thank you.
megazig said:
thanks a ton for this kernel.
this made basic integrity check pass. then installed hardware off module for magisk to get ctsprofile to pass. now i think i can google pay
Click to expand...
Click to collapse
Hardware off module? I can't seem to find that anywhere. Is this kernel saying its a different phone to get safety net to pass?
letrain02 said:
Hardware off module? I can't seem to find that anywhere. Is this kernel saying its a different phone to get safety net to pass?
Click to expand...
Click to collapse
I'm not sure what he means but I think in magisk modules, there is a way to change the fingerprint of the device. CTS something. I'm gonna look for it later. I think most people change it to the 3a and then safetynet is good.
[MODULE] [DEPRECATED] MagiskHide Props Config - SafetyNet, prop edits, and more - v6.1.2
MagiskHide Props Config v6.1.2 Note: This project is dead, and has been for some time. I have not been involved in the Android modding scene for some time and I no longer have the energy to take it up again. If anyone feels like taking over...
forum.xda-developers.com
You need Busybox for Android NDK .
{
"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"
}
GoldElocks said:
Running super smooth, thanks for sharing. Retained root and still passing safetynet, no issues so far. Will have to give it some more time to see how battery drain goes.
Was really hoping for a Proton Rom too but completely understand why it's not feasible. More than happy with stock rooted and a great custom kernel for now.
Click to expand...
Click to collapse
Did you have to change build prop, etc to pass safety net? Or just this kerbal helped that? I remember on my 2xl that a custom kernel was easier way to pass safety net until magisk got it all sorted.
letrain02 said:
Did you have to change build prop, etc to pass safety net? Or just this kerbal helped that? I remember on my 2xl that a custom kernel was easier way to pass safety net until magisk got it all sorted.
Click to expand...
Click to collapse
I used magisk hide, rename magisk manager, and magisk hide props config and changed to pixel 3a XL.
There's a detailed guide on how to do the props config here if you're not familiar
[GUIDE] Unlock/Root/Safetynet for Pixel 4a
With the pixel 4a finally arriving for some (like me), figured I'd make a quick guide Note that unlocking your bootloader breaks safetynet. There's a workaround in this guide but no guarantee that it won't get patched out in the future. Also...
forum.xda-developers.com
I can also confirm Proton Kernel running very smoothly after flashing it several days ago.
With regards to the previous question, I had used props to modify my device before installing the kernel so I can't say whether the kernel alone will help you pass the SafetyNet checks. In any case, my device is passing both checks just fine as well.
Thank you for the hard work, @kdrag0n. Looking forward to future updates and whatever else you might have for us down the line.
Proton Kernel 1.1 is now available with security updates, improved performance tuning, extra RAM, and more.
This update is required for the kernel to work properly on December ROMs, including the new version of ProtonAOSP. It will not boot on older ROMs.
Usage with my ProtonAOSP ROM is recommended to get the most out of your phone now that it is available for the Pixel 4a 5G. The ROM does not include Proton Kernel, so you will need to flash it yourself. The kernel alone will work just as well on stock, but you will not get the benefits of the ROM. More tightly coupled features may be added in the future.
Changelog:
• Updated to stock December kernel base (will not boot on older ROMs)
• Improved CPU frequency and energy model tuning for performance
• Further reduced display power usage for both Pixel 5 and 4a 5G
• Enabled TCP ECN for better handling of poor networks (similar to iOS 11+)
• Unlocked 5 MiB of extra RAM for apps
• Added support for full-blown isolated Linux containers
• Added support for USB modem-like devices (e.g. RFID tools)
• Reduced debugging overhead
• Fixed fastbootd flashing
Click to expand...
Click to collapse
Download
Donate to support development: recurring donation to keep the project alive in the long term or buy me a coffee
This kernel's battery life is amazing. I'm getting ~0.57%/hr. isle drain and ~5.4%/hr. active drain after several days of normal usage. Smooth as can be also. Thank you again for the amazing work, @kdrag0n.
how can i magisk root on stock rom and this kernel any advice appriciated
caballon said:
how can i magisk root on stock rom and this kernel any advice appriciated
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/guide-root-pixel-5-xl-android-11-r.4187609/
That will tell you how to root the phone, then install a kernel.
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"
}
Kernel features:
Powered by Ubuntu 18.04.3 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
Build with custom toolchain blu_gcc-9.2.0 (cortex-a73.cortex-a53 targeted, build with latest Crosstool-NG from GCC-9.2.0 snapshot)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998
Systemless installer (doesn't touch system partition, OTA friendly - Nougat only), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes
Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)
No OC, use 300HZ kernel timer frequency
msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers
Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
Removed verify and doesn't force encryption, patched SafetyNet flags to pass CTS
Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)
Disabled hotplug, also on low battery levels (CTL and BCL)
Optimized crypto routines
Swap and adaptive LMK off by default, 60 apps on background by default
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver (goes to idle @ 180MHz)
adrenoboost enabled by default at medium level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Battery/Notification LED control
FS fsync toggle on/off
Wakelock blockers available
zx2c4's wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIPExtras download location(No mirrors please)
Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark.
If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
About bugs and troubleshoots: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
If you're using custom ROMs (including OOS based ones) or Open Betas you're on your own. I'm only interested on debugging stuff in stock and stable OOS.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
OnePlus 5T development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Adam K. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for OP5/5T unified, Kernel for the OnePlus 5T
Contributors
eng.stk
Source Code: https://github.com/engstk/op5
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r184 unified pie
Stable Release Date: 2019-10-19
Current Beta Version: r180 unified pie
Beta Release Date: 2019-08-24
Created 2017-11-17
Last Updated 2019-10-18
blu_spark r51 unified
All right crew!
First kernel for the 5T is up, fastlane style :highfive:
This is an initial build, tested only on OP5. It is a baseline for 5/5t unified installer (similar of 3/3T).
For now, seems like fw updates from OOS 4.7 are needed for some stuff, so it is only working 95% on the OP5 OOS 4.5.* (FPR doesn't work).
Don't flash this on OP5 for now. On 5T all should be working just fine.
So, keep in mind that it's tested on the OP5, on the 5T it's not because I don't have the device just yet.
Backup and take all the precautions you can think of, if you're cat get's on fire you're on your own
blu_spark_r51-oos_op5-op5t_79c5b56.zip
build: use newest and improved blu_naro-7.2, build from developer snapshot Linaro GCC 7.2-2017.10, with updated components and improvements/fixes
Synchronize codes for OxygenOS 4.7.1
full rebase and features bringup from OP5
drivers: misc: fix a couple build errors
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
Meaning, if using anything besides stock and stable OOS don't bother posting about it.
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
bronderb said:
Wow, that was quick!
Click to expand...
Click to collapse
had it running since yesterday :silly:
Phone isn't even released to public yet.
eng.stk is a legend.
From my OP3T
(No mirrors allowed)
Click to expand...
Click to collapse
Are you aware that you violate the terms of the GPL with this?
Rosa Elefant said:
Are you aware that you violate the terms of the GPL with this?
Click to expand...
Click to collapse
For security purposes the place for downloads is this xda repo for the compiled stuff.
Source code is available for anyone to use and build for themselves.
Don't see any issue with that, this is only a cortesy.
The issue is that the GPL enforces you to allow anyone to distribute any derivative works - including "the compiled stuff" - in any way they want. That also means mirrors. So no, "no mirrors allowed" violates the GPL. You might want to replace that by "please don't mirror" or something.
(I know this is nitpicking in a way. I was just wondering.)
Rosa Elefant said:
The issue is that the GPL enforces you to allow anyone to distribute any derivative works - including "the compiled stuff" - in any way they want. That also means mirrors. So no, "no mirrors allowed" violates the GPL. You might want to replace that by "please don't mirror" or something.
(I know this is nitpicking in a way. I was just wondering.)
Click to expand...
Click to collapse
I'm not enforcing anything, this is valid for xda links posted, as a cortesy and for security. Word play it's what it is, I can change if it suits you better.
Other than that you can burn CDs with it and send to your friends if you like
WHAT!
You're a Living Legend @eng.stk
Rosa Elefant said:
Are you aware that you violate the terms of the GPL with this?
Click to expand...
Click to collapse
Rules are made to be broken. Not every rule needs to be enforced when it wont matter and harms nobody. Like he said its a courtesy thing stop doing the moderation for XDA they do a good job themselves. Keep OT out as much as possible. Some people would rather see this thread get support instead of strikes from "rules"
You know, you could just send me a PM instead of further distracting this topic. But FWIW, a legally binding licensing term is not a "rule".
eng.stk said:
Advanced filesystem: If you want to use f2fs, do the following (backup your data to external source before attempt this, it will erase all your sdcard data)
Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to f2fs
Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to f2fs
Reboot and profit
To be back on ext4, just do the same but choose ext4 instead
Click to expand...
Click to collapse
Does recommended or not if i also partition /system as f2fs?
exodius48 said:
Does recommended or not if i also partition /system as f2fs?
Click to expand...
Click to collapse
No, you can only use it on data.
I prefer ext4 nowadays.
Sent from my blu_spark'd OP5
eng.stk said:
No, you can only use it on data.
I prefer ext4 nowadays.
Click to expand...
Click to collapse
Why's that..? You are the reason I was using F2FS due to your regular updates on kernel / recovery. Faced bad exp on it?
arvindgr said:
Why's that..? You are the reason I was using F2FS due to your regular updates on kernel / recovery. Faced bad exp on it?
Click to expand...
Click to collapse
Some instability on latest times and on fast UFS devices there's no much performance difference.
Also I don't upstream f2fs on 4.4 because of FBE and crypto stuff, prefer to leave as it is and just add security patches when applicable.
Most likely because nowadays Memory is so fast (especially with UFS2.1) that it doesn't really matters and isn't worth the trouble.
I tested it back on my days with the OPO and Nexus 6 and never saw any real benefit for most parts and they haven't have had UFS2.1.
So don't expect too much of a performance gain with F2FS.
EXT is a mature system, more mature than F2FS. And sometime safety counts more than fractions of seconds of starting speed for a bigger application.
Are there wake-up gesture options in the Kernel?
xocomaox said:
Are there wake-up gesture options in the Kernel?
Click to expand...
Click to collapse
Gestures are the same as stock.
Thanks for coming man I just order my 5t
dabug123 said:
Thanks for coming man I just order my 5t
Click to expand...
Click to collapse
Liquid remix for 5t? Haha just joking nice that you're getting one too
{
"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"
}
Introduction
NOTE: This kernel is currently not being updated. Please use another more up to date one if possible.
Hello everyone, this is my personal kernel for the Pixel (sailfish) and Pixel XL (marlin). While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
Stable kernel rules work best (only add small things when possible).
Security and stability are paramount. Vulnerabilities are patched as soon as they are disclosed.
Features will be added only as needed (I have a list of things in the FAQ I will NOT add, even if requested).
Hopefully you enjoy
Important thread information!
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Keep things civil, I do NOT tolerate flaming of any kind.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the October security update (android-9.0.0_r0.21)
Up to date with the latest stable Linux version (3.18.125)
Latest binder and sdcardfs commits from kernel/common
Several subsystems converted to use power efficient workqueues
Mainline improvements to CFQ
Kernel hardening from CopperheadOS
Westwood as the default congestion algorithm
Sultanxda's wake boost driver
The following user facing features:
Backlight dimmer
Color control
HBM
Maple I/O scheduler
Sound control
USB fast charging
Wake gestures
Wakelock blocking
Vibration control
Latest WireGuard snapshot (0.0.20181018)
Built with a self compiled Clang 7.0 toolchain with a local initialization sanitizer
Hides bootloader unlock from SafetyNet (can still fail through other means)
Available to flash with AnyKernel2 (thanks to @osm0sis) [zip will automatically detect when Magisk is installed and patch the kernel so reflashing Magisk becomes unnecessary]
Downloads
Primary: https://github.com/nathanchance/marlin/releases
NOTE: Although the kernel's name is Marlin, it is for both Marlin and Sailfish (fully unified).
Installation
NOTE: These sets of steps should work for both initial installations and upgrades. All sane kernels on this device are just replacing the kernel image and maybe adding some cmdline parameters, which this kernel won't care about. If there are ANY issues after flashing this kernel over another, be sure to flash the stock boot image for your ROM, TWRP + Magisk if you want them, then the kernel before reporting any issues.
Through TWRP:
See their instructions for further information, you can install the kernel with TWRP temporarily booted or permanently installed.
Boot into TWRP.
Flash the zip (flashing Magisk is not necessary if you already have it installed).
Reboot and enjoy!
Through FK Kernel Manager (requires root):
Download the zip (and optionally, the md5) from my server
Tap on "Manual flasher"
Navigate to Download
Tap on the zip, select Auto-flash, and choose one of the options.
Reboot and enjoy!
NOTE: On custom ROMs, you must do a reboot between installing the ROM and installing the kernel/Magisk on a clean flash otherwise you may end up in a bootloop...
Changelog
Latest release post!
Commits
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add the following:
Overclocking or underclocking of CPU or GPU
Undervolting
Any governors other than sched/schedutil
Any schedulers other than cfq
Anything that compromises performance
1.3 Q: How do I control the kernel?
1.3 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience.
To control the user visible features of the kernel listed above, I recommend using either @franciscofranco's FK Kernel Manager (which has Flash Kernel support for downloading and automatically flashing the latest kernel zip along with some nice, user friendly ways for tuning the kernel) or @flar2's EX Kernel Manager.
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
The various other developers for their patches
@osm0sis for AnyKernel2
@franciscofranco for adding Flash Kernel support to FK Kernel Manager
@phantom146 for the thread banner
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
8.1.0/P Preview 2-5: https://github.com/nathanchance/marlin/tree/oreo-m4
9.0.0: https://github.com/nathanchance/marlin/tree/pie
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.
Reserved
You may notice the feature list is a little bare. I wanted to get a nice solid base formed first then add features in as requested. Please read the thread before requesting a feature; if it is already present, just press thanks.
In theory, this should work on P as I have merged the source in. I have only tested on Oreo though.
Feel free to join Telegram for beta builds and hanging out https://t.me/joinchat/C1UAJ0OCAoJtDRo-hhkjhw
nathanchance said:
You may notice the feature list is a little bare. I wanted to get a nice solid base formed first then add features in as requested. Please read the thread before requesting a feature; if it is already present, just press thanks.
In theory, this should work on P as I have merged the source in. I have only tested on Oreo though.
Feel free to join Telegram for beta builds and hanging out https://t.me/joinchat/C1UAJ0OCAoJtDRo-hhkjhw
Click to expand...
Click to collapse
Awesome! Thank you Nathan...
Add KCAL Color Control and I'm in. All I've wanted for so long is a stock like stable kernel with KCAL so I can tweak the display!
I ran your flash kernel the short time it was available for my old Nexus 6, happy to see this kernel here.
Thank you for bringing this to marlin!!
Chimaira33 said:
Add KCAL Color Control and I'm in. All I've wanted for so long is a stock like stable kernel with KCAL so I can tweak the display!
I ran your flash kernel the short time it was available for my old Nexus 6, happy to see this kernel here.
Click to expand...
Click to collapse
Sure, I can add that always happy to see returning users!
nathanchance said:
Sure, I can add that always happy to see returning users!
Click to expand...
Click to collapse
Was looking at your taimen post and was thinking to myself I wish we had this on sailfish/Marlin. Can you add schedutil?
I tried another kernel on Android P preview 2 and had some problems. You noted that this kernel includes the source links for preview 2. The other I think only had preview 1. Would there be a difference?
shagbag913 said:
Was looking at your taimen post and was thinking to myself I wish we had this on sailfish/Marlin. Can you add schedutil?
Click to expand...
Click to collapse
I plan to look into EAS 1.5 tomorrow or this weekend I will look at adding features tonight.
Gordietm said:
I tried another kernel on Android P preview 2 and had some problems. You noted that this kernel includes the source links for preview 2. The other I think only had preview 1. Would there be a difference?
Click to expand...
Click to collapse
Yes although I don't know how much offhand.
@nathanchance I haven't had a change to flash this yet, I really enjoyed this from my 6P days. Can you tell me if HBM and backlight dimmer are available? If not, could I request them? Any wakelock blocks available? Possibly fingerprint scanner boost--NSFW Kernel has this.
Thanks, I was really missing Flash Kernel
nathanchance said:
I plan to look into EAS 1.5 tomorrow or this weekend I will look at adding features tonight.
Click to expand...
Click to collapse
That would be great, thank you for your work.
Akomack said:
@nathanchance I haven't had a change to flash this yet, I really enjoyed this from my 6P days. Can you tell me if HBM and backlight dimmer are available? If not, could I request them? Any wakelock blocks available? Possibly fingerprint scanner boost--NSFW Kernel has this.
Thanks, I was really missing Flash Kernel
Click to expand...
Click to collapse
I'll add HBM, backlight dimmer, and wakelock blocking. I'll take a look at fingerprint scanner boosting; however, the few implementations I have seen floating around lately seem like they don't work well.
shagbag913 said:
That would be great, thank you for your work.
Click to expand...
Click to collapse
Something occurred to me, the stock power HAL on this device doesn't support schedutil. Custom ROMs can add support easily so I'll still add it but I won't set it as default.
nathanchance said:
Something occurred to me, the stock power HAL on this device doesn't support schedutil. Custom ROMs can add support easily so I'll still add it but I won't set it as default.
Click to expand...
Click to collapse
Sounds good
nathanchance said:
I wanted to get a nice solid base formed first then add features in as requested.
Click to expand...
Click to collapse
I would love double tap to wake, or am I just missing it? Really looking forward to trying this out, thanks
Nevermindthelabel said:
I would love double tap to wake, or am I just missing it? Really looking forward to trying this out, thanks
Click to expand...
Click to collapse
It will be in the next build, I'm about to seed out a beta if you want to grab it and test that it works fine.
nathanchance said:
It will be in the next build, I'm about to seed out a beta if you want to grab it and test that it works fine.
Click to expand...
Click to collapse
Running the Beta right now. So far no issues. Thanks for adding Kcal! I wanted to ask about the wq_power_savings option. What the heck does that do?
Chimaira33 said:
Running the Beta right now. So far no issues. Thanks for adding Kcal! I wanted to ask about the wq_power_savings option. What the heck does that do?
Click to expand...
Click to collapse
Here is a nice technical article from LWN: https://lwn.net/Articles/731052/
The tl;dr is these tasks get placed whenever is optimal rather than on a specific CPU core.
Sent from my Pixel 2 XL using XDA Labs
Hey thanks man. I've searched on my own before but came up with nothing.
Chimaira33 said:
Hey thanks man. I've searched on my own before but came up with nothing.
Click to expand...
Click to collapse
I'm always happy to answer technical questions
Sent from my Pixel 2 XL using XDA Labs
{
"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 Note 8 (2017 Phone)
Contributors
Live0verfl0w
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!
I've tried it and for some reason left top corner of the screen never responded to touch. Ex: I couldn't turn on wifi from quick toggles n back arrow in some apps as I couldn't make a touch on left corner...
I didn't collect logs as I immediately reverted back to old kernel.
arjun.reddy said:
I've tried it and for some reason left top corner of the screen never responded to touch. Ex: I couldn't turn on wifi from quick toggles n back arrow in some apps as I couldn't make a touch on left corner...
I didn't collect logs as I immediately reverted back to old kernel.
Click to expand...
Click to collapse
Could you tell me which rom and device please?
Me or any of my testers didnt find this issue.
Live0verfl0w said:
Could you tell me which rom and device please?
Me or any of my testers didnt find this issue.
Click to expand...
Click to collapse
I am on Resurrection Remix Q Using NOTE 8 (SM-950F). I will flash the kernel again n let you know if it's replicable.
Finally new kernel for my note 8
I'll give it a try
and post feedback after testing for few days
I have small question
which is better... EAS or HMP?
Thanks
Alastal said:
Finally new kernel for my note 8
I'll give it a try
and post feedback after testing for few days
I have small question
which is better... EAS or HMP?
Thanks
Click to expand...
Click to collapse
As a dev i really cant compare, but u can try it and decide for urself:good:
I have this weird bug with the earpiece still not working on the new version of the Kernel
I am using the Official HavocOS rom on my Galaxy Note 8
Alessandro2003 said:
I have this weird bug with the earpiece still not working on the new version of the Kernel
I am using the Official HavocOS rom on my Galaxy Note 8
Click to expand...
Click to collapse
Its a ROM issue, which has been already identified by the rom dev, u can join their telegram group to know this
New kernel build is up guys! =)
Currently running the newest build, runs great, thanks for the work. 6h SOT and still 50% battery. Just wondering, any reason hotplug is disabled? Does it really impact performance that bad? Or is it just samsungs implementation? Tried to build a custom version using your source (with a big core oc and an undervolt), cant seem to for some reason. Once again, thanks for the great work. Any way to buy you a Coffee?
Hotfix build is uploaded, sorry for the inconveniences caused by the bootloop issues =)
Excudent said:
Currently running the newest build, runs great, thanks for the work. 6h SOT and still 50% battery. Just wondering, any reason hotplug is disabled? Does it really impact performance that bad? Or is it just samsungs implementation? Tried to build a custom version using your source (with a big core oc and an undervolt), cant seem to for some reason. Once again, thanks for the great work. Any way to buy you a Coffee?
Click to expand...
Click to collapse
Hi mate!
1. hotplug is disabled cuz in my tests i found em to degrade performance and doesnt make much of a difference battery life wise, hence disabled and yes its a samsung implementation.
2. For OC u can pick ace2nutzers a2n kernel commits, i have tested em and it works
3. as for the undervolt, i havent tried em and probably wont be =)
4. Thanks very much, i dont need coffee or beers and stuff, u can hit the thanks button =)
Thanks and regards,
Stay Safe!
I am using this kernel on android 10 oneui
after i flashed the kernel i had weird issue concerning samsung clear case
when i close the case the screen turn on and when i open the case the screen turns off!
it acts in the opposite manner!
N950N supported?
is there any way to change to enforcing?!
Excudent said:
Currently running the newest build, runs great, thanks for the work. 6h SOT and still 50% battery. Just wondering, any reason hotplug is disabled? Does it really impact performance that bad? Or is it just samsungs implementation? Tried to build a custom version using your source (with a big core oc and an undervolt), cant seem to for some reason. Once again, thanks for the great work. Any way to buy you a Coffee?
Click to expand...
Click to collapse
But how? Can you share your settings?
tbalden's
CleanSlate kernel
for Google Pixel 4a 5g
The User Experience Kernel leaning towards Stock Stability plus UX features.
Rock stable stock approach, performance smooth and issue free
"No-Root is a State of Mind"
{
"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"
}
As always tbalden is here to bring you authentic new features first in line, to Pixel 4a 5G.
No root elevation (magisk) needed for all functions and preference switches through CS Config App
Release Calendar
Version 1.7.5 - 11 of Feb 2021
Version 1.7.1 - 8 of Dec 2020
Version 1.0.0a1 - 18 of Nov 2020
Should work on official ROM bases November 2020 sec level.
Features:
- Flashlight Notification/Call blinking (see video below)
- Vibrating Notification Reminder (DETAILS)
- Notification In-Pocket Booster boost notifications vibrations while phone is in pocket
- Vibration Booster boost haptic feedback strength (closer to Pixel4/Pixel3 levels)
- K.AdAway adblocking built-in kernel only, All browsers, Apps web-ads, except YouTube / streaming / Facebook ads
- SafetyNet pass passes if using without Magisk/Rooting, flashing the boot img only, Google Pay should work
- Battery Saver cut back max CPU freqs, 3 levels + touch boost limiter options
- Sweep to Sleep gestures - highly customizable
- DoubleTap & LongTap & SwipeUp on corner area gestures - new way to pull down android Notification Area or screen off
- Sweep/Tap gesture to force close foreground app - DETAILS HERE
- Fingerprint gestures mapping set to Appswitch, Double tap sleep, easier Notif pull down, mappable Home
- KCAL Color Control (credit to @savoca)
- Blurred SystemUI tweak - restart system ui in Blurred mode from Companion app
- High Brightness Mode - slightly increase lumens in highest brightness level (panel's HBM)
- Always On Display dimmer - Lower the brightness for AOD screen in doze mode, when normal screen brightness is also low
- Backlight Dimmer - possibility to use lower panel brightness
- WireGuard VPN kernel support - needs root/magisk
- Face down screen off - put phone face down to turn screen off
- Kernel Log / Crash dump to internal storage/sdcard - no root/magisk needed, from Companion App use Kernel Log button
- CleanSlate Companion / Config - rootless app to configure
Facts:
- no root required, use /sdcard/uci_user.cfg file to configure 99% of the features without rooting. If you need tweak apps (e.g. EXKM / FK) you'll need rooting!
- built on top of kernel sources released by Google
- built with standard toolchain for stability and efficiency
- kept stable, no tweakings, just features
- stable and reliable, keeping close to stock except addition of Usability features
Feature demo
--
Sweep2Sleep, DoubleTap notif pull down
--
Flashlight notification
--
Foreground App Kill gesture
Requirements
- Unlocked Pixel 4a 5G, stock or with magisk root
- BACKUP: make sure you have a stock image downloaded (boot img) from Google (https://developers.google.com/android/images) before installing this!
Installation Guide
Firstly install CleanSlate configuration and CleanSlate companion apps on your phone (both found down below in Download section). Set them up initially.
- Non-rooted method: 0. download the non-rooted boot img
1. reboot to bootloader (adb reboot-bootloader)
2. temporary boot cleanslate_x.y.z_stock_20xx-xx-xx.img (fastboot boot cleanslate.......img)
3. if everything went fine, you can reboot to bootloader and flash the image: fastboot flash boot cleanslate.......img
4. reboot, enjoy
- Rooted method: 0. download the boot.img
1. install magisk
2. patch the provided boot image
3. use fastboot boot/flash boot to test and then fully flash it, then enjoy
- For SafetyNet, Adblocking, after flashing you might need to restart the phone after the first boot, otherwise it might not work.
- If using Companion App for notification / gesture etc features, there's a setting in the app to Switch off Proximity sensor while Screen is on. This will prevent the flickering, but Face down screen off feature won't work
Known bugs
- None, please tell
- please disable magisk modules before reporting issues, and please provide logs if possible
Download
Android 11
Non rooted, Android R image (bramble)
Pixel4a5g (bramble) boot image (2020.12.05) CS 1.7.5: https://www.androidfilehost.com/?fid=17248734326145733993
Flashable zip CS 1.7.5 for EXKM/FKM: https://www.androidfilehost.com/?fid=17248734326145734006
Pixel4a5g (bramble) boot image (2020.12.05) CS 1.7.1: https://www.androidfilehost.com/?fid=10763459528675599753[/B]
Flashable zip CS 1.7.1 for EXKM/FKM: https://www.androidfilehost.com/?fid=10763459528675599754
Config Applications
Companion App 3.2.7-- Donation premium on PlayStore:
https://play.google.com/store/apps/details?id=org.cleanslate.csservice
Configuration App 3.1.8 -- Donation premium on playstore:
- additional features in premium app: App Themes, Profiles, Profile Switch QuickTiles
https://play.google.com/store/apps/details?id=org.cleanslate.csconfig
Companion App 3.2.7 -- Normal free download:
https://www.androidfilehost.com/?fid=10763459528675593720
Configuration App 3.1.10 -- Normal free download:
https://www.androidfilehost.com/?fid=17248734326145727973
Donation:
If you appreciate this, don't forget to hit the Thanks button, Vote 5 stars on Thread, or consider to Donate. Donations here
Thank you!
Donators Hall of Fame
Much appreciation and many thanks go to...
@velimirchek
@MarcoG:
@guidogsbn
@The Great Dane
@Whiskey103
@purple patch
@panosmdma
@sttw1fa
@jelive
@beartiger
@st_voss
@bigruss
@deagleone
@DroidIt!
@8bitbang
@Will972
@smallKING81
@mick_soul
@p50kombi
@K4Y3
@ dieter
@michaelbsheldon
@dioooi
@ali nz
@bstiti
@Oddvin94
@norgan
@lol8888
@twinnfamous
@cameljockey1
@Cryptycat7
@Pasqui1978
@4ntagonist
@turbo jjjang
@munkyvirus
@knopie
Src: https://github.com/tbalden/android_kernel_msm_redfin/commits/cleanslate-wip
Special thanks to AnyKernel installer developer: osm0sis
To @flar2 for his original works
To @Freak07 for all his work on XDA and help
To @Captain_Throwback
Sharing policy:
As this is all GPL licensed kernel source, you can use it in your code, but don't forget about proper credit.
Contributors
tbalden
Source Code: https://github.com/tbalden/android_kernel_msm_redfin/commits/cleanslate-wip
Kernel Special Features: Sweep2Sleep, Tap gestures, Fingerprint double tap sleep, Color Control, Adblocking, SafetyNet
Version Information
Current Stable Version: 1.7.1
Reserved for changes
How to, and so
Is there a way to whitelist a site from adblocking?
Meowdib said:
Is there a way to whitelist a site from adblocking?
Click to expand...
Click to collapse
No, this is a system wide ad blocking, unlike on pc chrome where you can do it by site.
You can however switch it off it globally, restart the browser and check the site that is sensitive to ad blocking, and after done with it, reactivate the blocking.
Thank you for the kernel. Adblocking with no root is a dream
Just an observation ...
In dark mode the blue text for the installation instructions is hard as hell to read ..
Might consider switching to a different color ...
Hey dude, thank you for your kernel. Works like a charm. I'm testing different things but probably will settle on your kernel.
Hey, thank you for the kernel. Much appreciated.
Couple of questions:
With this kernel, I can use an VPN and actual system-wide adblock without rooting, am I right? If yes, that is solving many of VPN users problems.
Second question: I guess that this kernel is using some kind of host source to block ads. Could you add those host list? It is build to block Android ads and trackers specifically, fetched from AdGuard.
radogost said:
Hey, thank you for the kernel. Much appreciated.
Couple of questions:
With this kernel, I can use an VPN and actual system-wide adblock without rooting, am I right? If yes, that is solving many of VPN users problems.
Second question: I guess that this kernel is using some kind of host source to block ads. Could you add those host list? It is build to block Android ads and trackers specifically, fetched from AdGuard.
Click to expand...
Click to collapse
Hello and welcome,
1, wire guard app still needs root, I needed to correct the original post, that's the one exception of features that needs that. Adblocking indeed doesn't need it. But there are a lot of opportunities to use VPN without root, even wireguard can work in app only mode too without custom kernel.
2. Using Steve Blacks repo, that contains adaway, Steven Black curated and yoyo. I think it would overlap with your suggestion. https://github.com/StevenBlack
tbalden said:
Hello and welcome,
1, wire guard app still needs root, I needed to correct the original post, that's the one exception of features that needs that. Adblocking indeed doesn't need it. But there are a lot of opportunities to use VPN without root, even wireguard can work in app only mode too without custom kernel.
2. Using Steve Blacks repo, that contains adaway, Steven Black curated and yoyo. I think it would overlap with your suggestion. https://github.com/StevenBlack
Click to expand...
Click to collapse
Thank you for your reply, it's great.
Hi @tbalden,
Thank you for the work you've put into this kernel. I'm wondering if there's iptables support built-in, and if not, would it be possible to add it to a future release?
Thanks!
SavakSYN said:
Hi @tbalden,
Thank you for the work you've put into this kernel. I'm wondering if there's iptables support built-in, and if not, would it be possible to add it to a future release?
Thanks!
Click to expand...
Click to collapse
Iptables is the default on android and all kernels have it, so you can use it
This is the Bramble (4a5G) version, even though it says "redfin" in a lot of places?
Thanks!!
JeepFreak said:
This is the Bramble (4a5G) version, even though it says "redfin" in a lot of places?
Thanks!!
Click to expand...
Click to collapse
Yes. I'll check the posts later, but it is
I've always rooted my phone, but planning to not do it anymore. Came across this Kernel, and really like being able to block ads without root.
I wanted to ask about how Pixel android updates (monthly patches) would work. Would the Kernel boot img need to be flashed each time there's a new update?
suhelbrar said:
I've always rooted my phone, but planning to not do it anymore. Came across this Kernel, and really like being able to block ads without root.
I wanted to ask about how Pixel android updates (monthly patches) would work. Would the Kernel boot img need to be flashed each time there's a new update?
Click to expand...
Click to collapse
For that one needs to use the OTA firmware zip and sideload it, to update the day Google releases it. It should work fine over the kernel. That's the most straightforward when using custom kernel. That will get back you to stock kernel.
Then indeed, there's a need to flash the boot image again. If there's a source change I'll update the kernel too when I get to it, to have the latest security level.
I was going to try your kernel but I saw there was v1.7.3 for pixel 5, I guess p5 and p4a5g can flash the same kernel but I prefer asking it here before getting in trouble
Just need to flash the zip file from fkm if I've read it good ?
J0kker said:
I was going to try your kernel but I saw there was v1.7.3 for pixel 5, I guess p5 and p4a5g can flash the same kernel but I prefer asking it here before getting in trouble
Just need to flash the zip file from fkm if I've read it good ?
Click to expand...
Click to collapse
Normally it would be equivalent, but currently 1.7.3 there has some issues yet, so I recommend to use the 1.7.1 for now.
- Update Android R Stable - 1.7.5 - Add SafetyNet fix + Fingerprint + February images
- New: special in-built version of @kdrag0n 's SafetyNet fix for keystore fallback
--- baked into the kernel, no Magisk needed to fully pass CTS profile and Basic SN
--- Will not be activated with Magisk, as it conflicts, only activates with non-rooted boot image! (You'll need the Safetynet magisk module when using magisk)
--- those who have a phone where Hardware attestation now fails, should pass the test with this
--- use the boot image provided and after flashing and first boot do a reboot again, so the fix can work forward on
- New: add Fingeprint gesture: Stock Swipe Up/Down option (new config app needed!)
--- use normal fp tap for special gestures, and swipes for notification area stock gestures
- Updating to latest adblocking hosts files from Steven Black/AdAway/yoyo repos
CleanSlate R 1.7.5 Downloads:
Rooted installer zip:
CleanSlate R 1.7.5: https://www.androidfilehost.com/?fid=17248734326145734006
Non rooted, Android R image (2021-02-05)
Pixel5 redfin boot image CS 1.7.5: https://www.androidfilehost.com/?fid=17248734326145733993
CleanSlate Config App free version 3.1.10: https://www.androidfilehost.com/?fid=17248734326145727973
Premium version still rolling out to playstore yet, today
Read first post in thread for installation details.
{
"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 A50
Freshen up your Galaxy.
Mint is an optimized kernel source based on Samsung's open-source kernel drops of the Galaxy A50.
Additional features include:
Built with LLVM/Clang (proton-clang) 13
Built with Link-Time Optimizations (LTO) enabled
A fully-revamped Exynos Mobile Scheduler (EMS) optimized for low-latency tasks.
A smarter governor with boost algorithms from the Galaxy S10 as well as 'inferencing' from the S20.
Added additional I/O schedulers, anxiety is set as default.
Various kernel and performance improvements from Linux upstream, and even from Qualcomm devices.
Backported changes from multiple devices, including newer Galaxy devices.
RAM Plus support (requires ROM support), including support for per-process swap.
Disabled basic Samsung hardening (Knox, etc).
Added support for WireGuard VPN tunnel.
Additional I/O schedulers:
Anxiety - set as default for great performance and good battery life
Maple
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, SHRP, 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
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. 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
You're great.
Is cts profile pass on this kernel ?
I'm using snake os + kakarot kernel and unable to pass cts profile, hence I'm unable to use any banking apps
aaki_rocker said:
Is cts profile pass on this kernel ?
I'm using snake os + kakarot kernel and unable to pass cts profile, hence I'm unable to use any banking apps
Click to expand...
Click to collapse
Passing SafetyNet is handled by your ROM, not the kernel. :>
Oo okay. Thanks
TenSeventy7 said:
Passing SafetyNet is handled by your ROM, not the kernel. :>
Click to expand...
Click to collapse
Is this good for gaming and is this better than prishkernel
One of the best kernel
is the selinux switchable ?
JULiO.7 said:
is the selinux switchable ?
Click to expand...
Click to collapse
Yes. :>
Hiya
I have your fresh rom installed
And I've been using it for quite a while (Amazing rom btw)
Can i flash the kernel with this rom installed?
Will this work on my A505w with stock oneui 3.1?
so im on stock with root already - when i flash this (root) will it over write my magisk and modules or when i flash nonroot will it clear all my magisk stuff? ...
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.
Hello, sorry if its a stupid question, but there is something wrong with a50 ever since it was been updated to android 10/android 11, at least on my a505gt, whenever i get into a discord call, the audio starts to cut alot and it goes to mono sound, would a kernel fix it?
Currently I'm using your kernel with SnakeOS v4.0 and it running smooth like good peanut butter, good work.
@TenSeventy7
The question is, can I use it with any AOSP Android 12 ROM?
TheHEARER said:
Currently I'm using your kernel with SnakeOS v4.0 and it running smooth like good peanut butter, good work.
@TenSeventy7
The question is, can I use it with any AOSP Android 12 ROM?
Click to expand...
Click to collapse
I tested this kernel with ProjectRadiant, Corvus, and PixelPlusUI. a bit laggy but I don't think it's relevant with this kernel.
aybrk27 said:
I tested this kernel with ProjectRadiant, Corvus, and PixelPlusUI. a bit laggy but I don't think it's relevant with this kernel.
Click to expand...
Click to collapse
TheHEARER said:
Currently I'm using your kernel with SnakeOS v4.0 and it running smooth like good peanut butter, good work.
@TenSeventy7
The question is, can I use it with any AOSP Android 12 ROM?
Click to expand...
Click to collapse
There's a separate builds for android 12 ROMS
JuanTamqd21 said:
There's a separate builds for android 12 ROMS
Click to expand...
Click to collapse
I am using this with SnakeOS mainly.
I just tested it with the others.