[KERNEL] [blu_spark r106 OP7/Pro] [OOS /Custom A10] - OnePlus 7 & 7 Pro Cross Device Development

{
"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:
Build with custom toolchain blu_gcc-10.1 (cortex-a76.cortex-a55 targeted, build from gcc-10.1.0 snapshot with latest bleeding edge components)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP7 builds based on OnePlusOSS/android_kernel_oneplus_sm8150 for max stability
Systemless installer (doesn't touch system partition, OTA friendly), 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 for important subsystems
Several CPU Governors (blu_schedutil modded governor merged from latest CAF sm8150 patchset)
No OC, use 300HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
Patched SafetyNet flags to pass CTS
Stock thermal driver by default
ZRAM Swap (LZ4) and with file disabled
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver
adrenoboost enabled by default at low level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
Backlight min brightness option
Gamepad support enabled (xbox, ps4, switch)
USB Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP​FKM download configs: oos | custom​(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 -> flash TWRP --> reboot to recovery --> flash Magisk if you want (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 CM 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 7 Pro development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for OnePlus 7/Pro, Kernel for the OnePlus 7 Pro
Contributors
eng.stk
Source Code: https://github.com/engstk/op7
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r106 unified
Stable Release Date: 2020-06-27
Current Beta Version: r67 unified
Beta Release Date: 2019-12-16
Created 2019-06-30
Last Updated 2020-07-02

blu_spark r7 release (unified)
All right crew!
First build is up :highfive:
OnePlus sent my 7 Pro developer unit yesterday (in all blu glory), today the fist victim is out ;p
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r7 release
Synchronize codes for Oneplus 7 Pro Oxygen OS 9.5.8.GM21AA
Build with latest blu_gcc-9.1.0
Lot's of the usual goodies, too much stuff to changelog it (I would say we're at 50%, check git for details)
AnyKernel3 updates
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free

Thanks and good to see you here, too!

Hell yeah... Nice to see u here!

Good to see you here man. I have used some of your kernels over the years. Will try this out.

@eng.stk do you also plan to provide your famous blu_spark_twrp?

Have you read of the sleep of death/deadlock issues on this device? If so, do you have any ideas for the source of the issue?

THIS!!!!!!! This is what I've been waiting for. Thank you @eng.stk. Couldn't be happier right now.

Welcome to the OnePlus 7 Pro scene mate.

eng.stk said:
All right crew!
First build is up :highfive:
OnePlus sent my 7 Pro developer unit yesterday (in all blu glory), today the fist victim is out ;p
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r7 release
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Click to expand...
Click to collapse
Hi,
Can I use this Kernel on my OnePlus 7.

pushpendrayadav said:
Hi,
Can I use this Kernel on my OnePlus 7.
Click to expand...
Click to collapse
Yes,it's unified
Gesendet von meinem GM1913 mit Tapatalk

Anyone flash this yet and not see any blu_shedutil cpu governer?
Edit: Also anyone seeing KCAL? And or KLAPSE? no where to be found on EXKM, maybe I need to flash it twice? Anyone's guess is as good as mine

MarcoG: said:
Yes,it's unified
Gesendet von meinem GM1913 mit Tapatalk
Click to expand...
Click to collapse
Thanks

TacoTuco said:
Anyone flash this yet and not see any blu_shedutil cpu governer?
Edit: Also anyone seeing KCAL? And or KLAPSE? no where to be found on EXKM, maybe I need to flash it twice? Anyone's guess is as good as mine
Click to expand...
Click to collapse
For me to, no blu_shedutil cpu governer
Gesendet von meinem GM1913 mit Tapatalk

@eng.stk
Hi. We were waiting for you and your work at this forum section. Thank you for providing support for allmost all oneplus line, used your kernel and twrp for more than 2 years.
CAF introduced 675 max gpu freq support for sm8150. Will you allow us to use it, but setting 585 as defualt? Less is more, i'm agree with you.
About deadlocks, someone calls it sleep of death, there is such problem. i faced it myself many times. As far as i can say, its faulty units problem. Replaced my unit and so far no deadlocks for 2 days already. With previous one i had it once in 3-6 hours.

@eng.stk
Nice to see you here. Only now I can buy OP7 PRO and retire my OP6.
Thank you for your time and effort.

Nice to see you here, finally! Flashing.....

ulxerker said:
Thanks and good to see you here, too!
Click to expand...
Click to collapse
Bradl79 said:
Hell yeah... Nice to see u here!
Click to expand...
Click to collapse
mauley said:
Good to see you here man. I have used some of your kernels over the years. Will try this out.
Click to expand...
Click to collapse
trapcoder666 said:
Welcome to the OnePlus 7 Pro scene mate.
Click to expand...
Click to collapse
Oh yeah, ride on guys :highfive:
ulxerker said:
@eng.stk do you also plan to provide your famous blu_spark_twrp?
Click to expand...
Click to collapse
Maybe, not apriority for me at the time, lot's of work to on the kernel.
I honestly use less and less twrp this days, do everything from the ROM with autoflash apps.
Arden144 said:
Have you read of the sleep of death/deadlock issues on this device? If so, do you have any ideas for the source of the issue?
Click to expand...
Click to collapse
Hum, have no idea what's that...
pushpendrayadav said:
Hi,
Can I use this Kernel on my OnePlus 7.
Click to expand...
Click to collapse
TacoTuco said:
Anyone flash this yet and not see any blu_shedutil cpu governer?
Edit: Also anyone seeing KCAL? And or KLAPSE? no where to be found on EXKM, maybe I need to flash it twice? Anyone's guess is as good as mine
Click to expand...
Click to collapse
Stuff is missing still, check git to see what's in (or ask us if you're after something in particular). The rest will come in time, can't do much more in less than a day ;p
Stuff in OP some are in, others are placeholder for what I intend to merge in.
more_than_hater said:
@eng.stk
Hi. We were waiting for you and your work at this forum section. Thank you for providing support for allmost all oneplus line, used your kernel and twrp for more than 2 years.
CAF introduced 675 max gpu freq support for sm8150. Will you allow us to use it, but setting 585 as defualt? Less is more, i'm agree with you.
About deadlocks, someone calls it sleep of death, there is such problem. i faced it myself many times. As far as i can say, its faulty units problem. Replaced my unit and so far no deadlocks for 2 days already. With previous one i had it once in 3-6 hours.
Click to expand...
Click to collapse
Hum if it has CAF support I may look into it, no prob.
That issue seems nasty, is it a widespread thing? Never heard of it...
starche_old said:
@eng.stk
Nice to see you here. Only now I can buy OP7 PRO and retire my OP6.
Thank you for your time and effort.
Click to expand...
Click to collapse
justibasa said:
THIS!!!!!!! This is what I've been waiting for. Thank you @eng.stk. Couldn't be happier right now.
Click to expand...
Click to collapse
Step-han said:
Nice to see you here, finally! Flashing.....
Click to expand...
Click to collapse
Thanks for the support peeps, you keep the spirit alive :highfive:

is this for 5g also?

The OP is either a few year old copy paste and/or is providing the wrong information.
- ARM enhanced performance and battery patches - guess nobody has this since 3.18 kernels
- 300Hz - set to 100
- Klapse - not in source
- KGSL fixes and reworked GPU driver - Nothing has been reworked but using high prio
- Stock thermal driver by default - what else?
- adrenoboost... - not in source
- KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features) - not in source
- Several CPU Governors (blu_schedutil modded governor available) - not in source
- CVE security patches, general upstream and CAF fixes - Nothing newer in source
- USB Fast Charge (USB mode up to 900mA with MTP on) - not in source

Related

[KERNEL][v50030a][v50030b][5.0.2]Fishears Custom 1.2.3 & StockPlus 1.0.8

FISHEARS KERNELS FOR STOCK KOREAN V50030A AND HONG KONG V50030B ROMS **ONLY**
DO NOT FLASH WITH ANY OTHER ROM​
This project consists of two kernels:
Fishears StockPlus Kernel:
Based on the Stock LG kernel from the Korean v50030a, Android 5.0.2 ROM. It will always stay as close as possible to the original kernel whilst being kept up to date with the Linux Stable 3.4.y branch and including other patches that can be considered as bug-fixes to the original LG source code. This is best for people who want an up to date Stock kernel experience.
Click to expand...
Click to collapse
Fishears Custom Kernel:
Also based on the Stock LG kernel from the Korean v50030a, Android 5.0.2 ROM. It will be kept up to date with the Linux Stable 3.4.y branch and will also include various enhancements and performance improvements for people who like to tweak their kernel setup.
Click to expand...
Click to collapse
An Important Note About MLT.apk:
One of the first things we noticed when testing my kernels was that something was causing unusually high CPU load and therefore battery drain. Investigations revealed that the cause was an app called MLT.apk which is included in the v50030a and v50030b ROMs under /system/priv-app/MLT/. This app has an unknown purpose - LG don't provide any details. The main point here is that to use a non-stock kernel you will have to disable this app. This is not negotiable. Something about the app does not play nice with anything but the official stock kernel. I am providing two flashable zips that will disable or enable this app (all they do is rename it).
Click to expand...
Click to collapse
Installation Instructions:
Backup your device
Flash the MLTdisabler.zip in recovery
Flash whichever of my kernel zips you want from here (they are bumped already)
Reboot and profit
I recommend Trickster Mod or Kernel Adiutor for managing kernel settings but other kernel managers are available.
If you're wondering why the you only see "3.4.110" or whatever under About tablet, Software info - that's because LG have restricted the display of kernel information in the ROM. If you use xposed and G3 TweaksBox then you can enable extra info like in the screenshot below.
If at any time you decide you want to go back to the stock kernel then flash the MLTenabler.zip followed by this Stock Kernel zip (or just restore your backup).
Click to expand...
Click to collapse
Custom Kernel Features:
Linux kernel 3.4.113
RAMdisk from v30B (less Korean language)
Built with Linaro 4.9.2
Build optimisations for GPU Driver
O3 build optimizations
MultiROM Support
LZ4 compressed for faster kernel loading
Higher CPU speed during boot
Code updates from LG VK81035A sources - thanks to @fefifofum
Palman emmc driver to fix SD umounts - thanks to @fefifofum
Gamma Fix - thanks to @aicjofs
Additional TCP Congestion Algorithms (Westwood as default)
Simple GPU governor - thanks to @faux123
Hardware accelerated floating point and encryption functions
CPU Underclocking down to 162mHz (for better battery at lower loads)
CPU Voltage Control
FastCharge
UKSM
Intelli-Thermal
Intelli-Plug Hotplug Driver (off by default)
Additional CPU Governors: Intelliactive, Intellidemand, IntelliMM, SmartMax, ZZMoove
Additional I/O Schedulers: BFQ, ROW, FIOPS, ZEN
F2FS filesystem support
Click to expand...
Click to collapse
StockPlus Kernel Features:
Linux kernel 3.4.113
RAMdisk from v30B (less Korean language)
Built with Linaro 4.9.2
Build optimisations for GPU Driver
O3 build optimizations
MultiROM Support
Palman emmc driver to fix SD umounts - thanks to @fefifofum
Gamma Fix - thanks to @aicjofs
Additional TCP Congestion Algorithms
Code-base bug-fixes and improvements
Click to expand...
Click to collapse
Changelogs (see GitHub):
Custom
StockPlus
Click to expand...
Click to collapse
Downloads:
Builds of both Custom and StockPlus kernels are available to download HERE
MLTdisabler.zip
MLTenabler.zip
original LG Stock v50030a kernel (also works with v50030b)
Click to expand...
Click to collapse
Source:
The project repo is here on GitHub
There are four main branches to be aware of:
Master - this is the original LG source code for v50030a kernel
Rebase - this is Master plus the latest commits from Linux Stable 3.4.y
Custom - this is Rebase plus the Custom kernel code
StockPlus - this is Rebase plus the StockPlus code
I hope that the Rebase branch will act as a stable codebase for other Devs to build kernels for v50030a and v50030b. I will keep it up to date with Linux Stable 3.4.y - please fork yourselves dizzy :silly:
The original source code from LG can be downloaded from here.
Click to expand...
Click to collapse
Bug Reports and Feature Requests:
Bugs can be reported in the thread or at the GitHub Issue Tracker
Please provide as much information as you can about your kernel settings and any modifications to your ROM - also provide logs. If you're new to bug reporting then its simplest to use an app. If you install Kernel Adiutor and go to Settings you'll see a Debugging section. There you can save your logcat, dmesg and last_kmsg to internal storage. Please do this after you experience an issue and then zip them up and post them with a complete description of the issue.
Feature requests will be considered but please don't expect to get everything you ask for, I'm not Santa
Click to expand...
Click to collapse
Credits and thanks:
Special thanks to my tireless tester @tmihai20 and to all the hard-working developers, in particular @faux123, @fefifofum, @mrg666, @hellsgod, @stratosk, @sleekmason
Click to expand...
Click to collapse
Screenshots:
{
"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"
}
XDA:DevDB Information
Fishears Custom Kernel and StockPlus Kernel for v500 Stock v30a & v30b 5.0.2 ROMs, Kernel for the LG G Pad 8.3
Contributors
fishears, fishears, tmihai20
Source Code: https://github.com/fishears/LG-V500-Kernel
Kernel Special Features:
Version Information
Status: Stable
Created 2015-10-06
Last Updated 2016-11-07
Reserved
reserved
reserved another
reserved just one more
Sounds great! Any chance for a gamma fix?
This is great! Just flashed/booted and working fine so far.
awesome sauce! seems like a flashing weekend! thank you dev!
Thanks @fishears! Flashed custom version, no tweaking for now. First impression: feels a lot smoother than default kernel! Going to test battery tomorrow after charging. Great work so far! :highfive:
MightyBen said:
Sounds great! Any chance for a gamma fix?
Click to expand...
Click to collapse
Its possible. What needs fixing? Do you want to be able to adjust gamma values?
fishears said:
Its possible. What needs fixing? Do you want to be able to adjust gamma values?
Click to expand...
Click to collapse
Yes, a gamma fix would be awesome. Dark scenes in videos tend to be almost all black.
This kernel thread supposedly had a fix for old kitkat kernels. And there seems to be github sources for the fix:
http://forum.xda-developers.com/showthread.php?t=2741405
MightyBen said:
Yes, a gamma fix would be awesome. Dark scenes in videos tend to be almost all black.
This kernel thread supposedly had a fix for old kitkat kernels. And there seems to be github sources for the fix:
http://forum.xda-developers.com/showthread.php?t=2741405
Click to expand...
Click to collapse
I'll have a look.
@fishears: I am available for testing, as always . I also need to know how to check if the fix actually works.
tmihai20 said:
@fishears: I am available for testing, as always . I also need to know how to check if the fix actually works.
Click to expand...
Click to collapse
Good. I was going to ask if you d be up for continuing and testing betas for me. To test I guess we'd need a dark scene on YouTube, like from a Batman maybe. But I haven't even looked at the code yet. I'll send you a PM when I have something.
Alright, just flashed the custom kernel, will report about my build and battery life on the weekend. Seems smooth and stable so far!
Would you add Multirom's support?
Was there any Multirom support before? It is the first time I hear it for the G Pad 8.3. It has little internal storage anyway and using an SD card would mean that you can't remove it. This is also very hard to test, since it takes a lot of tinkering with internal memory and microSD partitioning. @Maraudeur, do you have a link to a git repo for th G Pad 8.3?
tmihai20 said:
Was there any Multirom support before? It is the first time I hear it for the G Pad 8.3. It has little internal storage anyway and using an SD card would mean that you can't remove it. This is also very hard to test, since it takes a lot of tinkering with internal memory and microSD partitioning. @Maraudeur, do you have a link to a git repo for th G Pad 8.3?
Click to expand...
Click to collapse
Don't worry, I've just ported @tassadar's kexec hardboot patch and @beroid has already done this
My Custom kernel should have kexec hardboot support in the next release but I won't be testing it...
Finally a custom kernel for stock Gpad 8.3 roms! thanks for the work and love for this awesome but under rated tablet, i'll be testing the kernel
fishears said:
My Custom kernel should have kexec hardboot support in the next release but I won't be testing it...
Click to expand...
Click to collapse
Thank you so much, man !
tmihai20 said:
Was there any Multirom support before? It is the first time I hear it for the G Pad 8.3. It has little internal storage anyway and using an SD card would mean that you can't remove it.
Click to expand...
Click to collapse
Firstly, there is multirom by @beroid for long time yet. But he closed thread and doesn't support it anymore. Secondly, I have got HTC M8 with the same storage space - 16Gb and multirom runs very good on it. It's sufficient only two ROMs in most cases - stock and CM or AOSP.

KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15

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 FOR​TREBLE & 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 FOR​TREBLE & 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).

[KERNEL][8.1]Reviver Kernel [18 Aug 2019][r3.0]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE:
Hello everyone, this is my kernel for the Moto G5S. I will try to maintain a stable kernel however bugs might arise since I'm not a super star kernel developer. I hope you enjoy the releases. You are making modifications to your device at your own risk. Support is community based only.
Important information
I will not reply to complains that do not include clear steps to reproduce the bug, a logcat, and ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Features
Compiled with Latest GCC 4.9.4 Linaro Toolchain
DCache Word Access
Disable CRC Check
Disable Gentle Fair Sleepers
LZ4 is the default compressor
CFQ as default I/O scheduler
TCP Congestion Avoidance Protocols
Downloads
SourceForge
Installation:
NOTE: Please make sure that you return to the stock kernel of the ROM before flashing this kernel. The kernel is only for Moto G5S codenamed montana .
Reboot to TWRP.
Backup boot.
Flash the zip.
Reboot to system.
Changelog
18 Aug 2019
Code:
Update for MMI-OPPS28.65-37-7-2
29 Oct 2018
Code:
Initial Release
FAQs
1.1 Q Can you help me I have this problem?
1.1 A I will surely try to help if proper bug reporting is done as per the fashion described above.
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 add any useless governors or features that I don't find practical.
1.3 Q: How do I control the kernel?
1.3 A: I recommend using EX Kernel Manager or Kernel Auditor (Both need root)
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery unless you have overclocked it, I have kept it at stock frequencies and voltages. Use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
Fellow Linux Kernel Developers for their patches (if you want a specific mention, please let me know)
AOSP
Motorola Mobility LLC
CAF
@Kamin4ri for his help
TeamReviver:
@lCrD512
@smog2699
@Titan068
@Katzzero
Others:
Alan Max
Source Code:
https://github.com/rajatgupta1998/android_kernel_motorola_msm8937
https://github.com/rajatgupta1998/AnyKernel2
XDA:DevDB Information
Reviver Kernel Montana, Kernel for the Moto G5S
Contributors
rajatgupta1998
Source Code: https://github.com/rajatgupta1998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2019-08-18
Created 2018-10-29
Last Updated 2019-08-18
Reserved
Screenshots:
Reserved
Changelog:
Intial Build
great job
Kernel installed this morning and no problem, I'll be back in a few days
@rajatgupta1998 do you think it'd be possible to make Oreo kernel support the same aftermarket panels as Nougat kernel did? It's only touchscreen that is not working. What kind of info could we provide to help to debug this? It would be insanely helpful for all of us with bricked phones
My unit has display burn in issues .. the only fix is to turn down the rgb values with manual display calibration options available on Los based roms. Can i use use the stock oreo rom on top of your kernel and achieve the same ?
Thanks! Does it have an TTL editing function? (line TTL in /proc/net/ip_tables_targets)
vmax0770 said:
@rajatgupta1998 do you think it'd be possible to make Oreo kernel support the same aftermarket panels as Nougat kernel did? It's only touchscreen that is not working. What kind of info could we provide to help to debug this? It would be insanely helpful for all of us with bricked phones
Click to expand...
Click to collapse
Great question. If it's a kernel related. @rajatgupta1998 can you find something about touchscreen chip restriction in Original Lenovorola kernel?
lohanbarth said:
great job
Kernel installed this morning and no problem, I'll be back in a few days
Click to expand...
Click to collapse
Amy input sir?
My unit has display burn in issues .. the only fix is to turn down the rgb values with manual display calibration options available on Los based roms. Can i use use the stock oreo rom on top of your kernel and achieve the same ?
THE USER said:
My unit has display burn in issues .. the only fix is to turn down the rgb values with manual display calibration options available on Los based roms. Can i use use the stock oreo rom on top of your kernel and achieve the same ?
Click to expand...
Click to collapse
no
Jemec26 said:
Amy input sir?
Click to expand...
Click to collapse
no problem works perfectly
I need testers for the kernel since I personally don't own the device. All those who are interested, kindly join my testers group on Telegram. https://t.me/montana_reviver . Also I am willing to continue LineageOS and atleast attempt at Oreo bringup for the device, so I will need testers. Thanks :fingers-crossed:
rajatgupta1998 said:
I need testers for the kernel since I personally don't own the device. All those who are interested, kindly join my testers group on Telegram. https://t.me/montana_reviver . Also I am willing to continue LineageOS and atleast attempt at Oreo bringup for the device, so I will need testers. Thanks :fingers-crossed:
Click to expand...
Click to collapse
Nice
New build is up!
File: reviver_kernel_montana_stock_oreo-2.0.zip
Build Date: 13 January 2019
Changelog:
Update kernel source, f2fs and wifi driver from Motorola's OPPS28.65-37-2 Release
Start merging CAF Tags from where Moto dropped: May 2018 (Completed till June '18 right now, more to come) so that we stay up to date with Qualcomm's release for MSM8953 (Snapdragon 625) chipset. Our CPU MSM8937 can be thought of a low powered version of the 625 so they share a lot of code.
Show correct GPU Frequency in sysfs
Silence WLAN, PCIe, and CPU suspend state kernel messages. These are pretty useless.
Add support for Himax Touchscreen Panel
Remove CPU Boost functionality from Interactive CPU Frequency Governor
Minor changes to MDSS (Display) and Camera drivers.
Downloads:
Latest Build: reviver_kernel_montana_stock_oreo-2.0.zip
MD5: 90ad3d7121ba3525fa7605312a89cf28
SHA1: 965cfffd0b0909ee3d41e841519ef90e30c8ae0f
Proposed upcoming features in future releases (No promises)
1. A custom wakelock blocking driver by @ Lord Boeffla
2. KCAL Display Colour Control driver by savoca.
3. More stuff from Qualcomm
Soon we'll start seeing a custom kernel for 64 bit oreo custom roms since GoldenEye has already released a few initial builds of LineageOS 15.1
:fingers-crossed:
rajatgupta1998 said:
New build is up!
File: reviver_kernel_montana_stock_oreo-2.0.zip
Build Date: 13 January 2019
Changelog:
Update kernel source, f2fs and wifi driver from Motorola's OPPS28.65-37-2 Release
Start merging CAF Tags from where Moto dropped: May 2018 (Completed till June '18 right now, more to come) so that we stay up to date with Qualcomm's release for MSM8953 (Snapdragon 625) chipset. Our CPU MSM8937 can be thought of a low powered version of the 625 so they share a lot of code.
Show correct GPU Frequency in sysfs
Silence WLAN, PCIe, and CPU suspend state kernel messages. These are pretty useless.
Add support for Himax Touchscreen Panel
Remove CPU Boost functionality from Interactive CPU Frequency Governor
Minor changes to MDSS (Display) and Camera drivers.
Downloads:
Latest Build: reviver_kernel_montana_stock_oreo-2.0.zip
MD5: 90ad3d7121ba3525fa7605312a89cf28
SHA1: 965cfffd0b0909ee3d41e841519ef90e30c8ae0f
Proposed upcoming features in future releases (No promises)
1. A custom wakelock blocking driver by @ Lord Boeffla
2. KCAL Display Colour Control driver by savoca.
3. More stuff from Qualcomm
Soon we'll start seeing a custom kernel for 64 bit oreo custom roms since GoldenEye has already released a few initial builds of LineageOS 15.1
:fingers-crossed:
Click to expand...
Click to collapse
Great news!
Would love to see your kernel for LOS 15.1 and could test it also.
Custom panel support
Do you think it'll be possible to also support Tianma panels in this kernel? They were supported in Nougat and I managed to get a working Oreo version by replacing whole drivers/touchscreen folder and building my own
montana_n:/ $ cat /sys/class/graphics/fb0/panel_name
mipi_mot_video_tianma_1080p_521
montana_n:/ $ cat /sys/class/graphics/fb0/panel_supplier
tianma
Click to expand...
Click to collapse
vmax0770 said:
...They were supported in Nougat and I managed to get a working Oreo version by replacing whole drivers/touchscreen folder and building my own
Click to expand...
Click to collapse
Could you share it? I've got tianma panel too.
@Cyr4x here you go http://s000.tinyupload.com/index.php?file_id=47365433013478436702
You should flash it on top of stock ROM via TWRP recovery
Thanks, it's working now.

[KERNEL] [blu_spark r60 OP7/Pro] [OOS /Custom A10]

{
"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-a76.cortex-a55 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 OP7 builds based on OnePlusOSS/android_kernel_oneplus_sm8150 for max stability
Systemless installer (doesn't touch system partition, OTA friendly), 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 for important subsystems
Several CPU Governors (blu_schedutil modded governor merged from latest CAF sm8150 patchset)
No OC, use 300HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
Patched SafetyNet flags to pass CTS
Stock thermal driver by default
ZRAM Swap (LZ4) and with file disabled
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver
adrenoboost enabled by default at low level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
USB Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP​(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 -> flash TWRP --> reboot to recovery --> flash Magisk if you want (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 CM 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 7 Pro development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for OnePlus 7/Pro, Kernel for the OnePlus 7
Contributors
eng.stk
Source Code: https://github.com/engstk/op7
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r60 unified
Stable Release Date: 2019-10-13
Current Beta Version: r38 unified
Beta Release Date: 2019-08-24
Created 2019-07-01
Last Updated 2019-11-08
blu_spark r10 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
So keep this in mind if there's anything wonky. Check out the 7 Pro thread, some stuff is already discussed there.
blu_spark_r10 release
KCAL v2
KLAPSE v5.0
adrenoboost
USB2 fast charge (if it doesn't work, restart the device without any cable, turn on fast charge and connect the cable after)
couple init settings tune
AnyKernel3 updates
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Will try this soon! Thank you for your work
Finally u r here!!!!
So how's it rolling, all good?
Sent from my blu_spark'd Oneplus
Waiting for the device to come... Then I will flash your kernel... Can't wait
eng.stk said:
So how's it rolling, all good?
Click to expand...
Click to collapse
Yes, all good! "Battery life" and performance are great. Zero heat up while playing heavy games. Keep up the good work!
blu_spark r14 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r14 release
Merge blu_schedutil
input: touchscreen: add haptic feedback control sysfs
power: smb5-lib: reset level on removal (fix fast charge toggle without reboot)
set hz=300 (for interactiveness)
wireguard updates (v0.0.20190702)
some UX improve tuning
AnyKernel3 updates
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Has the kernel something todo with the signal strength/mechanism of a device or is this a rom setting?
nexuspur said:
Has the kernel something todo with the signal strength/mechanism of a device or is this a rom setting?
Click to expand...
Click to collapse
Depends strength of what in particular?
If you're talking about 4g/gsm, nope.
Sent from my blu_spark'd OnePlus
Flashed kernel an hour ago. Will see how it goes. Thanks for your work
eng.stk said:
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r14 release
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Click to expand...
Click to collapse
Hi,
Thanks for excellent battery friendly Kernal.
pushpendrayadav said:
Hi,
Thanks for excellent battery friendly Kernal.
Click to expand...
Click to collapse
Stock settings?
blu_spark r16 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r16 release
Synchronize codes for Oneplus 7 Pro Oxygen OS 9.5.9.GM21AA
Add GPU 675Mhz freq step (default is 585Mhz)
couple build improvements
defconfig: enable some perf configs and remove cruft
Remove some debug and logging
Add support for OP7 Pro TMO on installer
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
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.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
pushpendrayadav said:
Hi,
Thanks for excellent battery friendly Kernal.
Click to expand...
Click to collapse
Lol, I get the same SOT with stock kernel.
Edit: @eng.stk the update works great for me on my OP7.
Thanks
I cant set the minimum cpu frequency. It goes back to stock which is the same as the maximum cpu frequency(1785MHz on little cores)
carlsmad said:
I cant set the minimum cpu frequency. It goes back to stock which is the same as the maximum cpu frequency(1785MHz on little cores)
Click to expand...
Click to collapse
I can set it just fine.
1785 is not the default min, if you cant change it and its locked to that max value you have something else derping and locking it.
Sent from my blu_spark'd Oneplus
eng.stk said:
I can set it just fine.
1785 is not the default min, if you cant change it and its locked to that max value you have something else derping and locking it.
Sent from my blu_spark'd Oneplus
Click to expand...
Click to collapse
Okay sir. Thanks. I think I'll just format my phone again.
@eng.stk Portrait mode isn't working with your kernel.
Kollachi said:
@eng.stk Portrait mode isn't working with your kernel.
Click to expand...
Click to collapse
Works fine in 7pro OOS 9.5.9 with stock camera app, used it yesterday actually several times.
Multimedia driver stack, including camera, is totally stock in blu_spark.
edit: also OP7 is behind in ROM versions, they updated camera stuff on latest OOS 9.5.9 sourcedrop, so you may have to stay with previous kernel build until they update OP7 ROM with matching binaries.

[KERNEL][Q][AOSP/OneUI-2][R4][EOL] RAD Kernel [G95x(F/N/FD)]

{
"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

Categories

Resources