[KERNEL] [LOS-14.1] tabp0le v1.1.5 w/F2FS, FastCharge USB 2/3 [Mar 07] - HTC 10 ROMs, Kernels, Recoveries, & Other Developm

Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.
Introduction:
I saw a lot of demand/requests for a LOS compatible, F2FS kernel and wanted to make one. This kernel installer includes the kernel with F2FS drivers built-in and the required ramdisk changes to make F2FS mount. This kernel is built for stability, battery life and features without compromising performance. Overclocking is not going to happen. Please do not flash this on any ROM not based off LineageOS.
Please Note: EAS kernel has moved to it's own thread. Please visit here for EAS version.
Bug Reporting:
Please only report bugs and do so in the following format:
Device Firmware base:
Kernel Version:
Device ROM, version and date of release/nightly:
Governor:
Scheduler:
Any changes made within a kernel manager:
Any bootup scripts:
Brief description of bug:
Intended behavior:
Actual behavior:
Steps to reproduce bug:
Do this
Do that
See the bug
****Attach a logcat or you will be ignored****
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"
}
Features:
F2FS /data support
F2FS /cache support
Disabled verifiedbootstate check (will allow CTS/SafetyNet to pass on unlocked bootloader)
Forced fast charge on USB 2.0 (cherry-picked from CleanSlate Kernel by @tbalden
Double tap fingerprint sensor to sleep
Battery/sleep improvements
Option to disable/enable wakelocks: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS
Option to disable/enable touch boost
Option to disable/enable magnetic cover sensor
Sweep2Sleep option
Disable fsync option (will break reboot to recovery if disabled)
Separate options for I/O schedulers on internal/external storage
I/O enhancements
I/O Schedulers: noop, deadline, cfq, fiops, sio, fifo, sioplus, tripndroid, vr, zen
Governors: conservative, ondemand, userspace, powersave, performance, interactive, ElementalX
Requires:
CM/LOS 14.1 based ROM
Changelog:
Code:
3.07.17 - v1.1.5
-------------------------
*Upstream LOS changes
2.27.17 - v1.1.4
-------------------------
*Upstream LOS changes
2.17.17- v1.1.3
-------------------------
*Upstream LOS changes
2.9.17- v1.1.2
-------------------------
*Upstream LOS changes
Install:
Flash in TWRP.
Install your favorite kernel tweaking app for full functionality. EX kernel manager is my recommendation.
To get F2FS working, you need to research yourself. There are plenty of threads that tell you how.
Download:
Download Repo
Additional Credits:
Thanks to @crpalmer for all his hard work on the HTC 10 LOS kernel
Thanks to @Captain_Throwback for helping me get F2FS working
Thanks to @tbalden for force fast charge code & other code I borrowed too
Thanks to @flar2 for a bunch of code I borrowed from ElementalX
Thanks to @franciscofranco for a bunch of code
Thanks to @CrazyGamerGR for a bunch of code
tabp0le Sources:
tabp0le AnyKernel2
Original Sources:
LineageOS Kernel
AnyKernel2 by @osm0sis
XDA:DevDB Information
tabp0le HTC 10 LOS Kernel, Kernel for the HTC 10
Contributors
tabp0le
Source Code: https://github.com/tabp0le/android_kernel_htc_msm8996/tree/cm-14.1-tabp0le
Kernel Special Features: F2FS support w/ ramdisk edits for /data and /cache. Wakelock controls, powersaving and more.
Version Information
Status: Stable
Current Stable Version: 1.1.5
Stable Release Date: 2017-03-07
Created 2017-01-19
Last Updated 2017-03-07

Please note: If using F2FS, you may need to remove
Code:
ro.sys.sdcardfs=true
from your build.prop if you have problems with your SD card such as these:
Thanks @crpalmer for the heads up.

Reserved

FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.
The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.
I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.
I'm interested to know how it goes.

crpalmer said:
FYI, we (HTC and Lineage) enable sdcardfs which is a filesystem that is implemented on top of the real filesystem. Recently another device I maintain had sdcardfs removed because it caused weird random problems. Cyanogen said that sdcardfs has different problems depending on the underlying filesystem.
The problems aren't earth shattering like sdcard corruption, rather things like Google Photos failing to upload.
I compared the diff's between the device with problems and our kernel, and there didn't seem to be much different other than differences due to the fact that it was a 3.4 kernel.
I'm interested to know how it goes.
Click to expand...
Click to collapse
Thanks for that info! Does it use sdcardfs to mount the external or internal storage?

tabp0le said:
Thanks for that info! Does it use sdcardfs to mount the external or internal storage?
Click to expand...
Click to collapse
I believe both, but I have never looked to know for sure.

crpalmer said:
I believe both, but I have never looked to know for sure.
Click to expand...
Click to collapse
It begins. Having weird issues with external SD. Going to try formatting it.
FYI people, this is not a problem with the kernel.

FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.
I assumed it was a nougat compatibility issue with those apps

Heisenberg420 said:
FWIW I get that as well when trying to mount my sdcard in FX, and Lineage explorer. I'm on stock Lineage kernel. I can successfully mount and write to it with (speed software) explorer and the nougat browser in storage settings.
I assumed it was a nougat compatibility issue with those apps
Click to expand...
Click to collapse
Hmm, it didn't start for me until today. Must be a contexts issue. Maybe I'll just clear my data. Good to know it probably has nothing to do with f2fs. Update: Wiping SD card fixes this problem.

Updated to remove check for verifiedbootstate.

I'm excited about this bud!
What do I need to have "just in case" something goes wrong?
A log cat?

mcwups1 said:
I'm excited about this bud!
What do I need to have "just in case" something goes wrong?
A log cat?
Click to expand...
Click to collapse
Yeah log cat will do. Though issues with f2fs are not going to be supported, as this device really isn't optimized for it. This kernel will let you use it, but it still doesn't work that great on this device. I've had trouble using my SD card with certain apps after enabling f2fs on data and cache.

Any way you could add overclocking to this kernel?

holofractal said:
Any way you could add overclocking to this kernel?
Click to expand...
Click to collapse
Please tell me you are kidding. If you are, that's hilarious and you are awesome. If you are not kidding, please please please read the OP.

Hey version .03 doesn't pass safetynet
Sent from my HTC6545LVW using Tapatalk

kend0g said:
Hey version .03 doesn't pass safetynet
Click to expand...
Click to collapse
Try rebooting again. Are you using magisk?

No
Sent from my HTC6545LVW using Tapatalk

After a reboot the first two pass but the CTS profile match fails.
Sent from my HTC6545LVW using Tapatalk

kend0g said:
No
Click to expand...
Click to collapse
kend0g said:
After a reboot the first two pass but the CTS profile match fails.
Click to expand...
Click to collapse
Flash Magisk v10.2 and enable magisk hide. That's how I personally get SafetyNet working.

I see quick charge for 2.0, but is it for 3.0 as well?
I lost 5% while plugged in to the 3.0 HTC charger while playing a game.

Related

[KERNEL] [blu_spark r32 unified] [OOS 4.0.* / Open Betas / custom ROMs]

{
"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 16.04.1 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
Build with custom toolchain blu_naro-6.3 (cortex-a53 targeted, build with latest Crosstool-NG from developer snapshot Linaro GCC 6.3-2017.01)
Full -O3 support with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP3/OP3T unified builds based on OnePlusOSS/android_kernel_oneplus_msm8996
Systemless installer (OTA friendly)
Removed some debug and logging options
ARM enhanced performance and battery patches
General upstream and CAF fixes
Several CPU Governors (blu_active own upstreamed and tweaked governor by default)
Overclock available (boots with default freqs), set 300HZ base timer frequency [soon]
msm_performace input boost toggle on/off (disabled 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 filesystems (F2FS upstream, ExFAT, NTFS & CIFS)
Removed verify and forced encryption
Stock thermal driver by default (custom tunables available)
Optimized RWSEM, AES and SHA1 routines (with NEON support)
Swap and adaptive LMK off by default
Vibrator Strength tunable and Gesture Haptic Feedback control
KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Battery/Notification LED control
Multimount fstab (you can use data f2fs or ext4)
FS fsync toggle on/off
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
init.d support (put your scripts in /system/su.d or /su.su.d [systemless SuperSU])
Compatible with Kernel Adiutor Beta and others
DOWNLOAD KERNEL ZIP
Warning: If you come from other kernel, you should dirty flash your ROM before flashing blu_sp★rk zip to avoid problems.
Reflash ROM -> flash SuperSU -> flash blu_sp★rk.
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). If you're using custom ROMs you're on your own, I'm only interested on debugging stuff in 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 and other userspace stuff. There's threads for it, use them.
Going back to stock: This kernel installer doesn't change your filesystem (systemless).
You can backup your boot.img with TWRP before flashing blu_spark if you want to go back to full stock or just flash sotck boot.img / dirty flash your full ROM.
Advanced filesystem: If you want to use EXT4 instead of F2FS, do the following (backup your data to external source before attempt this, it will erase all your sdcard data)
Flash TWRP and latest blu_sp★rk zip
Go to Wipe -> Advanced Wipe -> Select only Data -> Repair/Format File system -> Change partition type to EXT4
Go to Wipe -> Advanced Wipe -> Select only Cache -> Repair/Format File system -> Change partition type to EXT4
Reboot and profit
To be back on F2FS, just do the same but choose F2FS instead
If you like my work, donations are always welcome (but not mandatory).
Don't forget to hit thanks, it's free
XDA:DevDB Information
blu_spark OP3T, Kernel for the OnePlus 3T
Contributors
eng.stk
Source Code: https://github.com/engstk/op3t
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r28 unified
Stable Release Date: 2017-01-17
Current Beta Version: r32 unified
Beta Release Date: 2017-01-21
Created 2016-12-09
Last Updated 2017-01-23
Good to see a legend over here. I am ready to flash it, let's begin the new era of this amazing phone!
blu_spark r8
All right crew!
New build is up. Wicked!
I decided to bring this kernel form the OnePlus 3 to the 3T :victory:
From those of you that already know me from Nexus, Motorola and other Oneplus devices you know what to expect: stability, useful addins, original work and features, no cruft, lean optimizations, security updates, better battery / (real life) performance, better overall UX.
Enjoy!
First build for 3T, fully synced with 3 branch
Add Disable Gesture Haptic Feedback control json (unzip the attachment and import in Kernel Adiutor Custom Control tab, hit "+" and import)
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs or OB. Meaning, if using anything besides stable OOS don't bother posting about it.
I am only interested on debugging stuff in stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with CM 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 (but not mandatory).
Don't forget to hit thanks, it's free
Wooooo amazing!!!!
You are the Best and you Know
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
@eng.stk Great to see you here! I've been enjoying your op3 kernel very much.
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)
Flash TWRP and latest blu_sp★rk zip
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
Click to expand...
Click to collapse
Is this just copy/paste from your op3 thread or do we really need to wipe data to use f2fs? Thought it's the stock filesystem on the op3t.
Hell yeah...! Thank you.
Lovely!
Been waiting for this. Thank you!
Sent from my ONEPLUS A3000 using Tapatalk
andre0005 said:
@eng.stk Great to see you here! I've been enjoying your op3 kernel very much.
Is this just copy/paste from your op3 thread or do we really need to wipe data to use f2fs? Thought it's the stock filesystem on the op3t.
Click to expand...
Click to collapse
I'm wanting to know the same thing, but looking forward to flashing it later today.
Yessssss..... Good to see you here now.
Good to see you here buddy, thank you for your continued support
Funk Wizard said:
Good to see you here buddy, thank you for your continued support
Click to expand...
Click to collapse
Thank my wife, because Oneplus didn't gave me anything despite the huge amount of work I did on the OPX/OP3.
Seems like I don't fit on the "popstar" developer selection, so no device given to me to develop on.
I never monetized my work and I will continue to do so: I prefer to be a rock'n'rolla
andre0005 said:
@eng.stk Great to see you here! I've been enjoying your op3 kernel very much.
Is this just copy/paste from your op3 thread or do we really need to wipe data to use f2fs? Thought it's the stock filesystem on the op3t.
Click to expand...
Click to collapse
justibasa said:
I'm wanting to know the same thing, but looking forward to flashing it later today.
Click to expand...
Click to collapse
Yeah it was a typo, no need to format, just flash the zip
Really happy to see more developers supporting the 3T
Thank you for creating this wonderfull kernel
Which Kernel Tool is recommended?
timobayl said:
Which Kernel Tool is recommended?
Click to expand...
Click to collapse
Read the OP. - Kernel Adiutor.
Remember this kernel from the Nexus 5 days. Long live the memory of Nexus and long live this kernel.
When I have the original kernel do I have to flash also the dirty ROM?
@eng.stk : Welcome and a quick question (I hope):
I'm guessing that you create custom modules (/system/lib/modules/*.ko) for your kernel. If so, I'm wondering if it's really possible to revert back to stock kernel , the way many people are claiming it is, by just flashing the old 3.5.3 stock boot.img file? I've not yet developed for Marshmallow, only earlier flavors, so I'm still of the ilk where it mattered what modules were in /system/lib/modules, not just what was in the ramdisk in boot.img.
Can you shut me up for good on this topic with a good answer? (I'm about to shut up anyway lol).
Thanks and thanks for the new kernel.
NielsvdS said:
When I have the original kernel do I have to flash also the dirty ROM?
Click to expand...
Click to collapse
No, if you are all stock just flash the the kernel zip (you need to have bootloader unlocked and flashed twrp ofc)
If I understood the question correctly...
hachamacha said:
@eng.stk : Welcome and a quick question (I hope):
I'm guessing that you create custom modules (/system/lib/modules/*.ko) for your kernel. If so, I'm wondering if it's really possible to revert back to stock kernel , the way many people are claiming it is, by just flashing the old 3.5.3 stock boot.img file? I've not yet developed for Marshmallow, only earlier flavors, so I'm still of the ilk where it mattered what modules were in /system/lib/modules, not just what was in the ramdisk in boot.img.
Can you shut me up for good on this topic with a good answer? (I'm about to shut up anyway lol).
Thanks and thanks for the new kernel.
Click to expand...
Click to collapse
Sure that's what systemless is: I don't touch the system partition.
Flashing boot.img from 3.5.3 get's you full stock again.

[KERNEL] [blu_spark r226 unified OP5/5T] [A10 unified]

{
"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-11.2 (cortex-a73.cortex-a53 targeted, build from gcc-11.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 OP5 builds based on OnePlusOSS/android_kernel_oneplus_msm8998
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
Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)
No OC, use 250HZ 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
ZRAM Swap (LZ4) and adaptive LMK on 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 low level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
Backlight min brightness option
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 ZIP
FKM download configs: oos | custom
Extras download location
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: 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 ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
OnePlus 5 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.
Contributors
eng.stk
Source Code: https://github.com/engstk/op5
blu_spark r8
All right crew!
First build of your favorite kernel is up. Wicked!
Just got an OP5 developer unit yesterday from Oneplus, so today you already have a fully featured blu_spark build.
Most of the features you are used to from blu_spark on OP3/3T and others are in, this first build was compiled with Linaro GCC 5.4 (blu_naro 7.1 build still need some work).
Pretty happy with the stable and smooth base, next weeks will bring more of the usual goodies, there's still lot's of room for improvements :fingers-crossed:
blu_spark_r8-oos_op5_49e4692.zip
First public build (check OP and github for details)
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) or OB.
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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Custom build isn't compatible with EAS stuff.
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
Loved your kernel on my old Oneplus X and Nexus 5. So awesome to have you back.
Congrats for getting recognised by OnePlus and getting a free OP5. :good:
@eng.stk Bad boy of kernel is here!!!!Yes!!!!Tnx bro!!
wow finally wellcome
Welcome, let's start the show!
So glad to see you here, thanks for the support! Am I missing the kernel download? Doesn't seem to be on the download page. Thanks again!
opensource4life said:
So glad to see you here, thanks for the support! Am I missing the kernel download? Doesn't seem to be on the download page. Thanks again!
Click to expand...
Click to collapse
Wait.....
Oh I'm more than happy to wait as long as necessary for this bad boy! Just wanted to make sure I wasn't missing it is all
Welcome @eng.stk ! Loved youd Kernel on the OP3 :good:
opensource4life said:
Oh I'm more than happy to wait as long as necessary for this bad boy! Just wanted to make sure I wasn't missing it is all
Click to expand...
Click to collapse
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
eng.stk said:
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
Click to expand...
Click to collapse
Bro,are you also thinking to do your blue twrp?Just to know....tnx a lot,i m so happy that you are here!!
Sweet!..Loved your kernel on onyx.
eng.stk said:
It's up, enjoy guys!
Great times ahead of us guys, this is an awesome device :highfive:
Click to expand...
Click to collapse
Thank you so much!!!
Flamehell said:
Bro,are you also thinking to do your blue twrp?Just to know....tnx a lot,i m so happy that you are here!!
Click to expand...
Click to collapse
Nice to see all of you guys here
For the time being my priority is OOS kernel and will consume pretty much all of my time since it has lot's of new stuff.
Omg, my favorite kernel now on the OnePlus 5 :laugh::highfive:
Wow this was quick, considering you only got the device yesterday.
Keep it up buddy !!
Is this OK, or do I need to flash again? I download the zip from the first post, flash in twrp, the app comes with a update.
tinuz97 said:
Is this OK, or do I need to flash again? I download the zip from the first post, flash in twrp, the app comes with a update.
Click to expand...
Click to collapse
That's ok, that app is searching for other kernel updates.
eng.stk said:
All right crew!
First build of your favorite kernel is up. Wicked!
Just got an OP5 developer unit yesterday from Oneplus, so today you already have a fully featured blu_spark build.
Most of the features you are used to from blu_spark on OP3/3T and others are in, this first build was compiled with Linaro GCC 5.4 (blu_naro 7.1 build still need some work).
Pretty happy with the stable and smooth base, next weeks will bring more of the usual goodies, there's still lot's of room for improvements :fingers-crossed:
blu_spark_r8-oos_op5_49e4692.zip
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) or OB.
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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Custom build isn't compatible with EAS stuff.
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
Click to expand...
Click to collapse
Yeahhhhh :fingers-crossed::highfive:
Happy to see you again :good: Keep the good work !

[KERNEL][STABLE][TW][O][8.0][ARC5][20.03.18][SM-G960F/FD/N] FlashKernel V1.0.0

FlashKernel for SM-G960F/FD/N
{
"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"
}
Supports touchwiz based roms only
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
Features of this Kernel:
- Build with latest 4.9 google toolchain
- Build with ARC5 kernel source code
- Latest Linux version 4.9.88, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv, conservative, schedutil (default)
- Includes latest ARC5 ramdisk
- I/O schedulers: CFQ (Default), No-op, Deadline
- TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
- Selinux is set to permissive (settings will show enforcing to fake apps)
- All samsung security related configs disabled (as knox, tima, restrict rooting)
- More to come soon
Download:
V1.0.0 Via AFH
Bugs/Problems:
- Samsung Pay, Secure folder won't work anymore after tripping knox!
- Let me know
Instructions:
0. Have a working recovery (this includes OEM unlock enabled) and encryption removed! (to install TWRP visit this thread)
1. Download kernel and copy it to your sd card
2. Boot into twrp recovery mode (press bixby + volume up + power)
3. Flash kernel
4. Flash any other file which affects the ramdisk (Magisk or SuperSU)
5. Reboot
Telegram:
FlashKernel Chat
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
​
PayPal​
Credits/Thanks:
- Samsung for the sources
- the great linus for his amazing kernel source
- geiti94 for general help
XDA:DevDB Information
FlashKernel SM-G960F, Kernel for the Samsung Galaxy S9
Contributors
Tkkg1994
Source Code: https://github.com/GrifoDev/FlashKernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.0.0
Stable Release Date: 2018-03-20
Created 2018-03-20
Last Updated 2018-03-23
Reserved
Reserved
Nice
can it under vltage to improve battery
wow the first custom kernel! well done! pls advise on what it can and can't do and what tweaks app is recommended? mtweaks?
Paradoxxx said:
Nice
Click to expand...
Click to collapse
Thanks
comanair said:
can it under vltage to improve battery
Click to expand...
Click to collapse
No, the features are listed in the OP...
Sage said:
wow the first custom kernel! well done! pls advise on what it can and can't do and what tweaks app is recommended? mtweaks?
Click to expand...
Click to collapse
Thank you!
Mtweaks or Kernel adiutor works fine. The kernel is very close to stock, only updated linux patches and that's it :good: (check the OP for all features)
Tkkg1994 said:
Thanks
No, the features are listed in the OP...
Thank you!
Mtweaks or Kernel adiutor works fine. The kernel is very close to stock, only updated linux patches and that's it :good: (check the OP for all features)
Click to expand...
Click to collapse
Magisk working?
iamnotkurtcobain said:
Magisk working?
Click to expand...
Click to collapse
You can try any kernel and magisk won't work. Magisk needs fixing, that's not something me or anyone else could change...
Since topjohnwu is in the army he won't be able to do much but I will help him to figure it out once he is back
Is dex patched? can we start Dex with "normal" hdmi adapter and/or chromecast or sideview/miracast?
inteks said:
Is dex patched? can we start Dex with "normal" hdmi adapter and/or chromecast or sideview/miracast?
Click to expand...
Click to collapse
Not yet but that can be added for sure :good:
Tkkg1994 said:
Not yet but that can be added for sure :good:
Click to expand...
Click to collapse
yeah. this would be cool! :good: btw. i'm new to s9 came from s7e. is it possible to start dex (when kernel is patched) if i use a mirroring app like sidesync, teamviewer, chromcast, Mobizen, Airdroid and so on...
Not sure what happened, but my phone performs a lot slower after flashing this kernel. Also, is it normal that when flashing the kernel, the device automatically reboots? I also get the SecuritylogAgent notification now.
Just flashed the kernel and my phone i very laggy and it keeps rebooting over and over
Don't know why is this hapening
I found that random rw speed is drastically reduced due to the linux updates. I'll find the related commit and revert it!
Thanks for your understanding
In case anything goes wrong or looks suspicious, you can always attach a log from your problem :good:
Face & Iris Recognition Errors.
I've just flashed kernal and phone boots fine into setup. Face and iris recognition has stopped working. It states it can't see your face or eyes. Is this a known problem?
Thanks in advance.
Cyber-Duck said:
I've just flashed kernal and phone boots fine into setup. Face and iris recognition has stopped working. It states it can't see your face or eyes. Is this a known problem?
Thanks in advance.
Click to expand...
Click to collapse
Not a known problem (otherwise it would be listed in the bug list). Kernel logs are always welcome
Tkkg, can you post a zip with the stock kernel in the mean time for me to flash? My phone is unusable in this state.
Is it me, I can only get big cores to clock to 1794 in Adiutor?
Cross Forum
Guys for upcoming posts/releases please use the cross development thread (unified thread for both the S9 and the S9+)
You can find the thread link here

[KERNEL][7.x - 10.x] Tsurara-QZ 1.3d [Z00L][Z00T]

{
"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"
}
Custom Kernel for Lineage 17.0, tested only on Android Q (LineageOS 17).
Kernel Features (Whats New?):
CPU Governor : BLU_ACTIVE
I/O Scheduler: anxiety,sioplus,maple,zen
TCP Congestion Algorithm : cubic, bic, htcp, reno, westwood
F2FS Support
ZSWAP,Z-RAM (lzo,lz4,lz4hc,deflate)
Fsync
Software CRC Control
Gentle Fair Sleepers
Adreno Idler
Arch Power
wq_power_saving
Minor Optimization and Patches
Compiled Using Latest GCC11.1
Tested ROM:
LineageOS 17
Downloads:
Older Version :
V.1.0
V.1.2a
V.1.3a
V.1.3c
Latest:
V.1.3d
Note: Due a change on some system related stuff, it's required to clear your dalvik-cache after flashing this v.1.3d
FAQ:
Is this kernel going to be updated frequently?
Answer: probably, if i am not busy.. it'll just mostly follow Lineage17 commits
I Want this FEATURE
Answer: will probably add, not sure
what about TCP Westwood?
Answer: sometimes later on, i'll probably add it or if Lineage 17 unnofficial author doing it
Known Issues:
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Information:
Linux kernel version: 3.10.108
Based from:Lineage17-unnoffical markkiths Z00L-ten branch
Compiler Used
GCC 11.1 Experimental (ARM64) (Aarch64-ELF)
Kernel Source:Here
Thanks:
markkiths for maintaining lineage17-Z00L/Z00T
mg712702 for maintaining lineage16-Z00L/Z00T
YaAlex3 for maintaining Z010ED
Roker2 for maintaining Z00RD Z00ED
maxmesa for maintaining Z00RD Z00ED
HyperTeam
theimpulson for firekernel
osm0sis for anykernel
and lot of people that i couldnt mention here that actually contribute to kernel
Changelogs :
-Tsurara v.1.0a
Rebase to Lineage17 kernel sources
Added Zen Scheduler and BLU_ACTIVE
Minor Cortex A53 Related optimization
Added Z00L Builds
-Tsurara v.1.2a (Ported ICEY-S)
Ported ICEY-S
Bunch of other stuff from ICEY-S
-Tsurara v.1.3 (ICEY-QZ)
Latest Lineage17 Commits:
Bluetooth Improvement
msm_performance changes
arm64/lib improve copy_page
Core_Ctrl changes
-Tsurara V.1.3a (ICEY-QZ)
Revert Core_Ctrl changes
GPUOC 650mhz for msm8936/msm8939
-Tsurara V.1.3b (ICEY-QZ)
cgroup fixes
sched fixes
lz4 fixes
additional core_ctrl changes/fixes
-Tsurara V.1.3c (ICEY-QZ)
Core_ctrl changes
Optimize Sched and Fork
-Tsurara V.1.3d (ICEY-QZ)
uid_sys_stats fix
Specific Patches :
Lineage17 Z00T Fixes
-Limit dex2oat to 1 and set filter to speed-profiles
for better experience and SOC temperatures
-better lz4 configuration for playing games
-set default compiler to "speed-profile"
-Configure IO Stats and add_random to be enabled
Lineage 17 03-09 Z00T Fixes
-Same with above but updated to 03-09 updates
userdebug fixes
-for games that refuse to launch
(Magisk Modules) selinux_permissive_v2 (Source Here)
-Fix chrome crashing issues in Q
(only in older version, 03-09 doesnt need this)
How to use:
Flash on TWRP
Hi,
good job.
From the title it follows that this kernel can be used from Android 7 up to 10; it's correct?
I would like to test it on an Asus ZE550KL Z00LD with Aosp 5.8 Android 8.1.
Thanks so much
jimjack12 said:
Hi,
good job.
From the title it follows that this kernel can be used from Android 7 up to 10; it's correct?
I would like to test it on an Asus ZE550KL Z00LD with Aosp 5.8 Android 8.1.
Thanks so much
Click to expand...
Click to collapse
its should be, its ICEY-S modified to work with Q.. if you can kindly share your experience on older rom such as 7.x / 8.x / 9.x, that'll be great for other user to check and consider wether not or will they use this kernels.
Hi ReikaRin and thanks for the great work.
Today I tried to install the Kernel "ICEY-QZ-1.0.3a-02-03-2021-11-29-Z00L-Q.zip" on Asus ZE550KL Z00LD 16/2 Gb Android 8.1 AOSP Extended 5.8 and the installation goes successful without any errors.
I can't do all the tests on the device as I don't play with it, I don't use bluetooth headsets, etc ...
However, I can confirm that the device is working properly.
We are waiting for some other members of the Forum who do other tests.
Thanks so much
Avoid using Zen scheduler for now if you're using 1.0.3b
Edit: currently pushing new builds, zen should be disabled properly now
Edit2: Fixed
any fix for the freeze in unity game? i hope there is a fix.. first tiem use this my phone is cool af idk if it bcoz this kernel or weather lol.... but my game is freeze and got banned bcoz afk... hope it
Zero 2wo said:
any fix for the freeze in unity game? i hope there is a fix.. first tiem use this my phone is cool af idk if it bcoz this kernel or weather lol.... but my game is freeze and got banned bcoz afk... hope it
Click to expand...
Click to collapse
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
ReikaRin said:
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Click to expand...
Click to collapse
ok i will try it.. thanks for gpu oc kernel..... im flash the latest stable.. and i hope the unstable will be stable soon.. thank alot to you i think asus z00ud is already forgoten lol.... so just enable the i/o stats and add random to fix game freeze?
ReikaRin said:
it depend on the rom but some of them have it configured using script (you can modify it using root then find it or have some Kernel Manager do it automatically for you everytime your phone boot, i'll just copy the notes here :
My Unity Games Freeze after a slight Stutters!
Fix: " I/O Stats" and " add_random" set to 1 if they're 0
Click to expand...
Click to collapse
just enable the i/o stats and add random? but why it still freeze
anyone play any unity game with this kernel? i hope there is a real fiz.. bcoz this kernel is nice.. but the freeze is happen... or any recommendation rom to fix this?
Zero 2wo said:
just enable the i/o stats and add random? but why it still freeze
Click to expand...
Click to collapse
what game you're talking btw?, also EX Kernel Manager does not expose it.. try using Lanthanum Toolboxes or Smartpack kernel manager then check on I/O Section, it help mitigate the freeze but not entirely.. it happen when the Storage is Busy or when your CPU Usage spiked to 100% for short duration, it just a known behaviour of Unity's IL2CPP/Mono backend. this does not affect any recent phone mainly because what we're using (in this case MSM8916/MSM8939) is really just that old.
ReikaRin said:
what game you're talking btw?, also EX Kernel Manager does not expose it.. try using Lanthanum Toolboxes or Smartpack kernel manager then check on I/O Section, it help mitigate the freeze but not entirely.. it happen when the Storage is Busy or when your CPU Usage spiked to 100% for short duration, it just a known behaviour of Unity's IL2CPP/Mono backend. this does not affect any recent phone mainly because what we're using (in this case MSM8916/MSM8939) is really just that old.
Click to expand...
Click to collapse
im playing mobile legend... i change i/o stat and add random with spkm... but its freezing... so im just use stock from from los q
Zero 2wo said:
im playing mobile legend... i change i/o stat and add random with spkm... but its freezing... so im just use stock from from los q
Click to expand...
Click to collapse
i don't really play Mobile Legends, so can't really say much about that freezing issues.
Thanks for reporting anyway~
i can probably install lineage 10 tomorrow. we got a new build today.
is "ICEY-QZ-1.0.3-02-03-2021-04-52-Z00T-Q" stable enough? can i have a modified V.1.3c if you're not busy?
Hi ReikaRin, great job, thanks.
One question: I installed the latest LineageOs 17.1 build from 09.03.2021, after installing your kernel, 1.3c, it completely muted the audio. is it a kernel or rom problem? Asus ZE550KL Z00LD 16/2 Gb. Thanks so much
i have got error:1 when try install selinux_permissive_v2 . any one ?
markkiths said:
Can you Try go to settings > system > system profile turn off then restart device and test audio again?
For new build you must to do wipe system because we have much change with library
Click to expand...
Click to collapse
Thank you so much markkiths,
I had forgotten this detail ....
However with the default kernel, the rom works very well.
Thank you
str4610 said:
i have got error:1 when try install selinux_permissive_v2 . any one ?
Click to expand...
Click to collapse
that is magisk module, i forgot to mention it.. sorry

Development [KERNEL] [blu_spark r148 OP9/Pro] [A13 Custom]

{
"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 upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)
full ThinLTO -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish OP9 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability
Systemless installer (doesn't touch system/vendor 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
Modded schedutil governor merged from latest CAF sm8350 patchset
No OC, use 250HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default, BBR available), Network tweaks and updated drivers
Several I/O control tweaks, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
ZRAM Swap (4GB LZ4 default) and with file disabled (2 GB storage gain), LZO-RLE and ZSTD are available
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and general improvements for GPU driver
adrenoboost ready (disabled by default)
Backlight min brightness and brightness scaling (custom) option
Gamepad support enabled (xbox, ps4, switch)
USB2 Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
Compatible with Kernel Flasher, EXKM, FKM , Kernel Adiutor and others
DOWNLOAD KERNEL ZIP
Kernel Flasher/FKM download configs: oos | custom
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img/vendor_boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: 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 ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/vendor_boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
Source Code: https://github.com/engstk/op9
Don't forget to hit thanks, it's free
OnePlus 9 Pro development unit donated by OnePlus. Big shouts to them
Very proud for being on the OnePlus Developer Program, special thanks to dev relations team.
blu_spark_r23 release
First blu_spark build for the OP9 series is up
This kernel is tested for the 9 Pro but it's unified, so should work for the OP9 also (need some fixes since code is broken). So backup you boot if you want to test and let me know
Kernel already have some merged goodies and I think I have a good base to work with. For a couple days of work, it's not bad
I'll take a look into more stuff to come, some things in OP are WIP. Stay tuned!
You can use FKM download kernel feature, just import the links bellow in the app.
FKM download configs: oos
Changelog:
Build with Google Clang 12.0.5 + LLD linker
Synchronize codes for OnePlus 9/Pro Oxygen 11.2.6.6.LE25AA
Several build error fixes and quirks handled
Compilation improvements an cruf removed
Some goodies already merged like filesystem stuff, cpu governor & boost/msm perf, TCP algos, wakelock blocker, vibration and haptic feedback control, gpu adrenoboost, etc
All drivers builtin, wifi stack and datarmmnet merged from CAF
net/wireguard: merge v1.0.20210424
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am mostly interested on debugging stuff in stock stable OOS (with logs and reproducible steps to replicate the issue).
No mirrors please
Don't forget to hit thanks, it's free
Thanks for the kernel, don't suppose you are still doing TWRP builds?
"Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8350 for max stability"
Click to expand...
Click to collapse
Copy paste. or you use the OP8 kernel tree ?
Yay, bluespark is here
Mar-cel said:
Copy paste. or you use the OP8 kernel tree ?
Click to expand...
Click to collapse
Fixed ;p
djsubterrain said:
Thanks for the kernel, don't suppose you are still doing TWRP builds?
Click to expand...
Click to collapse
I don't have the need for TWRP since autoflash apps, so no ;p
FKM Flasher config linked to OP8 series...
dijia1124 said:
FKM Flasher config linked to OP8 series...
Click to expand...
Click to collapse
Changed the one in OP but forgot the one in the release post xD
Just flashed and going to test on stock settings for the next 2 days! Thanks for this I ran your kernel on the 7t pro!
@eng.stk I think the kernel has the same issue as Omega had, wireless charging seems to stop at 95%
Dumped out some logs if it will help
EDIT : OK, Apparently I'm talking crap, just seemed to be charging slowly but did get to 100%
Does anyone have stock kernel?
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
If you need to revert to stock, extract and flash it from the OTA update in the pinned thread (follow LineageOS's instructions on how to do that), or just flash the magisk patched one in that pinned thread.
netgar said:
Does anyone have stock kernel?
Click to expand...
Click to collapse
flash the stock boot.img of the version and region you are on.
must root ?
brmbjn said:
must root ?
Click to expand...
Click to collapse
yes
brmbjn said:
must root ?
Click to expand...
Click to collapse
I inject some runtime changes via Magisk systemless, so to get full stuff you need root.
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Flasher8 said:
Got some laggy sound with YouTube vanced off screen playing background music/ video. Attached log for info. Never happen with stock and omega kernel b4. Thanks
Click to expand...
Click to collapse
Can't replicate in any of my music or video apps
Charging is bit slow compared to stock or omega versions

Categories

Resources