yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] tschulieh:
+ 1 for the recommended settings for best battery life

Hey, it's the first time I installed your Kernel on my S4.Playing around since I have it, still searching for my perfect combination.

First impression, very good, no stuttering no lags with VictoryS4 Rom, lot of things to adjust. Made a clean install, will set up my S4 and observe.

But I'm a bit confused about one of your last posts :

4. If your on ktoonservativeq did you turn "sync_extra-cores" to a 0

5. If your on ktoonservativeq did you turn "touch_boost_cpu_all_cores" to a 0

but on the recommended setting on 1st page you advice to turn them to 1 :confused:

General -> Governor Adjustments Screen

sync_extra_cores=1

touch_boost_cpu_all_cores=1

Did I miss something? If I got it right, you recommend both for ktoonservativeq gov.

Would really appreciate some help there:highfive:
[Galaxy S 4 i9505 Original Android Development] saphirrot:
This Changelog is the ****ing best , it fixed all my problems. Got so much SOD´s that i got mad , but now its gone. The Screen on / off fix is also amazing. Please keep your work up, we need more of your type in here !!
[Galaxy S 4 i9505 Original Android Development] Abu-khulzat:
Hi,

The latest changes are amazing. My phone is very smooth and responsive. Thanks a lot.

Just one last thing is disturbing me a lot: 64Gb exfat sdcard write speed is too low with this kernel. I am getting abot 1-1.5 mb/s while on any other kernel I am getting around 7 mb/s.

What can you suggest to solve this bug?

Thanks a lot

---------- Post added at 11:52 PM ---------- Previous post was at 11:51 PM ----------

BTW, I am on TW Stock Rom
[Galaxy S 4 i9505 Original Android Development] frans777:
Try Omega rom ;)

In KTweaks in READ WRITE SD options where the recommended settings tells you to set it to 3072 decrease it to to 1000 or 2000 I dunno why but that way my card is faster
[Galaxy S 4 i9505 Original Android Development] Obagleyfreer:
Tried new kernel and the wake up lag is still present for me.

I actually thought my phone had turned itself off, I pressed the home button and it took about 4 seconds to wake up!

No idea why it's happening, I'm running CM10.1 nightlies.

It's a very small issue but thought I'd mention it :)
[Galaxy S 4 i9505 Original Android Development] PENKO956:
Hey ktoonz,

is there a way to implement a section in ktweaker where we can have several saved settings and can be changed at the push of one button. I know when i had my note2 with Neak kernel had 3 modes "Normal (default), Battery and Game mode". this would be a great feature to add to your kernel. just a suggestion. let me know what you think

https://code.google.com/p/neak-kernel-note2/wiki/uNEAKEngine
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Its already there in a way :D. Just make a backup naming them the way u want, then restore the proper one, done :good:. So 2-3 clicks, close enough :p
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Set "Screen Off Max Mhz" (its the 1st option) under "Extras" screen to "Scaling Max" and problem solved :good:
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Here is another method that helped out a butt-load of people today:

1. Force stop KTweaker, then clear App Data

2. Reboot

3. Open KTweaker and answer NO to all questions

4. BAM!!!! Your at default settings :good:

5. Now go in and setup my recommended settings from Post #3

6. If you want more speed, bump up the Touch booster a notch or 2

7. Need even more speed, change scheduler to ZEN!!!!!!

DONE :good: :highfive: :laugh: :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
[Galaxy S 4 i9505 Original Android Development] PENKO956:
thanks for your input. and great idea.
[Galaxy S 4 i9505 Original Android Development] Milamber:
Would it be possible to have an auto update feature in the app, so we can be notified when there is an update?
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I already have a very complex app just for that that does auto downloading if you choose all kinds of crazy ass cool stuff like flashing for you too but I have never found a way to utilize it and not break the AOKP ROM side of the code so they can both exist. Just dont have enough time to get it rolled in.
[Galaxy S 4 i9505 Original Android Development] Milamber:
No probs, it's not that important really since most of the guys and gals that use your kernel would check XDA regular I guess.
[Galaxy S 4 i9505 Original Android Development] steveman29:
Thanks I will try.:)

Στάλθηκε από το GT-I9505 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] PENKO956:
why didn't I think of it before (with jacky chan impression). now I can chuck norris my phone...
[Galaxy S 4 i9505 Original Android Development] tschulieh:
Sorry to push my post, but any statement would be great. Hope I didn't miss it
[Galaxy S 4 i9505 Original Android Development] Pfeffernuss:
+1 Interesting question, wondering about the same thing myself.

OT: your signature made me laugh "Press help if I thanked you" :p
[Galaxy S 4 i9505 Original Android Development] lzk123:
Any plans to add cool features to the kernel? Sound mod or something? Been using your kernel for quite a long time.:D
[Galaxy S 4 i9505 Original Android Development] rlorange:
[MENTION=4354056]KTOO[/MENTION]nz I noticed your zram setup is non-standard (simlink to /dev/block) and zram status app doesn't work ( permissions issue).

Also I've yet to see the swap actually get used despite opening ac tonne of apps...

Might be worth taking a look at? Unless it's an v issue unique to me
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Cm10.2 is around the corner.. Will kernel 24.7. be working or do we need another version? If we need another I'll stay with cm10.1. Cm10.2 WITHOUT your kernel isn't acceptable ;)

Gesendet von meinem GT-I9505 mit Tapatalk 4 Beta
[Galaxy S 4 i9505 Original Android Development] Tylog:
I am sure 4.2.2 kernel didn't work on 4.3 ( 10.2 )

GT-I9505 / Nexus 4 Tapatalk
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
On the Google Edition (not cm).

Gesendet von meinem GT-I9505 mit Tapatalk 4 Beta
[Galaxy S 4 i9505 Original Android Development] AndroidStop:
I think to do a good working kernel Ktoonz needs the sources... but kernel source for 4.3 is not released by Samsung atm, so as long as this is not the case we need to use the GE 4.3 kernel
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
I wonder why Samsung releases the kernels but avoids to share the source of their firmwares...
[Galaxy S 4 i9505 Original Android Development] rlorange:
Technically they haven't released it. The 4.3 rom contained a hernel of course but it was LEAKED. Once officially released they are legally obliged to release the source
[Galaxy S 4 i9505 Original Android Development] anjelika:
Mind share with us the settings for your profiles?

I'm interested more in battery saver and Chuck Norris but the others could be handy also .

Thanks!
[Galaxy S 4 i9505 Original Android Development] pitcher85:
.

My wifi is connected and apps like Chrome and Play Store are getting a connection.

But Whatsapp does not get a connection (is not receiving messages) as long as I don't send messages.

With a mobile data connection everything works fine.

Is this kernel related? Or ROM related? Is it a kind of deep sleep for the Wifi?

Any settings to change this?

.
[Galaxy S 4 i9505 Original Android Development] Tylog:
What's app works fine here with Wi-Fi.

GT-I9505 / Nexus 4 Tapatalk
[Galaxy S 4 i9505 Original Android Development] ryukisai:
I've read of this problem many times already. People concerned have many different setups so my guess is it's app related...

I can't believe the other apps are doing just good while this only one is stuck.

<edit>Have you tried clearing app data ?</edit>
[Galaxy S 4 i9505 Original Android Development] andreasy:
I configured ktweaks according to recommended in post #3. First impression, I noticed serious stutter in app drawer in nova. Which setting should i re-tweak ?

Edit

After reboot it resolved but I don't know for how long.

Also, in recommended settings max cpu is 1998. It should be 1890 I guess which is the maximum available.
[Galaxy S 4 i9505 Original Android Development] Abu-khulzat:
I have the same thing, there is huge lag (or stuteter) in the app drawer, and right after lag appears in the app drawer you can see it also on the desktop for some time.

I am on MGA stock rom and using ktoonsez recomded settings.
[Galaxy S 4 i9505 Original Android Development] ryukisai:
Charge current monitoring ?

Guys, what do you use to monitor your charging current ?

I'm currently using CurrentWidget from the play store but i don't find it very trustworthy.

Sometimes the currents reported are lower when fast charge is enabled than when it's not (looks weird).

Moreover the current when unplugged is not updated / wrong.

Thanks in advance for the input !
[Galaxy S 4 i9505 Original Android Development] maikinho10:
...Because he doesnt updated his personally settings..;)

Its important that these both settings are "0"

Greets Maik
[Galaxy S 4 i9505 Original Android Development] makomek:
The recommended ktweak setting got lag all over the place, it even won't wake up the phone couple time. I am using dafault setting now and everything is fine.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
What is sync extra cores? What is better performance wise? 0 or 1?

Gesendet von meinem GT-I9505 mit Tapatalk 4 Beta
[Galaxy S 4 i9505 Original Android Development] frans777:
Recomended settings

Well, If Ktoonsez doesnt update his recomended personal settings on the first page then it is impossible to find every single changed tweak or settings on a separate page cause its like 800 pages out there. I suggest that some one who followed and knows everything should re write a post with Updated Recomended Settings step by step ( including Kthermal, Gentle sleeper, all updated 0 and 1 settings) so people wont ask it again and again... Cause I lost It also at some point.. Thank you for understanding
[Galaxy S 4 i9505 Original Android Development] Abu-khulzat:
After setting touch boost all cores and sync all cores to 0 everything seems to be well. No stutter so far.
[Galaxy S 4 i9505 Original Android Development] drakexpl:
I'd be happy too if dev could update recommended settings. Thank you.
[Galaxy S 4 i9505 Original Android Development] Tergon:
I third that motion please update personal settings!!!
[Galaxy S 4 i9505 Original Android Development] svs57:
Does latest KT-SGS4-TW-JB-INTL-07-24-2013.zip LOKI patched.

I installed it on i337 and got

system software don't authorizied by at&t installed

I reflash previous version.

Also after reboot "fast charging" setting reset from true to false.
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
That fast charging get's reset on reboot is normal behavior

L
[Galaxy S 4 i9505 Original Android Development] LyuboA:
Wow this is just crazy I get 2000 points more on antutu bench. with 75 UV :)

Just love this kernel

GT-I9505 using XDA Premium
[Galaxy S 4 i9505 Original Android Development] PENKO956:
yes it is normal. something to do with mtp
[Galaxy S 4 i9505 Original Android Development] _PrEzi_:
It's a known issue with Whatsapp - update to latest version and your WIFI problems should be gone :)
[Galaxy S 4 i9505 Original Android Development] simondavies315:
I'm getting constant reboots using your settings ktoonsez on your latest AOSP kernel. I tried turning touch_boost_cpu_all_cores and sync_extra_cores to 0 but get constant reboots still. Ktoonservativeq governor needs fixing
[Galaxy S 4 i9505 Original Android Development] steveman29:
I just tried the method you described, but it's the same. It's like I swapped my pc's solid state drive with a 20 years old hard disk.:(
[Galaxy S 4 i9505 Original Android Development] Langduscher:
Everything is smooth here :good: I don't even get the wake up lag (which is a memory leak from 4.2.2 if I recall correctly...)

But - since yesterday my battery drains attrociously although no settings were altered :confused::confused:

BBS tells me these are the battery killers that unexpectedly give me the drainage:

"fast_dormancy" 36 minutes

"deleted_wake_locks" 32 minutes (which turns to "wlan_rx_wake" when wifi is ON)

"msm_hsic_host" 29 minutes

"qcril_fd" 28 minutes

SOT is now 2h over 14h total, battery is at 41%

I don't really find answers to these wakelocks, but in BBS they are under kernel wake locks hence my questions here)

(And YES I did search - but can anyone point me to the radio thread with modems & instructions please? :o)
[Galaxy S 4 i9505 Original Android Development] stevehkim:
Fast dormacy is a biotch. Search fast dormacy app in play store and disable it. Thats from your phone

Sent from my brain to yours.
[Galaxy S 4 i9505 Original Android Development] Langduscher:
Checked it out - its for the i9300?

So since I didnt have before - did Vodacrap change settings in their network? :eek:
[Galaxy S 4 i9505 Original Android Development] anjelika:
Yes but it works fine on I950X also.
[Galaxy S 4 i9505 Original Android Development] frans777:
Im confused.. cause I've seen a post where you suggest something different from post 3

in post 3 you say "sync_extra_cores=1

touch_boost_cpu_all_cores=1"

On last few pages you say to put both to 0, also you said somewhere to set no_extra_cores_screen_off to 0 instead of 1( you dont even mention it there). It's confusing man!!! All we asking is to arrange the recomended setting from scratch without missin a single thing so It will be clear as it should be.
[Galaxy S 4 i9505 Original Android Development] Tylog:
I need to set both to 0 if I use the ktoonservativeq gov.

If I set it to 1 I have sod , if I set both to 0 all is fine.

GT-I9505 / Nexus 4 Tapatalk
[Galaxy S 4 i9505 Original Android Development] maikinho10:
For Performance use '1' but little bit more battery draining... I use always '0'

Greets Maik

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] jaythenut:
getting my s4 tomorrow:D just downloaded this kernel and ktweater ready to go ,will it work ok on any rom

thanks
[Galaxy S 4 i9505 Original Android Development] mbc663:
As long as you know the difference between aosp and touchwiz you shouldn't have any problems running this. If you decide to go with 4.3 u will need the touchwiz version though. Very exciting, you're in for a really wonderful experience with the best dev around. Good luck!
[Galaxy S 4 i9505 Original Android Development] kona786:
Is this OK to be used with PAC Man ROM - sorry for the noob question.
[Galaxy S 4 i9505 Original Android Development] thunderserpent:
Yeah that's the one
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It wont work, they have a branch for 10.2 on the kernel but nothing commited yet.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Is it just me or using zen instead of row causes random reboots?

Enviado do meu Galaxy Note 10.1 turbinado com Omega Rom + Xcstacy
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thats for people that have phones that cant handle my settings, just offering many, many choices to get them going.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It keeps the cores at a uniform Mhz, with it off the Mhz will spike a lot higher, so it will give you bigger performance with a 0 but hurt your battery.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
My settings are always up to date on Post #3. I offer people suggestions in posts to help them if they dont like my settings especially on super bloat jizzer ROMs. I have 2 TW ROMs that are as slim as they can get and they run as perfect as TW can run with those same settings.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It did to some people on my S3, cant beat it for performance though, it will cremate every other scheduler out there for UI experience.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Too bad, I was restoring my apps using TiBu and it rebooted twice, back to row and now everything's fine. :D:thumbup:

Enviado do meu Galaxy Note 10.1 turbinado com Omega Rom + Xcstacy
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
I know jack squat about zram, you think its not working or not fully enabled? All I did was put back some flags I removed from the I9505G update. Let me know.
[Galaxy S 4 i9505 Original Android Development] phil.o:
Aayyy ktoonsez aka Kernel-Colonel :D

What about fading LED MOD? Would it be possible to add in next versions?

Would be nice! :)

°° tapatalked °°
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
Thats ROM controlled, no need to add to the kernel.
[Galaxy S 4 i9505 Original Android Development] phil.o:
It's ROM controlled? The LED blinks by default but it's not fading!? :screwy:

I just know that this MOD was implemented in the boeffla kernel once on my S3 and now ausdim added that feature to his kernel too:

...It's pretty nice, that's why I asked...

°° tapatalked °°
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
It can be done in the kernel but no need, the ROM can do what ever it wants, you could write a 20 line app to make it do all kinds of stuff :D :good:
[Galaxy S 4 i9505 Original Android Development] Abu-khulzat:
So what would you suggest to get rid of the occasional stutter that several people already reported? It happens on the desktop and app drawer mostly and the lag can last up to couple seconds. this is relevant to Nova and TW stock launchers.

MGA TW Stock deodexed rom,
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Now they have

https://github.com/CyanogenMod/android_kernel_samsung_jf/commits/cm-10.2

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Can't wait for 4.3 TW, AOSP is so meh. But 4.3 makes my GNex feel very smooth again. :silly::D;)

Enviado do meu Galaxy S4 4G turbinado com Omega Rom + 3minit + KT
[Galaxy S 4 i9505 Original Android Development] andreasy:
Galaxy charging current from play store. It will help you detect if your USB cable is not charging correctly.
[Galaxy S 4 i9505 Original Android Development] oliver005:
KT, any chance that your kernel has same mute (no sound when calling) issue and the one CM 10.1 has? (was some typo in a config file) or is it not kernel but rom related? I'd really love to back to your kernel but that mute stops me for now.

Btw, I'm on Omega 9.0 tw version.
[Galaxy S 4 i9505 Original Android Development] Tunestwo:
Can i just flash this kernel above adam 1.5? and is there a tutorial how to underclock ur processor?
[Galaxy S 4 i9505 Original Android Development] j-maro:
Yes as per OP once you've installed the kernel clear cache, dalvik and fix permissions in recovery. Also post 3 has a link to the recommended settings :)
[Galaxy S 4 i9505 Original Android Development] andreasy:
That's what I did. Installed over Adam
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
Should be rom related, using the latest experimental right now and haven't an silent call yet

L
[Galaxy S 4 i9505 Original Android Development] Tunestwo:
no issues after?
[Galaxy S 4 i9505 Original Android Development] gonsa:
I'm still not able to record slow motion videos with this kernel..

Am I doing something wrong?
[Galaxy S 4 i9505 Original Android Development] chickentuna:
Just tested slow motion recording and it works just fine
[Galaxy S 4 i9505 Original Android Development] gonsa:
could you share your settings / voltages?

I've been playing with it for some time and as long as I hit record it reboots..
[Galaxy S 4 i9505 Original Android Development] chickentuna:
Sure. Don't really know if the settings make any difference but anyway, I'm using ktoonsez recommended settings but I'm undervolted -75 across the board. Roms is WanamLite
[Galaxy S 4 i9505 Original Android Development] andreasy:
Wow it was noticed fast. I was about to post this as I was running some tests for stutter. Here are my findings:

Homescreen/drawer lag was caused by the ktoonservativeq governor. I tested with ondemand and Pegasusq and there was no lag. That makes sense as ktoonzsez based that governor on conservative which focuses on battery saving and not performance. However with Pegasusq I noticed that slow motion video recording was crashing the phone so I tried with ktoonservativeq which was better at 1/2 and 1/4 but was crashing at 1/8. I went back to ondemand and the was no phone crash but there was only one camera app crash at 1/8.

Given all these details,I believe that slow motion recording is affected by the combination of governor and oc/uc settings, maybe I/o schedulers, etc. We need to test further in order to isolate.

Btw, I'm uv by 50 steps and use the recommended settings and in order to isolate the issue I only played with governors.
[Galaxy S 4 i9505 Original Android Development] gonsa:
thanks, it worked!

don't know what setting it was but it is now recording.

I'm on Omega v9 and I have it -50mv though.
[Galaxy S 4 i9505 Original Android Development] andreasy:
Just try with 1/8 again and give it a few shots consequently as it may need to heat up your phone a bit before it crashes. Also post which governor you use.
[Galaxy S 4 i9505 Original Android Development] gonsa:
Yeap, it crashed on the second video that I did 1/8.

My settings are ktoonz recommended.
[Galaxy S 4 i9505 Original Android Development] kafej666:
Same problem here...
[Galaxy S 4 i9505 Original Android Development] andreasy:
Good, now try to change your governor to ondemand and try again. Then report back.
[Galaxy S 4 i9505 Original Android Development] gonsa:
changing to ondemand let me make two videos, but on the third it freezed and then "camera failed".

after it didn't let me open the camera again. the color of the screen also changed.. weird..
[Galaxy S 4 i9505 Original Android Development] johnsonxray:
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:(

Im using jamal GE rom Final V1 and i dwlded this aosp version of KT

I clear cache & dalvik..and flashed this kernel

but it wont boot, the phone stuck at galaxy S4 startup screen, then went blank..

why is this happening??? I did dwld the correct version of kernel isnt it
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Hmmm, maybe it's related to hotplugging? When it was connected to the charger, no crashes, tried recording disconnected, it rebooted.
[Galaxy S 4 i9505 Original Android Development] kafej666:
freezes... I had to pull out battery.

For my It's useless on any governor... It's simply freeze and reset my phone.

btw. rest of settings from post 3
[Galaxy S 4 i9505 Original Android Development] Pfeffernuss:
Tried ktoonservative, pegasusq and ondemand and row and zen schedulers. All combinations crash, sooner or later.

For fun installed Ausdim's test kernel v12, no matter how many video's one shoots, it works perfectly. Plus the video starts immediately as well. Using KT I always have a stationary screen for around a second and then suddenly you see something happening. It most definitely is kernel/setting related...
[Galaxy S 4 i9505 Original Android Development] andreasy:
Auto hot plug was off all the time on mine. I'll try with default settings and without -50 uv

---------- Post added at 06:24 PM ---------- Previous post was at 06:16 PM ----------

I tried again with ondemand and it never freezes no matter how many videos I take. Maybe you should load default settings on order to reset all changes and try one by one starting by selecting ondemand.

My settings are

Ondemand

Row

-50uv

No oc

198-1890mhz

All other recommended settings from post 3
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
That would be specific to you/ROM combo I think, got over 3000 people on AOSP version, I would have heard about that.
[Galaxy S 4 i9505 Original Android Development] dandroid13:
Yeah but ktoonservative has hotplugging enabled by default, try with another governor.
[Galaxy S 4 i9505 Original Android Development] ktoonsez:
You flashed the WRONG version. GE ROMs need TW version.