yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Original Android Developme] Siriack:
I had the very similar issue. Seems to be something wrong KTweaker app, on the "Screen Off Profile Mhz" I get the selections on Hz instead of Mhz. When I select any of those, I get that error.

I restored the settings from the May version and changed all settings but that (486 Mhz) and it's running fine now. You can also set that value to "default" and see if that fixes the issue.
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
+1 any screen off causes a reboot for me too. Other that that it's running nicely with mint jelly rom.
[AT&T Samsung Galaxy S 4 Original Android Developme] Spunjah413:
Same issue with post 3 settings on latest release. If I power button to lockscreen, it hard reset.

Also the resets in AOSP/Slim I can only relate to using Ktoonservativeq. If I select any other gov, I get flawless operation. This issue has been on the past fee updates, so just information.
[AT&T Samsung Galaxy S 4 Original Android Developme] MrHomebrew:
No problems here, been using those setting with the new update.
[AT&T Samsung Galaxy S 4 Original Android Developme] JediSooner:
Yep, 6/6 working fine for me on Slim Bean. No reboots whatsoever. Still using manny05's settings a few pages back.

http://xdaforums.com/showthread.php?p=41995889
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
Never mind, i'm dumb. Now it's working great. Forgot to clear data for ktweaker app

edit nvm got a reboot here is the kmsg
[AT&T Samsung Galaxy S 4 Original Android Developme] beast3300:
Excellent update so far on TJ. I'm not sure if this is overkill but I never back up my ktweaker settings. And before flashing kernel I always clear app data and uninstall ktweaker. It's probably not necessary but I remember the S3 issues that some were having and this seems to work well.
[AT&T Samsung Galaxy S 4 Original Android Developme] Will822:
Just flashed the latest update and everything appears to be working fine so far. No rebooting issues to report. Running Nottach's Mint Jelly ROM.
[AT&T Samsung Galaxy S 4 Original Android Developme] MikeC4510:
Odd, I don't get the rebooting issues, but rather an unlockable device. I've determined that once I edit anything under the KTweaker app, it refuses to let me unlock my screen (hard reboot is the only way to get my screen back on :/).

I've already fully wiped and followed instructions to the letter and even cleared app data. Guess I'll run stock settings for now :(

Sent from my I337~SGS 4 using Xparent Skyblue Tapatalk 2
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Turn OFF all the screen off options and then just turn on one and only one at a time so you guys can narrow down which option it is so I can take a look. Also need a last_kmsg, but make sure you only have 1 of the options on so I can try to trace it.
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
just don't change the screen off max cpu and you should be good. That was causing the reboot or the sod for me and the few who has it
[AT&T Samsung Galaxy S 4 Original Android Developme] MikeC4510:
Hmm... I'll try it. I just never touch that setting o_o lol

Edit: yea any changes in the screen off (specifically the governor) gives me sod

Sent from my I337~SGS 4 using Xparent Skyblue Tapatalk 2
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
ok here it is when changing the screen off profile mhz
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
That's the only option that was on then? Is that last_kmsg right after a spontaneous reboot?

EDIT:

That was an easy one :D. You are setting your screen off Mhz to 2322. You phone obviously cant handle that and stay stable. Here is the line in the last_kmsg:

cpufreq_gov_suspend_freq: 2322000
[AT&T Samsung Galaxy S 4 Original Android Developme] hitman4274:
I was having an issue with screen off mhz frequency too would crash the phone when I set it to 484 or whatever it is.. Works perfectly without messing with that setting as stated above.. Wonder if it's actually setting it to what we select in the app or if it's letting it go to the 20k range...
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
Yup that was right after a reboot. Weird i set it to 594000 before the reboot happened. lol i wouldn't set it that high for screen off profile.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Go ahead and re-pick the value you really want just to make sure it is set. Post another last_kmsg if it happens again :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
okay in this one i picked 486000. Shows the same thing again.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
What other options do you have on? Battery Mhz settings maybe? There must be something else you have on thats changing 486 into 2322.
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
The same setup as yours in the 3rd post on the first page. Haven't changed anything else except for setting trinity colors to cool.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Have you "Force Stopped" and "Cleared App Data" for Ktweaker. It seems like something is not right about the file. The setting of 2322 is definetely your problem here and what is causing the reboots. We just need to figure out what setting is causing the problem. Does your KTweaker version show 4.0 on the top when you open it? Are you on Touchjizz or AOSP?
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
yeah ktweaker is 4.0 and i cleared data and force stopped it a couple of times. Yeah.. I'm on touchwiz lol (Mint Jelly rom).
[AT&T Samsung Galaxy S 4 Original Android Developme] cantwin:
Hint to the Canucks, dont flash this or your device will not boot. Ask me how i know :)
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Definitely do NOT flash this, Canucks use TMO or I9505 version :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] beast3300:
Hey KT, did something change from 6-3 to 6-6 TJ version that would affect AC charging?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
No, nothing has changed in charging ever. I have no need to mess or even look for the code that controls that. :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
I found it!!!!!!!!!!!!!!!!!!!!!! Somewhere I lost the Mhz part in the list you select from so when you selected 486,000 it was setting 486,000,000 which gets changed to 2,322,000 :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
Glad you found it. :victory:
[AT&T Samsung Galaxy S 4 Original Android Developme] stevehkim:
That's weird. I was on your most recent release and setting the screen off to 486000 and the phone ran fine. Should I just not even use that for now?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
I think its fine if you set it and then reboot and dont touch it.
[AT&T Samsung Galaxy S 4 Original Android Developme] s1l3nt:
So tempted to go to aosp (PAC man rom) and try this kernel with it. The only thing i will miss is the ir blaster for remote. Not really a big loss though.
[AT&T Samsung Galaxy S 4 Original Android Developme] oddspec:
Do it I could only stand tw for 3 hours before I removed it didn't even play with the remote app aosp and KT kernel for life !
[AT&T Samsung Galaxy S 4 Original Android Developme] KINGDROID25:
Gonna try this out first kernel on jflteatt
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Hope you are not allergic to AWESOME :good: :highfive:, lol
[AT&T Samsung Galaxy S 4 Original Android Developme] oddspec:
Lol I remember that glad to be here in s4 land longtime user since the s2 days
[AT&T Samsung Galaxy S 4 Original Android Developme] sk8trix:
I have noticed on the past two releases my battery has been dying a bit quicker than before.

I'm sure it has to do with an error on my part but I'm not sure what it could be,I have very few precesses running in the background only one gmail account with only gmail,contacts and chrome syncing.I have frozen many apps that I dont use to prevent them from running in the background as well.

I use stock frequencies with UV -50 all across

scheduler deadline

governor on demand

screen off profile 189

screen off governor conservative

internal read ahead 4096

gpu max 544

All other settings are the way the come by default

Im using MDOB stock rom deodexed with this kernel I was geting almost 16 hours with the stock ROM but with this one I get about 8-10 Im not sure what could be the issue can anyone give me some advice? Thank you in advance
[AT&T Samsung Galaxy S 4 Original Android Developme] :
GPU max might be burning up your battery. As well as internal read ahead might be causing problems from trying to read the SD card quicker than possible. -shrug-
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Its my fault. I found a problem with the screen off setting in ktweaker about 2 hours ago. It was actually setting it to 2322000 no matter what u pick. Turn it to selected scaling max to disable it for now.
[AT&T Samsung Galaxy S 4 Original Android Developme] sk8trix:
I see I was just trying to trouble shoot this on my own didnt want to be complaining or anything like that I do remember reading this a few pages back but I though it also was me since I just flashed this ROM two days ago and when I was on stock with your kernels everything was good but thank you for clarifying that anyways great work man thanks for giving us this awesome kernel!!!!
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
yea the new options on this kernel are defenatly dope specially the trinity colors being able to change those,and the new widget options,i was wondering one thing tho,i could probably search for this but your stock voltages, how much are they off from the stock kernel or are the same as stock when set to default?and i was wondering why i lost about 20 percent on my battery in 5 hours with barley any screen time ,i see you found a problem with screen off max mhz,im sure ull get that fixed,and one other thing i know i saw this somewhere but cant find it now what you suggested the max read ahead for internal and external cards?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Thanks man. 3072 is the values I use for read ahead :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] stevehkim:
KT your 6-3 build on TW is freakin magical. Phone runs so smooth. And Ive never seen battery drain this slow before. Awesome!

P.S. Im not allergic to awesome. I'm addicted to it.

ATT S4 Rooted. Beastin.

4.2.2
[AT&T Samsung Galaxy S 4 Original Android Developme] sgs22012:
Kt ive looked and cant find but do you have seperate carrier specific tw kernels or will this att work on a tmo tw based rom ?
[AT&T Samsung Galaxy S 4 Original Android Developme] oddspec:
He has a tmo thread here http://xdaforums.com/showthread.php...][AOSP/TW][6/6/2013] KT-SGS4 - MDM - KTweaker
[AT&T Samsung Galaxy S 4 Original Android Developme] pfoxdizzle:
Loving the kernel. Makes everything nice and smooth. Are you planning on updating the kernel base to the new mea build from the international s4? Apparently it is needed to fix dual camera and other small things on the mea build. Thanks for the hard work!
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
No source code yet.
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
hey toonz does the screen off max mhz problem exsist in the release before the 6th?or has it been present since the 30th when you implemented it?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Im not sure when it snuck in
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
ok ,just trying to stablize my phone,and i think the disable screen off mhz call enable and disable is backwards?when option is enabled it says disabled and vice versa or maybe its supposed to be that way?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
You just have to read the comment better for the "call" option. That option is not active anyway at the moment, have not found the modem on/off in call code yet.
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
im running tw if that matters,but i was on a call yesterday in the car had it on speaker usually i can see the options to switch off speaker the screen was off,later on i checked that option and it says option is disabled but when i click on the option the green dot is on enabled,idk im really reading it and thinking hard hahaha maybe im miss interpreting it,so by default if i never touched that option my screen shouldnt go off during a call unless my sensor is sensing it on my ear?ohh nm its only the mhz that would be effected anyway not the screen ,is that what your saying
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
LMAO :silly:. You arent even close :D. That option disables/enables the option ABOVE it, "Screen Off Profile Mhz".

"Screen Off Profile Mhz" = The max Mhz the phone is allowed to use while screen is off.

"Disable Screen Off Mhz Call" = This enable/disables the "Screen Off Profile Mhz" option right above while on a call. (like I said though it is not working yet, since I cant find a place to add the kernel side code)

So when you select "Enable" for "Disable Screen Off Mhz Call" the little comment text for the "Disable Screen Off Mhz Call" option reads:

"While on a call, the "Screen Off Profile Mhz" is disabled": meaning that "Screen Off Profile Mhz" is disabled while on a call so it will use normal Max Mhz, I.E. 1890 or whatever your max mhz is under General Screen.
[AT&T Samsung Galaxy S 4 Original Android Developme] Jgm3590:
no updating

i am using cm10.1 and this kernel how come the updater feature doesnt work when i am using this kernel but does on any other kernel ........ i mean i dont mind having to reflash the kernel every time i manually update cm becase this kernel rocks
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
you know what, that was the problem yesterday,it just happened again someone called and it was ringing but the screen never came on i couldnt see who was calling,then when the call is over the screen stays off and cant end the call.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
That symptom is usually a too low of a Min Mhz usually. But that option will help if I can ever track down the on-call source :(
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
right when the screen is off,so i guess that is working then?because i had it set to 378
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Yes, as I have said that is working, the Call override is NOT.
[AT&T Samsung Galaxy S 4 Original Android Developme] CZ Eddie:
EDIT: I'M A DUMB@SS. This is a TouchWiz kernel, not an AOSP kernel. Duh!!!

--------------------------

Getting stuck at a black screen on bootup.

Flashed the ClockworkMOD recovery.

Booted to OS.

Installed Goo Manager & installed TWRP from it.

Did a complete wipe including data.

Installed Slim Bean with loki fix.

Rebooted a couple times.

Installed ktoonsez kernel.

Wiped cache/dalvik & fixed permissions.

On first boot, I got black screen while connected to USB cable.

Said oops, disconnected battery cable, removed battery 30 seconds.

And still getting black screen on bootup (with USB cable removed).

Will try all the flash steps over again, unless someone spots something I did wrong. :)
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
Im having random ktweaker crashes. Also am noticing alot of wakelocks from fast dormancy now, anyone else?
[AT&T Samsung Galaxy S 4 Original Android Developme] :
Yes, step 7 where you install the Ktoonsez kernel.

Slim bean is an AOSP based rom thus this wouldn't work, this is a touchwiz kernel
[AT&T Samsung Galaxy S 4 Original Android Developme] CZ Eddie:
Dang, TWRP just keeps saying "unable to mount /data" when I try to wipe anything now.

Anyways, I reflashed Slim Bean and it's booting up okay so far.

---------- Post added at 06:20 PM ---------- Previous post was at 06:19 PM ----------

AWW FLIP!

I never even noticed. LMAO

Not used to doing Ktoonsez stuff on TW. Only AOSP.

Thanks! :) :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] sulpher:
My fast dormancy wakelocks have gone down actually... First thing i noticed. Msm_hsic_host stayed the same unfortunately.
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
This is where am at. Been using powersave setting, battery life has been worse than stock..
[AT&T Samsung Galaxy S 4 Original Android Developme] DJsCrIBbLe:
Msm_hsic_host wake lock is bad when I tether otherwise its OK. FD wake lock is meh no matter what sec_ril settings a try
[AT&T Samsung Galaxy S 4 Original Android Developme] Hippoman13:
This is incredibly fast. Which scheduler would you recommend given this kernel's specific optimizations?
[AT&T Samsung Galaxy S 4 Original Android Developme] SeanHacker:
This is pretty cool. ;)

sent from my AT&T SGS3
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
Hows the battery life?? Definitely would try it
[AT&T Samsung Galaxy S 4 Original Android Developme] cracjackson:
Word????! Task and aokp = greatness
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
We are a couple of genious's!!!!!!!!!!!!!! :good: :highfive:
[AT&T Samsung Galaxy S 4 Original Android Developme] cracjackson:
I agree. Your kernel with task's rom Is perfection.
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
Any idea why my battery life was terrible running this?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Bad settings. I need more info over wise all I can tell u is "do stuff and it will get better".

What ROM?

What settings have you changed?

And now that I think of it, why are talking about battery life after only a few hours of running it. You need at least 2 days!!!!!!!!!!!!!!! :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
Stock rom, deleted apps that i wasnt using (debloat) flashed your kernel and only chose performance mode for quadrant, which i got 11.5k, then chose powersave mode and left it..

Just saw your edit, alright ill give it time, thats what i was thinking also but i wasnt sure..

What about the Fast Dormancy wake locks im getting? Is there a way to disable?

Or all of my other kernel wakelocks im getting.. Seems excessive
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
Thats probably not the best governor to be using. Id use ondemand or interactive. I have no idea what Fast Dormancy wake lock could be. All I do know is that its something to do with the ROM as I saw a whole thread on it about someone hacking the ROM to stop or something like that.
[AT&T Samsung Galaxy S 4 Original Android Developme] MrPlNK:
K im using ondemand.. Will report back how its going when i get charged up.. Will look around how to disable FD, i had to do some asql stuff with my LGOG so it may be the same case here..
[AT&T Samsung Galaxy S 4 Original Android Developme] Hippoman13:
I've had KTweaker force close many, many times, and the cpu never seems to go above 1890mhz, no matter the overclock. Hmmmm.

If I rotate the screen in KTweaker or change the minimum clock speed, it crashes.
[AT&T Samsung Galaxy S 4 Original Android Developme] Spunjah413:
Got my highest quadrant scores so far (not that they mean anything, lol). This is AOSP so obviously no ridiculously high TJ numbers.

Intellidemand 189min 1998 max row auto hot plug enabled, stock GPU. This is my daily use. 8197 score.

Second is intellidemand 1890min 1998max, zen, hot plug disabled, stock GPU. 8836 score
[AT&T Samsung Galaxy S 4 Original Android Developme] lonet0618:
Hey Ktoonsez I was wondering if any of your settings have changed from the 3rd post?

And if you don't mind could you post them!
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
It is up to date except for this (just added the read ahead):

Internal Read Ahead = 3072

External Read Ahead = 3072
[AT&T Samsung Galaxy S 4 Original Android Developme] lonet0618:
Thanks Man!
[AT&T Samsung Galaxy S 4 Original Android Developme] Nosferatu.:
ktoonez,

got a question. My only problem on my ROM is that if I swipe down quickly on the notification tab it tends to stutter for a fraction of a second. It's enough to ruin the "butter" transitions. I notice if I throw it on performance voila problem goes away. Any suggestions on how to tweak it to ramp up the clock quicker? I'm using your recommended settings and I tried changing the governor up_threshold but it doesn't seem to stick. I changed it from 57 to 40 and when I go back in the menu it's back to 57. Any thoughts?
[AT&T Samsung Galaxy S 4 Original Android Developme] jhong91:
Interesting.

Setting mine to 'performance' makes animations stutter. Guess my chip can't handle being maxed out. Ondemand is smooth enough :)
[AT&T Samsung Galaxy S 4 Original Android Developme] Jonnyredcorn:
Hey ktoonez, I'm running your 5/27 kernel(haven't updated yet because I see some people having issues and honestly this release has been working amazing on my phone) and on my current ROM(wicked from T-Mobile development forum) I'm having an issue syncing/backingup/restoring from my Samsung Account(It's a TouchJizzer ROM). I know this has nothing to do with your kernel, but the problem I'm having is with capturing a logcat. I'm not quite sure how to use your ktweaker app to capture the logcat(to start it and end it) and have been trying to capture a logcat via ADB in cmd prompt in Windows 7. However whenever I try to capture the logcat I get the error "Unable to open log device '/dev/log/main' in my logcat.txt file. I searched the "How to create a logcat" thread tutorial and someone else had a similar issue. They said that dev/log/main was commented out in a init.d script. Is there anything you can do to help me out with this?

I know you run AOKP but the issue with the samsung account I'm having is that it works on stock ROM(I can sync/backup/restoer, but not on Wicked or another custom ROM) So I'm trying to capture a logcat of me doing the backup process to see what's happening.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
All you have to do is go to "Extras" screen in KTweaker and click "Generate a Logcat" and it puts it in /sdcard/ktweaker/kt_logcat.txt, just open that file from your PC after its generated, use Microsoft Wordpad for easiest viewing.
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
up_threshold CAN NOT be lower than down_threshold or it creates a race condition so I dont allow that. So you need to lower down_threshold first. So in your example, do this in this order:

down_threshold = 37

up_threshold = 40
[AT&T Samsung Galaxy S 4 Original Android Developme] Jonnyredcorn:
I was under the impression you had to start and stop a logcat though?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
No, no such thing.
[AT&T Samsung Galaxy S 4 Original Android Developme] djmouse:
yea i was talking about this ........" Its my fault. I found a problem with the screen off setting in ktweaker about 2 hours ago. It was actually setting it to 2322000 no matter what u pick. Turn it to selected scaling max to disable it for now." so obviously if my screen wasent coming on while getting a phone call my setting was working and not going to 2322000 no mater what i picked? un less being at that high wouldnt allow my phone to come on becuase it wouldnt handle it,but i would think it would just reboot?
[AT&T Samsung Galaxy S 4 Original Android Developme] ktoonsez:
I see what your saying. It will be fixed in next version. :good:
[AT&T Samsung Galaxy S 4 Original Android Developme] Nosferatu.:
okay I'll try this later. Do you have any where I can read up on what the "race condition" is and some of the other settings. I know a little bit about kernels but not a lot. Any other suggestion of where I can read up on all those different governors? I know what some of them are (from my old Galaxy S2 days) but some of them I never heard of. Thanks and I'll report back on the setting changes.

EDIT: BTW, I just realized somehow I wound up in the AT&T thread for some reason lol. I'm on the T-Mo kernel. Anyways, I'll post in there too.