yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] aldreiaan:
Why is that when I'm looking at ktweaker 4 cpu is always online? It never goes down. Can someone enlighten me with this? I'm using the 8.28 version with PA ROM. Thanks!
[Galaxy S 4 i9505 Original Android Development] donalgodon:
I don't have that with 8.28 on CM, so it's likely to be something with your settings or ROM combination. What are your settings?
[Galaxy S 4 i9505 Original Android Development] aldreiaan:
I was using ktoonsez settings that time, but it seems I messed something up while applying the settings. What I did was reinstall the kernel and input again the same settings as of ktoonsez and everything works fine again. My bad :)
[Galaxy S 4 i9505 Original Android Development] ad346:
Hey guys,

I'm running KT Kernel the latest one as well as PAC-man Rom.

I just wanted to clarify if my battery drainage is normal or what i can do to make it more efficient? settings for the kernel are luigi's settings from op of this thread.

40% battery drain in 2 hours, im sure thats not normal?
[Galaxy S 4 i9505 Original Android Development] kantjer:
Your screen used 81% of that 40% drain, not much the kernel can do about that.

Go sit in the shade and tone your screen brightness down, that will help a lot.

And without telling us how long your screen was on during that period these numbers don't tell anything. If your screen was turned on for that whole 2 hour period those numbers are OK.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
I wonder if it is also possible to somehow undervolt the OLEDs without having lower brightness? :confused:

L
[Galaxy S 4 i9505 Original Android Development] Milamber:
That depends on two things.

Was your phone bought online and is it black? :eek:
[Galaxy S 4 i9505 Original Android Development] Fauert:
[MENTION=2802164]Milamber[/MENTION], Where do you get it from.... ^o^

Ho-ho-hiy
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
Huh? I assume that was a joke I didn't understand?
[Galaxy S 4 i9505 Original Android Development] Vihru:
when you share your best battery settings? :p
[Galaxy S 4 i9505 Original Android Development] Fauert:
Sure, just a joke, ^_^
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I'll post my settings (and some extra settings for even better battery) tomorrow. No time sorry :/

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] Vihru:
when you upload it? :highfive::D:fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
About half an hour

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] Mushoz:
Thanks for this awesome kernel! I'm enjoying it a lot, although it seems like I've run into a very weird problem. The I/O Scheduler "CFQ" is gone from the list of I/O Schedulers and I swear it was there before. It should be there, right? Even loading kernel defaults reverts to the "CFQ" Scheduler, but Ktweaker will keep complaining that the Scheduler that is set, isn't the current scheduler. If I click to set it now and close/reopen Ktweaker, the exact same message comes up again, so it looks like it isn't able to set the CFQ Scheduler. These problems started after I enabled the power saving option on my i9505.

I'm running:

Default ROM Samsung TW ROM

Rooted via CF autoroot

Philz Recovery

Ktoonsez 25-08 4.2.2 TW Kernel

What I've tried:

-Disabling power saving again

-Rebooting

-Wiping program cache & Dalvik cache

-Reflashing the kernel and then wiping program and dalvik cache

-Wiping Ktweaker cache

-Reloading kernel defaults

I'm at a loss here. Does anyone happen to know what's causing my problem? Thank you very much in advance!
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
So...

My settings for better battery/performance.

First of all be sure you have the latest kernel and the latest version of your rom.

You need:

-greenify

-betterbatterystats

1. Greenify apps like facebook, maps, fb messenger and some other apps (angry birds) that always kill performance/battery in background. (I greenified all apps except nova launcher but that should be clear lol)

2. Install betterbatterystats (for battery info)

3. Disable unneeded location services (google)

4. Try different modems if your reception isn't that good.

5. Switch to 2G if you have a bad 3G signal (I always have 3G enabled)

6. Disable unneeded syncing (emails,...)

Ok now to the kernel settings (default at beginning!):

1. Limit Cpu Max Frequency to 1.782 ghz (you don't need 1.9 ghz, the htc one has 1.728 ghz and is fast as hell) -> less heat, longer same performance (no thermo throttling) -> better battery.

2. Min Cpu 384 mhz (lower is too low 'cause when playing music it goes higher than 384 and needs more battery)

3. Row scheduler

4. Ktoonservativeq scheduler (touchboost to 1 ghz or 1.1 ghz ( I have it at 1.1). The lower you set the touchboost the more battery you get but device becomes laggier, touchboost for all cores to 0 for battery and 1 for more performance (I have it at 1), sync extra cores 1 for a little better battery and 0 for some better performance, everything else on default.

5. Voltages -25 to -30 uv for cpu, default for gpu 'cause the device gets laggier if gpu has to low voltages (but you can set it you -25 uv if you like)

6. Gpu frequency at 450 max (if you don't play games 320 would be enough if you want better battery), scheduler ondemand (simple for better performance BUT more battery use)

7. Gentle fair sleepers disabled

8. When screen off max 486 mhz, gpu max 200 mhz.

If I missed some settings I'll add them. Have fun.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] islipfd19:
These are mine, I've left it overnight unplugged and saw a 0.9% decrease in battery over the course of 10 hours. I do see a lag at times when waking the phone but it's tolerable for me.

-greenify (greenified all but system apps, donate version)

-xposed framework (supports extra features in the donated version of greenify)

-DS Battery Saver

-betterbatterystats

1. General

Min 135Mhz & Max 1458Mhz

Scheduler = row

CPU Gov = dancedance

Auto Hotplug = Checked​

2. Voltages

GPU UV = Low @ 620mV, Nominal @ 725mV, High @ 825mV. I can go lower but then youtube doesn’t work and force reboots the phone

CPU UV = -30 for all steps​

3. Extras

Screen Off Profile @ 189Mhz

Disable Screen Off Mhz Call = Enabled

Screen Off Profile Governor = powersave

Screen Off Profile Scheduler = row

Screen Off GPU = 450

GPS Gov = powersave

Media/Music Min Mhz = 189 Mhz

Bluetooth Profile Mhz = 189 Mhz

GPU Max Mhz = 545

GPU Gov = ondemand

Gentle Fair Sleepers = Disabled​
[Galaxy S 4 i9505 Original Android Development] muoino:
what??? you uv GPU 325mv??? :eek:
[Galaxy S 4 i9505 Original Android Development] islipfd19:
Yes, it's UV'd -325mV. It could go a bit further but youtube stops working.
[Galaxy S 4 i9505 Original Android Development] override182:
GPS gov to power save? Does it mean it will drop to lowest clock when GPS is running? I'll put it into something more conservative since I play ingress :eek:
[Galaxy S 4 i9505 Original Android Development] islipfd19:
Yes, I haven't had the chance to play with that setting very long. When I've had it set to conservative, the batt drains faster than it can charge when plugged in my car with fast charge enabled.
[Galaxy S 4 i9505 Original Android Development] OrionBG:
Hello ktoonsez

I have a strange problem! Every time I flesh your kernel (and by the way every custom kernel) my phone becomes unreliable, slow, hangs/restarts during tests and so on... I can't explain it at all!

My config is Stock rooted MGA with no other mods at all! every time I install your kernel (no matter the version) or any other custom kernel I get micro stutters in the TW interface a really big performance hits in every benchmark I use, restarts during Antutu runs....

Any ideas why this is happening? I have some suspicions that there is something wrong with the voltage tables ( voltages seems to low for my device... I don't know... I can't explain it) Oh and by the way, every custom kernel I try is after a complete reflash of the stock rom so no leftovers from the different kernels!
[Galaxy S 4 i9505 Original Android Development] andyjg247:
OrionBG you could try resetting the voltages back to defaults to see if that fixes the reboots. To be fair though I've not seen those sort of issues myself. Does the phone work OK on stock kernel?
[Galaxy S 4 i9505 Original Android Development] OrionBG:
After the first unexpected reboot I went in the KTweaker app and used "Load Defaults" - no change! The system still unstable! With the stock kernel the are no problems at all! And about performance: Antutu 4 on stock kernel: 27595 and on letest KT: 22465 !! The system is visually sluggish and all combinations on CPU/IO schedulers I tried can't make up the loss in performance/stability!
[Galaxy S 4 i9505 Original Android Development] ghira283:
excuse my English translated test so open kt weaker-general oc-tick-tick auto-hotplug scheduler sio-ondemand governor-extras-gentle fair-disabled
[Galaxy S 4 i9505 Original Android Development] OrionBG:
This didn't help!
[Galaxy S 4 i9505 Original Android Development] muoino:
I remember someone posted that gpu uv is not working. I load the stock voltage, apply it, then try to decrease voltage until all reach 0mv or even below zero. And my device still works without problem. Well, don't know what is happening.

(I'm using TW 4.2.2 version)
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Feel the same :/ [MENTION=4325945]ktoonsez[/MENTION] guess gpu voltage settings aren't good for the kernel :(

Did you miss some cm commits?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
For me all is fine. I have set gpu to max 545 right now and the voltages are 600, 700, 825.

And they are defenetly working, because if I set it to 627Mhz without changing the mV for High it crashes and reboots.

If gpu voltage is showing s.th. below 600mV there's anything wrong. Load stock table, then press apply and leave ktweaker. Then reenter it and check if you can slide it under 600mV.

L
[Galaxy S 4 i9505 Original Android Development] csec:
[MENTION=4325945]ktoonsez[/MENTION]

Here's a guide that you can link to OP.

Kernel features/parameters explained!
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Latest cm10.2, latest kernel, cpu uc to 1.782 ghz

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] OrionBG:
Here are some results that might shed some light:

Screenshot_1. Stock MGA Rooted. Stock kernel. No other mods

Screenshot_2. Stock MGA Rooted. KT kernel. default kernel settings

Screenshot_3. Stock MGA Rooted. KT kernel. kernel settings sett as ghira283 suggested in his/hers post.

Still, the phone heats up considerably more than on stock kernel and cant reproduce the same performance (and possibly battery life)
[Galaxy S 4 i9505 Original Android Development] hisname:
[MENTION=4325945]ktoonsez[/MENTION] I was thinking whether is setting screen off profile actually necessary? because my on my old device, here is what my kernel Dev said
[Galaxy S 4 i9505 Original Android Development] cal75:
My scores
[Galaxy S 4 i9505 Original Android Development] FlanjeUK:
Some govs are better for screen on and some are better for screen off, surely it's best that we have the choice...?

Sent from my 9505GTi - RootBox 4.2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
GPU voltage control is working just fine. The real limit will be be a max of 200 MV of UV. Anything else beyond that will cause a reboot eventually. U just need to be patient. The voltage change will only kick in when multiple MHz changes have occurred. [MENTION=243362]kurt[/MENTION]: not sure what u mean on CM commits? GPU voltage control is from me if that's what u r asking.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It all depends on the user. For me it saves roughly double the battery coupled together with my 90000 sampling rate in ktoonsevativeq while sleeping since I don't have intensive things going on in the background (TW ROMs would be different since those ROMs have over 300 services running at all times). Example: without those settings I would loose about .75 an hour. With those settings I only loose .33 to .5 an hour.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Do you have lags when you uv the gpu too much? What gpu governor do you prefer? Simple goes more often to max when there's scrolling/swiping. Ondemand goes to 200 and 128 mhz while scrolling..

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I use on demand. Yes I get lag when I go below 175 and even reboots. But like I said it does take time. I made it almoat a whole day at 175 UV then the lag showed up here and there and then a lockup and reboot, then later the next day a straight up lock and had to hold power button for 10 seconds. As of right now I backed up to 100 UV and no issues at all.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Any info what will be new in the next update? :)

I'll try gpu uv -50 and ondemand..

Edit: what do you use in mDNIe background mode? Auto or natural/standard?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Haven't had anytime to do anything new. Sick as a dog and still working 7 days a week :(. Made an attempt at swipe2wake but no luck yet.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Get well soon! And don't hurry.. Just one question, what do you use at mDNIe background mode? Auto? Natural?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] csec:
I go with - 100 but I got screen lockup once every 2 days. Auto reboot.

Maybe it's CPU UV? I go with - 75 on CPU. I will test further.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thanks man. I use auto.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Could be either. To truly debug u need to run stock CPU when debugging GPU and vice versa.
[Galaxy S 4 i9505 Original Android Development] csec:
Yes, I was going to do so.

But I suspect it is GPU. As I forced GPU rendering, and the screen kinda looked like hell for a moment before reboot. I had similar experience UVing GPU too much on HTC One X.

Am I right? Or still it could be either?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
That does sound more like GPU
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
[MENTION=4325945]ktoonsez[/MENTION]

This can't be normal!? 20-23 fps on that game on such a powerful device? No gpu uc, uv. Also no shadow under the car. Driver bug? Such an awful performance.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Really bad written app. It can't feed the data fast enough
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
You mean crazy taxi is a bad written app or the fps app?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] tanoxxx:
[MENTION=4325945]ktoonsez[/MENTION]
[MENTION=918582]guys[/MENTION]

Hi, sorry in advance for the question, but im looking for a kernel compatible with MIUI rom..

This kernel work on it?

Thanks
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Couldn't tell you which one it is. Either way its an app issue
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
All u can do is try. Miui does there own thing with closed source.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Guess it's crazy taxi 'cause it runs at locked 30fps on my old nexus 7. It runs much smoother. Qualcomm driver ****

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
If it works it should be the jizzer version, cause as I know MIUI is based off the devil

L
[Galaxy S 4 i9505 Original Android Development] tanoxxx:
Thanks, I will try it soon..

Sorry but I don't understand..
[Galaxy S 4 i9505 Original Android Development] FlanjeUK:
In this thread jizzer refers to TW/Sammy based ROMs

Sent from my 9505GTi - RootBox 4.2
[Galaxy S 4 i9505 Original Android Development] Kriomag:
GPU UV

will there be option to UV the GPU ? thx, best kernel so far for S4 :)
[Galaxy S 4 i9505 Original Android Development] David78130:
This is a joke ??

From my Galaxy S4 tuned with CM10.2/Ktoonsez kernel & Philz touch recovery.
[Galaxy S 4 i9505 Original Android Development] Kriomag:
no, so there is no possibility to UV the GPU? Previously i had S3 and i UV my GPU and CPU and phone was so much cooler when gaming.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
This feature is implemented yet :o

L
[Galaxy S 4 i9505 Original Android Development] Kriomag:
But i don see it in KTweaker :/ is it integrated with CPU UV ? CPU UV = GPU UV ? i can onle see GPU OC in KTweaker options.
[Galaxy S 4 i9505 Original Android Development] Lucius1972:
In KTweaker look under options voltages.

It's not hard to find.
[Galaxy S 4 i9505 Original Android Development] Kriomag:
i can see UV option in voltages, but it is only for CPU, steps from 81Mhz - 1890Mhz, but nothing about GPU UV.
[Galaxy S 4 i9505 Original Android Development] donalgodon:
You may want to make sure that you have the latest version installed. Some have reported that the KTweaker app did not get updated when they flashed, and that they had to remove it manually by deleting it with TB or some such method and then reflash the kernel. There is an update to 8.28 that includes the GPU UV options, but I think that it was present in 8.25 as well.
[Galaxy S 4 i9505 Original Android Development] Lucius1972:
It's already there. Just flash latest release.
[Galaxy S 4 i9505 Original Android Development] Kriomag:
thanks!

yep, it was this problem with KTweaker update :) i updated it manually and now thera are two options under UV, CPU UV and GPU UV :)

starting to test stable values now... ;)
[Galaxy S 4 i9505 Original Android Development] donalgodon:
Yes, it's there if the KTweaker tool is installed correctly in the flash, but the problem is that often (as the above user's experience and many others illustrates) this is not always the case, and it then requires a manual delete and reflash.
[Galaxy S 4 i9505 Original Android Development] muamers:
You will probably have to remove the old version with Titanium Backup, because it restores the old KTweaker app after reboot ... that was the case by me :)
[Galaxy S 4 i9505 Original Android Development] simondavies315:
Can we have an update pretty please. There have been lots of CM commits
[Galaxy S 4 i9505 Original Android Development] mbc663:
KT has stated he is under the weather and working seven days a week.
[Galaxy S 4 i9505 Original Android Development] Milamber:
here mate
[Galaxy S 4 i9505 Original Android Development] Kriomag:
another problem

GPU UV settings do not work, i can even set 0,7V and everything is working ok = UV is not working at all :/ damn it..
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
The last update from cm was on the 28th of august.. Already in the latest kernel.

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
1. go to gpu voltage control

2. press menu button -> load stock table -> click apply

3. leave KTweaker, then open it again, go to the gpu uv screen

4. Try again to undervolt. (best you set KTweaker to not automaticially apply settings on boot, set gpu to 627Mhz and then simply set the slider for HIGH in gpu uv to the lowest possible and aplly it)

L
[Galaxy S 4 i9505 Original Android Development] Kriomag:
the lowest possible setting is 0.600V i apply it for all 3 sliders and nothing, no freeze, no artifacts in 3D, no difference at all.

what do i do wrong? cpu UV is working perfectly, when i set too low values i get instan freeze and restart after few seconds.

i removed KTweaker folder from phones memory, i cleared KTweaker data in application manager, cleared cache and dalvik nothing helps. I use stock MGA.

Maybe busybox is required? but i don see for what :/

PS. GPU OC is also not working :/ even when i set 627Mhz and performance governor for gpu nothing changes, same results in opengl2 in antutu.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
But in the KTweaker app (I have version 4.9) you can see in the general screen that it defently doesn't go to 627Mhz? Have you tried simple govoner?

Also for me the gpu uv screen doesn't show 0.6V, it shows 600mV, and if I go under 1075mV with 627Mhz I get a render issues and then a reboot, so for me it's working.

I'm on cm10.2 and latest aosp version available trough OTA

L
[Galaxy S 4 i9505 Original Android Development] Kriomag:
ok, now after few minutes i also see glithes in rendering in launcher, so something is changed but why i can see any difference in 3D tests? what does KTweaker OC when setting GPU to 627Mhz ? 2D mode only? :/ i had 6600 in 3D in antutu, with 627Mhz i have the same result, 6600 :/ also with opengl es 2.0 in antutu i get same results, 4200.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
Don't know, but as I can live with 545 as max Mhz for gpu and 1,5Ghz for cpu I'm able to uv gpu to 600/700/825 for LOW/NOMINAL/HIGH

And cpu is at -50 across the board.

L
[Galaxy S 4 i9505 Original Android Development] Kriomag:
there is something weird with GPU OC and UV - UV is working like it isnt, and OC is also weird, when i use simple gov and set 128Mhz max i get 2200 in opengl in antutu, when i set 200Mhz i get 3300, when i set 320 as max i get 4100 and then 450Mhz i get 4100, and then i set 627Mhz and i get 4100 ... what is wrong? :/

For me there is no GPU OC and UV - no difference in scores or temperature... :(

When i had S3 with Siyah kernel every setting was clear, when i changed something it worked obviously/instantly and with possible to feel difference. I dont know if this is KTweaker fault or kernel or snapdragon platform, i just would like there was GPU OC UV possibility where i set 600Mhz and i get 5000 in antutu opengl test.

My guess is that GPU is working at max 320Mhz as i cant see any higher score in 3D with higher clocks set in KTweaker.

Why in GPU UV section there is only 3 steps for UV ? and what Mhz is this steps for? Min is what? 128Mhz? 200Mhz? can it be done as in CPU UV ? like:

128Mhz : 800mV

200Mhz : 900mV

320Mhz : 1000mV

450Mhz ... etc.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
Low is all up to 200Mhz, Nominal is 320 and high the set max Mhz.

Edit: I got 4215 with 545Mhz/ondemand and 4264 with545/simple in OpenGl ES2.0 test

L
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
GPU overclocking is working for me..

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] Kriomag:
ok

few hours of testing different settings and benchmarks and i can correct my answer, GPU OC is working, there must be something wrong with antutu.. ;) in 3dmark there is big difference when i set 600Mhz :) i get 12900 points :D i will test UV now. Sorry for all this misunderstanding from me.
[Galaxy S 4 i9505 Original Android Development] muoino:
I just did some tests about GPU uv with only the 'HIGH' voltage:

- I set the gpu governor to performance so that it will always run at the max gpu frequency that I set

1. When max gpu is set to 600 or 627, the limit for HIGH voltage is 1075mv. If I go lower, visual artifacts appear in KTweaker app and Youtube app, and phone may reboot.

2. When max gpu is set to 545 or lower, then I cannot find the limit for HIGH voltage. I set HIGH voltage to very low values such as 200mv, 300mv... but my phone does not have any problem, no visual artifacts, youtube, games run well.

So, in my opinion, maybe there is something wrong with gpu uv for 545mhz and lower.