[Kernel]GalaTab3 KitKat & JellyBean Kernels for SM-T310 8.0 ONLY - Galaxy Tab 3 8.0 Android Development

GalaTab3 Kernels for either JellyBean or KitKat ROMS - SM-T310 8.0 - TouchWiz
Warning:
As always, flash at your own risk. I'm not responsible, in any way, for what you flash, copy, fiddle with, poke, molest or otherwise screw with on your phone or tablet....
*** Important ***
- I recommend using TricksterMod or a similar CPU/Kernel modification app to adjust the settings/configurations. Although I am a huge fan of Faux123 and his Kernel app, it does not play nice with Exynos CPU's or Mali GPU's (especially the two together). Maybe it will in time, but only someone of his genius can figure it out. But, I have implemented the features specifically to allow TricksterMod to have full access to the controls. You can get the app HERE
USB Audio Mod for JellyBean ROM's ONLY
Flash this file to allow USB Audio functionality to work 100%. This will work in conjunction with my kernel and allow you to use external DAC's and bypass the internal audio hardware/software completely. This provides MUCH better sound quality and higher bitrates (depending on the DAC you choose to use).
USB Audio Mod
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
Releases & Downloads
Version 14.7.16 (KitKat) - Download - KitKat ROM's ONLY
- STOCK KitKat NF4 4.4.2 Kernel
- Built from newly released source code by Samsung
- Added Root/SuperSU binaries
- Added Init'd Functionality
- Added mock location functionality in default prop
This is the base in which I will be building the new KitKat custom kernels from. Obviously, I wanted to add some of the basic functions, like Root and Init'd so nothing is reverted from any custom ROM's you may have flashed. This is not a copy of the kernel from the stock ROM.... This is built against the source code. I will be adding features and customizing this kernel shortly and will begin uploading the new versions ASAP. My main focus is to get it overclocked first and then I will fine tune some of the stock features and add new stuff along the way.
Version 14.5.27 (JellyBean) https://www.mediafire.com/?b0h9ii661x113d9
- Last JellyBean Kernel Release
- Same features as Version 14.4.8r2
- Camera now working. Fixed driver loading error.
- Refreshed source code and toolchain
- Adjusted charging current for USB, Dock and Misc charging modes. Now all register as "A/C" current.
- Misc code updates and fine tuning.
Version 14.4.8r2 (JellyBean)https://www.mediafire.com/?m29aztntz2jx613
- Cleaned up some code
- Speed modifications to allow for smoother daily use
- Transitioned some kernel modules to be built in primary image for faster load times
- Finished adding Sweep2Wake code - still needing to finalize trigger processes (so feature is not active yet)
- Adjusted USB Audio function at Kernel level. Will provide an updated framework file to implement this fully and allow for 100% native function. Allows total compatibility with external DAC's and complete bypass of internal audio hardware/software.
Version 14.4.3 (JellyBean)https://www.mediafire.com/?kv44k85q41878y9
- Reverted some edits to allow previous steady kernel workflow
- Added additional USB Audio/Video Kernel functions based on user requests
(You now do not need proprietary apps to play to external dacs or video decoders)
- Additional dock features added for broader compatibility
- Reverted Init'd files to previous versions
Version 14.3.25 r2 (JellyBean) http://www.mediafire.com/download/t60k13chcat5b3f/GalaTab3_Kernel_v14.3.25_r2.zip
- Fixed Init.d Functionality Problems. Now runs on boot as it is supposed to
- Revised several of the init.d scripts from past releases and added several new ones.
- Enabled Debugging & Mock Locations by default.
- Added several Audio Interface and DAC drivers (some as modules, some built in). This will allow for a much broader driver base for external DAC's connected via USB.
After flashing and booting, I highly recommend you set your Trickster settings again (and remember to set to boot). The new tweaks adjust some of the kernel performance values and if you use your old Trickster profile, it will reset these new values to those of previous releases. I will be evaluating and adjusting these new values in future releases to determine which have the best results on our devices.
"Stock" GalaTab3 Init.d Files (Flashable) - http://www.mediafire.com/download/u2slgste63dpx1l/GalaTab3_Original_Init.d_Files_Flashable.zip
Flash this if you want to use the normal Init.d Files with the new kernel.
Version 14.3.18 (JellyBean) http://www.mediafire.com/download/xbx12xq493n68e8/GalaTab3_Kernel_v14.3.18.zip
- Updated/Enhanced SLUB performance features. Allows for much faster ROM and file systems
- Adjusted ExFat file system calls within kernel. Now loads ExFat file systems twice as fast.
- Added initial code for Sweep2Wake and DoubleTap2Wake features. NOT FULLY IMPLEMENTED YET - need to fine tune some parameters to make these features compatible on our devices.
Version 14.1.6 (JellyBean) http://www.mediafire.com/download/8ycwqq7wt4kaqi5/GalaTab3_Kernel_v14.1.6.zip
- Added 3 CPU Governors for extra versatility - SmartAss3, Lulzactiveq & zzmoove (Thanks Civato!!!!)
- Updated LZO Compression code to allow for vastly improved performance and compression speed (helps with many aspects of I/O speeds and boot times)
OLDER RELEASES/INFORMATION
Since it's the holidays - I thought I would give you all your first gift...... in the form of a newly updated Kernel release! I know.... this was on the top of your list of crap needed......
Basically, I completely started again from scratch and an re-implemented past features and some new ones. I wanted to make sure that the features were 100% compatible and efficient for the Tab 3 and that additional features were not stacked on top of broken code. In short..... this has been a huge pain in the a*# and I can't believe how hard it has been to implement features that are so widely available on other architectures. Mainly, the Mali GPU has been the biggest pain - that and all of the errors and bugs in the stock firmware.
After speaking with MANY developers and observing other device forums, I'm happy to know that I'm not the only one. The new releases of 4.2.2, 4.3 and 4.4 ROM/Kernels have caused a lot of problems with both the poor code and dramatic architecture changes from Google and Samsung. But.... here you are..... a fresh new release that is running well.
Version 13.12.21r5 (JellyBean) https://www.mediafire.com/?ggruj3gqj3gywx7
- Completely Re-wrote Kernel Mod's and/or re-implemented functional features (that are known to be stable)
- Built against an updated & modified 4.7.3 Android Toolchain (up from 4.4.3)
- Added and Implemented Boeffla Sound Engine (You can use a few apps to control the engine)
- Fully implemented GPU Controls!!! Overclocked to 700mhz but works very well at 533mhz (without having to burn through your battery)
- Independent CPU and GPU throttling based on your use. (i.e. - GPU does not ramp up if you are processing heavy data)
*** Again, use TricksterMod to adjust GPU frequencies to your liking)
- Re-Implemented CPU Overclock from 50mhz - 1900mhz
- Rewrote and modified Hotplug for better performance and ramp up's
- Cleaned up several algorithms and eliminated code that is not used on our device
- Eliminated several debugging functions (thanks to ketut.kumajaya for his previous work)
- Added back several additional drivers for BT and USB connections
- Full OTG and Dock features - including charging while using OTG and MHL/HDMI
On a quick test before uploading - this new revision scored over 18000 on the benchmark without implementing "Performance" CPU or overclocking the GPU beyond 533mhz. I'm not a "gamer", so I'm sure some of you will put this to the test, but the core function of this kernel has surpassed the Galaxy III (which I also own). The GPU function and frame rates tripled compared to the last update a month ago!
ENJOY and HAPPY HOLIDAYS TO EVERYONE!!!!!
Version 13.11.08r2 (JellyBean) http://www.mediafire.com/?7cdajhmh5080075
- Modified CPU code and how algorithms function at idile and demand situations
- Updated OnDemand governor and ROW I/O scheduler to maximize performance
- Fixed black screen on device wake
- Adjusted idle frequency so both cores are utilized for better responsiveness
- Rewrote/Updated Hotplug code to be more efficient for the Tab3
- ***FINALLY BROKE 17000 ON BENCHMARK RESULTS!!!****** (Very close to the S3 now)
- Fixed updater script......again......
Version: 13.10.28r4 (JellyBean) http://www.mediafire.com/download/w...rnel_SM-T310_Tab3-13.10.28v4_w.Initd.cron.zip
Int'd Scripts Added:
- Swap/zRam Implementation (Run script in terminal emulator once and it will be on until turned off - thanks definitive!!!!)
- Performace & Battery tweaks
- ZipAlign Apps at boot
- Cron memory cleanup scheduling (hourly, daily & weekly)
- SQLite tweak upon boot
- Permissions set at every boot
- GalaTab3 Logging enabled
- Other various tweaks to maximize performance​
- Fixed Permissions on Installer Script (11/1/13)
- Increased eMMC SdCard Readahead speeds to 3072
- Several tweaks, adjustments and updates to existing code. Some items updated to Samsung's new i9500 versions/revisions
- Fixed the CPU Frequency limit when booting. Will now boot at max CPU limit rather than a flat 1600mhz
- Modified CPU logic function so the processor is more adaptive to actual processing needs
- Improved and Modified PM/Sleep registers and functions. Should not have problems waking device to a black screen anymore
- Added additional support for wireless modem features - Allows external modems and bluetooth dongles to be connected via USB
- Added Android Graphic Fence feature/function from AOSP - allows graphics and the media logic to run smoother
- Added Root FS Slave restrictions so the Davik Cache can mount system wide storage and utilize the memory more efficiently
- Adjusted signal reporting so that it show more accurately
- Modified writeback protocol so the memory is freed correctly an is not held for an indefinite time until user operations are suspended
- Transitioned to ASM Atomic memory allocations from the standard Linux version. Much more efficient....
- Disabled several debugging functions that were useless and took up CPU and Memory resources
- Several other tweaks, but I'm way too tired to remember them.....
To Enable/Disable Swap:
1) install a terminal emulator for Play Store
2) Open terminal
3) Type "su", then hit enter
4) Type "swapit", then hit enter
5) follow onscreen instructions
Download v13.10.14:
Version: 13.10.14r7 (JellyBean)
- Increased Overclock to 1900mhz (blazing fast now!)
- Reduced Underclocking to 50mhz (yep, that's right) (Thanks Civato)
- Re-implemented zRam and it's running smoothly (make sure to use a quality CPU app, like FauxClock, to turn on and adjust zRam function)
- Finalized HotPlugging feature and fully implemented
- Enabled/Added SVGA adapter support (a few users had requested)
- Stripped Debugging on a few features to shrink the size of the Kernel and burden
- Added and Optimized ARM R/W functions
- Modified OnDemand Governor for increased performance
- Increased Read-Ahead Values for Memory (2048)
- Added a LOT of PPP, networking & connectivity drivers - especially for Bluetooth and Network controllers via USB (This will allow you to connect Tab to external modems and several BT interfaces, including Serial)
- Added some additional OTG/Host controller features - allows broader compatibility based on User setup
- Added additional support for generic chargers
- Additional EXT4 File System support features
- Converted several features to Modules to allow Kernel to be less bulky (should increase some performance)
- Various Bug Fixes
Download v13.10.14: http://www.mediafire.com/download/dd3uc1i1nbabdfc/GalaTab3_Kernel_SM-T310_Tab3-13.10.14r7.zip
Version: 13.10.11 (JellyBean)
- Increased Overclock to 1800mhz
- Fully implemented SIO scheduler
Disabled zram (temporarily) while I modify how the kernel handles this feature.
Download v13.10.11 - http://www.mediafire.com/?ahqh6ukabsajtq2
Version: 13.10.7 (JellyBean)
Features:
- Based on MH2 4.2.2 Samsung Kernel
- Linux ver 3.0.31
- Overclocked to 1.6mhz (stepping this up slowly so we don't have any problems)
- Underclocked to 100mhz (Amazing battery savings)
- Fine tuned voltage controls
- Added ROW IO Scheduler (Foundation for SIO is implemented too, just need to finalize one thing and it will be active in the next release)
- Adjusted USB and Dock charging voltages to allow for MUCH faster charging on "USB" currents (basically, will charge twice as fast as before)
- Implemented and Enabled zRam. Now you can turn on/off zRam to allow for additional RAM/Swap
- Enabled ARCH power (allows for CPU to run much more efficiently and based on the need)
- Enabled Dynamic FSync (Thanks Faux123!!!)
- Added and Enabled ExFat support
- Several performance mods and fixed a lot of memory leaks...... This thing is running nicely now......
- Enabled Linux Atomic resources
- Several other tweaks, but I'm way too tired too remember.
Basically, this is a major improvement to our Kernel for the T310 and you will instantly see the performance gains.....Enjoy!
Download v13.10.7 - http://www.mediafire.com/download/iknplvhjvraud3p/GalaTab3_Kernel_SM-T310_Tab3-13.10.7.zip
I figured I would kick off some of the development for the 8.0 version of the Galaxy Tab 8. I've included the kernel I created recently which has helped with several performance issues and allows for OTG with Charging on our Tab 3 8.0.
Version: 13.9.20 (JellyBean)
Features:
- Based on MH1 4.2.2 Source from Samsung
- Compiled from ARM-EABI 4.4.3 ToolChain
- Added "OnDemand" CPU Governor support (Full)
- Added Support for Samsung's SmartDock, AudioDock, OTG and MHL Cable functions (added features/detection roles)
- Added full OTG support and function. This allows for various OTG compatibility and OTG Charging.
- Added MHL Chip Driver, 11 Pin Micro USB Connector Support and fix for MHL HPD Glitch
- Added additional USB Gadget support for devices (Including the Native Android USB Gadget Functions)
- Additional support for FUSE Filesystems - added functionality
- Several bug fixes
**** To enable OTG plus Charging, your OTG cable must have a 64.9k Ohm resistor between the ground and sense ID pins. This will engage the SmartDock function on the tablet, allowing for OTG/USB Hub, MHL, USB Audio and Device Charging simultaneously.
- Please search Google and XDA for making your own OTG cable. This thread is NOT for asking questions about building cables, problems with OTG function, etc..... I have enabled full function in this kernel and this has been extensively tested by several users - IT WORKS!!!!.****
- In order to utilize the OTG and MHL functions, you will need to add an additional hub or MHL port to your OTG cable. Again, this is not the forum for asking how to do this - use Google and XDA as resources on how to build. Chances are, if you don't know how to do this, then you should not be using this function anyway.....
- OTG Charging requires you connect the device to an AC Samsung Charger (OEM, the one that came with device) or a DC Charger that provides 5V, 2+ amp output. Connecting to another charger without this output will limit the functionality of the charging feature.
- I HIGHLY Suggest using an external powered hub to connect additional USB devices (Memory Sticks, Keyboards, Mouse, Bluetooth, Modem, Etc...).
This is just the beginning and the first release of this kernel. There will still be bugs and quirks that will need to be ironed out. I'm actively working on several features for our SM-T310 devices and future releases will contain major feature upgrades and bug fixes (that are native in Samsung's Source Code).
Enjoy and I will update the OP with add'l information on releases as I have them complete. Do not ask for ETA's!!!!! I will not release until I feel comfortable with the stability and functions. I'm almost finished with my ROM as well, which will contain this kernel. Just need to finalize some theming. I'll release that this week.
Stock Kernel Downloads
Original Stock JellyBean Kernel: Download - JELLYBEAN
Original Stock KitKat Kernel: Download - KITKAT
Install Instructions:
1) Reboot Into Recovery (TWRP Recommended)
2) Create Nandroid/Backup
3) Wipe Cache/Davik
4) Install Kernel
5) Reboot (First boot after flash may take a little longer - Kernel is building additional file structure and adding features)
6) Enjoy!!!!!
GitHub Source Code & Revisions
JellyBean Kernel Versions
KitKat Kernel Versions

Flashed the kernel and reboot. Will make some tests today!
Sent from my SM-T310 using Tapatalk 4

Finally a kernel for the tab 3 8.0. Will try to flash once I getmy tab 3 rooted. Congrats and good luck

Thanks arshull for your work, i will try as soon as i get home.:good:

Thanks.... can u make a T311 version.. please: D
Sent from my SM-T311 using Tapatalk 4

And for LTE variants too
Sent from xda app-developers app

This kernel works as a rocket. No issue found
Verstuurd vanaf mijn GT-I9300 met Tapatalk 4

Awesome
This kernel is like a bause!!!! Highly recommend this kernel. Did some benchmark and it perform better than on stock kernel..... Used nenamark 2 and scorked about 58.5 fps and quadrant it scored higher than the HTC one x. Kudos to the developer of this kernel

Glad everyone is liking it. As an update, I'm finalizing the tweaks on a few new features and should have an updated version posted in the next couple days. Trying to implement OC and some add'l Govs plus some tweaks for faster otg charging.
Are there any specific drivers that you are needing within the kernel? If so, let me know and if enough users need a specific driver for an accessory/gadget then I'll add it in.
Sent from my SGH-I747 using xda app-developers app

arshull said:
Glad everyone is liking it. As an update, I'm finalizing the tweaks on a few new features and should have an updated version posted in the next couple days. Trying to implement OC and some add'l Govs plus some tweaks for faster otg charging.
Are there any specific drivers that you are needing within the kernel? If so, let me know and if enough users need a specific driver for an accessory/gadget then I'll add it in.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
arshull thanks again for you exellent work,I have one question, i got a original Samsung MHL HDMI adapter that work great on my S4 but with theT310 only video works,but no the audio, is this because of a missing driver?, and if so can you add it in the new update.
Thank you in advance for your help.

arshull said:
Glad everyone is liking it. As an update, I'm finalizing the tweaks on a few new features and should have an updated version posted in the next couple days. Trying to implement OC and some add'l Govs plus some tweaks for faster otg charging.
Are there any specific drivers that you are needing within the kernel? If so, let me know and if enough users need a specific driver for an accessory/gadget then I'll add it in.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
maybe you can do something about the red cros sign in the battery during pc-charge? it has to do with volts....?
Thanks again for the excelent kernel!!

parabels said:
maybe you can do something about the red cros sign in the battery during pc-charge? it has to do with volts....?
Thanks again for the excelent kernel!!
Click to expand...
Click to collapse
I'm still trying to narrow.that down. That's an issue with the Sammy source and the multiple mA options available for allowed power sources. I'm hoping my revision to the.otg charging will eliminate the internal kernel glitch.
Sent from my SGH-I747 using xda app-developers app

Hi there bro,
Can this kernel be flashed on SM-T315? Its the LTE version of our tab3 8.0. Thanks for helping...
Sent from my SM-T315 using xda app-developers app

MAXPHREAK said:
Hi there bro,
Can this kernel be flashed on SM-T315? Its the LTE version of our tab3 8.0. Thanks for helping...
Sent from my SM-T315 using xda app-developers app
Click to expand...
Click to collapse
Sorry, no. That requires a separate source and config. Basically like a completely different device.
Sent from my SGH-I747 using xda app-developers app

Sorry for disturbing but will there be OC for the gpu and cpu for the next kernel or performance increase? Because i am sure the tab 3 8.0 has more power than it has right now. Thanks in advance

shahtheass said:
Sorry for disturbing but will there be OC for the gpu and cpu for the next kernel or performance increase? Because i am sure the tab 3 8.0 has more power than it has right now. Thanks in advance
Click to expand...
Click to collapse
Page 1 op says he's working on OC!

djjozo said:
Page 1 op says he's working on OC!
Click to expand...
Click to collapse
Oh ya...... Did not see that :fingers-crossed:

Hi,
i tried to connect a mhl vga adapter to the t310 after flashing your kernel but i have no image on the vga output.
is there something to do to make it work ?
Regards

acca said:
Hi,
i tried to connect a mhl vga adapter to the t310 after flashing your kernel but i have no image on the vga output.
is there something to do to make it work ?
Regards
Click to expand...
Click to collapse
It may be a specific driver for the chip set on the vga converter you're using. I'll look to see if there are any vga options in the source.
Sent from my SGH-I747 using xda app-developers app

Ok, thank you very much !

Related

[Kernel]netarchy-toastmod, Stable: 4.3.1 Beta: 4.3.4 (17-Mar-2011) Now With HDMwIn

NOTICES: If you are noticing abnormally high battery drain and/or uptime, and you've updated to PRI 1.90, it has come to my attention
that this PRI has been problematic for a number of people, often resulting in large uptimes and/or poor battery life.
This issue affects people regardless of whether or not they are using a custom kernel
Downgrading your PRI and NV to 1.77 has been reported to resolve this issue.
You can find all PRI and NV versions by clicking here.
Due to troubling reports of battery issues possibly caused by the SBC battery charger modification, it is worth mentioning that by using any SBC build, you
fully assume any and all potential risks that the SBC modification may pose.
"netarchy-toastmod" is a kernel originally based on the GoDmOdE sources (Courtesy of Toast) integrating my work on fixing the fps for the Epson panels, and as of version 3.6.1, also integrating a fix for the Nova panels that does not require the use of Evo switch or manually setting any registers, etc, courtesy of work done by AssassinsLament (Well done on the nova fix). Special thanks needs to go out as well to Cyanogen and the cyanogen mod team, as a number of bugfixes and updates to the kernel in recent revisions have been ported over from cyanogen mod to enhance the overall netarchy-toastmod experience.
Click to expand...
Click to collapse
So what's in the kernel?
- Overclocking Support
- HDMwIn (As of 4.3.4)
- Audio gain tweaks (read: make it louder!)
- Fps Fixes
- tun.ko for openvpn users
- CIFS support (as of 4.2.2)
- BFS (in select builds)
- BFQ (in select builds)
- HAVS (as of 4.1.9)
- Assorted fixes/tweaks (that are sadly too numerous to list here)
- An army of rabid naked bunnies
Click to expand...
Click to collapse
The zipalign script in the kernel's modified inits is based on code in the Damage Control rom, and extended to check more places for apps.
The Dalvik code in the inits is courtesy of Ninpo/Hacre from the VillainRom team (over in the HTC Hero forums).
Click to expand...
Click to collapse
mroneeyedboh has written a handy little kernel starter guide with a lot of general information about custom kernels and various terms you might see flying around (such as cfs/bfs, havs/nohavs, etc).
You can view this guide Here
Click to expand...
Click to collapse
Current Revision: Stable: 4.3.1 - For Froyo Sense roms | Beta: 4.3.4
Click to expand...
Click to collapse
A note on multitouch:
Some of you may have used my 5point multitouch test builds with success, others with failure. Research has shown that the Evo's contain at least 2 different versions of the touch sensor, one of which does not support 5point multitouch (but it DOES support 3point). You can check which sensor you have using adb by issuing the following command: "adb shell cat /sys/android_touch/vendor" and examining the result. If your result is ATMEL_x0080_x0016, your phone can support 5point. If your result is ATMEL_x004F_x0016, your phone will only support up to 3point.
Click to expand...
Click to collapse
Disclaimer:
While these builds have been deemed generally safe, it is not feasible to account for all possible combinations of custom roms and uses,
custom roms may experience some breakage depending on how some features are set up, as these builds are not aimed at any one particular rom.
As such your mileage may vary, use these at your own risk.
Click to expand...
Click to collapse
2.2 Kernels (THESE WILL NOT WORK ON 2.1 ROMS):
These have only been tested against the rooted HTC 2.2 stock rom, they *may* work on the various custom 2.2 roms,
but this is NOT guaranteed. MAKE A NANDROID BACKUP JUST IN CASE!
Click to expand...
Click to collapse
If you get force closes on the camera, go to Menu -> Settings -> Applications -> Manage Applications -> All -> Camera -> clear data.
Click to expand...
Click to collapse
-----------------------------
2.6.32-based Kernels:
Click to expand...
Click to collapse
Beta Testing Builds
When making a post about any issues concerning beta builds, please include ALL of the
following information if possible:
1. Which kernel build(s) (ie; bfs/cfs havs/nohavs etc) are you using with the issue?
2. What Rom are you using?
3. If known, what OTA base is your rom using (ie; is it based on 3.29, 3.30, 3.70, etc)?
4. Does the issue persist if you go back to a stable kernel build?
5. The issue being experienced (obviously ;D)
4.3x:
To clear up some confusion that is apparently being spread around,
4.3x builds do in fact work on all current evo models, not just the newest model.
4.3.4:
--CFS builds--
No SBC:
4.3.4-cfs-nohavs-noUV-nosbc (No Undervolting)
4.3.4-cfs-nohavs-suv-nosbc (Static Undervolting)
4.3.4-cfs-havs-less-nosbc (Less Aggressive HAVS)
4.3.4-cfs-havs-more-nosbc (More Aggressive HAVS)
SBC: Use sbc builds at your own risk.
4.3.4-cfs-nohavs-noUV-sbc (No Undervolting)
4.3.4-cfs-nohavs-suv-sbc (Static Undervolting)
4.3.4-cfs-havs-less-sbc (Less Aggressive HAVS)
4.3.4-cfs-havs-more-sbc (More Aggressive HAVS)
For older beta builds click here.
---------------------------------------
Stable Kernels:
Universal Builds:
4.3.1:
--CFS builds--
No SBC:
netarchy-toastmod-cfs-havs-nosbc-universal
netarchy-toastmod-cfs-nohavs-nosbc-universal
--BFS builds--
No SBC:
netarchy-toastmod-bfs-havs-nosbc-universal
netarchy-toastmod-bfs-nohavs-nosbc-universal
These use Koush's anykernel for installation and should theoretically work on -any- rom.
*note* This is designed to be flashed over a phone that already has a working kernel of some kind flashed,
whether it's a stock kernel, or another custom kernel. In other words, if you can currently boot up your phone into whatever rom you have, this should work. ;D
The universal kernel also does not contain the tweak scripts of the normal build (ie; zipalign on boot and the dalvik tweak), it's intended to be a universally compatible kernel.
This also happens to mean the universal builds will probably work on CM
For older builds click here.
-------------
FAQ:
Code:
Havs: Hybrid Adaptive Voltage Scaling, basically tries to undervolt as much as possible to conserve power, but adapts to things like cpu load and temperature.
No Havs: Static voltage scaling, every cpu speed pulls a specific amount of power from the battery, no variation
CFS: http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
BFS: http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler
Q: Do I need to be rooted to use this kernel?
A: Yes, you need to be rooted, preferably a full root with nand unlock,
Q: How do I flash this kernel?
A: Copy the zip to your sdcard, and flash it from recovery mode
Q: My phone is suddenly unstable after using this kernel and I experience
weird things like reboots or other bugs
A: Are you overclocking? Try lowering the max speed of your overclock.
If the problems stop, you were overclocking too hard. If not,
please include the following information when reporting issues:
1. Your Baseband
2. What rom you're using
3. Your software number
4. Your panel type (Nova or Epson)
5. A Description of what's happening
Q: Why can I only overclock to 1152mhz? (In builds prior to 4.1.x)
A: Frequencies above 1152 have repeatedly turned out to be unstable for
a large percentage of users, so they have been removed to
eliminate the temptation to use them (and then complain because
they are unstable ;D).
Q: Does this kernel work with 2.2 (Froyo) roms?
A: The "Froyoized" kernels do
Q: Will this kernel work with my custom rom?
A: Maybe. The general population build of the kernel should work with
*most* custom roms, but as each custom rom can have it's own
customizations, your mileage may vary. In some cases, particularly
when a lot of customizations are in the rom's ramdisk, the kernel
must be repackaged with the ramdisk from the custom rom to be compatible.
Release notes:
Code:
Notes for Revision 4.3.4
- HDMwIn support added, you still need to download the free HDMwIn app
from the android market to use HDMI mirroring
- Timer tick set to 1000hz
- Unnecessary extra debugging turned off for public builds, should result in a small speed boost
Notes for Revision 4.3.2
- Wimax code updated, 4g should behave a bit better
- SD card read ahead fixed, higher class SD cards should
have an easier time reaching their potential speeds
Notes for Revision 4.3.1
- Screen tearing issues on sense roms should be fixed
Notes for Revision 4.3
- Camera drivers updated to support phones with the newer camera sensors
- ms79723's SBC v7 mod integrated for enhanced battery charging
- Misc speed tweaks/optimizations
Notes for Revision 4.2.2
- Kernel updated to 2.6.32.27
- Conservative set as default governor again
- Conservative governor defaults tweaked
- Less aggressive build has even more relaxed undervolting to aid those with REALLY picky phones
Notes for Revision 4.2.1
- Kernel updated from a 2.6.32.15 to 2.6.32.25
- Interactive governor added and tentatively set as default in some test builds
- Smartass governor added and tentatively set as default in some test builds
- Added BFS 357 smartass builds
Notes for Revision 4.1.9.1
- HAVS has made a return, this should help improve battery life by automatically dynamically undervolting the cpu when possible
Notes for Revision 4.1.8
- Added the BFQ I/O scheduler
- Split out kernel editions, now users have a choice between a CFS or a BFS kernel, if you don't like one, try the other ;D
- Enabled shadow writes on the gpu, which may result in better performance in opengl applications
Notes for Revision 4.1.7
- Add BFS to the kernel
- Allocate more memory to the gpu, this may result in better performance in opengl applications
- A rabid naked bunny vampire has materialized under your bed. Be afraid.
Notes for Revision 4.1.6
- Users with touchscreen issues should find their touchscreen is no longer as responsive as a stereotypical wife on her 10th anniversary
Notes for Revision 4.1.5
- Banished HAVS into the fiery pits of hell for now due to its inability to remain stable with any attempts to overclock. I'll be working on this on the side for possible future re-inclusion
- Clock frequency table remains opened up, with static undervolting in place
- Thanks to l33tlinuxh4x0r for being a guinea pig and helping test this build
Notes for Revision 4.1.4
- The beast responsible for the ridiculous overclocking instability at *any* speed beyond stock has been severely beaten and castrated by rabid naked bunnies (without anesthetic)
- Update scripts redone in the interests of making sure people who have had issues flashing the kernel in the past can do so
- The conservative governor has had some more tweaks to give it better out of the box performance, but you are free to set ondemand as your governor in setcpu if you wish. (If you want to migrate to ondemand you'll also need to set it as the governor in your setcpu profiles)
- The clock frequency table is fully opened up (re-detect frequencies in setcpu to see them) As always your mileage in overclocking may vary, but for some perspective, I ran 1152 through many loops of neocore and quadrant just fine.
Notes for Revision 4.1.3
- The ondemand governor is enabled as an option (switch to it in setcpu if you want to use it, remember you'll have to update your profiles to use it as well).
The default currently remains conservative to have a balance between performance and battery.
- The small segment of users getting bootloops due to the undervolting being too aggressive should be able to boot the kernel now (though if it persists the undervolting can still be adjusted)
Notes for Revision 4.1.2
- All frequencies above 1152 should now be properly visible/usable in setcpu (You may need to re-detect speeds in setcpu first)
Notes for Revision 4.1.1
- Hot on the heels of 4.1.0, a minor versioning fix ;D (4.1.0 reports itself as 4.0.3)
Notes for Revision 4.1.0
- Adapted HAVS for the evo, this may improve battery life by allowing the cpu to run at lower voltages when possible
- The overclocking range has expanded to allow attempting to clock above 1152, Remember that overclocking is unpredictable and potentially unstable by nature, if you encounter problems overclocking, lower the speed.
- Some threshold adjustments to the conservative governor in the interest of improving performance without obliterating battery
- Wired tethering should theoretically work, however if there are problems with the app, an alternative is azilink for wired tethering
Notes for Revision 4.0.3a
- An experiment of sorts, changing from the ondemand speed governor to the conservative governor (with some tweaks), in the interests of keeping good performance with less impact to battery life.
- Rewritten update scripts to hopefully alleviate the small number of people who seem to be having a problem flashing the kernel
Notes for Revision 4.0.2:
- People having stability issues with overclocking to 1152 *may* find it is a bit more stable (your mileage may vary)
Notes for Revision 4.0.1:
- Speed range should now allow underclocking to 128mhz (You may need to re-detect frequencies in setcpu)
- The Nova panel T2 register should be changeable again (for you Evo Switch/Novareq users)
Notes for Revision 4.0:
- Updated to the latest HTC released kernel sources (2.6.32)
- Camera should now be working properly
- HDMI output should be working in Froyo again
Notes for 3.7.8b-Froyoized
- Camera should no longer take dark snapshots when using the flash, the monster responsible has been severely beaten with a twig.
Notes for 3.7.8-Froyoized
- Camera app should no longer crash when changing from 5:3 widescreen to 4:3 standard ratio
- Camera app should properly allow 720p video recording and playback
- Japanese researchers have begun construction on a mecha-rabid naked bunny, codenamed: Bunnytron.
Notes for 3.7.7-Froyoized
- Re-integrate zipalign check and Dalvik cache tweak from the 2.1 line
- Some adjustments made to bluetooth-specific audio tweaks to combat distortion
- Audio adjustments to combat background noise overpowering the voice on the other end of a call
- Set version tag correctly (har har!)
- Super-mutant rabid naked bunny successfully created in lab conditions, however it disintegrates upon exposure to reality.
Notes for 3.7.6c-Froyoized
- SDcards with ext partitions added on should now cease confusing Froyo and allow the card to be mounted properly (Special thanks to Ninpo for directing me to the fix)
Notes for 3.7.6b-Froyoized
- Touchscreen adjustments, this may fix those who had touchscreen issues with 3.7.6
Notes for 3.7.6-Froyoized:
- Compatibility with the leaked 2.2 ota (and probably other 2.2-based roms)
- Working Camera (Limited to 3megapixels) EDIT: Reports indicate it claims 3mp but actually functions at 8mp
- Fps fix (of course ;D)
- Wireless Tether is reported as working with this as well
- 4g is confirmed as working
Notes for 3.7.5:
- Toned back audio boost tweaks a little to address distortion issues
- Updated gpu code for some 3d speed improvements
- Prevented the horde of mutant hairy toe-monsters from spreading toejam
all over the thread.
Notes for 3.7.4:
- Updated bluetooth code, courtesy of cyanogenmod
(You may have to re-pair your bluetooth devices)
- A new audio boost tweak has been applied
(This should not have the issues of the previous audio boost)
- Fixed an issue that would cause some Nova users to mysteriously
revert to 30fps. (Bad nova! no cookie!)
- Successfully avoided maiming any sabretooth'd tiger-striped cows
during the production of this update.
Notes for 3.7.3c:
- Some more tweaks to default performance (when not using setcpu/overclock widget)
Notes for 3.7.3b
- Killed that damn bug monster that decided yet again to sneak into one of my builds. Bad monster! No cookie.
Notes for 3.7.3:
- Adjusted the behavior of the speed scaling governor to give better performance out of the box for people that don't use setcpu or overclock widget
- Made adjustments to the general population build in the interests of making it compatible with Apps2SD by request.(Damage control users should have already been unaffected)
Notes for 3.7.2a
- Gave the monster holding wifi and 4g hostage a spanking (read: wifi/4g should be fixed)
Notes for 3.7.2
- Tweaked Nova settings in the interests of making sure everyone with a nova panel benefits from the fps fix
Notes for 3.7.1:
- Kernel should now have 100% more working HDMI output, no really, we mean it this time!
Notes for 3.7:
- HDMI output should now work in conjunction with boosted Nova/Epson fps
- tun.ko is now included by default for VPN users
Notes for 3.6.4:
- Behold, the return of 5point multitouch! This build should now automatically enable 5point multitouch for all phones that can support it. If the phone does not support 5point, it will default to 3point.
Notes for 3.6.3:
-Removed problematic audio boost patch that was giving issues with bluetooth
-Adjusted overclocking frequency tables to remove some problematic frequencies (Yes I know a small selection of you are going to be disappointed with the lowered cap, but I felt that the problems were more important at this time.)
-Evo switch ideally should not be required for decent framerates on Nova panels, but if users desire, by popular request, they can now use Evo Switch to tweak their T2 register [U]without[/U] it resetting after a screen cycle
-Default T2 value adjusted to 370, AssassinsLament believes this to present a good balance between out of the box performance and compatibility
-No fluffy pink bunnies were harmed in the making of this build
Can this be flashed with clockwork? Or just amon ra?
Is this a Froyo or Eclaire kernel? Any radio requirements?
Awesome, I have a Novatek. /facedesk.
jerryparid said:
Can this be flashed with clockwork? Or just amon ra?
Is this a Froyo or Eclaire kernel? Any radio requirements?
Click to expand...
Click to collapse
Should be flashable with either Clockwork or Amon Ra. Theoretically it might work on Froyo, but I've only tested it on Eclair.
This was not answered in the Godmode kernel thread. Does Camera work on this for 2.1.
mattrb said:
This was not answered in the Godmode kernel thread. Does Camera work on this for 2.1.
Click to expand...
Click to collapse
Yes the camera works on this in 2.1
Just flashed on Snacks v0.8 w/ Clockwork.
fps2d, avg 53-55, ~12 std
fixes touchscreen delay
can observe tearing
camera works
screen seems to be less responsive?
VoXHTC said:
Awesome, I have a Novatek. /facedesk.
Click to expand...
Click to collapse
me too. I am going to wait till things cool down a bit and bother HTC for another phone.
jerryparid said:
Just flashed on Snacks v0.8 w/ Clockwork.
fps2d, avg 53-55, ~12 std
fixes touchscreen delay
can observe tearing
camera works
screen seems to be less responsive?
Click to expand...
Click to collapse
I haven't noticed any loss of responsiveness on my end, if anything I'd swear it feels more responsive. Touch lag seems fairly significantly lessened.
I wonder if it could be related to the fact that I'm using a 1.47.651.1 based rom plus the latest radio/etc, curious.
Makes one wonder what all HTC changed in the update...
imaxreed said:
me too. I am going to wait till things cool down a bit and bother HTC for another phone.
Click to expand...
Click to collapse
umm? http://forum.xda-developers.com/showthread.php?t=711964
Best kernel on my epson screen. I like how i can overclock as well
jerryparid said:
umm? http://forum.xda-developers.com/showthread.php?t=711964
Click to expand...
Click to collapse
Thanks. I have seen that thread a hundred times but never entered it. The FPS doesn't bother me too much I am going to mess with this tomorrow i have the day off thank you.
jerryparid said:
umm? http://forum.xda-developers.com/showthread.php?t=711964
Click to expand...
Click to collapse
Yeah i'd love to see this fix for nova
netarchy said:
I haven't noticed any loss of responsiveness on my end, if anything I'd swear it feels more responsive. Touch lag seems fairly significantly lessened.
I wonder if it could be related to the fact that I'm using a 1.47.651.1 based rom plus the latest radio/etc, curious.
Makes one wonder what all HTC changed in the update...
Click to expand...
Click to collapse
I just flashed back to the Snacks kernel (v0.8 is 1.47 based); there is a substantial difference in sensitivity (not delay) between the two kernels.
jerryparid said:
I just flashed back to the Snacks kernel (v0.8 is 1.47 based); there is a substantial difference in sensitivity (not delay) between the two kernels.
Click to expand...
Click to collapse
Hrmm, is it glaringly obvious in any particular app? I'd like to see if I can reproduce the experience myself.
My phone keeps locking up when trying to watch youtube videos. Sorry if this is already a known issue.
krazyflipj said:
My phone keeps locking up when trying to watch youtube videos. Sorry if this is already a known issue.
Click to expand...
Click to collapse
Trying it out now, no problems with youtube for me.
Tearing doesn't seem as bad as I remember, but still bothersome.
when i seen this, i jumped into the air with my fist up like a touchdown at the superbowl.
flashing in juuusssst a second..
VoXHTC said:
Awesome, I have a Novatek. /facedesk.
Click to expand...
Click to collapse
same !!!!

[ALL] FKernel

Version: 1.4.7
Model's: D2302/3/5/6 D2403/6
Software: All android version 4.4.4
- The kernel has been updated to 3.4.106
- Added best governors
- Added I / O schedulers
- Added support Faux123 Sound Control 3.6
- Added support Faux123 Kernel Enhancement (not all features)
- Added support for KSM
- Added support for KCAL LCD
- Added advanced control GPU
- Added support inteliplug
- Added support intelitermal_v2
- Added zRam & swap (disabled by default, but you can include any software)
- Added support frandom
- Activate the option AIO
- New Topology CPU msm8226 (frequency shift, on / off kernels, change Governor GPU)
- Technology DFsyns and asynchronous work of memory
- Reduced the minimum value of the charging current and voltage Smart (a little more than use the battery longer charged in the investigation)
- Fixed the problem of the kernel from sony and reduce the number of unnecessary debug'a in logs kernel
- Cut Sony RIC from the nucleus and ramdisk'a
- As an integrated software test Faux'a to configure the kernel
- And much more, which is not remembered
Downloading: https://yadi.sk/d/gYmi3UcFf5pgq
Installing only CWM/TWPR.
github
Info post (only Russian forum) for Faux software link
Changelog FKernel​
FKernel 1.4.7
- Moved the project to the new firmware, firmware and B.1.8 below S.1.13 this kernel is not supported
- As an experiment added hardlimit, enabled by default, but works as the drain, adjust yourself to fit your needs.
- A bit optimized logic taskkiller'a
- Updated module swap
- Now works in Touch Boost CPU Hotplug
- Small changes of memory leaks
- Instead of the CWM is now TWPR
FKernel 1.4.1
- Removed the technology hardlimit, sonievskie works better and faster times
- Slightly cleaned up the core
- Fixed memory leak
- Added two types of KSM, inteli KSM recommend using a Governor intellidemand
- Fixed AIO
- Added calibration of the display
- Fixed saving
- Added new TCP modes
- Fixed some problems Wi-Fi
- Fixed known bugs with version 1.2 kernels (ONLY test) and 1.3.h
- Added an artificial delay of the display of 0.7 seconds for the Governor ntellidemand
- Updated LKM and the kernel OOM with 3.18
- Tried many different settings
- Now two versions of the kernel for gearboxes and dvusim smartphones
- Fixed bug control a second SIM card on dvusimochnyh smarts
FKernel 1.3.7
- Fixed some problems with Wi-Fi
- Updated and added Governor
- Added support Faux123 Software
- Fixed some memory leaks
- Improved support for AIO and fixed bugs and memory leaks
- Updated algorithms filesystems (slightly)
- Exhibited limiting parameters for Faux123 not to kill smartphone
- As amended and updated algorithms worker`s for multi-core systems, removing some delays
- Updated driver emmc and sd card (5.0 now as a test)
- Fixed the problem of switching frequency on some Governor
- Fixed problems and memory leaks in the RAM, the more aggressive dumping of blank pages
- And on the little things
FKernel 1.1.2
- Fixed timings smartphone devices
- Fixed problem with plugging / stuttering when listening to music (not used developments and AOSPa SM)
- Updated drivers wi-fi, gpu, Bluetooth.
- Disabled logcat
Hey its great work.. I appreciate it.. Will try it today only..
I have a request.. Can you please make kernel with double tap to wake up support.. I know its typical.. But if you than you will be lord to us..
Btw thanks a lot..
Thanks for the good kernel. Where can you download the app so that you can adjust everything.
Sent from my D2403 using XDA Free mobile app
Matze6989 said:
Thanks for the good kernel. Where can you download the app so that you can adjust everything.
Sent from my D2403 using XDA Free mobile app
Click to expand...
Click to collapse
All by itself is placed after installation.
Okay thank you for the great Job.
Sent from my D2403 using XDA Free mobile app
Confirmed working on d2302
Soon will remove the theme, munching Download.
Why is removed?
Sent from my D2403 using XDA Free mobile app
Will it work with Cyanogenmod 11?
Sent from my D2303 using XDA Free mobile app
works well with d2305, but screen takes ages to turn on and sometimes has massive freeze and i have to force shut down by pinhole.
Governor: yanctive or lionheart
min:300
max:1.19
intellithermal on and set to recommended settings (as stated within the app)
rest is default
Click to expand...
Click to collapse
i'll tried bumping the min up to 787, but battery is a big part for me.
and deep sleep is also quite bad with a over night sleep of 8 hours only 30mins were deep sleep and with 6 hours on 787 and rest full on at 1.19.
currently reverted to default kernel, maybe will try later if boerd.
Very goooooooood !!!!! Work svery well, no problem for the moment
This is the Best Kernel for the Sony xperia m2. :thumbup:
Big Thanks.
Sent from my D2403 using XDA Free mobile app
~Patryk said:
Will it work with Cyanogenmod 11?
Sent from my D2303 using XDA Free mobile app
Click to expand...
Click to collapse
We need to replace the ramdisk from CM11.
Can you do that, please? I have CM11 and battery charging last about 5h ( stock 3h), and drain faster than stock, 7% for night for example (stock 1%).
Sent from my Xperia M2 using XDA Free mobile app
Thanks..
Works great on my d2305..
Please build more kernel or cusrom for d2305 device..
Great!
settings should look like?
My english is bad
@freack_v
Thank you for putting your time in this grate kernel. However I have problems with the fauxclock app. the apply on boot settings don't seem to stick I have tried the fix permissions in the app but has made no difference. I have workaround this by using kernel auditor instead.
I`ve tried this kernel on my D2303, but after flash it started lag. How can I fix this?
System version 18.3.1.C.1.15

[Kernel][Tuneable][STOCK/CM] SmoothMod Kernel for SM-T311

SmoothMod Kernel (SMK) for Samsung Galaxy Tab 3 8.0 3G (SM-T311), also may work on WiFi version (SM-T310), all stock and CM ROMs.
Development discontinued, read reason here.
This kernel is developed to give you more smoothness and stability than you can have on stock kernel and others.
Warning. Kernel may work on your device/ROM and may not. For me it works at all ROMs and for many people (on 4PDA.RU forum) it works too. Some people say (or said before kernel worked, this also can be) it doesn't work. So do a kernel backup please before you flash it first time. I've never had boot or usage problems with SMK, but it could be because i'm its developer (though it can not be the reason for that I'm always successfully boot it..). So it seems that our devices of the same model might be different. Be careful as I can not help you.
Features:
- Kernel version updated up to 3.2.26 and keeps updating
- Safe CPU overclock to 1.9 GHz with CPU-Boost kernel driver developed also by myself
- Custom (and only here) governor Smooth that is made to give both good battery saving and absolute smoothness. Uses GPU load and io_wait to additionally increase frequency at the right time.
- Kernel has a custom Android service smkd that controls all its features and provides many tweakable settings that you can change very simply: through terminal command "smkd" (instructions below) or "by hands" at folder "/smk" (like usual linux kernel settings at "/proc/sys/{kernel|vm|net}"). The program is written in C language, not as a script, for performance (shell-scripts are very slow when comparing with optimized C-programs).
- Tweak Menu that can be found if you type 'smkd' in your terminal.
- SmoothnessControl - one of smkd's functions that tries to guarantee UI smoothness to your tablet even if there are very CPU-hungry (but not I/O) apps/programs running like android.process.media and others. By default disabled. To enable, type this: 'su -c "scd --enable"' in terminal emulator. To disable, type 'scd --disable'.
- CPU Undervolt controlled through smkd.
- DynBS program (also developed by me) used by smkd to improve battery saving by 40% and more.
- Boeffla Sound Engine with custom settings, not working with Boeffla Sound Control app because smkd controls them (it's needed because smkd fixes engine's sound effects bug). Settings are stored folder "/smk" in files beginning with "boeffla.".
- Cron scheduler configured from file /sdcard/cron/root.
- All the custom tweakable settings described upper are reloading instantly after you change them or on delete (cron schedule file is also under the same watch).
- Kernel is compiled with optimized HYPER-TOOLCHAIN with gcc version 6.0 and maximally optimized compiler configuration.
Customizing kernel:
There is now nothing that needs to be explained, as customizing is pretty simple! Just type command 'smkd' (without quotes) and go through the menu (by entering appropriate symbols) as you want, changing parameters as you need.
Ask, if you have questions
If you have questions or suggestions about my kernel, feel free to write about that here and I will try to answer.
F.A.Q.:
Q.: Do I need to wipe Dalvik/ART cache before/after flashing this kernel?
A.: It is even not useful to wipe caches because they are used by Android only, not by kernel. So, it's not needed.
Q.: The kernel does not boot! What do I have to do to boot it?
A.: Write a message in this thread providing info about what ROM do you use, what Android version it is and what kernel build (kk/lp/mm) and version you are trying to boot. I will reply to that message and try to fix that problem.
Author: me, igoryan94
Download from Google Drive
Before flashing this kernel please do a backup yours first!
Warning! If you have a Jellybean/Kitkat rom, then download the smoothmod-kernel-kk-... build. If you use Lollipop (CM12), then your build to download will be ...-lp.... If it is a Marshmallow (CM13), then download mm build.
Other choice will cause your device to not be able to boot!
(Sorry for my (maybe )bad english)
Plans:
-
Developing now:
-
Changelogs (old*):
1.2.1/1.2.2:
- Returned possibility to load a profile from command line (command 'smkd --load [name]' or 'smkd ld [name]')
- Added custom setting for apps CPU time, now it has two groups: idle and high.
Idle group gives an app very small amount of CPU time, use for hungry apps that you don't need.
High group grants an app a 95% of all CPU time. Use to speed up some apps or games.
It is all very similar to Greenify and others, excepting that this is not battery saving solution, only to smooth up your Android, as Greenify disables an app and CGroup lowers app's CPU execution time available to it.
- I/O settings fully rebalanced for smoothness for system processes and apps processes
- Also added control group for I/O that does like one for CPU, but for I/O and developed its correct (for Android) behavior.
- Current configuration name in smkd menu now correctly saves and loads after reboot.
- Default LMK level changed to 125
XDA->SMK:
1.2:
- Got a smoother UI with better CGroup tweaking
- In case of some situations smkd will notify user with drawing a small square of some color at the left upper screen edge (portrait orientation). For overheat the color is red. When SmoothnessControl gets to work, color is light blue/cyan. If device's load is too high, the color will be blue.
"Notification" will blink when screen updates because the framebuffer devices are not support this method of screen drawing. But it works for now and I think that it is very useful to know the reasons of device's lags and freezes.
- Menu now immediately reacts to input, instead of pressing some characters and then Enter. Modified all menus that way so the interface is now much better.
- When exiting menu, parameters are automatically saved to default profile. No need to care about it anymore...
- Added Quick settings also to RAM and I/O
- Main menu: moved all "p)" menu elements to main menu level, it is quicker to access now
- Some more Quick settings options added
- Added Quick settings to my menu templates, so I will add this to most of the new menus in the future
- Main Quick settings colors changed to blue, additional are still white
- Overclock to 1920 MHz lowered to 1800 MHz because 1800 is much more stable (1920 causes reboots on Marshmallow on my tablet)
- Device now reboots when charging speed is too bad. By default this is disabled. Also added setting "Charge cycle time" and Quick settings for that so you can quickly set up to what charge speed you need (reboots are helpful but not very good for users that want to play device when it charges).
- 'Boost' feature disabled so now DynBS will work as always even when device is laggy
Previous:
1.1.22:
- CPU, Boeffla Sound and Network setting menus in smkd now have the Quick settings feature that helps to configure them by one click instead of tweaking them each
1.1.21.1:
- DynBS updated: now it uses frequencies from 350 to 700 MHz too, so more battery can be saved.
1.1.21:
- smkd now has menu interface which opens by default by command 'smkd' without options.
- All setting commands are removed. Use menu instead.
- In Cyanogenmod ROMs SystemUI is restarted every time when screen becomes disabled, so you may never see it lags or freezes again.
- PCS renamed to SC (SmoothnessControl).
- Overclock enables when device is laggy even when it is disabled in settings
- Redone temperature control: now smkd monitors a device temperature instead of CPU. It leads to better smoothness. Also overheat situations disable some functions like I/O readahead, ZRam, KSM.
- Overheat prevention function fully removed
- Governor Smooth now enables both cores on gestures with two or more fingers instead of simple tap.
1.1.20:
- Added charging compensation: now when battery charging is too slow, CPU Topology and voltage will be changed appropriately for quicker charge.
- Touch boost changed from 1400 to 1000 MHz, but it also boosts busfreq to 400 instead of 267 MHz. Results in better reaction on screen touch.
- Governor Smooth's default sampling_rate changed from 27000 to 16000 for quicker reaction
1.1.19:
- Added ARM CPU Topology for better multithread scheduling
- Some CPU Scheduler changes for smoothness or power saving (tweakable)
- Improved smkd UI code
1.1.18.1:
- Fixed performance/smoothness problems.
1.1.18:
- Added new default configuration "throughput"
- GPU acceleration is now forced for all apps and it is changeable from smkd.
- I/O scheduler SIOPlus added.
- DynBS is returned (one user asked for it as it really saves battery, as he said).
1.1.17:
- User profiles are no more exist, replaced with default configurations" instead. They are: smooth, battery, ram and cool. After each launch of smkd (mostly on reboot) configurations are removed and recreated to always be fresh and up to date.
- Added ability to create, rename and delete profiles by normal way, but default profiles cannot be replaced, deleted or renamed through smkd (only "by hands").
- GPU settings: composition and forced GPU-acceleration from Android settings for developers.
- Tripndroid and Zen I/O schedulers are added.
1.1.16.1:
- Configurations loading is now be always successful (but only if appropriate file exists), without that annoying errors "try again later, please..."
- Small tweaks optimization
1.1.16:
- Overclock now disabled by default, as it was on 1.1.14 and before, for battery saving (overclock eats too much battery). Can be enabled with command 'smkd -c -o 1'. Temperature control is now optimized for both CPU overclock and hardware maximal frequency modes.
- smkd interface improved a little.
- KSM functionality added with some fixes for Mali GPU driver bugs in userspace.
- Default temperature limit is now 64 C (before it was 67 C). This is done for more stability when the weather is hot.
- Some changes for smoothness and stability...
1.1.15:
- Overclock is enabled now for any time when screen is enabled (no more boost).
- Developed overheat preventing functions that cool device when temperature is between 90% of threshold and higher. CPU frequency will be set according to temperature for the moment (for every 2% will be a different frequency). Function can be disabled but it is not recommended.
- All cooling functions now control voltage too to be more effective.
- Governor Smooth tweaked for more balance (oc_nr_run_threshold->6)
- Governor Smooth: changed logic: half-overclock (to 1.7 GHz) will occur if number of processes running is a half of oc_nr_run_threshold tunable.
- smkd now controls I/O scheduler and I/O readahead settings, they are tweakable with smkd command. Profiles change this parameters too.
1.1.14:
- smkd tweaker program fully translated to english and comes now in two languages. Now it uses Android's property 'persist.sys.language'.
If your device configured for any language excepting russian, then program will be in english for you. At the other case it will print out text and messages in russian.
- Improved custom configurations in smkd. Now it loads profiles synchronous with service (by using mutex) instead of relaunching it with shell stop/start (it was too slow and even buggy to do that).
- DynBS will not be in kernel anymore, it is not so effective as needed. Instead, I've added a profile tweaks for my governor Smooth, that tweaks easily changeable from smkd (cmd. "smkd -c -s [0-2]").
1.1.13:
- Cron scheduler now works correctly (i'm happy ), doing exactly what was scheduled by the user at the exact times.
- I don't remember what was in this version because forgot this as I worked on 1.1.14 intensively.
-----
* Newer versions contain changelogs in install archive itself.
Very good kernel. Use [5.1.1] Resurrection Remix 5.5.9 + SMK 1.0.20.1 lp.
Nerovinger said:
Very good kernel.
Click to expand...
Click to collapse
Thanks
stuck at bootanimation..
Sent from my SM-T311 using XDA-Developers mobile app
so.hell said:
stuck at bootanimation..
Sent from my SM-T311 using XDA-Developers mobile app
Click to expand...
Click to collapse
What ROM do you use? Android version, SMK version?
AICP BY GR8NOLE.
SMK V-1.1.12
i try dirty flash n clean flash.stuck at bootamination..
Sent from my SM-T311 using XDA-Developers mobile app
so.hell said:
AICP BY GR8NOLE.
SMK V-1.1.12
i try dirty flash n clean flash.stuck at bootamination..
Sent from my SM-T311 using XDA-Developers mobile app
Click to expand...
Click to collapse
Looks like it will not work on AICP ROM, on Cyanogenmod 13 and ResurrectionRemix kernel works fine (I've tested that)... Sorry The reason for that I can not fix this problem is that I do not know (even cannot know) how to make an init.rc (this file starts all Android services on boot) file universal (to support absolutely all ROMs at one time). This is also the reason for three builds of kernel: kk, lp and mm...
Nice kernel. But can you please make a version of your kernel work with the T310 (WiFi)?
Stuck at Bootanimation
ROM: Resurrection Remix 5.6.9 by powermetza
Android Version:6.0.1
SMK version 1.1.12
pawas99 said:
Stuck at Bootanimation
ROM: Resurrection Remix 5.6.9 by powermetza
Android Version:6.0.1
SMK version 1.1.12
Click to expand...
Click to collapse
Try to flash on a clean ROM (with backup of cource)... All fine for me on RR.
Luis_0 said:
Nice kernel. But can you please make a version of your kernel work with the T310 (WiFi)?
Click to expand...
Click to collapse
I can't as i don't know much about modding in '/init.rc' script and also about what differences it has in kernels for T310, T311 and T315... Sorry.
There are too much incompatibilities with builds that are now (they must work everywhere but they don't)...
Ok. Added one question to poll. There are three variants for ROM and two for working or not (six at all), for me all works fine, so I voted for the first three answers.
Version 1.1.14 developer testing ends now, smkd fully translated to english. I will now build the kernel and then begin uploading it to Google Drive.
(sorry for my incorrect english)
igoryan94 said:
Try to flash on a clean ROM (with backup of cource)... All fine for me on RR.
Click to expand...
Click to collapse
Stuck at bootanimation even after flashing on a clean ROM.
waiting for update..
Hey @igoryan94,
Thanks a lot for making this great kernel!
I've flashed the KK version along with the stock ROM http://forum.xda-developers.com/showthread.php?t=2789510. It works very nicely. Would you please show an instruction (or a specific terminal command for newbies like me) of how to overclock CPU to 1.9GHz? Currently the max speed is 1.5Ghz according to kernel audit.
Thanks again
Hey I cant change the cpu frequent through kernel adiutor. As soon as i change the freq to 1920 it changes back to 1500.
igoryan94 said:
I can't as i don't know much about modding in '/init.rc' script and also about what differences it has in kernels for T310, T311 and T315... Sorry.
Click to expand...
Click to collapse
@gr8nole could help him in this?
xdaSEx10 said:
Hey @igoryan94,
Thanks a lot for making this great kernel!
I've flashed the KK version along with the stock ROM http://forum.xda-developers.com/showthread.php?t=2789510. It works very nicely. Would you please show an instruction (or a specific terminal command for newbies like me) of how to overclock CPU to 1.9GHz? Currently the max speed is 1.5Ghz according to kernel audit.
Thanks again
Click to expand...
Click to collapse
CPU frequency is automatically changed to 1920 MHz when special conditions are met (they are: "blocked" processes and waiting for I/O).. Version 1.1.5 will have full 1920 MHz CPU frequency.
I will now upload "developer" version of kernel 1.1.15_dev for KitKat users. If you want, test that) It is not fully contains all changes that i've done, but I'm not at home now and cannot compile new build... For now it has smooth overheat prevention and overclock fully enabled.
Hunter97 said:
Hey I cant change the cpu frequent through kernel adiutor. As soon as i change the freq to 1920 it changes back to 1500.
Click to expand...
Click to collapse
Please wait for SMK version 1.1.15, it will use 1920 MHz as a default frequency always excepting overheat moments (that will disapear very quickly) and governor's battery saver mode.
You can also use a developer version 1.1.15_dev if you use JellyBean/KitKat as your ROM.
Ok, "dev" version released for testing.
When I will return home, I will release another testing version that has an I/O scheduler change functionality, optional Overheat Prevention and changing min_freq to minimal (50 MHz) when temperature event occurs. Maybe it will have even more features (I have smkd code with me, PC is only needed for compiling kernel and ramdisk).
on NoleKat.T310. v1.1 KK 4.4.2 not boot. on CM13 it's ok, but, for me, the best android versioni for this tablet is kk stock and i install NoleKat.T310. v1.1.
jamax80 said:
on NoleKat.T310. v1.1 KK 4.4.2 not boot. on CM13 it's ok, but, for me, the best android versioni for this tablet is kk stock and i install NoleKat.T310. v1.1.
Click to expand...
Click to collapse
SMK will not boot on T310. Only T311.

LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks

{
"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"
}
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK)​
Introduction
LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and device specific at the same time. And it's also BS free. Using simple functions LKT detects the hardware of your device then it applies the corresponding changes. It does support all mainstream platforms including Snapdragon, Kirin, MediaTek etc. covering hundreds of devices.
These tweaks have been tested and can stand up to 12-14H of SOT with no-compromise on performance all smooth as a baby's bottom.
However, it should be noted that this does not apply to gaming, facebook, snapchat, instagram and heavy camera usage ...etc
Nothing can be done for anything that is an automatic battery killer and forces maximum resources usage at all the time.
How does it work?
LKT aims to achieve a balance between power consumption and performance. Compared to tuning the parameters manually, LKT adopts Project WIPE open source interactive parameters for all mainstream SOCs that are generated via machine learning AI and can adapt to multiple styles of workload sequences. This idea is similar to EAS, which takes into account both performance and power consumption costs through power consumption models and workload sequence. But obviously, EAS has a much lower response time and replaces tuning with decision logic. In addition, it also includes other parameter tuning, such as HMP scheduler parameters, virtual Memory, GPU, IO blocks tuning, and doze rules to unify the rest of the kernel parameters for a more consistent experience.
LKT also supports schedutil and other EAS governors in devices like the Pixel 2. Unlike interactive, schedutil does not provide a wide range of tuning parameters but there are some workarounds. In Snapdragon 835 for example depending on what profile is selected, LKT limits the maximum frequency of big cores accordingly because big clusters power efficiency of SD835 dramatically decreases above 2 GHz, as a trade of losing 15% performance, improving power consumption by 40% or more is a much better deal.
Features
Multi-Profile
Improved smoothness & battery life
Advanced interactive governor tuning (Project WIPE)
EAS devices Support
RAM management enhancements
IO blocks enhancements
Enabled & configured wakelock blocking
Disabled a excessive logging at kernel level (Improves battery life as well as performance)
Other miscellaneous adjustments to enhance power efficiency
Profiles
Battery - Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically.
Balanced - Can acheive ~1.5 hours or more longer on-screen battery life with little performance compromise .(Recommended)
Performance - Can acheive ~1 hour longer on-screen battery life , same as balanced profile with more responsiveness. .
Turbo - Ideal for intense high demanding tasks, where the load drastically fluctuate (not necessarily in games) . Will ensure reducing lags by ~90% for no more than ~20% increase power in consumption.
Click to expand...
Click to collapse
Requirements
Magisk or SuperSU or init.d support
Busybox
Installation
Flash in TWRP or Magisk manager
Follow the given instructions
Reboot
Read the FAQ from here or here before asking anything. (Regularly updated)
Credits
Code:
Project WIPE contributors [URL="https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2"]Github[/URL]
yc9559 - @CoolApk
cjybyjk - @CoolApk
[U]Special Thank[/U]
Zackptg5 & ahrion - Unity template
topjohnwu - Magisk
osm0sis - Busybox
Contributors
@korom42
Sources
Original XDA thread
Github
License
Licensed under the GNU General Public License v3
Donate to support further LKT development
FAQ(frequently asked question)
Also check for FAQ here (More often updated)
• How do I apply these tweaks?
Simply flash LKT zip in recovery or Magisk app then reboot.
• Do I have to be rooted?
Yes, LKT needs either Magisk or SuperSU or init.d support.
Beware that LKT is a collection of advanced tweaks that act on kernel level. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backups.
• What are the available profiles ?
Battery: Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically
Balanced: Can acheive ~1.5 hours or more longer on-screen battery life with little performance compromise (recommended)
Performance: Can acheive ~1 hour longer on-screen battery life , same as balanced profile with more responsiveness
Turbo: Ideal for intense high demanding tasks, butter smooth gaming for a long periods. Will ensure reducing lags by ~90% for up to ~20% more power consuption than stock.
Click to expand...
Click to collapse
• How to switch between profiles?
Method 1
To access the command controls screen using terminal type
Code:
su
lkt
Then follow the instructions
Method 2
Now you can also you run these commands to directly switch profiles (must run with root permissions)
Code:
lkt 1 (for battery profile)
lkt 2 (for balanced profile)
lkt 3 (for performance profile)
lkt 4 (for turbo profile)
Method 3
You can also to re-flash the module twice to change the profile but you will have to reboot using this way.
• Can I use LKT with another MOD ?
** Compatibility list** You can still these mods since they do not affect LKT parameters.
Universal XML Patcher
GMS Doze
ForceDoze, Naptime, Greenify, Amplify, Power Nap
MCS (Magic charging switch) & Charging control mods..etc
BlackenedMod (Pixel 2)
** Incompatibility list ** Do not use similar mods with LKT, here is a list of some known MODs that will interfere
AKT (Advanced Kernel Tweaks)
Spectrum
Helix Engine
L-Speed
GovTuner
Every bullsh*t placebo MOD like : CrossBreeder, NFS, KITANA, FeraDroid ..etc
Heavily tweaked ROM such as : xXx (OP6/6T)
• Will this work on my ROM & Kernel ?
It should work on almost every Stock, AOSP or Lineage based ROM & Kernel
The only problem is with heavily tweaked ROMs, they can interfere with LKT.
• Will this work on my device?
This mod support a large list of devices you can check the compatibility list.
• How to make sure that LKT is working ?
Using a file explorer with root access check LKT logs in the location below ( share & upload yours in case of having troubles)
Code:
/data/LKT.prop
•I cannot find or open LKT logs
To properly open LKT.prop you need a file manager with root access your app may not be working correctly. Here's some apps I can recommend
MiXplorer
FX File Explorer + ROOT addon
You can also access your alogs using terminal by running this code
First type su then copy and past this line :
Code:
cat /data/LKT.prop
• My logs are incomplete
Make sure you are using the latest version of Magisk 18.0+
Install busybox by @osm0sis
• My device Lags or not longer smooth What do I do?
This can happen and it's a normal thing. As I have stated before, all these tweaks have been done for fit certain usage which might not be the same as yours. Because this, your device may lag in some scenarios under heavy loads (If you are experimenting huge lags, you have done something wrong). And yes, this can be fixed. We have a couple of ways of fixing it. First of all if you are using battery profile try switching to another one, if this doesn't help you consider the following steps :
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• These settings don't work & I'm not getting great screen on time
Keep in mind these tweaks have been tested on certain scenario that might not the same as yours, read the introduction in OP to understand more about this. However if you are getting worse results than before you are probably doing something wrong and here are some recommendations for you
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• How to update LKT?
Dirty flash the new zip or install the update via Magisk manager and it will automatically upgrade.
• How to uninstall LKT?
Flashing the module for the second time will remove LKT. You can also remove it from Magisk app.
Compatibility
Snapdragon 845
Snapdragon 835
Snapdragon 820-821
Snapdragon 810-808
Snapdragon 801-800-805
Snapdragon 660
Snapdragon 652-650
Snapdragon 636
Snapdragon 625-626-630
Snapdragon 615-616
Snapdragon 450
Snapdragon 435
Snapdragon 430
Snapdragon 425
Snapdragon 410-412
Snapdragon 400
Exynos 9810 (Samsung)
Exynos 8895 (Samsung)
Exynos 8890 (Samsung)
Exynos 7420 (Samsung)
Kirin 970 (Huawei)
Kirin 960 (Huawei)
Kirin 950-955 (Huawei)
kirin 650-655-658-659 (Huawei)
Helio x20-x25 (MT6797-MT6797T)
Helio x10 (MT6795-MT6795T)
Helio P10 (MT6755)
Intel atom Z3560-3580
Click to expand...
Click to collapse
**Please note that even if your device isn't listed here some parameters may still apply
Changelog
Code:
v1.5.2 (11/03/2019)
- Disabled GPU thermal restrictions on Mediatek SoCs
- Various fixes and CPU enhancements for Mediatek SoCs
- Removed zRAM (SWAP) configuration
- Other minor changes & enhancements
- Bug fixes
v1.5.1 (07/03/2019)
- Bug fixes
v1.5.0 (06/03/2019)
- EAS fixes and performance enhancements
- GPU parameters adjustements
- Disabled GPU thermal restrictions on Snapdragon SoCs
- Adreno Idler tweaks enhancements
- Storage scheduler enhancements
- Memory management enhancements
- Various zRAM & SWAP optimisations
- Other minor changes & enhancements
- Bug fixes
v1.4.9 (09/02/2019)
- Memory management adjustments
- Fixed interactive governor parameters being overwritten by system after a while for some devices
- Added back deep-sleep enhancements props
- SWAPs/zRAM are no longer disabled
- Auto-detect existing profile when upgrading (user interaction is not needed anymore)
- Minor bug fixes
v1.4.8 (05/02/2019)
- Increased delay after boot
- Bug fixes
v1.4.7 (04/02/2019)
- EAS profiles fixes
- CPU boost fixes for some devices
- Memory management enhancements
- Removed any deep-sleep related tweaks
- Bug fixes
v1.4.6 (02/02/2019)
- Important bug fixes
- zRAM is not tweaked anymore and left for the kernel (only disabled for devices +6GB RAM)
v1.4.5 (01/02/2019)
- Re-worked EAS profiles
- Prefer schedutil on EAS kernels
- Added CPUSET optimizations
- Added schedtune optimizations
- Added control groups (CGroups) optimization
- Enabled zRAM for 4GB RAM devices
- Enabled & adjusted Low memory killer
- IO block tuning enhancements
- FileSystem (FS) enhancements
- Enabled Fast Dormancy (may help with cellular network idle drain)
- Major bug fixes
v1.4.4 (19/01/2019)
- Unity template update 3.2
- SoC detecion enhancements
- Increased delay at boot before applying tweaks to 1 min
- Minor enhancements
- Bug fixes
v1.4.3 (16/01/2019)
- Unity template update v3.1
- Fixed changing LKT profile not sticking after reboot
- Added ability to change profiles with simple commands (useful for tasker)
```
lkt 1 : for battery profile
lkt 2 : for balanced profile
lkt 3 : for performance profile
lkt 4 : for turbo profile
```
- EAS fixes
- Improved compatibility for custom kernels
- Removed Low Memory Killer tweaks
- Swapping is no longer disabled for devices less than 4GB RAM
- Bug fixes
v1.4.2 (01/01/2019)
- More Bug fixes
v1.4.1 (01/01/2019)
- Fixed some bugs after last update
v1.4.0 (01/01/2019)
- SoC detecion enhancements
- Bug fixes
v1.3.9 (29/12/2018)
- Added command line controls
- Now LKT perefers interactive if kernel has both schedutil & interactive
- Less aggressive LMK
- Crash fix for some devices
- Other minor changes & bug fixes
To access the new commands screen using terminal type
```
su
lkt
```
Then follow the instructions
v1.3.8 (28/12/2018)
- SoC detection issues fixes for samsung & other devices
v1.3.7 (27/12/2018)
- Fixed system crash & missing logs after last update
- Other minor changes
v1.3.6 (27/12/2018)
- Fixed soc.txt file not being created when SoC detection fail
- Added new wakelocks to block
- Adreno Idler parameters changes
- Minor enhancements
- Bug fixes
v1.3.5 (26/12/2018)
- SoC detection issues fixes
- Reduced entropy values
- Minor enhancements
- Bug fixes
v1.3.4 (24/12/2018)
- Added support for snapdragon 4xx series
- Added support for Helio P10 (MT6755), kirin655, kirin658, kirin659
- Fixed LTE Signal bug
- Fixed some parameters not being applied
- Fixed detection bug for snapdragon 660
- Added device support check in logs
- Unity template update 2.2
- Script enhancements
- Bug fixes
v1.3.3 (23/12/2018)
- EAS parameters adjustments
- Reverted HMP scheduler changes
- Fixed RAM capacity & CPU frequency not displayed properly in LKT.prop
- Crashes bug fix
- Scrolling bug fix
- Crashing apps bug fix
- Minor enhancements
- Bug fixes
v1.3.2 (22/12/2018)
- Minor installation bug fixes
v1.3.1 (22/12/2018)
- EAS tuning is back for more devices (manual parameters - not WIPE)
- EAS parameters adjustments
- HMP scheduler adjustments
- Updated RAM detection method
- Memory management fixes
- LMK enhancements
- Added Lazyplug tunning
- Removed busybox check
- Module template updated to latest UNITY 2.1
- Module installation fixes
- Minor enhancements
- Bug fixes
v1.3.0 (19/12/2018)
- Fixed hardware auto-detection fail after last update for some devices
- Added support for sultanxda cpu boost implementations
- Updated to latest UNITY template 2.0
- Bug fixes and refinemetns
v1.2.9 (18/12/2018)
- Important chip detection fixes
- Improved swap detection & removal
- Bug fixes
v1.2.8 (18/12/2018)
- Bug fixes for manual chip detection workarround
v1.2.7 (18/12/2018)
- Minor fixes
v1.2.6 (17/12/2018)
- Added manual workarround for devices with unrecognized chip (Huawei,Xiaomi etc..)
- Removed EAS support (except sd845) untill further notice (too experimental)
- Corrected SD845 configs
- Agressive tunded LMK for Turbo profile for better gaming experience
- Fixed Termux app conflicts
- Bug fixes and refinemetns
v1.2.5 (17/12/2018)
- Added Performance & Turbo profiles
- Added partial support (balanced profile only) for exynos9810, kirin650, sd615
- Fixed battery drain for EAS devices
- Fixed some devices not being recognized (again)
- Fixed some bugs with low RAM devices
- Fixed RAM capacity not being displayed correctlly
- Script refinements
- A lot of bug fixes
v1.2.4 (16/12/2018)
- Fixed connectivity issues for some devices
- Improved SOC chip recognition for some devices
- Other minor bug fixes & refinements
Thanks to @pKrysenko & all telegram group members for testing
v1.2.3 (15/12/2018)
- Minor bug fixes
v1.2.2 (14/12/2018)
- EAS parameters enhacements
- Memory tuning enhancements
- Added support to SD615/SD616
- Changed hardware detection method
- I/O scheduler changes
- Removed forced doze for GMS & ril services
- Improved scrolling & FPS in applications
- Added detailed battery health check
- Other minor bug fixes & improvements
v1.2.1 (07/12/2018)
- Fixed a bug that makes governor parameters not stick after a while
- Fixed a bug where CPU is not recognized correctly (Improved SoC detecting)
- Other minor bug fixes & improvements
v1.2 (05/12/2018)
- Added missing cpu boost for some SoCs on balanced profile
- Improved swap detection & disabling (again)
- Reviewed & removed some stuff
- Other minor bug fixes & improvements
v1.1 (04/12/2018)
- Fixed a bug where chip name in upper case isn't recognized
- Swap partitions detecting improvements
- Some small but important script code fixes
Thanks to whalesplaho @XDA for testing and discovering this
v1.0 (04/12/2018)
- First release
Downloads
• Google Drive
You can also download LKT from Attachments or Magisk repo
Beta testing & Support
• Join our telegram chat
Will this change any of my settings in kernel auditor and HEBF optimizer? Cause you said don't use with L speed and L speed can change some of my kernel parameters in kernel auditor and HEBF can if not setup the right way.... Does this module have a U.I
PoochyXXX
PoochyX said:
Will this change any of my settings in kernel auditor and HEBF optimizer? Cause you said don't use with L speed and L speed can change some of my kernel parameters in kernel auditor and HEBF can if not setup the right way.... Does this module have a U.I
PoochyXXX
Click to expand...
Click to collapse
It's better to not use any other mods with this so they won't conflict, if your device is supported you won't need anything else
This module does have a UI, to access it via terminal type su then lkt and follow the instructions. Please refer to the help section next time before asking anything.
korom42 said:
It's better to not use any other mods with this so they won't conflict, if your device is supported you won't need anything else
This module does have a UI, to access it via terminal type su then lkt and follow the instructions. Please refer to the help section next time before asking anything.
Click to expand...
Click to collapse
Alright will do
PoochyXXX
Unistaller zip.......?
Plz
Sent from my GT-I9500 using Tapatalk
nomigujjar said:
Unistaller zip.......?
Plz
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Read the FAQ
Hello,
My device is Samsung Note 4 - SM-N910F.
I'm not on Samsung but on AOSP (6.0.1 - because of some outdated xposed mods) as I prefer stock, bloatware-less, android ROM.
The thing is, battery life has always been worse than original Samsung ROM, mainly because of doze not being strict enough, and lack of wakelocks optimisation.
Naptime, Greenify and Amplify helped me reducing those issues, along with Kernel Adiutor underclock increasing battery life. And Icebox for freezing battery using when screen is turned off.
Now comes your work, I flashed your zip. I was a bit skeptical of what it could make to my OS to magically improve battery life... But I have to be honest, it improved blocking those ridiculous wakelocks when my phone is idle.
See by yourself : 0.2% of battery during 6h sleep (airplane mode on, because radio waves). When it is usually 0.8% to 1%. Ofc when phone is used like using camera, it won't do magic over battery, but those unnecessary wakelocks event seems to be fixed.
So, yes. Thank you, thank you very much.
I got a weird bug on the poco f1 using lkt (mostly balanced profile) when I charge my battery indicator get stuck to 75%. However it still charge since it rest a bunch of time stuck to 75%
Rom xiaomi.eu
Kernel Extreme kernel v9
Hello. I installed the zip without problems and restarted my phone. Nowhere, however, do I see something of cloudy. Neither at Mtweaks or in the info settings themselves. How do I know that it works now? And how can I change the profiles?
cosmobi said:
Hello. I installed the zip without problems and restarted my phone. Nowhere, however, do I see something of cloudy. Neither at Mtweaks or in the info settings themselves. How do I know that it works now? And how can I change the profiles?
Click to expand...
Click to collapse
Read the F.A.Q
Does this mod stay active after each reboot? Or do I've to select each profile on reboot
fi5z.x9 said:
Does this mod stay active after each reboot? Or do I've to select each profile on reboot
Click to expand...
Click to collapse
Yes it does stay active by saving the selected profile even after reboot.
Would you consider LeeDroid a heavily tweaked ROM, and one that would interfere with LKT? I removed all L-Speed settings, and I'm getting incredible performance yet slightly less SOT. I'm willing to make the sacrifice, unless you would advise against using this MOD with LeeDroid. Thanks in advance for any response, and awesome work!
How does this mod compare to the NFS-Injector module? Can they be used safely together
Hi, how do I change profile.. I am on balanced need to go to performance
I tried reinstalling but while reinstalling it automatically detected device in balanced and didn't ask me to change
Harshdeepagrawal said:
Hi, how do I change profile.. I am on balanced need to go to performance
I tried reinstalling but while reinstalling it automatically detected device in balanced and didn't ask me to change
Click to expand...
Click to collapse
MDV106 said:
How does this mod compare to the NFS-Injector module? Can they be used safely together
Click to expand...
Click to collapse
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
korom42 said:
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
Click to expand...
Click to collapse
Thanks for sarcasm
korom42 said:
If you took 10 seconds to read the FAQ you wouldn't have to ask these questions.
https://telegra.ph/LKT---FAQ-03-25
Click to expand...
Click to collapse
Im glad I didnt, this module is useless anyway.
MDV106 said:
Im glad I didnt, this module is useless anyway.
Click to expand...
Click to collapse
Right.. it clearly is ??

[KERNEL] Ares-Kernel {KlteXXX}

****Ares-Kernel****
****By****
****The~Skater~187****
This kernel is a combination of SmartPack/Boeffla-Venom Samsung Galaxy S5 Lineage OS kernel, with some tweaks and additions from around the net. I have decided that since SmartPack was EOL and with sunilpaulmathews ok, I would just combine our two kernels (since fbs has Boeffla-Kernels covered) to make it easier for me to maintain his work and my own.
/* DISCLAIMER! *\
*I am not responsible for any damage to your device*
* Everything you are doing on your device is at your own risk*
*Don't forget to make a back up before flashing*
~~~~~~~~~~~~~~~Flash at own risk~~~~~~~~~~~~~~~~~~
/* Supported devices *\
klte: SM-G900F, SM-G900AZ, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L
kltekor: SM-G900K/L/S
kltedv: SM-G900P/I
klteduos: SM-G900FD, SM-G900MD
kltekdi: SCL23
/* Compatibility *\
DO NOT FLASH OVER CUSTOM KERNELS!
This kernel is only meant to work on Lineage-OS 15.1/16 and nothing else. However, it may work on other LOS-15.1/16 (and AOSP) based Oreo/Pie ROMs
This kernel will NOT work in Samsung Stock and other TW ROMs.​
/* How-to-Install *\
*Download Kernel*
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Reboot and enjoy
/* Incorporated SmartPack Features *\
Build from latest Lineage OS source code.
Built using latest GCC-8.x.
Anykernel for compatibility with maximum devices.
Linux Kernel version is updated to 3.4.113
Kernel tweaker app recommend: SmartPack-Kernel Manager (Please note: official Kernel Adiutor is NOT fully compatible with this kernel).
Added features include...
CPU voltage control
CPU Freq Gov: INTELLIDEMAND, INTELLIACTIVE, SMARTMAX, LIONHEART, NIGHTMARE, ADAPTIVE, ALUCARD, ZZMOVE, etc.
(for those who want to use zzzmove, I strongly suggest to carefully read this forum post by @Saber)
CPU hotplugs: Lazyplug, Alucard, and mako hotplug.
Full control over AC, USB and Wireless charging rate in SmartPack-Kernel Manager (Default charging rates: AC: 1800 mA; USB 700 mA; Wireless: 900 mA).
Boeffla Sound to control speaker and headphone volume.
(for official KA users, follow these instructions by @Exzu to create respective custom controllers for Boeffla Sound and Fast Charge.)
Adreno_Idler
CPU Input boost (configurable in SmartPack-Kernel Manager)
IO schedulers: FIOPS, SIO, VR, ZEN, FIFO, TRIPNDROID.
TCP congestion algorithms: Westwood, reno, cubic etc.
FRandom
Dynamic sync control 2.0
Boeffla Generic Wakelock Blocker
268 MHz CPU underclocked frequency cycle
Additional 27 MHz GPU frequency step (idle frequency)
KCAL v2
SELinux "Enforcing" by default (can be switched to "Permissive" in SmartPack-Kernel Manager)
a lot more...
/* Incorporated Boeffla-Venom Features *\
*Enable OC to 2995:
-DISCLAIMER: (You Must Adjust Voltages for you OWN specific device on higher OC steps. (I AM NOT RESPOSIBLE FOR YOUR DEVICE)
*Fast Charge
*ZZmoove adjusted to acommodate Overclocking (Thanks to Legitsu)
*Tweak bandwith on higher OC steps (Thanks to ktoonsz)
*Deadline I/O Tweaks (Ktoonsz)
*Fix memory leak with sysfs when stats table are freed (Ktoonsz)
*Bump up Max Voltage (Adjusted for higher OC) (Ktoonsz)
*Dirty Writeback Tweaks
*Increased VM_MAX_READAHEAD to 512 (default)
*Increased default entropy levels (both read and write)
*Optimized Kernel Samepage Merging
*QuickWakeup (Thanks CrazyGamer)
*PowerSuspend (Thanks Faux123)
*Cortex_A15 Optimizations (Fusion-Rom Dev Team)
*Slimbus Overclock (Ktoonsz)
*Slimbus Optimized Overclocking Of Master Component (CrazyGamer)
*VFP Tweaks (Ktoonsz)
*EXT4 Tweaks(Ktoonsz)
*GPU Overclocked up to 657 (Ktoonsz)
*Disable Swap Readahead
*Increase Maximum Swappiness
*Kernel mode neon (ShinySide)
*Disable Direct Reclaim File Pages
*Enable Unaligned Capability For ARM (CrazyGamerGR)
*Update min-default adreno frequency to be 200 MHz (kholk)
*Fixed memory entry leak when calling Adreno Convertaddr (Shubhraprakash Das)
*Changed clock rates to 19.2 MHz (Faux123/Qualcomm)
*Optimized Sched/Fair a bit (Faux123)
*Applied many new compiler optimizations (Synergy kernel Team & Decimalman)
*Zswap: Uses LZ4 now (if available)
*Support for LZ4-compressed kernel
*Fix memory leak in Mass Storage
*Added back Intellithermal V.2 Thermal Engine (for those who prefer it)
*Modified LowMemoryKiller (fbs)
/* Downloads Can Be Found Here *\
https://app.box.com/s/nx7nuf7vb2eubd5sfrr5rerjsatcp42i
/* Special note to Korean S5 users *\
(Thanks to sunilpaulmathews defconfig files)
Flashing this kernel after AOSP/LOS based Oreo/Pie ROMs originally build for the klte (SM-G900F) variant SHOULD allow the use of those ROMs on SM-G900S/K/L.
/* Acknowledgements *\
@haggertk for LineageOS for Galaxy S5
@Lord Boeffla
@franciscofranco
@Sultanxda
@arter97
@faux123
@CrazyGamerGR
@Saber
@nathanchance
@ZaneZam
@osm0sis for AnyKernel project
@Grarak for Kernel Adiutor
@sunilpaulmathew
@justjr for SmartPack efficiency profile
@ktoonsez
@KazuDante
@fbs
@kholk
@decimalman
@Synergy Kernel Team
Many other XDA developers
XDA:DevDB Information
Ares-Kernel, Kernel for the Sprint Samsung Galaxy S5
Contributors
The~Skater~187, sunilpaulmathew
Source Code: https://github.com/187MoD/Ares-Kernel
Kernel Special Features: Boeffla-Venom + SmartPack Kernels
Version Information
Status: Beta
Current Beta Version: Beta-v1.6
Beta Release Date: 2019-02-15
Created 2019-02-15
Last Updated 2019-08-26
***Ares Kernel Changelog***
~~~~~Beta-v1.7~~~~~
*Up-to-date with Lineage-OS source as of 01.01.2020
*Update Intelli-plug to version 3.9 (Compliments of Pascua28)
*sound: Compiled with -Os optimization (Compliments of Pascua28)
*A few other optimizations
~~~~~Beta-v1.6~~~~~
*Up-to-date with Lineage-OS source as of 08.25.2019
*Compiled using Bleeding-Edge Toolchain 9.2
*Cortex A-15 MSM-memutil optimizations for better memory performance
*GPU compiler optimizations
*Enable: Frontswap
*Enable: Runtime compcache
*Removed un-supported SOC features (Thanks pascua28)
*Fix possible memory leak in slub.c (Thanks pascua28)
*Add Missing xor-neon file
*Compiled with many new compiler optimizations
*Plus more
~~~~~Beta-v1.5~~~~~
*Up-to-date with Lineage-OS source as of 07.15.2019
~~~~~Beta-v1.4~~~~~
*Up-to-date with Lineage-OS source as of 05.27.2019
*Compiled with "Bleeding-Edge-Toolchain" 9.1
*Compiled with 03 compiler optimizations
~~~~~Beta-v1.3~~~~~
*revert: disabled "CAF" cpu policy save code (Fixed cores not scaling properly)
*MSM Limiter updated
~~~~~Beta-v1.2~~~~~
*Up-to-date with Lineage-OS source as of 03.19.2019
*reverted to stock Lineage-OS LMK (Low Memory Killer)
*bumped OC up to 3072 -DISCLAIMER: (You Must Adjust Voltages for you OWN specific device on higher OC steps. I AM NOT RESPONSIBLE FOR YOUR DEVICE!)
*bumped up voltage overhead to hopefully help stabilize new OC step
*added Intelliplug_hotplug driver (Now default hotplug service)
*added Touchboost driver (adjusted for 3072 oc)
*added MSM CPU Limiter (adjusted for 3072 oc)
*enabled Arch Power
*added the ability to Toggle Arch Power And Sleepers (compatible with SmartPack Manager)
*disabled "CAF" cpu policy save code (Faux123)
*added msm_mem_utils for added memory performance
*disabled constant spam in dmesg from 'undefined instruction' print statement in traps.c
*ZZmoove: adjusted to acommodate Overclocking to 3072
*added Boeffla-compiled In-Kernel Busybox
*some other things
~~~~~Beta-v1.1~~~~~
*Up-to-date with Lineage-OS source as of 03.02.2019
*Ares-Kernel boot script: update default profile settings (credits: justjr)
*import Core Control fix (sunilpaulmathew)
*import "Hotspot" fix (sunilpaulmathew)
*added a compatible version of "Tuned" LowMemoryKiller (fbs)
*added support for lz4 compressed kernel
*added some compression tweaks to help with boot performance
*driver/char: add missing frandom commits
*fs/sdcardfs/mmap.c: add AIO optimization flag compatibility fix up
*kernel/power: add missing quickwakeup commit
*Optimized ARM RWSEM Algorithm (Faux123)
*Tuned thermal management a bit
*Some other stuff
~~~~~Beta-v1.0~~~~~
-Initial Merge of SmartPack/Venom Sources
*Synced With latest LineageOS Sources as of 02.13.19
*Built with Latest 8.2.1 toolchain using SunilPaulMathews build Framework
*Compatible With Kernel Auditor & Should Be Compatible SmartPack-Kernel Manager
*Enable OC to 2995:
-DISCLAIMER: (You Must Adjust Voltages for you OWN specific device on higher OC steps. I AM NOT RESPOSIBLE FOR YOUR DEVICE)
*Boeffla Sound
*Fast Charge
*ZZmoove: adjusted to acommodate Overclocking (Thanks to Legitsu)
*Enable 268 mhz underclock (Thanks to SunilPaulMatthew)
*Tweak bandwith on higher OC steps (Thanks to ktoonsz)
*Tweak deadline: Allow 0ms deadline latency, increase the read speed (Ktoonsz)
*Set audience sleep delay to 0 to fix delay upon making phone calls
*Async I/O latency to a ssd greatly increased (34% gain,kleikamp & Ktoonsz)
*Fix possible memory leak with sysfs when stats table are freed (Ktoonsz)
*Bump up Max Voltage (Adjusted for higher OC) (Ktoonsz)
*Dirty Writeback Tweaks
*Increased VM_MAX_READAHEAD to 512
*Increased default entropy levels (both read and write)
*Optimized Kernel Samepage Merging
*QuickWakeup (Thanks CrazyGamer)
*PowerSuspend (Thanks Faux123)
*Cortex_A15 Optimizations (Fusion-Rom Dev Team)
*Add Missing Graphite Define (Ktoonsz)
*Slimbus Overclock (Ktoonsz)
*Slimbus Optimized Overclocking Of Master Component (CrazyGamer)
*VFP Tweaks (Ktoonsz)
*EXT4 Tweaks(Ktoonsz)
*GPU Overclock up to 657 (Ktoonsz)
*Disable Swap Readahead
*Boeffla wakelock blocker (Thanks to sunilpaulmathew & franciscofranco)
*Increase Maximum Swappiness
*Kernel mode neon (ShinySide)
*Disable Direct Reclaim File Pages
*Enable Unaligned Capability For ARM (CrazyGamerGR)
*Update min-default adreno frequency to be 200 MHz (kholk)
*Fixed memory entry leak when calling Adreno Convertaddr (Shubhraprakash Das)
*Change clock rates to 19.2 MHz (Faux123/Qualcomm)
*Optimize Sched/Fair a bit (Faux123)
*Applied many new compiler optimizations (Synergy kernel Team & Decimalman)
*Zswap: Uses LZ4 now (if available)
*Support for LZ4-compressed kernel
*Fix memory leak in Mass Storage
*Alucard, LazyPlug & Mako Hotplugging
*Enabled VNSWAP
*Added back Intellithermal V.2 Thermal Engine (for those who prefer it)
*Modified LowMemoryKiller (fbs)
# All Changes
# Signed Off
# By
# The~Skater~187
Reserved
~~~~~~~~~~~ Please note~~~~~~~~~~~
If you need support, please supply the following or support will not be given:
*Device Variant
*Current Rom & Android Version
*Bootloader & Baseband version
*Recovery & Version
*Recovery Log
I can't help if the only details given are "It didn't work" or "I can't flash this".
One More For Good Measure
YES.!!!!
sdfat code have syntax errors, aren't even compiling here.. humm
ok, fixed it and stealed it
Thanks for ur good kernel. Flashed on haggertk android pie no problem so far. At first I was getting random reboots,it caused by my magisk modules. I disable them and the problem fix. Thanks again.
LKT magisk module on this kernel cause random reboots.
Thanks for your work
So I popped over to this thread you linked to from the Venom thread and want to make sure I'm clear. This kernel (Ares-Kernel) should not be used on a Resurrection Nougat based ROM? I think that Resurrection Nougat ROM is a Lineage 14 based ROM, correct? Or even though it is Lineage 14 based, can the Areas-Kernel still be used because it is based off Lineage.
Thanks for any clarification. Left this post in other thread to just to make sure I got it in right spot. Disregard which ever one is posted in wrong spot. Thanks.
awesome dude!!! thank you so much! i'm really glad that someone continues the smart-pack kernel!
:laugh: big, Big, BIG Thank you @The~Skater~187! Really appreciate your effort and dedication in helping to keep this old phone alive and competitive! :highfive:
Hey, good work mate!
Thanks for it, we were orphan but you came and adopted us, LOL, kidding.
Just some thoughts on it.
I've found that, on thermal tab, vd restriction cant be disabled while core control is enabled. That used to happen on smartpack kernel but sunil get rid of it, maybe he can help. They are not made to be active together and can make the phone super slow and prone to crashes when it gets hot and they both kick in.
I also couldn't help to notice it's using my efficiency profile as defaults (on signature), and it's awesome, they work great don't they? Haha. I assume you grabbed it with the smartpack source code, since sunil's kernel used my profile as defaults.
There are some things that are outdated thought, specially page-cluster should be back to 0 on virtual memory as it is also prone to failures (apps don't working properly, like, a black screen without responses, based on my experiences) and crashes, min_sample_time is 0 and should be 40000 (one of the interactive governor tunables), which is an overlook by myself on an early release of my profile but fixed on the latest one already. I would recommend this small changes on the defaults, as well as the tunable io_is_busy 0 to let multicore power saving disabled.
I'm glad that you're also using it but I would also like to ask proper credits for it, I know, is not code, but demanded me months of studying and testing to get it almost where I wanted! There's a little history on the thread on my signature.
justjr said:
Hey, good work mate!
Thanks for it, we were orphan but you came and adopted us, LOL, kidding.
Just some thoughts on it.
I've found that, on thermal tab, vd restriction cant be disabled while core control is enabled. That used to happen on smartpack kernel but sunil get rid of it, maybe he can help. They are not made to be active together and can make the phone super slow and prone to crashes when it gets hot and they both kick in.
I also couldn't help to notice it's using my efficiency profile as defaults (on signature), and it's awesome, they work great don't they? Haha. I assume you grabbed it with the smartpack source code, since sunil's kernel used my profile as defaults.
There are some things that are outdated thought, specially page-cluster should be back to 0 on virtual memory as it is also prone to failures (apps don't working properly, like, a black screen without responses, based on my experiences) and crashes, min_sample_time is 0 and should be 40000 (one of the interactive governor tunables), which is an overlook by myself on an early release of my profile but fixed on the latest one already. I would recommend this small changes on the defaults, as well as to let multicore power saving disabled.
I'm glad that you're also using it but I would also like to ask proper credits for it, I know, is not code, but demanded me months of studying and testing to get it almost where I wanted! There's a little history on the thread on my signature.
Click to expand...
Click to collapse
I do apologize about the credit issue, I thought I had put your name in the acknowledgment section right before ktoonsz last night, as I noticed your name on a few of the files in the RamDisk. I will definitely straighten that out and thank you for pointing that out. You are correct, I so far have just synced SmartPack source, then started applying things from my other kernel for now. I wanted to get something up-to-date and stable out for you guys before I started diving deeper into other kernel related things.
As for the rest of your suggestions, I will look into them for sure. Feel free to p.m. me with any thoughts or other suggestions.
Sent from my kltespr using Tapatalk
The~Skater~187 said:
I do apologize about the credit issue, I thought I had put your name in the acknowledgment section right before ktoonsz last night, as I noticed your name on a few of the files in the RamDisk. I will definitely straighten that out and thank you for pointing that out. You are correct, I so far have just synced SmartPack source, then started applying things from my other kernel for now. I wanted to get something up-to-date and stable out for you guys before I started diving deeper into other kernel related things.
As for the rest of your suggestions, I will look into them for sure. Feel free to p.m. me with any thoughts or other suggestions.
Sent from my kltespr using Tapatalk
Click to expand...
Click to collapse
Many thanks!
On other news, I was getting some random reboots, and found out that it was because of my undervolt settings. It's super weird, because they never gave me any problems since 3~4 months with the smartpack kernel, and it should be a setting particular to my specific device/cpu, and have the same limits across any kernel. I used the same across lots of roms, and different versions of smartpack, for nougat, oreo and pie, so, I hope you can see why I find this very weird.
But, I don't know if it's actually a 'bug', I will find some time to fine tune it, raise some voltages to see where I can go with Ares kernel without crashing. For now I'm using the default voltages.
justjr said:
Many thanks!
On other news, I was getting some random reboots, and found out that it was because of my undervolt settings. It's super weird, because they never gave me any problems since 3~4 months with the smartpack kernel, and it should be a setting particular to my specific device/cpu, and have the same limits across any kernel. I used the same across lots of roms, and different versions of smartpack, for nougat, oreo and pie, so, I hope you can see why I find this very weird.
But, I don't know if it's actually a 'bug', I will find some time to fine tune it, raise some voltages to see where I can go with Ares kernel without crashing. For now I'm using the default voltages.
Click to expand...
Click to collapse
I did do a bit of an overhaul on the voltage table when I added the higher oc steps, due to the fact that on my other kernel lower voltages stock we're causing problems and random freezes.
Sent from my kltespr using Tapatalk
Yeah, I'm sure you know, undervolting need to be done step by step, making sure the lowest you can go, device specific, so risking repeating myself, same voltages should probably 99,99% of the time works across any kernel/rom on a given device. I don't think it is the undervolt anymore.
It took a while but I still had some reboots with default voltage, once I was finally able to press up and home right after it, so it rebooted directly to TWRP and I copied the last_kmsg, it's attached, all configs were on default. I hope it helps to find out what it may be.
I'm back on smartpack for now, cause the same setup and profile runs without no problems, so I think it should not be a problem just on my end, is it? Anybody else?
Fun fact, I was are able to dirty install smartpack kernel over ares and vice-versa and it detected and updated itself without any problems.
I'm able to go kinda low here with no crashes:
660
670
680
690
700
710
720
730
745
750
775
795
825
865
925
965
990
1005
1035
1060
@The~Skater~187 edit: oh, I just noticed, there's no option to input 268 MHz voltage. My voltages are getting placed on the wrong frequency because of that, found the problem!
I recovered the backup I just made before installing the kernel, I had installed the shushified bootleggers 3.0 on top of the unshushified 3.0, they are the same rom except for official (shushified) status, but anyway, that may be the cause of some of my problems, adding up to the 268 missing voltage that was overlooked by me.
After that I installed Ares kernel again with no undervolt and gone to sleep. Woke up today, and no reboots, then I was trying to test undervolting it and found out about the missing 268 voltage, so every previous voltage I used was getting used on 1 clock step above, so, not enough power for sure.
Just put my exactly same volts on their correspondent freq and no reboots until now!
It also seems that Core Control is staying enabled and VD Restrictions is disabled correctly now too. So, if you experience the same you may disregard it as well.
Thanks for this!!
Great so far, this with Pie ROMs is the best battery life I've had since stock.
4-5 hours sot, 7h active, 12h idle..(gsam stats) on this original 2800mah. I've gone from 4-5 charges a day to 1-2.
And kernel brightness control keeps the flickers away.
Edit: did notice both vdd and core thermals being active, didn't cause any overheating/reboots (i often run cpu info as overlay) but I stuck with core control only to be safe. It doesn't stick after reboot.
S5 klte
Latako said:
Edit: did notice both vdd and core thermals being active, didn't cause any overheating/reboots (i often run cpu info as overlay) but I stuck with core control only to be safe. It doesn't stick after reboot.
S5 klte
Click to expand...
Click to collapse
Yeah, after some further analysis, I came to find out exactly the same.
After a reboot both VDD and CC come back up, and I have to do a little dance, like, disable vdd and cc, enable intellithermal, then enable only cc, or something like that, then it will stick with only cc until the next reboot.
Ok, so I decided I'm going keep an "unofficial" SmartPack kernel going (nothing more than source updates will be applied) as well as my off shoot kernel project. I will have it available for you guys tomorrow evening.
Sent from my kltespr using Tapatalk
justjr said:
Hey, good work mate!
Thanks for it, we were orphan but you came and adopted us, LOL, kidding.
Just some thoughts on it.
I've found that, on thermal tab, vd restriction cant be disabled while core control is enabled. That used to happen on smartpack kernel but sunil get rid of it, maybe he can help. They are not made to be active together and can make the phone super slow and prone to crashes when it gets hot and they both kick in.
I also couldn't help to notice it's using my efficiency profile as defaults (on signature), and it's awesome, they work great don't they? Haha. I assume you grabbed it with the smartpack source code, since sunil's kernel used my profile as defaults.
There are some things that are outdated thought, specially page-cluster should be back to 0 on virtual memory as it is also prone to failures (apps don't working properly, like, a black screen without responses, based on my experiences) and crashes, min_sample_time is 0 and should be 40000 (one of the interactive governor tunables), which is an overlook by myself on an early release of my profile but fixed on the latest one already. I would recommend this small changes on the defaults, as well as the tunable io_is_busy 0 to let multicore power saving disabled.
I'm glad that you're also using it but I would also like to ask proper credits for it, I know, is not code, but demanded me months of studying and testing to get it almost where I wanted! There's a little history on the thread on my signature.
Click to expand...
Click to collapse
So is it possible to use your profile without any errors?

Categories

Resources