Ktweaker Kernel Setups - AT&T Samsung Galaxy S 4 General

Hey guys I'm making a page here with a list of all known ktweaker setups, catergorized by known model compatibility (especially for undervolting setups)
And direction of setup (performance, balance, power saving)
Feel free to add your setups to this thread, and eventually I will add it to the main post, if it's a good stable setup worth mentioning for at least 1 of the S4 devices.
For the first post I will present to you my pride and joy:
Super Bull 1.5
http://www55.zippyshare.com/v/84442212/file.html
Features:
Balance between Superior performance and Ultimate battery life. Intensive CPU/GPU tweaks and voltage optimization. UI is snappy as hell.
M919 and i337 heavily tested and proven stable. I9505 stability in need of final testing.
Installation Directions:
- Download file.
- Place file in SD Card/ktweaker/
- Open ktweaker
- Select "Restore prefs from SD card"
Requires Ktweaker kernel version 8/27 or higher
Sent from my Galaxy S4 i337m

Isn't that what this thread is for?

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 !!!!

[Kernel]GalaTab3 KitKat & JellyBean Kernels for SM-T310 8.0 ONLY

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 !

FEB-9-15 [] Post_boot tweaks - An *interactive* boost

*FOR ANY DEVICE USING QUALCOMM CHIP***
Drop this file in your /system/etc folder, replacing the stock one. Cleaned up, and modified to work with a stock kernel or lean kernel.
Please open up the file, and read some of the notes I added, so you know what this does and how to change it if you so desire. It is very basic and straightforward.
Also, please remember one thing, if you want to go to the stock kernel, simply change any words in the scripts from "interactiveX" to "interactive".
Recommended lean kernel 3.16 with these scripts.
Designed to work with ALL Galaxy Note 3's running touch wiz 4.4.2 ROMs and running lean kernel or stock kernel. Other kernels are not guaranteed due to the voltages applied.
This will make a huge difference in performance and battery. Been using this (developed by me) for a long time now.
Summary:
*I/O optimization
*tuned interactive parameters
*fixed sysfs permissions for cpu's (root now has full control of sysfs tuneables)
*GPU sysfs identified for user to customize
*screen off frequency set to 1.2 GHz (can be changed by user)
*custom voltage set for bin 2 device. (Read instructions within file to adjust for others bins accordingly)
*custom mpdecision tuning and other relevant instruction regarding mpdecision binary
*general CPU tweaks for better performance, responsiveness and battery life (yes all 3 can be achieved, and are)
Again, open the file with a file explorer (or notepad+ in windows). Read it, understand it, adjust what you want, or leave it be. These settings are very much dialed in for the interactiveX governor of LK. It won't get much better. I'd say take a look at the voltage portion and mpdecision for now (found at the end).
Once more, drop file into the /system/etc directory... Replace the existing one, and reboot.
FILE DOWNLOAD
Updated today... many useful changes, and fixes (set up for stock kernel for now)
https://www.dropbox.com/s/tjlygujptls3lks/init.qcom.post_boot.sh?dl=0
Are power save settings included in your mod?
I made some test with Antutu on stock CPU speed..
1.) Stock kernel
- original file = > 43911
- your file "interactiveX" => 43545
- your file "interactive" => 41690
2.) Lean kernel
- original file = > 44047
- your file "interactiveX" => 42484
- your file "interactive" => 41804
tkari4 said:
Are power save settings included in your mod?
I made some test with Antutu on stock CPU speed..
1.) Stock kernel
- original file = > 43911
- your file "interactiveX" => 43545
- your file "interactive" => 41690
2.) Lean kernel
- original file = > 44047
- your file "interactiveX" => 42484
- your file "interactive" => 41804
Click to expand...
Click to collapse
I wouldn't be too concerned with benchmark scores.
Performance ≠ a higher score in antutu. But suit yourself.
Just giving you all a heads up.... I think there may have been a few errors in the stock init.qcom.post_boot file (they are human too, remember).
I am testing a few small changes to certain lines in the "factory" script to make sure. A brief explanation of it is that there are certain lines I removed from the one you all are using right now, and I did so because the file paths being called out did not exist!
However, I was going over this again tonight, getting ready for the official LP release and decided to review this odd discrepancy one more time. After doing some digging, I found that the file that some of those values were intended to be written to, were actually somewhere else!
Doh! - Sammy/QC. It is very possible that this location changed from a previous design or fs structure and somebody simply forgot to modify the script. Very interesting indeed.
Anyways, after I run this for a couple of days and do a little bit more investigating, I'll post the updated script for all of you.
Updated file and link is now available... I highly recommend anybody (devs included) use this in your current setup. Lot of fixes to the stock file that were critical to stability, power saving, and performance.
red_can_soda said:
Updated file and link is now available... I highly recommend anybody (devs included) use this in your current setup. Lot of fixes to the stock file that were critical to stability, power saving, and performance.
Click to expand...
Click to collapse
I wonder if this would work on lollipop leak. I'm running ayra mod v2 and could test this out.
fookea said:
I wonder if this would work on lollipop leak. I'm running ayra mod v2 and could test this out.
Click to expand...
Click to collapse
My guess is that it would work on 5.0... I would need to see a 5.0 post_boot file, though, to compare and look for any major changes.
red_can_soda said:
Updated file and link is now available... I highly recommend anybody (devs included) use this in your current setup. Lot of fixes to the stock file that were critical to stability, power saving, and performance.
Click to expand...
Click to collapse
I've installed your script (on stock 4.4.2 kernel) but didn't notice any performance, stabilty nor battery improvements.. It's more placebo effect than a real improvement.
ranwej said:
I've installed your script (on stock 4.4.2 kernel) but didn't notice any performance, stabilty nor battery improvements.. It's more placebo effect than a real improvement.
Click to expand...
Click to collapse
You are probably right, evidenced in the reports by everyone else that has used this saying the exact opposite. Lol
For me, it's noticeable. I have tested it pretty thoroughly and the script isn't just some cute ideas thrown together. From the lpm fixes (you can thank Qualcomm for that mistake), to some of the finer things like the deadline IO tuning (geared specifically for flash memory access), to some of the virtual machine parameters I've adjusted... There is logic and reasoning behind every single line of code I put together for this.
To be frank, I don't mind opinions. Hell I love them. But you need to know what you are talking about before you make a snide comment... Not for my sake, but for somebody who might not use it simply because they saw your remarks.
Many things appear to be placebo when it comes to this kind of stuff... But go start unzipping a large compressed file before and after using this script, or move a massive amount of data from your internal storage while playing music, browsing the web, and downloading an app at the same time.... I'd doubt you come in here talking about placebo.
You have yourself a wonderfully intelligent day.
Here you go, this is the post boot file. I'm running ayra mod v3 on noa5 leak with nl8 bootloader. The file appears to be modified on 11 Feb 2015

[JFLTEXX] Need help in choosing rom

Hello guys!
I would like to ask you for opinion what is best ROM for you. I recently rooted my I9505 and installed CM 12.1 but I want to check another viable ROMs, but there are SO many ones in android development section
Since I love to play many games on my phone, Im looking for a rom that is categorized in order by:
- Maximum performance and fps stability
- System stability (yes it is at second place )
- Battery usage (Im using greenify)
- Features
Im open to any suggestions. In few days these is some free time for testing ROMs
Optimized CM13 or AOSP 6 by JDC Team. In Stweaks app, select the extreme performance profile. Antutu scores over 35000 while other roms score around 32000.
Yet for gaming, I believe 5.1.1 is better, JDC Team made those as well.
^ what he/she said.
When it comes to performance, JDCTeam roms are best, due to the included alucard kernel.
Switch to the extreme performance profile and you're good to go. Note that not all settings take effect after applying the profile, so you may need to reboot.
You will also get good up time, because the kernel automaitically switches to a low power mode when the screen is off.
But when it is in use you will get about 2 hours SOT.
With extreme battery you may get around 4-5 hours SOT.
The stock cm kernel, that comes with pretty much every rom, is ok and all for everyday usage, but when it comes to performance it kinda sucks compared to custom kernels.
@GDReaper Paradoxically, on CM 12.1 with performance battery profile (in notifcation bar) I get AnTuTu score near 38k. However, when I tested JDCTeam optimized CM 12.1 and changed to performance battery mode in notification bar, I got at least 30k score (however I haven't modified kernel via STweaks yet). Maybe I should give it a try .
By the way, is Alucard custom kernel contains fast charging feature? I wanted to test it as well
That battery mode from CM only changes the CPU governor to Performance.
Alucard kernel changes many different settings depending on the kernel profile.
Also, the S4 does not have fast-charge built-in. Only the newer phones have that feature.
Then I don't know why standard CM rom gave me so high score.
However I will test again Optimized CM 12.1 and reply back tomorrow (making backup and so on)
Optimized CM13 by JDC Team is the best in my opinion.
I would go for stock based one like lollirom v8
best stability, no lag over time...
Thank you all for answers
Checked Optimized CM 12.1 and changing profile in STweaks to extreme performance really gives huge boost (over 38k score) as well as extreme battery cuts its performance when battery is more important (under 30k score).
The only cons is that changing between profiles takes about 20-30 seconds but it doesn't bother me so much
EDIT: I read that when you install Lollirom v8 you have to change modem to HPA1 to make WiFi work properly. Is that really needed?
Im not convinced to modify anything other than system. Is it possible to backup my modem easily so I can restore it if something goes wrong?
I will be doing the same as you!! Ive been using Golden Eye for quite some time now, but am ready for something new
KonowaL said:
Thank you all for answers
Checked Optimized CM 12.1 and changing profile in STweaks to extreme performance really gives huge boost (over 38k score) as well as extreme battery cuts its performance when battery is more important (under 30k score).
The only cons is that changing between profiles takes about 20-30 seconds but it doesn't bother me so much
EDIT: I read that when you install Lollirom v8 you have to change modem to HPA1 to make WiFi work properly. Is that really needed?
Im not convinced to modify anything other than system. Is it possible to backup my modem easily so I can restore it if something goes wrong?
Click to expand...
Click to collapse
You can use a custom kernel to avoid the WiFi issue.
I don't know if there is any way to backup the modem, but changing the modem isn't hard either.
Lollirom will not change your modem, only official stock roms can change your modem.

[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.

Categories

Resources