Related
This kernel aims to be an alternative (and experimental) to Stock or custom ROMs (CM, Bliss,...) default ones, applying tweaks (kernel source configuration) and patches (if them apply) to improve general responsive, performance and functionality.
*Remember, test at your own risk.
BitO-KU
Base "pure" kernel with latest Nvidia code + Linux upstream (v3.10.108)
More info here.
Main Features for K12:
SafetyNet bypass (TESTING)
Latest Linux 3.10.108 code fully merged
Latest F2FS code backported from Linux 4.10
Multi Core and SMT optimizations enabled
Extra IO Schedulers (CFQ - default)
Extra Governos (Interactive - default)
Extra TCP Congestion algorithms (Cubic - default)
L2TP VPN enabled
ZRAM with LZ4 enabled (you can disable)
NTFS RW enabled
UTF8 as default code table
Module support disabled
CPUQuiet (CPU dynamic hotplug)
Main Features for KX10:
All K10-001 features + ...
OC for CPU and GPU (thx to @laufersteppenwolf )
Other optimizations:
Debug info stripped down
Branch jump optimizations
Clean cache
Front swap
Memcopy operations optimized for ARM A15
ZCache enabled
Cryptographic operations
Downloads:
BitO-KU
BitO-K12
BitO-KX10
Installation
Install ZIP via custom recovery
Install F2FS injector ZIP if you need proper F2FS support.
Notes
Don't forget flash DTB if necessary
If you need to update blobs, you can easily flash this zip (OTA 4.2), thx to @Steel01
Info about F2FS, and experimental TWRP to support it here.
I would be glad to get some feedback about battery life, performance, etc... All suggestions welcome :good:
Thnx:
@Steel01
@Bogdacutu
@faux123
@twistedumbrella
@berryman13
@Unjustified Dev
@SuperPichu
@corvus
Tegra Devs and every developer and tester behind and supporting this big community.
Big thx to everybody for helping to get a new device
List of donnors for a new Shield Tablet:
@xanthrax : $25
@gasgiver : $10
@primaleph : $25
@marvi0 : $10
@strann0 : $10
@DR_HAX34 : $15
-----------------------------
TOTAL: $95
XDA:DevDB Information
BitO-K, Kernel for the Nvidia Shield Tablet
Contributors
BitOBSessiOn
Source Code: https://github.com/BitOBsessiOn/android_kernel_nvidia_shieldtablet
Kernel Special Features: Latest Nvidia sources, stable, fast, responsive, smooth
Version Information
Status: Stable
Current Stable Version: K10-006
Stable Release Date: 2017-06-25
Current Beta Version: K12
Beta Release Date: 2018-05-28
Created 2015-04-01
Last Updated 2018-05-29
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
pretty and nice
Running almost perfect in CM12
Waiting for OC I know you can do it,I use run the shaky156 OC 2.499 kernel for almost 1 months with no problems and I switched to CM12
Thanks and keep the nice work
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
Thnx, OP updated.
kickassdave said:
Could be worth mentioning the .IMG file can also be flashed using Flashify without having to connect to computer at all.
Click to expand...
Click to collapse
BitOBSessiOn said:
Thnx, OP updated.
Click to expand...
Click to collapse
And right after flashing CM12 in TWRP
That's what I did anyways.
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
BitOBSessiOn said:
Anybody can give me feedback about battery on CM 12 / 12.1 when device screen off (deep sleep), please?
Thnx!
Click to expand...
Click to collapse
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
silasje1 said:
The - latest wifi ROM- version you uploaded in the CM12 thread also includes your kernel as presented here?
Click to expand...
Click to collapse
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
ishamm said:
Is it possible to include colour profiles in the kernel? Love it on my nexus 5! Looking forward to seeing this move forward
Also is there a rest of world lte version in the works? Thanks
Click to expand...
Click to collapse
Take note for colour profiles but I don't know how complex it can be... I'll be studied, sure.
About LTE RoW (wx_un_do) vs LTE US (wx_na_do) they are totally compatible as @Steel01 and me have seen. I have LTE RoW model and actually use wx_na_do compilation. In the future, perhaps, we will create a specific branch.
BitOBSessiOn said:
Yes, I always compile CM 12.x with my kernel version. The 12.1 is totally experimental.
Click to expand...
Click to collapse
I will be away a few days so a lot of sleep time for the tablet Will report
Here's some cpu state time info for u. 51mhz is deep sleep right?
With CPU Spy you get how long the device is in deep sleep: http://forum.xda-developers.com/showthread.php?t=1011497
Cpu spy capture for u. I've been running it like I stole it all day.
I don't have installed CPU Spy but BBS reports that it sleeps like a baby.
Got a spare apk for bbs by chance?
Download Better Battery Stats XDA edition here http://forum.xda-developers.com/showpost.php?p=15869886&postcount=2
Just wanted to let u know the mic issue was a gapps thing, the minimal edition has problems, went back to pagapps (the final 03/15 one) and if I flash this kernel on steels cm12 it works perfect. No sound fc either. The ONLY issue I found is moving to SD. Still says no room even after the folder mount patch. Battery is great btw, thanks much for the work
Is it possible to add double tap to wake / sleep? ☺
Sent from my SHIELD Tablet
badly and +
drewski_1 said:
Is it possible to add double tap to wake / sleep?
Sent from my SHIELD Tablet
Click to expand...
Click to collapse
SD fix
OC CPU and GPU
Hi all,
this is the thread about the CM version of the well-known Boeffla-Kernel for the Samsung Galaxy S3 lte.
Note: This kernel is only for CM based roms!!! Do not install it on a Samsung based rom!!!
For Omnirom, please do not use the CM kernel but the separate Omnirom kernel I also provide.
If you have questions to settings, presets, others configuration and wanna share your configuration, head over to the unofficial Boeffla-Config App Config sharing thread:
http://forum.xda-developers.com/showthread.php?t=2621308
Support
First read about "Known Issues" in 2nd post!
FirstSecondly read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
I will refuse any support if you do any undervolting and experience freezes or hot reboots.
I will refuse to give support if you have xposed framework installed and reporting any kind of weird issues. My opinion to xposed it quite clear: too powerful for >90% of the users that just mess up their system with it. Test w/o Xposed first, if issue still occurs then report here. If issue doesn't occur anymore, also report here so I can list under "Xposed known issues"
Lastly, if you are using one of the latest versions with anykernel, please read this before proceeding
Lord Boeffla said:
Hi all,
it is time for the first CM13 kernel with the new anykernel concept.
Before you start, make sure you have read and understood the following:
http://boeffla-kernel.de/index.php/7...new-anykernels
If you ask questions which are addressed in this article, or you have issues which are a consequence of not reading the article, I will not answer. It is your responsibility to understand what you do BEFORE you do it.
(and also read this for more background: http://boeffla-kernel.de/index.php/6...ernels-new-app)
Side note:
Although the kernel is now likely to be much more compatible with custom roms using CM basis, I will not change my support conditions at all. If you report an issue on a non-original CM rom, do not expect me to react (http://boeffla.de/index.php/support/support)
Ensure you update to latest Boeffla-Config App 2.3.1 BEFORE you flash the new kernel !!!
Enough threatening now, here we go:
Version 5.1-beta1
12.07.2016
Note: This is the first Boeffla-Kernel with the new anykernel concept.
Make sure you read and understand the basics: Boeffla-Anykernel Know-How and New concept kernels/New app
Note: You have to use Boeffla-Config version 2.3.1 or newer in order to use all functionality !!
This kernel as exactly the same functionalities as the last stable kernel release
Enjoy
Andi
Click to expand...
Click to collapse
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Features
* To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from here: DOWNLOAD
* Support for generic framework naming convention framework-2.jar instead of proprietary rom framework names
* Upstreamed to Linux 3.0.101(www.kernel.org)
* CPU "soft" overclocking to 1500 or 1600 MHz
* CPU undervolting interface
* GPU frequencies configurable (underclocking, overclocking up to 700 MHz)
* GPU voltages configurable (undervolting, overvolting)
* Configurable zRam
* Configurable touch-to-wake
* Configurable touch boost frequency
* Configurable early suspend time (for screen off animations, 100ms default)
* Configurable LED for fading mode, speed and brightness
* Softkey touch button LEDs controllable
* Configurable charger rate for AC, USB and wireless (default increased to 1100 mA for ac charging)
* Charge information display support via Boeffla-Config V2 app
* Charging logic supports ignore unstable power and remove safety margin
* Boeffla-Sound engine V1.7.1 to unleash the power of the Galaxy S3 audio chip
* Additional governors: zzmoove 0.8, pegasusqplus, smartassv2 and lulzactiveq
* Governor profiles for pegasusq, pegasusqplus and zzmoove for performance, battery saving etc.
* Additional schedulers: ROW, ZEN, BFQ (v6r2) and SIO
* Schedulers configurable separate for internal and external SD memory
* Hardcore speedmod sharpness fix implemented (default is off)
* Black crush fix for better balanced display
* SD card read ahead buffer configurable separate for internal and external SD memory (default increased to 256 kB)
* Ext4 File system tweaks (default to on, can be disabled)
* System Tweaks predefined supported (default is off, new Mattiadj tweak set included)
* WIFI Multicast filter for better battery life
* WIFI wakelock times reduction
* Proportional rate reduction for TCP
* TCP congestion changed from Cubic to Westwood
* Wifi mac address change support
* Dynamic fsync 1.2 implemented
* Timeout for external SD card changed to improve handling of crappy SD cards
* Swap supported (but not recommended, use zRam instead)
* init.d support (in /system/etc/init.d - set correct permissions!)
* NTFS (read-only access only!) compiled as a module
* CIFS compiled as a module
* NFS compiled as a module
* XBox controller support as module
* exFat support (if supported by used firmware)
* Battery monitor wakelocks reduced
* Android logger can be disabled
* Disabled various debug logs and traces
* Frandom compiled as a module (for mods like Crossbreeder)
* Triangle away supported
* Automatic EFS backup to external (priority) or internal SD Card (fallback) - now compatible with tools like kTool
* Kernel initialisation log file (with history of 3 log files)
* Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
* Compatibility to common standard apps (Voltage Control, SetCPU, System tuner etc.)
* Compiled with Google arm 4.8 toolchain
* Internal kernel busybox version 1.24.2
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
Downloads over at my AFH Folder
History
Basically I created the Samsung version of Boeffla-Kernel as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!! Which in fact for the CM kernel means now... close to CM kernel sources.
This said, I will definitely NEVER implement:
dual boot (I do not need it)
color "calibration"
real hard overclocking higher than 1600 MHz as this is outside of Exynos specs
f2fs - it is known to cause various issues and compatibility problems
a CAF based kernel
[*] anykernel method to use the ramdisk of the installed rom
anything that requires upstreaming of kernel parts to a higher kernel major version
Any TC other than google's
So do not even ask for it. Everything else I am happy to check and decide.
Compatibility
To reiterate it again: This kernel is only for CM13 based ROMs. It is not designed to run on Samsung based roms! AOSP based is not tested, though it should work.
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
Donation
If you like my work, feel free to donate: Donation-Link
You will receive a personal donation code which unlocks some nice comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Lord Boeffla's Github repository: http://github.com/andip71
My source can be found below, at "DevDB Information"
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* Lord Boeffla (For providing kernel in the first place )
* Yank555
* ZaneZam
* Hardcore
* Chainfire
* Harunjo
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Supercurio
* Mialwe
* Entropy512
* Faux
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in TWRP recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
XDA:DevDB Information
Boeffla Kernel, Kernel for the Samsung Galaxy S III I9300
Contributors
limjh16, n0aaz, aaz03, ZaneZam, Lord Boeffla
Source Code: https://github.com/limjh16/boeffla
Kernel Special Features:
Version Information
Status: Beta
Current Stable Version: 5.0
Stable Release Date: 2016-07-04
Current Beta Version: 5.1-b7
Beta Release Date: 2016-08-30
Created 2016-06-09
Last Updated 2016-08-30
Known Issues
Known Issues NOT involving Xposed
1. SuperSU and Superuser other than Stock DOES NOT WORK on Temasek ROM and possibly all other CM13 ROMs
2. F2FS WILL NOT WORK, AND WILL NOT EVER WORK, AS DESCRIBED IN OP
Known Issues involving Xposed
None I have experienced thus far.
To-Do List
1. Fix SuperSU because I really love it.
2. Archi Optimisations Test Doesn't work
3. Make file names correspond to "beta" tag
1. Attempt bug fixing Archi Opti Test
1. Test on AOSP ROMs
2. Dragon TC??
Installation
Dirty flash works fine, just remember to clear cache.
If you are coming from another kernel e.g. agni kernel, you must wipe /system (not just flash ROM zip for the updater script) and flash everything accordingly.
If you need specifics on what to do first, follow ROM installation instructions and right after you flash ROM zip just flash boeffla ZIP
If you still don't understand you should not be here and should be reading up on what flashing zip is...
Credits & a History Lesson
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Boeffla 5.0beta34 will be built this weekend or when I have time.
I will not be providing new Boeffla Builds where the changes do not concern i9305 (eg, just source updates for other devices) I will only be providing when there are universal updates.
Feel free to post bug reports here instead of the bug reports tab (I don't even recall if I enabled that tab)
If you want screenies tell me, I got stuff to do for now
Can someone help test with other ROMs and especially AOSP ROMs?
limjh16 said:
Credits other than those listed in OP:
1. @Lord Boeffla for allowing me to port, and post this thread.
2. @ZaneZam for guidance
3. @aaz03 YES I DID IT
I take absolutely no credit, all work was done by @aaz03 and all I did was follow his instructions and pester @ZaneZam a bit, and I got a flashable zip that works.
A very, very unimportant history lesson
So, I was looking at github.com/n0aaz and I saw he was trying to port boeffla. I PM'ed aaz, and he told me his laptop broke so he couldn't continue. He then asked me to help him continue and that he was very close to completion. However he rarely responds to PM, so I contacted @ZaneZam to ask for more guidance. He was very helpful and kind of guided me through how I should use the build script/edit the build script, and how to manage the boot.img
Well, @aaz03 you were very very close to completion indeed, you just had to take a new boot.img from CM. Uber toolchain was probably another factor.
Click to expand...
Click to collapse
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
aaz03 said:
Heh, very good job i couldn't be very active on xda because of all my exams. Even though i don't have a 9305 anymore i'm glad that you managed to fix issues i had to face . Good continuation
Click to expand...
Click to collapse
See that you got yourself a redmi note 3 pro... wanted to get that too except i realised I rather save up for a Nexus
P.S. don't quote OP, I got this thread subscribed
limjh16 said:
...
Also, (a little advertising) what is the behavior of button backlight in boeffla?
Click to expand...
Click to collapse
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
FLooDW said:
Your advertising worked fine
I didn't know you've just started a Boeffla thread! Well done! Thanks for your work.
My answer to "what is the behavior of button backlight in boeffla?" is: I don't know, I didn't test.
Click to expand...
Click to collapse
Oh haha
Just felt lonely here.
I'm sorry if I was breaching any xda rules haha
Sent from my GT-I9305 using XDA Labs
Had time after dinner, here's beta34: https://www.androidfilehost.com/?fid=24572369242686106
Accessible via folder link in 1st post too. Now I bother to change zip names so it will be beta34 instead of alpha1 haha...
Anyways, as I was playing around trying to find a fix for supersu, I made backups and flashed while taking a log. Well, after I booted to system and prepared adb for a log, it booted, and surprisingly no bootloops! And it's a wierd solution that I found: Don't charge phone while booting. I attempted this 2 times, and the 2nd time it worked because I was not charging phone. Wierd? I know right...!
Great to see that development is still strong after all those years. Congrats on getting it all done and thanks to all your work you did the last few weeks/months.
Whats your problem whit f2fs?
The original boeffa support it.
Its really good future and really improve the performance.
F2FS has noting todo with the mentioned optimizations. Both can survive next to each other .
---------- Post added at 07:34 PM ---------- Previous post was at 07:12 PM ----------
Which kernel or sound app are you using or recommend to configure the beoffla sound settings? Can you link it?
Its already linked in op, sorry.
Running this on CM13 (pan's build, set to Muppett's RIL).
All seems to be working OK so far.
I'm using the Boeffla Control App V2 linked to in the OP. This has Boeffla sound settings in it, all seems to be working fine.
Now I just have to wait and see if the network issues I get when I use AGNi kernel on CM13 (but not CM own kernel) stay away.
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Mrxyzl said:
I had a bootloop when try boefla kernel with cyanide latest version.
So I try it with temasek and everything's working fine here, will test to see if the ril problem is fixed. Good work ! Thanks for bringing back this awesome kernel.
Click to expand...
Click to collapse
Seems like doesn't work with aosp.
Sent from my GT-I9305 using XDA Labs
Glenn2 said:
Small issue - I set the charging current to 1500mA and turned on ignore unstable charging etc.
When I do this on AGNi, the 'Galaxy Charging Current' app says 1500 for 'reference', 'maximum' and 'average'.
On Boeffla it says 1500 for 'reference' but only 1000 for the other two numbers.
Click to expand...
Click to collapse
Try using ampere or just the built in on the 1st page of boeffla config app, it'll correspond.
Also, now you can set charging current to 1600
Edit: http://i.imgur.com/IMlEiau.png
Sent from my GT-I9305 using XDA Labs
rodman01 said:
Sorry haven't seen it in op. I am a newbie and didn't read the op proper .
Click to expand...
Click to collapse
If you're a newbie all of us have not been born yet
Sent from my GT-I9305 using XDA Labs
Temasek + boeffla i cant hear any voice when call nor people can hear me.. Not even in loud speaker.. Or am i missing something? But boeffla rock!
I had this prob on unicorn aokp + agni4.5.5. So i stay stock. But because of boeffla, i went back to cm
Thank for porting.
Sent from my GT-I9305 using XDA-Developers mobile app
NxKernel
r4
Yeah, jet another kernel for the falcon!
Why? You might ask and you are right.
I have been experimenting with kernel features, fixes and (alleged) improvements and always tried to create a kernel which I would be happy to use every day on my device. You know the usual stuff: long lasting battery with lag-free performance... It's not easy at all I have to tell. I am not a developer but know my way around Git and programming and researched a lot of sources on the internet looking for kernel stuff. Some patches offer improvements in speed and response time etc, but in reality, many of them do more harm than good when it comes to real-life praxis. In the end, I had a great collection of fixes and patches which I tried (nearly) one-by-one examining the gains and losses of 'em.
All the credits go to the developers of the features - and a little of it to me for putting them together and bringing them to the Moto G.
Features
Compiled with UBERTC 4.9.4 and O2 optimization level
Overclocked [email protected], [email protected], [email protected]
Intelliplug 4.0 CPU hotplug
Intelliactive and Intellidemand CPU governor
PowerSuspend 1.5
Intellithermal v2
Simple GPU Algorithm
Adreno Idler
Power Efficient Workqueues
Fast Charge v2
Dynamic fsync
Enabled NEON mode
Westwood TCP congestion control
Frandom fast random number generator
Wakelock toggles
Click to expand...
Click to collapse
Installation
Download the kernel to your device from the link below
Reboot to recovery
Flash the kernel
(optional) Wipe cache & dalvik cache (recommended)
Reboot
(optional for CM13 - bootloop on CM14) If you would like to enable frandom, copy the 20frandom script (by Ryuinferno, see attached) to system/etc/init.d and change its permissions to 0755.
Click to expand...
Click to collapse
Download
CM14.1/Lineage OS: r4 - https://www.androidfilehost.com/?fid=673368273298920933
CM13: r2 - v1.1 - https://www.androidfilehost.com/?fid=385035244224396903
Please do not mirror any of my files!
I switched to "r" naming scheme which means r1 (v1.0) and r2 (v1.1) are for CM13 and releases from r3 upwards for CM14.1 and Lineage OS.
Click to expand...
Click to collapse
Sources
https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Click to expand...
Click to collapse
Recommended settings in 2nd post.
Changelog in 3rd post.
Many thanks go to:
The CM Team
faux123
arter97
Hurtsky, Kaminari, pinkflozd, alinp, BryanByteZ
soniCron
...and the community for keeping alive a 3-year-old device :highfive:
Click to expand...
Click to collapse
If you would like to help or thank me, you might buy me a beer/coffe/coke to fuel the development.
XDA:DevDB Information
NxKernel, Kernel for the Moto G
Contributors
NxStep
Source Code: https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r4
Stable Release Date: 2017-01-03
Created 2016-10-21
Last Updated 2017-01-03
Recommended settings
I suggest Kernel Adiutor to edit the kernel settings. See attached screenshots for the details. The settings that cannot be seen on the pictures are untouched.
I've attached the two json files to import for the two custom controls in Kernel Adiutor, bluedroid_wakelock and USB_fast_charge. To be able to import directly just change the extensions to json.
*For CM13 only! Causes bootloop on CM14 for now.*
Also attached the frandom enabler script (20frandom) that is to be placed in system/etc/init.d wit the permission 0755. Make sure you remove the txt extension first!
Sorry for the extension messing, xda does not allow to upload json files or files without extension... I might move the files to my file host soon.
CPU governor tunables
*to be updated for CM14*
Optimized governor tunables based on soniCron's superb guide. It works with interactive and intelliactive as well and scales fine with overclocking enabled and disabled too.
Basically, it uses 4 optimal frequencies: 300MHz, 998MHz, 1190MHz and 1593MHz if OC enabled. It prevents the CPU jumping a lot between frequencies that do not provide enough performance for a given task. I managed to get 4-5 hours of screen on time with these settings.
Tunables are as following:
Code:
above_hispeed_delay: 20000 998400:60000
boost: 0
boostpulse_duration: 80000
go_hispeed_load: 75
hispeed_freq: 998400
io_is_busy: 1
min_sample_time: 40000
sampling_down_factor: 0
sync_freq: 0
target_loads: 98 384000:56 600000:31 787200:27 998400:82 1094400:9 1190400:95 1305600:3 1344000:4 1401600:7 1497600:6 1593600:85
timer_rate: 25000
timer_slack: 80000
two_phase_freq: 998400,998400,998400,998400
up_threshold_any_cpu_freq: 998400
up_threshold_any_cpu_load: 95
Changelog
r4 - 03.01.2017
merged latest CM14.1 kernel sources
update to latest prebuilt toolchain UBERTC 4.9 by mdalexca
added some additional patches, see Github
r3 - 25.11.2016
intial release for CM14.1
merged latest CM14.1 kernel sources
switched to "r" naming scheme
r2 - v1.1 - 11.11.2016
merged latest CM13 sources
r1 - v1.0 - 21.10.2016
initial release
Reserved another just in case.
NxStep said:
NxKernel
v1.0
Created 2016-10-21
Last Updated 2016-10-21
Click to expand...
Click to collapse
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
this kernel have multirom support?
thanks for your amazing work
Pretty nice idea man, I'll test it. Thanks for this kernel
Thank your for your feedback!
aldanopolis said:
this kernel have multirom support?
thanks for your amazing work
Click to expand...
Click to collapse
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
NxStep said:
Thank your for your feedback!
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
Click to expand...
Click to collapse
IMHO, As we have no kexec workaround in last version of multirom , this is not mandatory.
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Guillosd said:
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Click to expand...
Click to collapse
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Good to see another kernel available for our old (but seemingly immortal?) phone. Best of luck to you!
Like Kamin4ri said thanks for the kernel i really hope that moto g be immortal best phone that i used for sure, good enough for what i need.
Would be great if it has dt2w...
Aayushya said:
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Click to expand...
Click to collapse
nandroid restore would work as well ,right?
Hiraethic said:
nandroid restore would work as well ,right?
Click to expand...
Click to collapse
Yes
everything works awesome on aosp 7.0 by srisuriya
Skarni said:
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
Click to expand...
Click to collapse
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
NxStep said:
Recommended settings
~snip
[/CODE]
Click to expand...
Click to collapse
Those pictures on second post are recommended settings?
kamesh_kraken said:
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
Those pictures on second post are recommended settings?
Click to expand...
Click to collapse
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Skarni said:
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Click to expand...
Click to collapse
Use a mod, kernel adiutor is open source
This project is now maintained by @wilmsn. The new thread can be found here.
/* Introduction */
I haven’t found any suitable kernel that supports Lineage-OS 14.1 (and likely other aosp nougat ROMs) for these variants of S5 though many custom kernels are available for many other devices with the same APQ8084 chipset (e.g.: shamu). So, I made one by simply picking a lot of good features from other existing APQ8084 kernels. All the credits go to many developers those create several kernels for this platform and eventually made my job very easy. Here I’m sharing the output of my work and hope you guys like this.
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own lentislteskt (Korean variant). Hence, kernels under the category 'lentislte' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Supported devices */
lentislte: SM-G906S/K/L
kccat6: SM-G901F
/* Compatibility */
This kernel is only meant for Lineage-OS 14.1. It may or may not work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try in your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Reboot and enjoy
/* Features */
Build from latest Lineage OS source code.
Build using Google arm-eabi 4.9 toolchain.
Anykernel concept for compatibility with maximum devices.
Kernel tweaker app recommend: Offical Kernel Auditor.
Added features include...
CPU voltage control
CPU_input boost
CPU Freq Gov: Intelliactive, Lionheart, Nightmare, Alucard, Blu_Active, Yankactive, & Ondemandplus.
CPU hotplugs: Intelli plug and mako hotplug.
TCP congestion algorithms: Westwood, reno, cubic etc.
IOScheds: SIO & FIOPS
IOSched_switcher
FSync enable/disable support
Fastcharge
Sound Control
Simple GPU Algoritham
FRandom
KCAL v2 advanced colour management
a lot more...
/* Features likley added in the future */
1. More cpufreq govs
2. More ioscheds
3. Overclocking/Underclocking
4. Intelli_thermal
5. Suggest me?
/* Downloads */
SM-G906S/K/L
SM-G901F
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Acknowledgements */
@cvxda
@franciscofranco
@faux123
@flar2
@Imoseyon
@savoca
@Lord Boeffla
@Sultanxda
@Grarak
@osm0sis
@Alucard24
Many other XDA developers
XDA:DevDB Information
SmartPack, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2017-10-10
Created 2017-10-09
Last Updated 2017-11-26
Frequently Asked Questions (FAQ)
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work
Q2: Is this kernel better than stock/‘xyz’ kernel(s)?
Ans: Regarding stock, Yes, It should be better in many aspects (Otherwise it will never been published). Regarding ‘xyz’ kernels, I don’t know. I even may not used your mentioned ‘xyz’ kernels.
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Could you add feature x and y to your kernel?
Ans: Not sure. It depends on the feature and the capability of device. Anyway, I’m happy to check and add, if possible, any useful features (unless it is too experimental or dangerous) to my kernel. Please give your suggestions in the official xda thread.
Q6: When will you release a new version of this kernel?
Ans: New updates will arrive whenever I have something new to present in-front of you (such as I managed to add new useful features, or fix some existing issues or along with each LOS release with some changes in the kernel source code).
Q7: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screenshots or logcat if possible) and post in the xda thread.[/hide]
Please also note:
Guys... I'm pretty new to this device (and in fact to android development itself). So, it is very likely that I break some already available stuffs. If you found so, please let me know.
1. Please make sure to disable mpdecission if you decided to enable other hotplus (only one hotplug at a time).
2. Do not use any CPU hotplug while using zzmove cpufreq governor (since zzmove uses its own hot-plugging profiles).
3. Do not use Adreno_Idler and Simple_GPU algorithm together (that will likely make issues).
Change-logs
Nougat
men, i will try your kernel today, but already thanks for not forgeting this device, have a nice day.
well, im using the last rom version, and all that i can see is that it breaks the wifi, my device is G901F
New builds...
Release status: beta-v1
Changes: CPU voltage control is updated (all the frequencies are now accessible via KernelAuditor). Some other fixes (mainly for wifi)...
Download links cane be found here... enjoy...
/* Downloads */
SM-G906S/K/L
SM-G901F
@Juanchito16 any updates?
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Juanchito16 said:
heyyy man, now im tryong your last version of the kernel with the RR on my G901F, and now wifi works, thanks for your time and your project !!!!!
Click to expand...
Click to collapse
Thanks for the reply and nice to know that it is working.
Btw, it could be nice if you test everything and made a detailed review. It will be useful for me to make it better as well as other users. I really like to know its status from an SM-G901F user (since I only own SM-G906S)... Thanks, anyway, for the early testing...
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Honestly, I do not know since it is difficult for me to test the standby time due to my building and flashing habit
However, I'm presently satisfied with 1. cpugreq (nightmare), 2. cpu hotplug (intelli_plug), 3. undervolted (up to -50), 4. TCP algo (westwood) and 5. All other available features like fastcharge, sound control etc. enabled...
Juanchito16 said:
@sunilpaulmathew, right now im using a lg g6 so for now i will test how is the drain battery with stock kernel of RR and then with yours.
so actually wich settings i should let on in the phone for the standby test ? or wich you suggest me.
Click to expand...
Click to collapse
exactly what i tough so i do have time to try this, im waiting for phone to charge fully (now 55%), i will set 1. cpugreq (nightmare), and turn on wifi, bluetooth, gps, and in airplane mode bc i dont have sim for the phone.
well i dont have many apps installed ,so i will do every test with exactly same settings and apps
workload
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
deollz said:
Thank you for your Kernel,
The fist Look seems to be good, the CPU workload shows 3 Cores are OFF (kernel adiutor), one by 50% by default LOS with no Apps in the Background, with the settings you are posted.
Thank you for the the first costum kernel for sm-g901f on LOS 14.1.
best regards
Click to expand...
Click to collapse
Thanks for testing and review. It become much better in the next updates once I add cpu input boost...
Juanchito16 said:
so i did the "test" with your kernel, with the default kernel configurations, wifi, bluethoot, gps in high accuracy, full brightness, and youtube all the time with video playng, so it gives me 4 hours, wich i think is just exelent thinking its a old battery.
its a really nice work man, about the fast charge, its nice, i charged it with everithing, but unfortunately i cant say how fast its yet
Click to expand...
Click to collapse
Thanks for the really detailed review... As per its source code, it only increases the USB charging speed to 900mA and nothing else. Probably you can try ampere to test the charging speed. Btw, I hope more people test this kernel soon.
Testing now, thank you ! My phone g906s
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
kotobodj said:
Testing now, thank you ! My phone g906s
Click to expand...
Click to collapse
Juanchito16 said:
i did try with ampere, im testing it in norway, and actually without any modification, and right cable i get 1.200 mA
Click to expand...
Click to collapse
Thank you very much friends. Was busy with my klte kernel. I'll probably push an updated version tomorrow, if everything goes as expected.
Btw, anybody tested the sound control (Kernel Auditor ---> Sound)? Is it worth?
Thanks in advance...
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
BorrelNootje said:
I have tried to use the sound option, however it crashes my device. I can make some logs later if that's helpfull.
Click to expand...
Click to collapse
Ahh, yes, please provide a log if possible... Thanks for reporting...
New builds (beta-v2)...
Release status: beta-v2
Added: SIO and FIOPS ioscheds, CPU input boost, iosched switcher & FSync enable/disable support...
Changes: Interactive cpufreg gov, sound control (default gain marginally increased, PS: it might still crash the device if you touch the sound tab, but give significant gain by default), recent commits in the LOS kernel source code...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171012)...[/COLOR][/B]
One more build...
One more update before the weekend...
Release status: beta-v3
Changes: Changes: zzmove cpufreq gov. All the commits in the LOS kernel source code till date...
Download links are here... enjoy
/* Downloads */
SM-G906S/K/L
SM-G901F
Code:
[B][COLOR="Red"]Please remember to download the latest build (dated 20171013)...[/COLOR][/B]
Welcome Everyone!!!!
DISCLAIMER-----
This App Is The Reborn Version Of Old Kernel Aduitor Mod By @yoinx , So It Will Be Known As Kernel Adiutor Mod Reborn
It Is Meant For Tweaking The Features Of Your Kernel It Will NOT Add Features In Your Kernel,If A Feature Doesn't Show Up In App Than Your Kernel May Not Have That Feature. Ask Your Kernel Dev For Which Features Are Supported In Your Kernel.
INTRODUCTION-----
This Is The Thread Of KA Mod Reborn Which Is The Updated Version Of Old KA Mod Made By @yoinX.
As The Development Of The Old KA Mod App Has Been Abandoned So I Thought That I Should Take Over That Project Cause I Love The KA Mod App Very Badly But It Can't Work Correctly On My Phone And Other Newer Devices/Kernels Were Also Having Problems With It, So I Forked The Old KA Mod Source Code And Started Working.
So Finally After A Long Wait Here Is The Updated KA Mod, I Renamed It To KA-Mod Reborn Due To Some Issues :victory:
This App Is Still Under-development So More Fixes/Stability/Features Will Come In Future Versions.Please Be Patient :angel:
INSTALLATION INSTRUCTIONS-----
This App Has Different Installation Directory/App Name/Package Name From The Orignal Kernel Aduitor By @Grarak And It Also Differs From Original Kernel Aduitor Mod By @yoinx.
This Was Not Done To Steal/Disguise This App But To Prevent Conflicts If You Choose To Keep The Original KA Mod By @yoinx Or Original Kernel Aduitor By @Grarak.
NOTE-----
App Version 16 & 17 Still Uses The Old Installation Directory/App Name/Package Name As Old KA Mod Do, The Reason Behind This, Is The Issue.
DOWNLOADS-----
Current Build [V18]- Download
CHANGELOGS-----
This App Will Continue The Version Number Where The Old KA Mod Left.
V18
{Change}Changed The App Name To KA-Mod Reborn & Package Name To com.kerneladiutor.reborn.
{Add}Added GPU Sysfs Paths For Zenfone 2
{Add}Added HBM Quick Settings Tile.
{Add}Added Battery Charging Current Indicator In Battery Section.
{Add}Added Vibration Support For Pixel XL & Pixel.
{Add}Added A 0 Second Delay For Apply On Boot.
{Fix}Fixed Assuming That All 4 Cores CPU Are Big.Little.
{Fix}Fixed Adreno Idler Issues.
{Fix}Few Other Fixes And Improvements.
{Update}Updated App Updater To Point To My Repo For Updates.
{Update}Updated Vibration & AutoSMP Hotplug Parameters.
{Update}Updated CPU Boost.
V17
{Add}Added Support For Nexus 6P.
{Add}Added Support For I/O Schedulers For Pixel XL & Pixel.
{Fix}Fixed Crash While Turning On/Off MSM_Limiter.
{Fix}Fixed Calculation Of Big.Little Cores On SD 820 SOCs (This Still Needs Some Fixes As it Is Not Working For Some Phones Like Nexus 6/One Plus One, Tho It has Been Fixed For Most Of The Devices)
V16
{Updates} Updated To SDK 27 (Android O) & Updated Various Other Tools/Gradle.
This Version Has No Fixes/Features I Just Updated It,Fixes Will Come In Future Versions Please Be Patient.
FEATURES-----
This App Has All The Features Of Old KA Mod , I Will Edit This When I Will Add New Features In The The Future Versions Of This New Reborn KA Mod
FAQ-----
Q- Will You Explain What Awesome Features In My Kernel Do?
A- No, Ask Your Kernel Dev Or Search On Google.
Q- Which Settings Are The Best For Battery Life/Performance/Balanced?
A- I Don't Know, I Probably Don't Even Run The Same Kernel As You Do.
Q- I Found A Bug What Should I Do?
A- Provide As Much As Information Possible With Logs & Post In The Thread Or You Can Join The Telegram Group.
Q- Somethings That Are Working On Original Kernel Adiutor Are Not Working On This?
A- I Apologize For That This App Is Still Under-development So More Fixes/Stability/Features Will Come In Future Versions.Please Be Patient.
TELEGRAM GROUP-----
You Can Join This Group For Getting Help/Beta Testing.
Telegram Group-Here
INFORMATION FOR DEVS/ADVANCED USERS-----
This Part I Have Copied From Old Kernel Adiutor Mod Thread
Kernel Download Support-
I Have Modified This Unbranded Release So That Kernel Devs Can Add Support (And Override Whatever Is Included In The App Already) For Their Kernel's Downloads By Including /res/kernel_adiutor_mod/downloads.json In Their Ramdisk.
Why? Well... It Removes The Need For Commits To Add Support For The Kernels Within The App. Want Support? Add The File To The Ramdisk. Next Time When A User Flashes The Kernel, The App Will Display Them With Your Downloads.
Information taken from Grarak's Wiki
The original app required the files to either be downloads.json to be compiled into the app, or in the app's data directory. I simply added the /res directory and made the priority /res > data dir > app's resources. So the information is the same.
/res/kernel_adiutor_mod/downloads.json
This File Is Static, Once Configured And Added To The Ramdisk It Will Remain Valid Unless You Remove/Move The Link File. It Will Pull This File Each Time The Dowloads Section Is opened, Pulling In Whatever Changes You've Made To The Linked File.
For An Example Of The Downloads Link, Check Any Of The Ones Included Here As Well As The Example In Grarak's Wiki. This File Will Be Dynamic, Any Changes That You Make To It Will Actively Be Pulled When Users Open The Downloads Section Within The App Once The Static File Has Been Added To The Ramdisk.�
Intents
HighBrighness Mode on: com.kerneladiutor.mod.action.HBM_ON
HighBrighness Mode off: com.kerneladiutor.mod.action.HBM_OFF
HONOURABLE MENTIONS/CREDITS
@Grarak (Original Dev Of Kernel Adiutor)
@yoinx (Dev Of Kernel Adiutor Mod)
@spezi77 (For His Code)
@apophis9283 (For His Code And Support )
@David 617 (For Allowing Me To Continue This App)
@infus38 (Do I Have To Say Why?)
@madcodez (Again,Do I Have To Say Why? App Compiler)
@Mervingio (For Helping/Contributing)
@Bryanx86 (For Helping/Contributing)
@Ali Haide 001 (You Wanna Say Anything?)
XDA:DevDB Information
Kernel Adiutor-Mod Reborn, An App For All Devices
Contributors
See Above
Source Code: Here
Version Information
Status:
Current Version: V18
Created: 2017-12-03
Last Updated: 2017-12-10
Reserved For Future Surprises
good job...thank you.
mnjm9b said:
good job...thank you.
Click to expand...
Click to collapse
Thanks
Hope Now I Am Not A Hijacker:laugh:
Congratulations for your work ,
infus38 said:
Congratulations for your work ,
Click to expand...
Click to collapse
Thank You Broda
Congrats, Ali and good luck with your first project and thread!!!
Thanks for continuing this awesome work, I really appreciate your contributions!
Awesome. Keep it up
Your link to Source Code is broken. Thanks for new mod.
Wa.Sobchack said:
Your link to Source Code is broken. Thanks for new mod.
Click to expand...
Click to collapse
Oh Sorry
Actually I Forgot To Add Link:silly:
I Add It Now
Thanks For Telling
Edit- Done:angel:
I can't download the file
in
Ali Haide 001 said:
Thanks
Hope Now I Am Not A Hijacker:laugh:
Click to expand...
Click to collapse
ha...love ya man.
now comes the fun part...
all the whining and complaining about things not working right
and the demands that you fix it ASAP
...LOL
try not to let it get you down...it happens to the best of devs
littlecrap said:
I can't download the file
Click to expand...
Click to collapse
Try another browser
Thanks for this. The outdated version was still my go to app for kernel control and adjusting and I'm really happy that someone picked it up to update it.
Version 17 is working just fine on my Nexus 6 on Oreo, it is odd to see big/little core control options though. I didn't even know that my Shamu could have that option.
Glad he picked it up
---------- Post added at 08:29 PM ---------- Previous post was at 08:21 PM ----------
urrgevo said:
Thanks for this. The outdated version was still my go to app for kernel control and adjusting and I'm really happy that someone picked it up to update it.
Version 17 is working just fine on my Nexus 6 on Oreo, it is odd to see big/little core control options though. I didn't even know that my Shamu could have that option.
Click to expand...
Click to collapse
It doesnt. The app needs to be fixed.
urrgevo said:
Thanks for this. The outdated version was still my go to app for kernel control and adjusting and I'm really happy that someone picked it up to update it.
Version 17 is working just fine on my Nexus 6 on Oreo, it is odd to see big/little core control options though. I didn't even know that my Shamu could have that option.
Click to expand...
Click to collapse
Yes I Know
It Will Be Fixed In Next Update
But Until Then You Can Enjoy Big.little Core in Your Non-Big.little Core Phn:laugh:
Ali Haide 001 said:
Yes I Know
It Will Be Fixed In Next Update
But Until Then You Can Enjoy Big.little Core in Your Non-Big.little Core Phn:laugh:
Click to expand...
Click to collapse
Good answer. Remember, there are no bugs, just unwanted features
:good:Nice to see the best kernel manager REBORNs