[KERNEL] Cortex Kernel v1.1.7 [July 20, 2017] [7.1.2] - Google Pixel XL ROMs, Kernels, Recoveries, & Other

{
"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"
}
With the help of several people, I'm proud to bring you Cortex Kernel! This is my first independent kernel, and as such, is a constant WIP. Of course, things will be broken. I will fix what I can as I learn more about kernel development. Just hang in there, it's worth it!​
FEATURES:
* Patched to 3.18.60-61 (credit freak07 / dorimanx)
* Includes July security patches
* SlimbusOC (credit freak07)
* GPU overclocking (133MHz to 652MHz) (freak07)
* IO Schedulers:
- BFQ
- CFQ
- DEADLINE
- FIFO
- FIOPS
- MAPLE
- NOOP
- SIO
- SIOPLUS
- TEST-IOSCHED
- TRIPNDROID
- VR
- ZEN
* Wake gestures
* SafetyNet patch
* Adrenoboost
* Updated BFQ scheduler
* Tweaked squashfs
* Added KSM
* Disabled power gating
* Disabled dm-verity
* Disabled crc checks
NOTE: SDCARDFS may be unstable. Use at your own risk!
To enable SDCARDFS, I quote @freak07:
1. Open the file system/build.prop and add the line "ro.sys.sdcardfs=true" without the quotes at the bottom and
Make sure your selinux is set to permissive. You can either do this via an app or via script.
here is the download for a script: https://www.androidfilehost.com/?w=files&flid=155912
2. Extract the script and put it in either system/etc/init.d or /system/su.d or /su.d
3. Set the file´s permissions to rwxr-xr-x (755)
4. Reboot.
Click to expand...
Click to collapse
DOWNLOADS:
Cortex Kernel v1.1.7
CHANGELOG:
v1.1.7
* Patched to 3.18.60-61 (credit freak07 / dorimanx)
* Added SIOPLUS, FIFO, TRIPNDROID, and VR schedulers
* Updated BFQ to v8r10
* Brought SDCARDFS up-to-date (credit freak07)
* Improved horizontal sweep wake gesture
PREVIOUS CHANGES:
v1.1.0
* Patched to 3.18.53-54 (credit freak07 / dorimanx)
* Enabled KSM
* Optimized kernel for performance, not size
* Disabled a LOT of logging
* Tweaked USB seriel connections
* IPv6 improvements
* Fair scheduler updates
v1.0.3
* Patched to 3.18.49-50 (credit freak07 / dorimanx)
* Includes July security patches
* Added SlimbusOC (credit freak07)
* Added GPU overclocking (133MHz to 652MHz)
* Added FIOPS, SIO, and ZEN schedulers
* Added wake gestures
* Added SafetyNet patch
* Added adrenoboost
* Updated BFQ scheduler to v8r8
* Tweaked interactive scheduler
* Tweaked deadline scheduler
* Tweaked squashfs
* Disabled power gating
* Disabled dm-verity
* Disabled crc checks
INSTALLATION:
1: Flash kernel in TWRP (dont reboot after)
2: Flash TWRP installer
3: Reboot straight to recovery
4: Flash SuperSu 2.82-SR1-PixelFix OR fastboot boot @chainfire's boot-to-root.img
CREDITS:
Google : Android
@freak07 : Kernel base and other help
@osm0sis : Anykernel2 installer
@The Flash : Various commits
@dorimanx : Patches and various commits
various other people whose commits I picked
XDA:DevDB Information
Cortex Kernel for the Pixel XL, Kernel for the Google Pixel XL
Contributors
chevycam94
Source Code: https://github.com/chevycam94/marlin_kernel
Kernel Special Features: OC + Tweaks
Version Information
Status: Stable
Current Stable Version: 1.1.7
Stable Release Date: 2017-07-20
Created 2017-07-09
Last Updated 2017-07-20

Reserved

Reserved

Oh snap! First to try? Will report, thanks!
Wait, is cortex ROM coming to pixel XL? I will freak!!!!!

yung40oz84 said:
Oh snap! First to try? Will report, thanks!
Wait, is cortex ROM coming to pixel XL? I will freak!!!!!
Click to expand...
Click to collapse
I'm hoping. Working with the Pixel isn't anything like it is for the Nexus 6P. I'm still figuring it out.

chevycam94 said:
I'm hoping. Working with the Pixel isn't anything like it is for the Nexus 6P. I'm still figuring it out.
Click to expand...
Click to collapse
Oh man, that's great news bud, good luck! Just flashed the kernel. Does this have the sdcardfs commits to be compatible with sdcardfs?
EDIT: nevermind I checked GitHub, didn't see them. Thanks man, testing it now
---------- Post added at 04:08 AM ---------- Previous post was at 04:03 AM ----------
Just a couple feature requests should be easy ones. High brightness mode, backlight dimmer, and to be able to block all the wakelocks ex kernel manager, there's a slew of them, not sure the commits. One last possible would be high-speed congestion control. Sorry, longer than I wanted, but the high-speed is secondary.

yung40oz84 said:
Oh man, that's great news bud, good luck! Just flashed the kernel. Does this have the sdcardfs commits to be compatible with sdcardfs?
EDIT: nevermind I checked GitHub, didn't see them. Thanks man, testing it now
Click to expand...
Click to collapse
It has sdcardfs, but it's completely stock. For the time being, I chose not to commit anything to it. So no current plans to support it. I'm hoping to make this a lean type of kernel, with a few tweaks available. I play Dawn of Titans a lot, and having smooth gameplay is something I look for in a kernel/ROM. Hopefully my kernel (and upcoming ROM) will work perfectly together and create a great platform.

yung40oz84 said:
Just a couple feature requests should be easy ones. High brightness mode, backlight dimmer, and to be able to block all the wakelocks ex kernel manager, there's a slew of them, not sure the commits. One last possible would be high-speed congestion control. Sorry, longer than I wanted, but the high-speed is secondary.
Click to expand...
Click to collapse
I'll keep that in mind.

chevycam94 said:
It has sdcardfs, but it's completely stock. For the time being, I chose not to commit anything to it. So no current plans to support it. I'm hoping to make this a lean type of kernel, with a few tweaks available. I play Dawn of Titans a lot, and having smooth gameplay is something I look for in a kernel/ROM. Hopefully my kernel (and upcoming ROM) will work perfectly together and create a great platform.
Click to expand...
Click to collapse
Sounds like a plan. Sdcardfs isn't a dire need, lol. Just wondering. So you're saying if I add the build.prop commit for sdcardfs it won't work right? Also looking forward to what this brings, it's running incredibly smooth since booting.

I'm not sure honestly. I think it'll work, but not very well. People have made LOTS of patches to it to improve it. I might if I get the time, but thats last on my list.

yung40oz84 said:
Sounds like a plan. Sdcardfs isn't a dire need, lol. Just wondering. So you're saying if I add the build.prop commit for sdcardfs it won't work right? Also looking forward to what this brings, it's running incredibly smooth since booting.
Click to expand...
Click to collapse
Probably you will face a lot of crashes when accessing storage.
---------- Post added at 07:04 AM ---------- Previous post was at 07:04 AM ----------
Also @chevycam94 Congratulations :good:

I had a freeze and reboot to ram dump. Your not the only kernel. Happening on Franco and kirosuko as well. Maybe check there commits and threads too. I couldn't get log but go others that is helpful. KMSG here, https://drive.google.com/file/d/0Bw-ARc6DtAVJUHdWYnlaSmMza1k/view?usp=drivesdk. Other is attached

Could a couple of you test this kernel build for me? I'm having a fight with my build system. I'm getting 9 "section mismatch" errors, and I am scratching my head to the bone trying to figure out whats going wrong. My code built fine on my last VM, but I screwed up and killed that one. Now my new setup, same OS, same toolchain, same code, builds with 9 errors. I have to force it to ignore those errors (which I didn't have to do before), so I have no clue if this even works now. I would think it would, seeing as the code was functional before, and hasn't been changed since.
Test the crap out of it. I know it still has the regular issues some other kernels have, but it should otherwise be fully functional.......SHOULD
UPDATE: I managed to find some time to test it. So far, it's working fine. Some things spam the crap out of logcat, but that's ok. Compared to the stock kernel this is instantly faster. HUGE difference. Wasn't really expecting it to be that noticable. Nothing has crashed so far. If all goes well, I'll start work on the next release. v1.0.9 isn't meant to be a public release BTW. It's simply in the testing phase. But if you like it, feel free to use it! Just know that it's not officially supported in any way.

PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Code:
dirty ratio: 40 (default=20)
dirty background ratio: 10 (default=5)
overcommit ratio: 35 (default=50)
swappiness: 40 (default=60)

v1.1.0 is up

chevycam94 said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Code:
dirty ratio: 40 (default=20)
dirty background ratio: 10 (default=5)
overcommit ratio: 35 (default=50)
swappiness: 40 (default=60)
Click to expand...
Click to collapse
Where do I change these settings? Thanks

joey.gunnarson said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Where do I change these settings? Thanks
Click to expand...
Click to collapse
You can find them in the 'Virtual Memory' section of whatever kernel manager you are using.

joey.gunnarson said:
Where do I change these settings? Thanks
Click to expand...
Click to collapse
Honestly, I'd spring the money for EX Kernel Manager. @flar2 has made a nearly perfect app to control just about everything you could need. It's not designed to be a "toolbox", but rather just a place to set options for the system, kernel, cpu, gpu, and memory, for the most part.
He still needs to update the live CPU display on the main page, as its not accurate, or even right (at least on the Pixel). Along with odd CPU frequency selections (they dont always become what you select, depending on kernel/setup). There are one or two other things, but I don't remember off the top of my head.
But regardless, it's the best kernel control app I know of right now. Most friendly for me. Also give you widgets/notification icons for "performance mode" and "power saving" mode. Quick toggles. Love that part.

chevycam94 said:
PERFORMANCE TWEAKS:
Use these tweaks to really get some kick....um....butt, performance from your Pixel XL! I'm on my v1.1.0 kernel (unreleased), but it's essentially the same as the v1.0.9 zip I just posted for testing. HUGE difference in the phone!
Chage the following items to the given values:
Click to expand...
Click to collapse
Will the battery consumption got huge difference too? Lol

sakuhei said:
Will the battery consumption got huge difference too? Lol
Click to expand...
Click to collapse
Battery life is about the same, or slightly better. At least for me. Depends on your setup.

Related

[5.1.1][G92xF/T/I/W8/L/S/K][3. August][Unicorns] SimplKernel r6

{
"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"
}
Never skip LAG-day - Live on the Edge​Currently supported: G92xF/I/T/W8/L/S/K​Read the OP please.. It's important. I'll troll you if you don't ​
[/CENTER][/B]
Code:
###Disclaimer###
Your warranty is now void.
We are not responsible if your phone will be damaged, broken, bootlooping or detonating in a thermonuclear reaction.
YOU are choosing to make these modifications and accept the fact that something might go wrong.
Important / read before flash mandatory
This is the first stable SimplKernel build which is 5.1.1 based and unified. It only supports 5.1.1 and the listed variants. No other variants.
For W8: Seems that you can run 5.1.1, but no new bootloader. If you run 5.1.1 and this and have fingerprint on your Rom, the second boot won't work anymore and you'll need Odin. A Rom with removed Fingerprint may solve it, but I don't have a W8 and can't test or say for sure. Best is to wait for the new bootloader alltogether.
For all other variants: This should work on L/S/K, if/when they receive 5.1.1, but someone will need to confirm by flashing.
Same counts for I.
If you run 5.1.1 without the new bootloader, you will encounter the same issue described above for the W8. Same counts: Better wait for the new Bootloader.
Introduction
SimplKernel is developed by SimplTeam. We originate from the Note4 and have a long story of success there. Our builds are known for being close to stock, yet full of useful features and enhancements. The aim is to provide maximum performance and maximum batterylife. No compromises.
Features
# Based on latest G925FXXU2BOFJ
# Pre-Rooted
# Compiled with AARCH64-Android-4.8 toolchain - Kudos Google, this is one is awesome
# Replaced CPU_FREQ_RELATION_L with C for Interactive -> selects freq with min euclidean distance to target freq, should be more efficient
# MDNIE ColorControl
# VoltageControl (CPU, GPU, HPM, BUS)
# Underclocking by default
# Full Synapse Support
# SELinux mode set to Permissive
# Governors added: powersave, intellidemand, ondemand, bluactive and intelliactive
# busybox and init.d
Click to expand...
Click to collapse
--> More will be added, this is just the start :angel:
Changelog
Code:
R6
- Updated to @g.lewarnes newest Unification code
- Added DriveDroid Support - I had this before @g.lewarne (check my commit haha), but he fixed it for the S6 before I did. Thanks for taking work off me @g.lewarne, credit goes to you
- Removed simplgov - Too screwed up.
- SourceDrop BOG9 - Thanks AndreiLux for taking work off me, did it like above. I wanted to do it, but someone already had it.. Lazy mans paradise.
- Some neat addons I found above - HMP especially. Commit - Properly enabled of course.
- Patches I forgot.
R5U
- Unified Build
- Pre-rooted
- simplgov added
- Custom govs temporarily disabled
- Based on BOFJ 5.1.1
- Some Synapse derps fixed up
RXF
- Removed mDNIE Control + switchback to mDNIE Lite
- Some AOE5 cherry-picks
- Sensorhub, MemoryManagement etc.
- Added and configured Direct_Memory_Access (Thanks to Samsung Japan)
- Tons of patches (see Github)
- Disabled the OOM-Killer (out-of-memory-killer) (Samsung Japan)
- We're still testing whether this actually has a practical purpose in daily usage or not
R4.1F/I
- Removed mDNIE ColorControl (working on it)
- Added Support for AOE6 based Roms (in-call audio fix)
R4T/W8 - Same as R4F
R4F
- Based on G925FXXU1AOE3
- Busybox updated to 1.23.2
- NightClock fixed
- GPS Fix for AOE3 based Firmwares
- Synapse included
- Enabled Synapse Support
- mDNIE Control -> Control your DisplayColors! Will be expanded.
- Governor selection for individual cluster (A53 & A57)
- Full CPU VoltageControl for both A53 & A57
- Underclocking to 200mhz enabled by Default
- HPM VoltageControl
- GPU VoltageControl
- Memory Bus, Internal Bus & Image Signal Processor VoltageControl
- mDNIE Tab in Synapse (name is Screen)
- I/O Scheduler settings (Tunables + Definable Read-Ahead)
- BFQ and Deadline I/O scheds added*
- BFQ as default
- VirtualMachine Tweaks
- Full Synapse Settings Backup added
- Fixed 2 GPIO memory leaks + 3rd probable leak
- Memory-killer enhancements (see Github)
- GPU Throttling Levels smoothened
- more stuff I forgot
R2.9F
- Added Overclock and Underclock (@ktoonsez) - Only in Ktweaker for now!
- Added VoltageControl
- Fixed the NightClock - Display is now fully turning off (Switch from MDNIE_LITE to MDNIE)
- DynamicMemoryAllocation: Reduce max PAGE_SIZE to 4 and CMA areas to 4
- Minor tweaks here and there, check my github :D
- Synapse support for 2.9F withdrawn - This build is a patch for NightClock users! R3F coming soon too..
- Added KTweaker for this build - @Ktoonsez ;)
v1.2F/T/W8
- Added T-Mobile, Canadian and I variants (T, W8 & I)
- Added Synapse Support
- Automatized Wifi-Forgetting fix in the ramdisk
- Ported MDNIE HIJACK (ColorControl) - Basic settings for now
- Reverted previous DeepSleep workaround and applied proper patch
- Added awesomeness
v1.1F
- Patched the DeepSleep problem / thanks to @HomerSp for this
- Added governors: Bluactive, Intelliactive, MythX (disabled) and enabled powersave + ondemand
- Added busybox and init.d
- CPU_FREQ_RELATION_C: When scaling freqs, it selects the freq with the minimum euclidean distance to target.
How to install
You need:
- A 5.1.1 based Rom and a supported variant (stock ROM counts)
- The 5.1.1 Bootloader. No support for problems you encounter without the new Bootloader.
Via recovery
You have to have a custom recovery like TWRP, Philz or CWM installed.
- Download the kernel
- Reboot to recovery
- A backup is always recommended
- Flash the zip file
- You're done! Reboot and enjoy.
Via Flashify
- Make sure that you are rooted.
- Download the zip and extract the boot.img
- Download the free app Flashify (Caution: Free Version only allows 3 flashes per day!)
- Grant Flashify Root permissions.
- In main screen, select Boot image and navigate to the previously extracted boot.img
Downloads
All Builds below are for 51.1 and for NO OTHER version.
Unified Build G92xF/I/T/W8/L/S/K (r6) (Android 5.1.1)
Latest r6 - click here
Click to expand...
Click to collapse
If you apply Interactive or simplgov in Synapse, ALWAYS enable it for both clusters. Enabling it for only one will cause funny effects, perhaps even a solid chaos, batterydrain and other unpleasant things. You've been warned.​
Credits
S6 Edge Tester-Team: For doing what no one did before, flashing a never tested build and going through huge pains to help me. It wouldn't be possible without any of you! :angel:
@strikerdj2011
@jaytehnut
@ShermCraig
@beats4x
@ktetreault14
@nvict
@skivnit
@xadidas4lifex
@reesedizan
@Daxxer2007
@faultlog
@techenthusiast
@Soft4y
@Silvercat
@Darktitor
@simorangkir_dcs
@Mentalmuso
@riofrio1000
@virulentt
@brar.arsh
XDA:DevDB Information
SimplKernel, Kernel for the Samsung Galaxy S6
Contributors
mythos234
Source Code: https://gitlab.com/mythos234/SimplKernel-5.1.1-G92X.git
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r6
Stable Release Date: 2015-08-06
Created 2015-07-03
Last Updated 2018-06-05
Reserved
Reserved
Nice! will test it on my w8! im on XtreStoLite 2.0 Odex without Fingerprint since my bootloader is still 5.0.2
Edit : confirmed second boot working without fingerprint on the rom!
working great on my 925F edge, with 5.1.1 bootloader and XtreStrolite rom <3
I looked at your github. What are the memory killer tweaks? I don't see anything that really seems to correlate to memory killer. Also, how did you disable OOM killer? From what I've seen, OOM is present but does nothing. I'm just asking for my own sanity
mikeyinid said:
I looked at your github. What are the memory killer tweaks? I don't see anything that really seems to correlate to memory killer. Also, how did you disable OOM killer? From what I've seen, OOM is present but does nothing. I'm just asking for my own sanity
Click to expand...
Click to collapse
Oh, my changelog for this build is as confused as my current state of mind is. OOM is back and enabled in this build, it was disabled prior to building in the configuration.
And looked at the commit history, yes you do seem to be right about missing memory-killer patches.
Sorry, I haven't managed to get all the patches I used to run in yet. Something was blocking boot for all week, thats why 3 governors are still disabled.
Today was my graduation day, it's a bit turbulent.. Published today instead on next Monday/Tuesday since it only lacks some minor patches at the moment
mythos234 said:
Oh, my changelog for this build is as confused as my current state of mind is. OOM is back and enabled in this build, it was disabled prior to building in the configuration.
And looked at the commit history, yes you do seem to be right about missing memory-killer patches.
Sorry, I haven't managed to get all the patches I used to run in yet. Something was blocking boot for all week, thats why 3 governors are still disabled.
Today was my graduation day, it's a bit turbulent.. Published today instead on next Monday/Tuesday since it only lacks some minor patches at the moment
Click to expand...
Click to collapse
OK, just making sure I'm not going crazy. I've spent months trying to figure Samsung's method of memory management out, my head has nearly exploded more times than I can count. I wouldn't waste your time with OOM or LMK stuff in the kernel. It does nothing. All of the memory management stuff is in the services.jar, and they're changing it in the next update. So the little bit I have figured out will be useless lol. Congrats on graduating too BTW
Does this kernel root also? I use one of the kernels that rooted 5.1.1 automatically and want to know if I will lose root by flashing this. Thanks in advance for any help.
mikeyinid said:
OK, just making sure I'm not going crazy. I've spent months trying to figure Samsung's method of memory management out, my head has nearly exploded more times than I can count. I wouldn't waste your time with OOM or LMK stuff in the kernel. It does nothing. All of the memory management stuff is in the services.jar, and they're changing it in the next update. So the little bit I have figured out will be useless lol. Congrats on graduating too BTW
Click to expand...
Click to collapse
Thanks Yeah, they work in mysterious ways that much is true. Otherwise disabling it should have solved it. Well, it didn't. At least I found a method to get new sourcecode within 15min after the firmware release.. They kind of rolled out the red carpet for me now.
thehustleman said:
Does this kernel root also? I use one of the kernels that rooted 5.1.1 automatically and want to know if I will lose root by flashing this. Thanks in advance for any help.
Click to expand...
Click to collapse
Theoretically, yes. In reality I updated the ramdisk about 5min prior to uploading and couldn't test if it works. But I believe that it does
Thanks, let's flash this baby
Sent from my SM-G925F
What cpu governor are you suggesting?
virulentt said:
What cpu governor are you suggesting?
Click to expand...
Click to collapse
Interactive, it's greatly adapted to the clusters and twice as big as the "usual" old Interactive thanks to it. You can also give simplgov a shot, it's basically Interactive with some changes I wanted to try out
Just flashed the kernel lets see how it performs. Currently on the interactive governor. Can you give some insight into your simplgov governor? What does it compare to?
Rebel25 said:
Just flashed the kernel lets see how it performs. Currently on the interactive governor. Can you give some insight into your simplgov governor? What does it compare to?
Click to expand...
Click to collapse
One post above yours...
OK thanks. Was hoping for is a bit more info. But a magician never reveals their secrets.
mythos234 said:
Interactive, it's greatly adapted to the clusters and twice as big as the "usual" old Interactive thanks to it. You can also give simplgov a shot, it's basically Interactive with some changes I wanted to try out
Click to expand...
Click to collapse
Using simplgov as we speak, runs super smooth!
Looks great
Guys,sorry for the stupid question....i m using XtreStoLite rom and i have a g 920F,the normal one.....can i flash this kernel?There is someone that is using with this kernel my same rom,and how it is?Tnx guys
Tnx @mythos234
This kernel as memory killer? Or all apps works fine in background?

[KERNEL] [N6] [7.0] [3.10.104] [UBER 6.3.1] Flash Kernel - v1.8 - December 25th

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6, based on my kernel for the Nexus 6P. I aim to add enough features to matter while keeping it lean and stable. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.41-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF
Support for overclocking to 2880 MHz (stock values by default)
CPU governors: barry_allen, blu_active, chill, conservative, darkness, elementalx, impulse, interactive (default), nightmare, ondemand, performance, smartmax, userspace, zzmoove
Hotplugs: blu_plug, mako_hotplug, msm_sleeper, zen_decision (default - mpdecision is disabled)
High brightness mode and backlight dimmer
KCAL color control
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Voltage control
Franco sound control and high performance audio
Adaptive low memory killer
UKSM (disabled by default)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, sioplus (default), tripndroid, and zen
USB fast charging
Wakelock controls
BCL disabled
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
Full F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Forced encryption and dm-verity disabled
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.0/7.1/7.1.1 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.0
Code:
[B]1.8[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246281]release post[/URL])
[LIST]
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]1.7[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112925]release post[/URL])
[LIST]
[*]December security update
[*]Upstream F2FS commits
[*]Improvements to cpuidle
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Fix tethering on 7.1.1 ROMs
[*]Add Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[/LIST]
[B]1.6[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69873175]release post[/URL])
[LIST]
[*]Revert an interactive governor patch that was introducing lag
[/LIST]
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859780]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Interactive governor improvements
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69526781]release post[/URL])
[LIST]
[*]November security update
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Fixed Mako Hotplug (thanks to [user=4231562]@Yoinx[/user])
[*]Updated BCL commits (thanks to [user=3292224]@franciscofranco[/user])
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264556]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[*]Removed cmdline patch from 1.2
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247056]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183164]release post[/URL])
[LIST]
[*]Add smartmax governor
[*]Add full F2FS support
[*]Add Motorola quick wakeup driver
[*]Fix simple_ondemand GPU governor
[*]Add [URL="http://kerneldedup.org/en/projects/uksm/introduction/"]UKSM[/URL] (disabled by default)
[*]Set default I/O scheduler to zen and readahead to 128kb
[*]Start kernel at stock frequencies
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[/LIST]
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
1.4 Q: I am having Wi-Fi disconnects on a 5GHz network, what's up?
1.4 A: Try increasing the wakelock divider on the following sys paths in a terminal emulator (can also be done in EXKM in the Miscellaneous section):
Code:
echo 8 > /sys/module/bcmdhd/parameters/wlrx_divide
echo 8 > /sys/module/bcmdhd/parameters/wlctrl_divide
Thank you to @Buckmarble for pointing this out!
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@DespairFactor for helping me with some kernel compilation issues and the Linaro source of the toolchains I use
@kantjer for pointing me to Linaro in the first place and being a beta tester along the way!
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/shamu
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
Flash Kernel, Kernel for the Nexus 6
Contributors
The Flash
Source Code: https://github.com/nathanchance/shamu
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8 - Nougat 7.0/7.1
Stable Release Date: 2016-12-25
Created 2016-10-11
Last Updated 2019-07-02
Reserved
Reserved
First
Amazing
Excellent kernel, and a welcome addition to the Shamu!
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Droidphilev said:
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Click to expand...
Click to collapse
Looking at the source, I do believe kexec is present in Flash Kernel. Multirom manager also reflects that is built in.
rebel1699 said:
Looking at the source, I do believe kexec is present in Flash Kernel. Multirom manager also reflects that is is built in.
Click to expand...
Click to collapse
Thank you! Soon time to flash
Droidphilev said:
Hi,
Thank you Nathan!
I know MultiRom isn't working very good with N yet but still:
Does you kernel have the kexec patch inside please?
Click to expand...
Click to collapse
Yes, as previously mentioned. OP has been updated to reflect this
Can you allow f2fs compatibility ?
many people use such partitions...
Thank you anyhow!
Nautilus74 said:
Can you allow f2fs compatibility ?
many people use such partitions...
Thank you anyhow!
Click to expand...
Click to collapse
Already queued up for the next update.
very good kernel
Kernel is sweet so far. Been rock solid stable in the few days I have been running it - def check this one out guys!
@The Flash
running great with PN 7.0 here.
although kernel manager doesn't show all hotplugs...kernel-aduiter shows only 2 i think and elementalX-manager doesn't show 1.....sorry forgot specifics coz i removed both and have no managers install now.
anyway, quick question:
u have better knowledge in this area than I do...whats the diff between interactive from this kernel and interactive from lean kernel...I have heard great things abt leankernel but never got the chance to run it coz by the time i bought nexus 5 he already moved to nexus 6...by the time i bought nexus 6 he already moved to nexus 6P...lol
[email protected] said:
@The Flash
running great with PN 7.0 here.
although kernel manager doesn't show all hotplugs...kernel-aduiter shows only 2 i think and elementalX-manager doesn't show 1.....sorry forgot specifics coz i removed both and have no managers install now.
anyway, quick question:
u have better knowledge in this area than I do...whats the diff between interactive from this kernel and interactive from lean kernel...I have heard great things abt leankernel but never got the chance to run it coz by the time i bought nexus 5 he already moved to nexus 6...by the time i bought nexus 6 he already moved to nexus 6P...lol
Click to expand...
Click to collapse
LeanKernel uses InteractiveX - Imoseyon's own version of Interactive with a screen off max freq. Interactive is a stock governor. This thread is GREAT for learning about all the awesome governors in this and other kernels - I personally use Darkness. http://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957 Hope this helps bud!
@The Flash
Your kernel runs really great with Tesla! It seems like a rocking solid beast!
Gesendet von meinem Nexus 6
@The Flash Looks great, will it improve battery? And what kernel settings do you recommend for a 4 hrs sot?
spevil07 said:
@The Flash
Your kernel runs really great with Tesla! It seems like a rocking solid beast!
Gesendet von meinem Nexus 6
Click to expand...
Click to collapse
Glad to hear!
Yasharkhan said:
@The Flash Looks great, will it improve battery? And what kernel settings do you recommend for a 4 hrs sot?
Click to expand...
Click to collapse
It should, I've added a lot of optimization packages. The default settings should be getting you more than 4 hours of SOT but you may try tweaking the governor and hotplug settings.
Running & sleeping well on the 10/10 build of Uberstock. Thanks for sharing your work!

[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017]

{
"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:
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* 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.
NOTES - MUST READ
1. Do not ask or request overclock. It wont be added.
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
3. ROOT is not included in kernel, neither in the flashable zip. You have to flash SuperSU zip manually, after flashing the kernel.
Click to expand...
Click to collapse
THREAD INFO:
Post #1: Notes, requirements, features, download links, installation instructions, sources, credits, screenshots
Post #2: Changelog and bugs.
Click to expand...
Click to collapse
REQUIREMENTS / COMPATIBILITY:
- Galaxy J5 2015
- Official Touchwiz stock rom 5.1.1
- Stock kernel, unmodified
- TWRP 5.1.1
It also work on:
- MIUI Lollipop
- ColorOS Lollipop
Click to expand...
Click to collapse
FEATURES:
-Based on CAF source for improved performance / smoothness (LA.BR.1.1.3_rb1.11)
-Several CAF patches
-Fixed DirtyCow, QuadRooter and other vulnerabilities
-Updated GPU driver to MM source
-Adreno Idler: main goal is to lower the power consumptions while maintaining high-performance
-SELinux permissive
-init.d support
-silenced many kernel logs
-fixed some memory leaks
-KCAL: Color Control
-QuickWakeup driver
-Drivedroid support - put an OS on your phone and boot your PC using the phone. Not tested, but it should work.
-governors: default + enabled ondemand & conservative governors + @squid2's lionfish
-schedulers: default + FIOPS, SIO, SIOPLUS, ZEN v2 and BFQ I/O schedulers
-enabled advanced TCP congestions: default ones + Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois + Sociopath
-4 hotplugs: IntelliPlug, MSM Hotplug, Bricked (MP DECISION), Alucard
-Prima WLAN driver
-tweak for better network speed
-tweaks to improve I/O latency on SSD
-many patches has been applied for faster I/O read / write
-CRC toggle: disabled by default (for more 30% performance according to its description)
-android log toggle on/off: disabled by default
-Fsync toggle on/off: Disabling it should improve the performance, but there might be data loss. More details here: https://forum.xda-developers.com/showpost.php?p=33381928&postcount=5
-arch_power and gentle_fair_sleepers toggles
-disabled CPU L2 Cache during video sessions to save more power
-removed verifiedbootstate flag from /proc/cmdline (in order to pass the SafetyNet CTS check with an unlocked bootloader, this patch is needed); I dont know if Pokemon GO game or something similar works now, you can check and report as im not playing those games)
Click to expand...
Click to collapse
DOWNLOAD:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
INSTALLATION INSTRUCTIONS:
1. Be sure that you are using TWRP according to the Android version you are using.
2. Download kernel archive and put it on your external SD Card.
3. Now go to TWRP recovery by keeping pressing Power button + home button + volume UP button at same time for few seconds.
4. Install the kernel zip you have downloaded.
5. [OPTIONALLY] Install SuperSU.
6. Wipe cache and dalvik-cache to avoid issues.
7. Reboot.
Click to expand...
Click to collapse
SOURCE CODE:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
CREDITS:
@osm0sis for the awesome AnyKernel.
@Saber for the awesome and the best guide with useful informations about governors, schedulers etc.
@Nick Verse
@ganesh varma
@jackeagle
@FrozenCow
@franciscofranco
@flar2
@squid2
@Sultanxda
@savoca
@faux123
@eng.stk
@FireLord
@Shoaib05
If you think you have been missed, let me know and i will add you.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017], Kernel for the Samsung Galaxy J5
Contributors
#Henkate
Source Code:
Kernel Special Features: Based on CAF kernel, fast and stable, hotplugs, enabled advanced TCP congestions, KCAL, security fixes, Adreno Idler, PowerSuspend
Version Information
Status: Stable
Current Stable Version: r5
Stable Release Date: 2017-06-24
Created 2017-01-24
Last Updated 2017-06-24
Reserved
bugs:
-The only bug is that sometimes when you power off / reboot the phone, it freeze and you have to take out the battery.
Click to expand...
Click to collapse
changelog:
24/06/2017
- removed i/o scheduler switcher. The random reboot should be gone ( my j5 didnt have any reboot with i/o sched swither and neither without it, while being in idle though, as i'm not using it)
- fixed two permissions of powersuspend (0666 --> 0644)
- added @squid2's lionfish governor. It is supposed to be more battery friendly. Test and report your feedback.
- added sociopath tcp: "this is basically tcp reno with no slow start and a much more aggressive ssthresh recalculation (lowers it by 5% instead of 50%)"
- fixed 9 vulnerabilities
about doubletap2wake and sweep2sleep:
this new update was supposed to have dt2w and sweep2sleep. I've added them by using the commits from other kernel and they were working, both. However, there were some issues:
1) dt2w wasn't working on the full screen. Even after choosing "full" in kerneladiutor, i still had to double tap in the bottom of the screen (half) to wake it. When i was double tapping on the other half of the screen (top), it wasn't working.
2) i dont know if sweep2sleep is supposed to work only in the bottom of the screen, but that's how it was working. It was fine though.
3) phone wasn't going to deep sleep, even when both were off. This is the major issue and that's why i've removed dt2w and sweep2sleep. I don't really have the knowledge to fix that and i'm not willing to spend time for that. Those commits which i've picked has powersuspend hooks and i had to update powersuspend to v1.8.1 as that kernel. Perhaps this version of powersuspend wasn't working properly and that's why it was causing the phone to not go into deep sleep? I don't know...
Click to expand...
Click to collapse
09/05/2017
- added i/o switcher: A driver which change the i/o scheduler to noop automatically when screen goes off and restore the i/o scheduler which was set before when screen is on after 10 seconds
- silenced much more kernel logs
- re-enabled swap & zram
- added sys interface to configure linux printk logging (debugging purpose)
- added gpu time_in_state stats (similar to cpu stats)
- added quick wakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It should increase battery life.
- added toggles for gentle_fair_sleepers and arch_power
- tcp cubic fixes
- added sioplus, zen v2 and bfq schedulers
- enabled conservative governor
- fixed some memory leaks
- fixed a problem where reboot on android panics the kernel almost every time when file systems are mounted over loop devices
- updated power efficient workqueue + fixes; enabled by default
- added gpu governor whitelist to prevent you from enabling gpu governors which are unstable / incomplete (bw_hwmon, bw_vbif, gpubw_mon; all those 3 make the phone freeze once are enabled). Now when you try to enable those, it wont change anything.
- misc fixes and improvements
Click to expand...
Click to collapse
07/05/2017
- wifi module is now smaller as it should be (~40mb -> ~3mb)
- disabled some kernel logs
- disabled zram, swap and everything else related to swap
- allow 320k aac encoding
- misc fixes and improvements
- increased charge time from 30s to 100s when battery status is near full
(when charger is online for a long time, such as 12 hour, the battery status changes from charging to full and resumes charging.
The reason is that battery is not full at the first full state. So increse charge time from 30s to 100s when battery status is
near to full. This methods will reduce the number of recharging time)
Click to expand...
Click to collapse
02/05/2017
- disabled android log and crc check by default
- added back kcal (color control), drivedroid support and power efficient workqueues
- removed verifiedbootstate flag from /proc/cmdline (in order to pass the safetynet cts check with an unlocked bootloader, this patch is needed); i dont know if pokemon go game or something similar works now, you can check and report as im not playing those games)
- tweaks to improve i/o latency on ssd
- fixed few security vulnerabilities (such as dirtycow and quadrooter)
- many patches has been applied for faster i/o read / write
- governors are more friendly towards latency-sensitive bursty workloads
- and other misc tweaks
Click to expand...
Click to collapse
16/03/2017
- reworked from scratch and based on caf source for more performance / smoothness (now i can clearly see a difference )
- updated gpu driver to mm source
- added crc toggle (enable / disable)
- enabled adaptive lmk by default and set vmpressure_file_min for msm8916 from caf
- disabled arch_power
- frezee bug is gone
- removed: Ota, kcal, soundcontrol, power efficient workqueues, zen governor, frandom
- removed also the ramdisk modifications as it may lower performance / smoothness. I might try again in future.
Click to expand...
Click to collapse
24/01/2017
- initial build
Click to expand...
Click to collapse
Upcoming update
reserved
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Telepracity said:
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Click to expand...
Click to collapse
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
#Henkate said:
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
Click to expand...
Click to collapse
wow you are a really busy man xD
small update
Few screenshots were attached at the end of first post.
There has been a small issue in the script of Anykernel, so OTA wont work. I have fixed this and updated the download links.
Please download and reinstall again in order to get OTA working. Im sorry for this small issue.
Installing kernel now, will get back with results in a couple of days.
kernel
DylanCl said:
Installing kernel now, will get back with results in a couple of days.
Click to expand...
Click to collapse
testingg
J500M Support? Thanks
HPM8294 said:
J500M Support? Thanks
Click to expand...
Click to collapse
This kernel is made for J500FN (using J500FN sources) but because it's using AnyKernel2, it should work on all models.
I've wrote this at notes in first post:
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
Click to expand...
Click to collapse
J500M Work! Testing
@#Henkate, dattebayo! Am i right?? :laugh:
veez21 said:
@#Henkate, dattebayo! Am i right?? :laugh:
Click to expand...
Click to collapse
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
#Henkate said:
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
Click to expand...
Click to collapse
Yeah,:good:. Will test l8ter. :good:
I tested your kernel with my j500h model, Worked good without any problem
Thank you @#Henkate
come on give LP version pls
wyr007 said:
come on give LP version pls
Click to expand...
Click to collapse
Just be patient.
I just started building it. It will be available soon.
Lollipop version is out
Lollipop version is out. You find the download links in first post.
Lollipop version has additional changes:
Code:
-built with AOSP 4.8 toolchain (if im using 4.9 the phone gets stuck at Galaxy J5 logo, not even bootanimation; i didnt take a logcat yet)
-disabled CPU L2 Cache during video sessions to save more power[B][COLOR="Red"]*[/COLOR][/B]
-more security fixes[B][COLOR="Red"]*[/COLOR][/B]
* The changes with asterisk were already present on Marshmallow kernel.
The flashable zip has 24/01/2017 date because Lollipop version was supposed to be released yesterday too. However, if you take a look at Settings > About phone or Kernel Adiutor you will see that the kernel was built today.
Im waiting for reviews. I wanna know if you encounter the same problem like me, mentioned at notes in first post at 2) .
Now i can resume to RR, to work on a final update. RR kernel will also have Tensei features and probably few other changes for improving the battery since CM is faster than Touchwiz.
Phone "feels" faster, but that could also just be a placebo.
The only bug I've found yet is that my camera froze once after double-tapping to open it, but that hasn't happened since.

[KERNEL][7.1.x][LOS/AOSP] Tensei_r4

{
"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:
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* 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.
NOTES - MUST READ
1. Do not ask or request overclock. It wont be added.
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
3. ROOT is not included in kernel, neither in the flashable zip. You have to flash SuperSU zip manually, after flashing the kernel.
4. For some reason, Kernel Adiutor still show the frequencies below 800Mhz, but those are not being used as i dont want to.
5. F2FS is not enabled yet.
6. I've just found that QuadRooter Scanner still show a vulnerability. I think I've forgot to apply a commit since on lollipop version it's fixed. I'll look later and it'll be fixed in next release.
Click to expand...
Click to collapse
THREAD INFO:
Post #1: Notes, requirements, features, download links, installation instructions, sources, credits, screenshots
Post #2: Changelog and bugs.
Click to expand...
Click to collapse
REQUIREMENTS / COMPATIBILITY:
- Galaxy J5 2015
- Nougat ROM based on LOS/AOSP. While it should work on all, keep in mind that this has been tested mainly on LOS.
- TWRP 5.1.1
It should work on all models as ive stated at notes.
However, if it doesnt work on your model (other than J500FN) or if you encounter issues, then try to remove the dtb.img from kernel zip and flash it again after restoring the boot.img which the ROM you are using came with.
The dtb included in zip is J500FN one and thats why it may not work or you may have issues. Ive included the dtb because SoUnd001 did some changes to this (like using 50mhz frequency) and i dont want those changes. To overwrite those changes, i had to include the dtb.
Click to expand...
Click to collapse
FEATURES:
-Based on LA.BR.1.1.3 (the source left by @Nick Verse and @ganesh varma)
-Several CAF patches
-ZRAM enabled
-Fixed DirtyCow, QuadRooter and other vulnerabilities
-Adreno Idler: main goal is to lower the power consumptions while maintaining high-performance
-SELinux permissive
-silenced many kernel logs
-fixed some memory leaks
-driver which change the I/O scheduler to noop automatically when screen goes off and restore the I/O scheduler which was set before when screen is on after 10 seconds
-QuickWakeup driver
-Drivedroid support - put an OS on your phone and boot your PC using the phone. Not tested, but it should work.
-governors: default + enabled ondemand & conservative governors
-schedulers: default + FIOPS, SIO, SIOPLUS, ZEN v2 and BFQ I/O schedulers
-enabled advanced TCP congestions: default ones + Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois
-4 hotplugs: IntelliPlug, MSM Hotplug, Bricked (MP DECISION), Alucard
-tweak for better network speed
-tweaks to improve I/O latency on SSD; many patches has been applied for faster I/O read / write
-CRC toggle: enabled by default (disable it for more 30% performance according to its description)
-android log toggle on/off: disabled by default Seems to be buggy on LOS/AOSP. Ill check it later.
-Fsync toggle on/off: Disabling it should improve the performance, but there might be data loss. More details here: https://forum.xda-developers.com/showpost.php?p=33381928&postcount=5
-arch_power and gentle_fair_sleepers toggles
-disabled CPU L2 Cache during video sessions to save more power
-removed verifiedbootstate flag from /proc/cmdline (in order to pass the SafetyNet CTS check with an unlocked bootloader, this patch is needed); I dont know if Pokemon GO game or something similar works now, you can check and report as im not playing those games)
Click to expand...
Click to collapse
DOWNLOAD:
Nougat: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
INSTALLATION INSTRUCTIONS:
1. Be sure that you are using TWRP.
2. Download kernel archive and put it on your external SD Card.
3. Now go to TWRP recovery by keeping pressing Power button + home button + volume UP button at same time for few seconds.
4. Install the kernel zip you have downloaded.
5. [OPTIONALLY] Install phh Superuser or something else.
6. Reboot.
Click to expand...
Click to collapse
SOURCE CODE:
Nougat: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
CREDITS:
@osm0sis for the awesome AnyKernel.
@Saber for the awesome and the best guide with useful informations about governors, schedulers etc.
@Nick Verse
@ganesh varma
@jackeagle
@SoUnd001
@FrozenCow
@franciscofranco
@flar2
@Sultanxda
@savoca
@faux123
@eng.stk
@FireLord
@Shoaib05
If you think you have been missed, let me know and i will add you.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][7.1.x][LOS/AOSP] Tensei_r4, Kernel for the Samsung Galaxy J5
Contributors
#Henkate
Source Code:
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r4
Stable Release Date: 2017-05-16
Created 2017-05-16
Last Updated 2017-05-17
Changelog & Bugs
bugs:
-the toggle for log doesn't seems to work on LOS/AOSP
Click to expand...
Click to collapse
changelog:
09/05/2017
- added I/O switcher: a driver which change the I/O scheduler to noop automatically when screen goes off and restore the I/O scheduler which was set before when screen is on after 10 seconds
- silenced much more kernel logs
- re-enabled SWAP & ZRAM
- added sys interface to configure linux printk logging (debugging purpose)
- added GPU time_in_state stats (similar to CPU stats)
- added Quick Wakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It should increase battery life.
- added toggles for gentle_fair_sleepers and arch_power
- TCP cubic fixes
- added SIOPLUS, ZEN v2 and BFQ schedulers
- enabled conservative governor
- fixed some memory leaks
- fixed a problem where reboot on Android panics the kernel almost every time when file systems are mounted over loop devices
- updated power efficient workqueue + fixes; enabled by default
- added GPU governor whitelist to prevent you from enabling GPU governors which are unstable / incomplete (bw_hwmon, bw_vbif, gpubw_mon; all those 3 make the phone freeze once are enabled). Now when you try to enable those, it wont change anything.
- misc fixes and improvements
Click to expand...
Click to collapse
07/05/2017
- wifi module is now smaller as it should be (~40mb -> ~3mb)
- disabled some kernel logs
- disabled ZRAM, SWAP and everything else related to swap
- allow 320K AAC encoding
- misc fixes and improvements
- increased charge time from 30s to 100s when battery status is near full
(When charger is online for a long time, such as 12 hour, the battery status changes from charging to full and resumes charging.
The reason is that battery is not full at the first full state. So increse charge time from 30s to 100s when battery status is
near to full. This methods will reduce the number of recharging time)
Click to expand...
Click to collapse
02/05/2017
- disabled android log and crc check by default
- added back kcal (color control), drivedroid support and power efficient workqueues
- removed verifiedbootstate flag from /proc/cmdline (in order to pass the safetynet cts check with an unlocked bootloader, this patch is needed); i dont know if pokemon go game or something similar works now, you can check and report as im not playing those games)
- tweaks to improve i/o latency on ssd
- fixed few security vulnerabilities (such as dirtycow and quadrooter)
- many patches has been applied for faster i/o read / write
- governors are more friendly towards latency-sensitive bursty workloads
- and other misc tweaks
Click to expand...
Click to collapse
16/03/2017
- reworked from scratch and based on caf source for more performance / smoothness (now i can clearly see a difference )
- updated gpu driver to mm source
- added crc toggle (enable / disable)
- enabled adaptive lmk by default and set vmpressure_file_min for msm8916 from caf
- disabled arch_power
- frezee bug is gone
- removed: Ota, kcal, soundcontrol, power efficient workqueues, zen governor, frandom
- removed also the ramdisk modifications as it may lower performance / smoothness. I might try again in future.
Click to expand...
Click to collapse
24/01/2017
- initial build
Click to expand...
Click to collapse
Reserved
Thanks!
Cpu governor- impulse, elementalx, zzmoove
I/o schedule : zen
Is it on this kernal ?
sivakrishnanj said:
Cpu governor- impulse, elementalx, zzmoove
I/o schedule : zen
Is it on this kernal ?
Click to expand...
Click to collapse
All the features are mentioned in first post. The governors you've mentioned aren't present, but the zen scheduler is.
#Henkate said:
All the features are mentioned in first post. The governors you've mentioned aren't present, but the zen scheduler is.
Click to expand...
Click to collapse
What will this improve (noob for kernels)
infixremix said:
What will this improve (noob for kernels)
Click to expand...
Click to collapse
Here's a thread with detailed descriptions/information about governors, I/O schedulers (including Zen), hotplugs, TCP congestions. There's also benchmarks and comparisons.
@#Henkate you're becoming a pro in building custom kernels :good:
Dies this use frq under 800?
JosephDM said:
@#Henkate you're becoming a pro in building custom kernels :good:
Click to expand...
Click to collapse
Nope, lol.
Amarius1 said:
Dies this use frq under 800?
Click to expand...
Click to collapse
No. Please read my post here: https://forum.xda-developers.com/showpost.php?p=72280158&postcount=131 . That doesn't mean that it can't have a good SOT. I've got 7-8h in past when I used CM13 and as you know it doesn't have these frequencies neither.
I'm waiting for feedbacks. Take your time for that.
Last but not least, lemme remind you again that this kernel wouldn't be possible without the guys mentioned at credits.
EDIT:
QuadRooter Scanner still show a vulnerability. I think I've forgot to apply a commit since on lollipop version it's fixed. I'll look later and it'll be fixed in next release.
Sadly I am not on 7.1.1 so i can't test this. :crying:
Awesome job! First custom kernel for Nougat :laugh:
This kernel has support VOLTE ?
sivakrishnanj said:
This kernel has support VOLTE ?
Click to expand...
Click to collapse
I guess you meant ramdisk which is a part of boot.img. No, it doesn't.
But if the ROM which you're using would get volte support, then it'll work with this kernel as well since it's using the ramdisk from the actual kernel.
E.g.: Let's say that there is a new update of LOS which has volte support (in ramdisk, but also rom). After flashing the new update, you'll get the kernel which ROM is using. Then you flash my kernel and it'll use same ramdisk with volte support because I'm using AnyKernel (Google it), so i wouldn't have to make the changes from the new update manually.
YuZaGa said:
Kernels don't need to support volte. It's the rom which does it.
You should ask SoUnd1 to add the volte support.
Click to expand...
Click to collapse
Both kernel & rom must support the volte
---------- Post added at 07:48 AM ---------- Previous post was at 07:43 AM ----------
#Henkate said:
I guess you meant ramdisk which is a part of boot.img. No, it doesn't.
But if the ROM which you're using would get volte support, then it'll work with this kernel as well since it's using the ramdisk from the actual kernel.
E.g.: Let's say that there is a new update of LOS which has volte support (in ramdisk, but also rom). After flashing the new update, you'll get the kernel which ROM is using. Then you flash my kernel and it'll use same ramdisk with volte support because I'm using AnyKernel (Google it), so i wouldn't have to make the changes from the new update manually.
Click to expand...
Click to collapse
:angel:
Hmm... 65 downloads in total and 0 feedbacks?
#Henkate said:
Hmm... 65 downloads in total and 0 feedbacks?
Click to expand...
Click to collapse
Srry. I cant test it. Cuz im on A5UX ROM by mitko.
I'm using your kernel
kaducomk said:
I'm using your kernel
Click to expand...
Click to collapse
Thank you for using it!
I'd like to hear feedbacks though, but take your time for that.
Same goes to the other people which have downloaded and using it. If you want new releases, let me know your feedback from the actual release. I need to know if you have problems and your overall experience.
CPU Overclock would be awesome otherwise it's pretty good in terms of battery,performance and stability

[KERNEL][OOS] Harfix5 (1.1)(04.01.18)

{
"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 is based on SimpleGX​Hit thanks there first!​
Code:
/* *** 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 KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/
Hi!
My name is Rafal. I'm from Poland.
Here is a page about my sixth kernel of my harfix series.
I'm creating this kernel for my daily usage so don't hate my when I will not implement something that You want.
But of course, requests are welcome!
Kernel is based on SimpleGX kernel to work on stable, lite base.
Thanks @AndroidGX for awesome base!
Kernel is definitely NOT to improve battery life!
If You want better battery life them go look for other kernels.
Features:
- all SimpleGX features
- Maple (default), Noop (for screen off), Deadline, CFQ, FIFO, SIOplus, TripNDroid, VR, ZEN I/O schedulers
- CPU overclock at 2592mhz&2035mhz
- CPU underclock at 230mhz
- GPU overclock at 710mhz
- GPU underclock at 180mhz
- adreno idler
- adreno booster
- sound control
- KCAL
- use 364mhz instead of 345mhz for big cores
- zen-tune v4
- quarterd msm framebuffering
- state_notifier
- Switcher (changing I/O sdcheduler to noop when screen is off)
- disabled gentle fair sleepers
- highly optimized for stability and speed
- compiled using Google NDK
What don't expect:
- F2FS
- dual boot
- upstreamed linux
- any other features that i don't need
Changelog:
Most latest changelog
1.1 04.01.18
- upstream to SimpleGX v2.3
1.0 03.01.18
- upstream to SimpleGX v2.2
- remove added governors (some will come back)
Older:
0.5 22.12.17
- add Impulse, Darkness, Nightmare, Alucard, ZZmoove, Smartmax CPU governors (smartmax_big is smartmax for big clusters)
- add IntelliMM CPU governor (temporarily disabled)(need some dependences)
- add FIFO, SIOplus, TripNDroid, VR, ZEN I/O schedulers
- change optimalization levels for best stability (-O2,-Os,-Ofast, graphite)(default in SimpleGX is -Ofast only)
- add state_notifier
- add switcher (changing I/O scheduler to noop when screen is off)
- disable gentle fair sleepers
- optimize ksm
- increase readahead to 2048/32
- disable test I/O scheduler
- disable some debuging
- some optimalizations
- update harfix builder to 1.2
0.4 17.12.17
- add GPU one step overclock at 710mhz
- add GPU one step underclock at 180mhz
- add adreno idler
- add adreno booster
- some improvments and fixes
0.3 16.12.17
- add one step overclock for CPU
- add sound control
- add KCAL
0.2 15.12.17
- add version number to localversion
- disable some debuging
- Implement zen-tune v4
- enable support for quarterd msm framebuffering
- add 230mhz cpu clocks
- use 364mhz for the complete cpu range
- remove + in kernel version
0.1 14.12.17
SimpleGX with fixed permissions and replaced with my build script
Tested:
Audax 3.0 with 1.1
Older:
Audax 3.0 with 1.0
Official OxygenOS 4.7.4 with 0.5
Official OxygenOS 4.7.4 with 0.4
Official OxygenOS 4.7.4 with 0.3
Official OxygenOS 4.7.4 with 0.2
Official OxygenOS 4.7.4 with 0.1
Download:
If You want to support me, use that links:
Disable adblock of course.
Openload:
1.1
Older:
1.0
0.5
0.4
0.3
0.2
0.1
​Thanks for that choice!
Gdrive:
1.1
Older:
1.0
0.5
0.4
0.3
0.2
0.1
​
if downloads link doesn't work try download from github.
Like my project?
hit thanks!
Want to make this project more popular?
or want notification on site update?
follow this project!
Love my project?
Donate!
XDA:DevDB Information
Harfix5, Kernel for the OnePlus 5T
Contributors
rafciowis1999
Source Code: https://github.com/wisniew/Harfix5-1.x
Kernel Special Features:
Version Information
Status: Stable
Created 2017-12-15
Last Updated 2018-01-04
Reserved
Reserved
Last one!
First. Thanks for the kernel
Good to see you there, nice work ! Thanks !
*Also thank you very much for removing this plus, it was the most annoying thing in my life.
Use code from franken. Xda delete this.
Schrotty35 said:
Use code from franken. Xda delete this.
Click to expand...
Click to collapse
???
Schrotty35 said:
Use code from franken. Xda delete this.
Click to expand...
Click to collapse
Even if that was the case (which it isn't, it's based on SimpleGX VERY CLEARLY in the OP), the kernel is licensed under the GPL. It's against the license terms to restrict people from using the source in any way they see fit. This is 100% allowed and okay.
nathanchance said:
Even if that was the case (which it isn't, it's based on SimpleGX VERY CLEARLY in the OP), the kernel is licensed under the GPL. It's against the license terms to restrict people from using the source in any way they see fit. This is 100% allowed and okay.
Click to expand...
Click to collapse
exactly, lol
---------- Post added at 04:50 PM ---------- Previous post was at 04:50 PM ----------
This actually looks interesting. i will be fl;ashing and testing this, Thanks!
Schrotty35 said:
Use code from franken. Xda delete this.
Click to expand...
Click to collapse
What is your problem, seriously? You complain about lack of development, scoff at donating to further development from a great developer and stifle development by making false accusations. Meanwhile you have done absolutely nothing to help further it.
work with 4.7.5 Oxygen? Thanks
What is sound control mean? Which app do I need to use? Sorry im a newbie with this
Schrotty35 said:
Use code from franken. Xda delete this.
Click to expand...
Click to collapse
In my opinion I properly wrote author of base in OP but if anyone is blind I added one more BIG red text... Or if You said this because I use something from other then franken kernel is based on OOS kernel, OOS kernel on (propobly) clear linux kernel and linux kernel is based on unix sooo Linus need to delete his kernel too? lol
GPL is allowing to fork projects so I used this for more comfort work.
If anyone more want to delete this no problem because as I said I'm creating this for me, not for people that want to delete anyone work and hate.
btw
for others that enjoy kernel here is new version released!
Have a good day guys and thanks for that words @nathanchance @yung40oz84 @Dazed No More
JRevenge said:
work with 4.7.5 Oxygen? Thanks
Click to expand...
Click to collapse
it's working but I don't need to go 4.7.5. Changes not too usefull for me.
Bestplayer55 said:
What is sound control mean? Which app do I need to use? Sorry im a newbie with this
Click to expand...
Click to collapse
Sound control by @flar2 works with EXKM and kernel adiutor.
You can change mic, headphones volumes, etc. Nothing special for audiophile because qcom doeasn't public documentation about op5t audio chip.
Thanks for new kernel.. It is always good to see new developers. And I am glad that I bought op5t, because development growing
Kernel working good so far. Even with the min could freq of 230mhz. I will look what this changes in idle drain
MrPepperino said:
Kernel working good so far. Even with the min could freq of 230mhz. I will look what this changes in idle drain
Click to expand...
Click to collapse
I wonder what is the result you'll get for idle drain, please.
Can somebody please overclock using a more performance based governor or at the very least run it in the actual performance mode?
This phone is great and all but I can't help but imagine what an utter beast it would be overclocked and/or in the performance mode governor. I'd try myself but I'm unable to root and unlock right now.
showofdeth said:
Can somebody please overclock using a more performance based governor or at the very least run it in the actual performance mode?
This phone is great and all but I can't help but imagine what an utter beast it would be overclocked and/or in the performance mode governor. I'd try myself but I'm unable to root and unlock right now.
Click to expand...
Click to collapse
yeah, I'm planning to add some other governors but now I want to focus on other things.
For now You can list some govs that You guys want to see here.

Categories

Resources