KitKat tweaks Info exchange for top battery use - Galaxy S 4 General

Hi to all die hard S4 users,
The S4 is a phone with great performance but after testing latest lollypop I9505ZHUHOK2 on the S4 i come to the conclusion that lollypop will never run as smooth as kitkat XXUGNK4 and have the same battery use, i still read that many users have the same experience as i have and are also saying goodbye to lollypop, the reason i open this thread is that lots of good kitkat mods and info is very cluterd around and i would like to exchange info to let the S4 running at his best with Kitkat, i am very close in doing that but maybe i missed some good tweaks or mods that gets the most out of the S4, hence i will post my config and mods and running rom hoping other users do the same so we can all use the S4 at his best.
Rom : Goldfinger Kitkat V9 http://forum.xda-developers.com/galaxy-s4/i9505-develop/moving-please-post-t2864816
Kernel : AELKernel v6 5B http://forum.xda-developers.com/showthread.php?t=2711416
Tweaks : Skynet http://forum.xda-developers.com/android/software-hacking/android-l-booster-1-soon-t3030796
Xposed and wanam Well known so no need for link
I have installed every kitkat rom available but always returned to Goldfinger rom because of its stabillity and S5 layout, i have undressed the rom to bare minimum, no google and no samsung apps or services other then samsung health app, for email i use exchange push and samsung browser for internet browsing and i have a total of 41 apps installed.
I am trying to keep all at minimum what i need so no apps to control the kernel settings or other tweaks as they use resources and memory, i have modified Skynet mod to control all CPU and GPU settings and S4 related kernel and system tweaks and mitigate just to one script and that works flawlessly.
Tweaking the system to it best (i think) with antutu benchmark score of 31250 and a great battery life of 6+ hours of movie watching and 5+ hours of normal use with wifi on or with LTE on, this is done by fine tweaking system without restricting the CPU (162 - 1890 MHZ) or GPU (128 - 450) other than under volt CPU, GPU and under clocking the CPU.
This log tweak list comes from the script when it is executed so you see quick overview of setting, i can’t put it up the package for download but i can put up the file you need to replace after installation of skynet.
Download and install skynet from http://forum.xda-developers.com/android/software-hacking/android-l-booster-1-soon-t3030796 and replace after installation the init.d script file skynet2 from this post and remove all scripts except control, skynet2 and supersudeamon script.
Tweaks and settings are done on the mentioned kernel and rom above, use it at your own risk.
========================================================================
=====* Scolling Cache = Disabled...
=====* Scroll Speed 2 = Activated...
=====* Kernel VM = Activated...
=====* Large Entropy = Generated...
=====* MFK = Activated ( 9280 )...
=====* LMK = Activated ( 13824,18432,37120,97536,102144,111360 )...
=====* Debugging Disable = Activated...
=====* Multicore Power Saving = Activated...
=====* Dyn_fsync = Activated...
=====* Scheduler Adjustments = Activated...
=====* TCP IP Tweaks = Activated...
=====* Zram Disabled...
=====* Lionheart Governor & Sleep Governor Smartass set...
=====* Logcat Disabled...
=====* SD Tweaks added...
=====* Gentle Fairsleepers Disabled...
=====* GPU Clock and Voltage Set...
=====* Ondemand GPU Governor Set...
=====* CPU Min and Max Frequentie Set...
=====* CPU Voltage Set...
=====* TCP Congestion Westwood set...
=====* Frandom Module loaded...
=====* Sound and Mic Gain Set
=====* Force Fast Charge
=====* KSM = Activated...
=====* Renice Dumpsys...
=====* Renice Zygote...
=====* Renice Kswpd0...
=====* Renice Loop...
=====* Renice SurfaceFlinger...
=====* Renice Binder...
=====* Control Groups Processes...
build.prop tweaks
==============
See attached file to download
I am not at all responsible for inventing or creating these tweaks i just collected them and spend lots of time changing, testing it and implementing it on the S4, all credits goes to k1ks for his skynet project wich makes your phone fly on less fuel and makes it fast and smooth as butter.
If you have any questions please feel free to ask.
Cheers
Added download link modem from XXUGNK4. http://www.filedropper.com/i9505xxugnk4gsmandltemodem
twrp backup system, put this file on your sd card twrp backup folder and restore system, clear cache and dalvik cache and clear data, wait for first boot and let it settle for 30 seconds then reboot to execute the scripts and your good to go. when you clear cache someday you need to reboot after apps are optimized or else init.d scripts will not be executed they will after second boot. (This happens only when doing so, normal boots or reboots are fine.)
TWRP system backup http://www.filedropper.com/2015-12-26--12-52-14xxugnk4
CSC PHN only if you need other one please search for your CSC and replace it.

I'll give a try tonight. I read about that kk is better than lollipop but i didn't find all these settings. You got 6h SOT?
Then is worth trying your settings! Thanks a lot!

mafsi said:
I'll give a try tonight. I read about that kk is better than lollipop but i didn't find all these settings. You got 6h SOT?
Then is worth trying your settings! Thanks a lot!
Click to expand...
Click to collapse
As you can see from the attached screen shot 50% battery use and almost 4 hours screen on in 11 hours of use, this means at least 6 hours depending on what your doing with your phone like browsing and or social or what ever, i guess when gaming you will get 5 hours gaming time but i dont game other then backgammon or chess and you will have 8 hours of movie watching. (my screen backlight i have set to -1 )
I have also migitate system software so i use bare rom without google and samsung and all other for me useless services.
If anybody like to have it, i can make a TWRP system backup file available which you can restore on your phone, i use new modem version XXUHOF2 which is also better in battery use then kitkat version of the rom build i use.
Cheers

Qosmio- said:
As you can see from the attached screen shot 50% battery use and almost 4 hours screen on in 11 hours of use, this means at least 6 hours depending on what your doing with your phone like browsing and or social or what ever, i guess when gaming you will get 5 hours gaming time but i dont game other then backgammon or chess and you will have 8 hours of movie watching. (my screen backlight i have set to -1 )
I have also migitate system software so i use bare rom without google and samsung and all other for me useless services.
If anybody like to have it, i can make a TWRP system backup file available which you can restore on your phone, i use new modem version XXUHOF2 which is also better in battery use then kitkat version of the rom build i use.
Cheers
Click to expand...
Click to collapse
It would be nice to have a backup. Also can you point me to gnk4 modem and bootloader? I have only gnk2.
Thanks!

Thank for sharing.
I have a 9505 since september, and battery's life is very horrible on this device...., but your right kitkat is a way better for battery (5 hours SOT for me:100% to 20%). I talk about CM11 between CM12, because i hate TW (personnal feeling). Did you ever try Cm13, there are a lot improvements specially for battery and speed....
But i check your "build.prop" and i never tried this settings: IPV4Tcp mem, rem, wem,...; net core max...; keepalive intvl, etc, .. in /proc/sys/net ( i always tweak manually, no offense). Did them improve your speed bandwitch, and battery when you stream (my principal use)
Thank in advance.

glarage said:
Thank for sharing.
I have a 9505 since september, and battery's life is very horrible on this device...., but your right kitkat is a way better for battery (5 hours SOT for me:100% to 20%). I talk about CM11 between CM12, because i hate TW (personnal feeling). Did you ever try Cm13, there are a lot improvements specially for battery and speed....
But i check your "build.prop" and i never tried this settings: IPV4Tcp mem, rem, wem,...; net core max...; keepalive intvl, etc, .. in /proc/sys/net ( i always tweak manually, no offense). Did them improve your speed bandwitch, and battery when you stream (my principal use)
Thank in advance.
Click to expand...
Click to collapse
Hi,
Yes i tried all CM versions but i dont like cm as you dislike tw your right about tcp settings every connection is different but in general its good, one setting is good for internet download and so on and other setting is good for ntfs network browsing what i do a lot, the settings i use are good performance between those two i use.
If you have settings you are using and they are top performing your welcome to share.
Cheers

Yes i tried all CM versions but i dont like cm as you dislike tw your right about tcp settings every connection is different but in general its good, one setting is good for internet download and so on and other setting is good for ntfs network browsing what i do a lot, the settings i use are good performance between those two i use.
If you have settings you are using and they are top performing your welcome to share.
Cheers[/QUOTE]
My tweaks are not so complete like yours and i have to test, first: "net.tcp.buffersize" and "/proc/sys/net/"
But my "best" tweak was to live without the Service Google Play. A MUST :good:

glarage said:
Yes i tried all CM versions but i dont like cm as you dislike tw your right about tcp settings every connection is different but in general its good, one setting is good for internet download and so on and other setting is good for ntfs network browsing what i do a lot, the settings i use are good performance between those two i use.
If you have settings you are using and they are top performing your welcome to share.
Cheers
Click to expand...
Click to collapse
My tweaks are not so complete like yours and i have to test, first: "net.tcp.buffersize" and "/proc/sys/net/"
But my "best" tweak was to live without the Service Google Play. A MUST :good:[/QUOTE]
great let me know if it works for you, i agree on removing google play, it save you a lot of battery and privacy, that was the reason i stripped the rom down to bare metal with privacy and battery savings (and fun fiddeling on the rom to gain performance).

Strange. V9 Rom is not booting...It stais in bootloop

mafsi said:
Strange. V9 Rom is not booting...It stais in bootloop
Click to expand...
Click to collapse
The backup or the original rom? Which kernel?

The original rom. Tried different kernels. Still stuck at samsung logo for 30 min.

You r right brother. May I used many lp base custom rom for 9505 but battery and some other issues. So back kk last 2 month with variable kk rom like cardhd, Imperial, echoe, phoneix etc.now I have myba rom with UNG2 modem and bl. I don't used goldfinger rom before.but now trying it.one help plus my phone current status here.can I flash this rom without Chang bl and modem? I know this question post in rom thread but I hope u suggest me here.thanks....

mafsi said:
The original rom. Tried different kernels. Still stuck at samsung logo for 30 min.
Click to expand...
Click to collapse
Strange, did you had a clean data install? What you can try is to install a fresh install of a kernel.

chashmaa said:
You r right brother. May I used many lp base custom rom for 9505 but battery and some other issues. So back kk last 2 month with variable kk rom like cardhd, Imperial, echoe, phoneix etc.now I have myba rom with UNG2 modem and bl. I don't used goldfinger rom before.but now trying it.one help plus my phone current status here.can I flash this rom without Chang bl and modem? I know this question post in rom thread but I hope u suggest me here.thanks....
Click to expand...
Click to collapse
Yes you can, i have bootloader and modem from lollypop.

Qosmio- said:
Strange, did you had a clean data install? What you can try is to install a fresh install of a kernel.
Click to expand...
Click to collapse
I managed to install the rom flashing alucard kernel. The rom however has lag when opening apps, also from 100% to 80% dropped using 44 min SOT. This rate I have on stock lollipop firmware, so i didnt see any major changes.

mafsi said:
I managed to install the rom flashing alucard kernel. The rom however has lag when opening apps, also from 100% to 80% dropped using 44 min SOT. This rate I have on stock lollipop firmware, so i didnt see any major changes.
Click to expand...
Click to collapse
With standard install of the rom you have at least 4 hours sot (without tweaks) so there must be something what isn't correct, if your phone runs only on alucard maybe there are other files from previous kernel or something left on your phone that drains your battery and you cannot boot with other kernel, look for cleaning script of kernel leftovers. Many kernels dev's uses different files what they install on your system.

I've tried this ROM (+AEL kernel + Skynet tweaks without Qosmio's ones) . I've just got my GS4 si I can't compare)
1) I don't have "LED notifications" menu. I think it's due to Goldfinger ROM.
2) If the battery is good when screen is off, I'm quite disappointed by this device when screen is on. One of best way to judge battery drain is this app (for me): https://play.google.com/store/apps/details?id=com.WazaBe.android.BatteryDrain
And look when screen is on (ok I was using GPS, but it's always like that): As soon as I use screen, -30% by hour.
Can you install this app (clean, no battery drain, no strange permissions, no ads) and report your finding ?
I'm afraid it's just the side effect of Amoled + 1920x1080.

Related

[GUIDE] Battery Guide Roughly 120-150% More Battery based on GB Stock Battery

I can't Garantee that This guide will give you 120-150% battery life it is all on the usage of the phone
but i get around 150% whit Bernies Pacman rom
first do we need to install some Apps all apps are free so no worries
1.Android tweaker
2.Greenify (Optional but higly Recommended)
only search for these apps on Gplay (yes i am lazy)
Let's start whit the General setting for all kind of rom's
open up android Tweaker (make an Rom backup before if you are uncertain of this app or maybe this Guide there is many more Good options in this app but i am lazy and don't Want to write them because they aren't Battery related so check around)
go to the Battery tap and klick on
1. increase deep sleep battery life
2. disable power collapse
3. disable media scanner
For CM10 roms whit Performance tab go to Kernel Tab in android Tweaker and Choose Conserativ(Battery)
but make my CM 10 steps first if you don't have you Cpu Gov on Conservativ already
For CM10 roms that have performance tab (will probably work on other Roms to like ICS but i don't know)
1.set I/O To Noop
2.set Cpu Gov to Conservativ
3.activate Kernel Sampling merging
4.set Zram to 0%
And Last if you installed Greenify use it on all the apps who have some kind of Background process that you don't Really need to have Activated allt the time Saves a lot of Ram and Battery
This is my way of Optimising if you have any improvments or something that you want to be in this Guide sen me a PM
(i may have made some misstake or Forgot something becasue my performance tab is kind of gone and i am to lazy to Flash the Newest update)
Thank you:laugh::good:
Wow that was a Quick Response

[Post your benchmark] Simple Antutu video (N7 2013 vs N5 vs Moto G vs Xperia S)

Hello guys,
Here is a simple video to show benchmark scores in Antutu between four devices:
- Nexus 7 2013: CleanROM 3.5 (Kitkat 4.4.4), ElementalX kernel
- Moto G Gpe: Stock rooted 4.4.2 Google play edition, stock kernel
- Xperia S: Stock 4.1.2, stock kernel
- Nexus 5: Stock 4.4.3, stock kernel
Link: http://www.youtube.com/watch?v=e8Q7PORuxi0
Thanks for watching !
Cool video, well made!!
SM-G900F
Alliance ROM
KT Kernel OC to 2.89Ghz
Antutu: 42672 (#2 overall)
n01z said:
Cool video, well made!!
SM-G900F
Alliance ROM
KT Kernel OC to 2.89Ghz
Antutu: 42672 (#2 overall)
Click to expand...
Click to collapse
Well thank you !
Nice score :good:
lulu14150 said:
Well thank you !
Nice score :good:
Click to expand...
Click to collapse
Thanks, right back atcha!! I think I'm the first S5 to break 42K, if I combined all of my best individual catagory scores, I would break 44K.. Got some work to do, got a bunch of tweaks lined up that I haven't tested yet, I think I'm gonna wait for some others to catch up.. or until I get bored again!!
---------- Post added at 07:11 PM ---------- Previous post was at 07:04 PM ----------
The settings that I use on my overclock (OC) are borderline stupid dangerous. And the settings I use to bench are straight up dangerous. For this reason, I will not be sharing them.
HOWEVER, You can find my non-overclocked faux settings here:
https://plus.google.com/app/basic/stream/z13tu3aq0krxchnnv234jdkbrnzrvlpcq
These settings scored 38256, no OC, AEL Kernel controlled by fauxclock.
Note: What we are doing here can result in you frying your snartphone- not worth it just to get a ranking.
For me, I just can't help but to experiment and push my device to it's limits. HOWEVER, my benchmark settings differ from my daily use settings, slightly (for stability) because I love my S5 and would possibly cry if we were to have to part!!
I'm going to share some of my best benching tips (no "tricks" just my observations)
1. Make sure that your Kernel control app has a boot delay of at least 20 seconds. (Mine is at 30 seconds, remember-patience is a vitrue!!)
2. Completely dim your screen, put your phone into airplane mode, disable any motion gestures.
3. Turn phone off for 5 min.
4. Boot your phone, but don't touch it, just let the lockscreen time out, wait 2 minutes, unlock the phone and let it sit for another minute.
5. Do not flip screens or pull the notification bar (we want to NOT trigger any background processes, so turn off any motion gestures- because they are using the CPU while monitoring your sensors and be sure to leave your default homescreen free of widgets).
6. Open Antutu, wait about 30 sec..
7. Click Test Again then uncheck Optimize Memory (your ROM should already have optimized memory and I assure you thay Antutu doesn't know your device better than the OEM or Custom ROM devs) Now, wait about a minute and a half..
8. Click TEST then don't touch/move your phone until it's done..
More Notes:
Make sure that you only ever change one parameter at a time and be sure to run a CPU Monitor when you do, to see the affects of each change..
Reboot inbetween every bench and turn your screen brightness to MIN before you reboot to bench..
Also, I recommend to try running a CPU Monitor once or twice while you run a bench in antutu so you can get an idea of how long it takes for antutu's CPU use to chill out, (same can be done after boot to find out what your device likes, since I've never had any samsung bloat- as I rooted and flashed custom ROMS and Kernels the first day I got my S5- I literally have no experience with Stock)..
Also, running a CPU Monitor when you are getting low benches will help you see if it's being thermal throttled during a bench (throttling has caused me to score as low as 32K) and it will give you the best idea of what may be going wrong and where.
I actually know very little about Kernels, I am just patient, never give up and trial and error sweetspots until I get what I want..
Extra Note: Sweetspots vary from each individual device, so ya just gotta keep at it!!
P.S. These tips should work/help with any benching app.
SM-G900F
Alliance ROM
KT Kernel OC to 2.89Ghz
Antutu: 42672 (#2 overall)
n01z said:
Thanks, right back atcha!! I think I'm the first S5 to break 42K, if I combined all of my best individual catagory scores, I would break 44K.. Got some work to do, got a bunch of tweaks lined up that I haven't tested yet, I think I'm gonna wait for some others to catch up.. or until I get bored again!!
---------- Post added at 07:11 PM ---------- Previous post was at 07:04 PM ----------
The settings that I use on my overclock (OC) are borderline stupid dangerous. And the settings I use to bench are straight up dangerous. For this reason, I will not be sharing them.
HOWEVER, You can find my non-overclocked faux settings here:
https://plus.google.com/app/basic/stream/z13tu3aq0krxchnnv234jdkbrnzrvlpcq
These settings scored 38256, no OC, AEL Kernel controlled by fauxclock.
Note: What we are doing here can result in you frying your snartphone- not worth it just to get a ranking.
For me, I just can't help but to experiment and push my device to it's limits. HOWEVER, my benchmark settings differ from my daily use settings, slightly (for stability) because I love my S5 and would possibly cry if we were to have to part!!
I'm going to share some of my best benching tips (no "tricks" just my observations)
1. Make sure that your Kernel control app has a boot delay of at least 20 seconds. (Mine is at 30 seconds, remember-patience is a vitrue!!)
2. Completely dim your screen, put your phone into airplane mode, disable any motion gestures.
3. Turn phone off for 5 min.
4. Boot your phone, but don't touch it, just let the lockscreen time out, wait 2 minutes, unlock the phone and let it sit for another minute.
5. Do not flip screens or pull the notification bar (we want to NOT trigger any background processes, so turn off any motion gestures- because they are using the CPU while monitoring your sensors and be sure to leave your default homescreen free of widgets).
6. Open Antutu, wait about 30 sec..
7. Click Test Again then uncheck Optimize Memory (your ROM should already have optimized memory and I assure you thay Antutu doesn't know your device better than the OEM or Custom ROM devs) Now, wait about a minute and a half..
8. Click TEST then don't touch/move your phone until it's done..
More Notes:
Make sure that you only ever change one parameter at a time and be sure to run a CPU Monitor when you do, to see the affects of each change..
Reboot inbetween every bench and turn your screen brightness to MIN before you reboot to bench..
Also, I recommend to try running a CPU Monitor once or twice while you run a bench in antutu so you can get an idea of how long it takes for antutu's CPU use to chill out, (same can be done after boot to find out what your device likes, since I've never had any samsung bloat- as I rooted and flashed custom ROMS and Kernels the first day I got my S5- I literally have no experience with Stock)..
Also, running a CPU Monitor when you are getting low benches will help you see if it's being thermal throttled during a bench (throttling has caused me to score as low as 32K) and it will give you the best idea of what may be going wrong and where.
I actually know very little about Kernels, I am just patient, never give up and trial and error sweetspots until I get what I want..
Extra Note: Sweetspots vary from each individual device, so ya just gotta keep at it!!
P.S. These tips should work/help with any benching app.
SM-G900F
Alliance ROM
KT Kernel OC to 2.89Ghz
Antutu: 42672 (#2 overall)
Click to expand...
Click to collapse
Thank you for sharing your configuration !
My Nexus 7 2013 configuration:
- ElementalX Kernel (1,7GHz CPU, 490MHz GPU and a small undervolt --> Perferct for daily use)
- Rom CleanROM (just with Forced GPU 2D rendering in Developer Options)
Score between 26k and 27k

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

Disable 2 cores for the s810

Considering the fact that every s810 phone out there has over heating issues apart from the one plus 2 because time was actually spent on that phone would it be possible to disable 2 or even 1 core(s) on the s810 to get rid of the heating issues or can that only be done by Sony. You must think i am stupid but hey oh i am just uncomfortable with all the heat i don't mind a bit of performance loss when i know my phone does not feel like its being barbecued.
https://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879
I use this work from rytekk on mm and nougat it is flawless, you have control over cores annytime above 30% battery, if below then z5 takes over...
Oh... Stock roms tested ?
stipi69 said:
https://forum.xda-developers.com/xperia-z5/general/tweak-improve-performance-reduce-t3387879
I use this work from rytekk on mm and nougat it is flawless, you have control over cores annytime above 30% battery, if below then z5 takes over...
Oh... Stock roms tested ?
Click to expand...
Click to collapse
Thx for the reply but could you possibly elaborate further what do you mean because I have installed this before in the sense it would make it faster but not disable 2 cores or under preforming like just tell me what I have to do with this so I can underclock / disable 2 cores
Quantumkk123 said:
Thx for the reply but could you possibly elaborate further what do you mean because I have installed this before in the sense it would make it faster but not disable 2 cores or under preforming like just tell me what I have to do with this so I can underclock / disable 2 cores
Click to expand...
Click to collapse
I dont know the whole science about thos but i folowed the manual, pushed these file in correct folders and rebooted... I use kernel aduitor, app that alpows me to disable or enable cores as i choose ( except if phone is thermal throttling or battery below 30%) now i go to workf iy dou don't do it till evening i can at least telly you how i did it step by step...
stipi69 said:
I dont know the whole science about thos but i folowed the manual, pushed these file in correct folders and rebooted... I use kernel aduitor, app that alpows me to disable or enable cores as i choose ( except if phone is thermal throttling or battery below 30%) now i go to workf iy dou don't do it till evening i can at least telly you how i did it step by step...
Click to expand...
Click to collapse
Oh ok makes more sense so lemme get this straight copy the filez to system etc then reboot. Then go onto kernel auditor and turn off cores of my choice as it's enabled them?
Ok i have those files renamed and ready at my dropbox, just copy them in /system/etc
Make sure to backup original files...
https://www.dropbox.com/sh/ue4bbik61aair9u/AADLznjHZzmExXbiSnZ_iTkra?dl=0
Now reboot
And if you want total control rename thermal-engine.config to:
thermal-engine.configdisabled
Reboot
Now you have control over cores, again if battery above 30% or ifphone is not thermal throttling
It allso takes some knowing in kernel aduitor if you wish i can screenshot my settings
I allso sugest some good cpu governors tp make the mpst of it, you have some in androplus kernels for marshmallowi think, not sure for nougat, and you can allso add then manualy
stipi69 said:
Ok i have those files renamed and ready at my dropbox, just copy them in /system/etc
Make sure to backup original files...
https://www.dropbox.com/sh/ue4bbik61aair9u/AADLznjHZzmExXbiSnZ_iTkra?dl=0
Now reboot
And if you want total control rename thermal-engine.config to:
thermal-engine.configdisabled
Reboot
Now you have control over cores, again if battery above 30% or ifphone is not thermal throttling
It allso takes some knowing in kernel aduitor if you wish i can screenshot my settings
I allso sugest some good cpu governors tp make the mpst of it, you have some in androplus kernels for marshmallowi think, not sure for nougat, and you can allso add then manualy
Click to expand...
Click to collapse
yh thanks would be appreciated to see your settings but i copied the files from the post i will try yours now but the one from the post gave me no control over kernel auditor, however a friend told me it can be done via kernel and odex..? if you know this way please explain if not i will try the configdisabled thing and see if that works thanks again
Still getting a really hot phone
Sory to hear that, i guess it comes up to all factors than annyone can forsee... Best i could do with those files and with greenify was super cool phone almost no drainage, but when working ( if so choosen) it was a performer and yes... Scorched hot
If you wish to have good nougat rom flash xz2 rom from xnoob, leave /system/etc as is, change nothing i am amazed how cool it runs and how great it performs... Battery life best till now for me, But do a clean install,
An easy way to reduce heat is to adjust hotplugging thresholds for the big cores (you'll need root of course). You can do that easily through Kernel Adiutor in the CPU Hotplug settings. Lower the "minimum cpus big" and raise the "busy up threshold". If you really don't want your big cores on just set busy up threshold to 100 or something.
I personally have mine set to 0 minimum and 87 busy up threshold. You'll need to make an extra adjustment to get 0 minimum big cpus to stick, otherwise it will revert back to the default of 1. (note: I'm on the latest stock rom)
Also, setting your cpu governors to interactive and fine tuning the parameters will further reduce heat.
Thx for that I am using the xz2 Rom lol could you send me a pic of the kernel auditor settings?
Quantumkk123 said:
Thx for that I am using the xz2 Rom lol could you send me a pic of the kernel auditor settings?
Click to expand...
Click to collapse
Sure
crono9977 said:
Sure
Click to expand...
Click to collapse
Thx for the pic but I can't seem to find the core control option lol please tell me how you go there and also cool nav bar
stipi69 said:
Sory to hear that, i guess it comes up to all factors than annyone can forsee... Best i could do with those files and with greenify was super cool phone almost no drainage, but when working ( if so choosen) it was a performer and yes... Scorched hot
If you wish to have good nougat rom flash xz2 rom from xnoob, leave /system/etc as is, change nothing i am amazed how cool it runs and how great it performs... Battery life best till now for me, But do a clean install,
Click to expand...
Click to collapse
Yh lol thanks but I have installed the xz2 Rom and yh it was quite good but I was trying to eliminate the heat whilst the good performance oh well but anyway I kinda need those files from the xz2 because mine our kinda messed up now it would be appreciated if you sent me them via Google drive mega mediafire etc so I can redownload those files and not the whole rom thx
crono9977 said:
An easy way to reduce heat is to adjust hotplugging thresholds for the big cores (you'll need root of course). You can do that easily through Kernel Adiutor in the CPU Hotplug settings. Lower the "minimum cpus big" and raise the "busy up threshold". If you really don't want your big cores on just set busy up threshold to 100 or something.
I personally have mine set to 0 minimum and 87 busy up threshold. You'll need to make an extra adjustment to get 0 minimum big cpus to stick, otherwise it will revert back to the default of 1. (note: I'm on the latest stock rom)
Also, setting your cpu governors to interactive and fine tuning the parameters will further reduce heat.
Click to expand...
Click to collapse
thanks for explaining, it will help me further tweak my phone as i like

Categories

Resources