yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Great. I'm sure [MENTION=4325945]ktoonsez[/MENTION] will have something cooked up for us soon when he finds some time.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 01.31.2014

1. Optimize journal

2. Use cortex-a15 build optimizations

3. Disable VMWare

4. A bunch of GPU re-writes to make games perform better/more consistent

5. ktoonservativeq: Make sure gpu_touch_boost does not lower the Mhz if boost is set lower than max

6. Link GPU throttling to CPU, this makes sure that GPU throttling isnt going for no reason when the CPU isnt even throttling

7. CM sync

8. Ramdisk updates
[T-Mobile Samsung Galaxy S 4] jonahtriangle:
Wow thanks man.
[T-Mobile Samsung Galaxy S 4] Shiroh1ge:
I am newb at kernels so I have to ask before I brick my phone.

I am on CM11 right now, does the AOSP 4.4 version of the kernel mean it is for CM or is it different?
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
That's correct, CM11 uses AOSP 4.4 kernel
[T-Mobile Samsung Galaxy S 4] Shiroh1ge:
Thanks for the quick response! Flashing away
[T-Mobile Samsung Galaxy S 4] DLUX24:
http://xdaforums.com/showthread.php?t=2393708

I'd subscribe to this thread and read and learn
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Excellent advice
[T-Mobile Samsung Galaxy S 4] 1Raiders:
Hey KT

This is no complaints on what u do and others test bud.

I noticed that on ur latest update phone is laggier. I have not changed any settings.

What I mean by laggier is just switching apps/opening them. I dont play any games. I just use phone as

a phone.....int/music in the eve..text message a lot. I left the settings exactly as the 23rd update.

I have installed and tested a few times to see the diff between the 2 updates.

Not complaining at all bud, just giving my experience w the update.
[T-Mobile Samsung Galaxy S 4] Tunasty:
What's the name of the profile your running?

Have you tried any other profiles from the shop?

Did you try reflashing ktweaker or clean caches?

I'm running the latest version with my own Moonlight profile and got no problems. There are bunch of other profiles in the shop and all of them are working fine and smooth as baby butt ;) lol

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Ok guys, everybody on AOSP 4.4 and TWGE 4.4 check your OTA. It has dynamic fsync removed (for all you guys having troubles with data corruption) and also Linux 3.4.78 :D
[T-Mobile Samsung Galaxy S 4] 1Raiders:
Thank you for the reply bud.

I was on Ktoonsified v4 prof.

Yes I have tried multiple profiles.

I did not reflash or clean caches in ktweaker but I will do that now.

Thank you again for the info bud

E
[T-Mobile Samsung Galaxy S 4] anthonyp326:
Ota says update 2/3/14 ?

T-Mobile galaxy S4
[T-Mobile Samsung Galaxy S 4] Tunasty:
Yes, KT-SGS4-KK4.4-AOSP-TMO-02.03.2014, it will look something like this.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 02.05.2014

1. Linux 3.4.78.

2. KTweaker 5.2.3 with 3 new GPU options (GPU Default Mhz, Simple Gov Laziness, Simple Gov Ramp).

3. GPU: Some more rewrite of the GPU main code and Simple Governor.

4. GPU: Added GPU Default Mhz so people can choose the Mhz the GPU idles at.

5. GPU: Added Simple Governor Laziness tunable.

6. GPU: Added Simple Governor Ramp tunable.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Very nice addition tunables to ktweaker. Your kernel keeps getting better. I played with these settings and works great. Makes me wish they were available sooner :D
[T-Mobile Samsung Galaxy S 4] ktoonsez:
New KTmonitor Floating/Movable App coming SOON :D

There will be 3 modes as seen in pics below

#1 = 1 line

#2 = compact

#3 = full
[T-Mobile Samsung Galaxy S 4] robertd0619:
Ktoonsez whats your settings now? I've been using your settings and it give me great battery life. If you don't mind. Thanks.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Still ktoonsifiedv4 from the KTShop :good:
[T-Mobile Samsung Galaxy S 4] Chrisuk80:
Deep Sleep Question

I have used the search bar but only 2 threads came up and neither answered my question

im using sleeping dragon which as a min cpu of 189Mhz

i remember on my i9000 using cpu spy is would show DEEP SLEEP when screen off

yet on my i9505 the lowest cpu bar is 189Mhz

now i know the min cpu setting is 189Mhz

does this mean my phone never goes into deep sleep since cpuspy doesnt show deep sleep??

if so is their anything i can do in KTweaker to enable deep sleep

i just dont want me phones cpu to me at 189Mhz if the screen off, i want it sleeping!!!!

thanks for any replies

before you say go back to stock which i was on, i tried but i cant find 3.4.0-2082040 se.infra@SEP-126 #1 which i was on (MK9)

which with wifi on at home i got 5hr30 screen on time

so fair the highest ive had is 2hr48min, not good!!

---------- Post added at 03:29 PM ---------- Previous post was at 03:07 PM ----------

holy $hit i would love 6hr screen on time, very jealous

---------- Post added at 03:31 PM ---------- Previous post was at 03:29 PM ----------

Do you just leave the script set to none when running that??
[T-Mobile Samsung Galaxy S 4] Tunasty:
something is not allowing your phone to sleep. Restart your phone, that should take care of it. If you have BBS, post some screenshots so we can look at what's draining your battery.

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] Chrisuk80:
BBS works for about a minute and then says batteryinfo service could not be connected i think it was so i cant get a long enough track on whata going on but before it messes up its showing "powerManagerService.Wakelocks at 100% under kernal wake locks

and under partial wakelocks i have Activity Manager-launch at 100% not sure it thats because i havent turned the screen off yet since i dont want it to kick me out

also *sync subscribe feedsaccount.....type=com.google at 100%

ive looked in titanium and cant find any but i have now logged out of google search and google settings to see if it helps

whats strange is ive not at any issues until i changed kernel

i just really really want more than a crappy 2hr48 screen on time!!!
[T-Mobile Samsung Galaxy S 4] anthonyp326:
What is the ktshop.? Sorry for the stupid?

T-Mobile galaxy S4
[T-Mobile Samsung Galaxy S 4] Chrisuk80:
how can it possibly go into deep sleep when the min setting is 81Mhz

if i select 135Mhx or 81, turn me phone off for a few mins then back on in cpu spy it shows that it goes into the lowest!!!!

is it supposed to go into deep sleep no matter what the min frequency is selected??

by the way is in the kenel wakelocks thats at 100% all the time
[T-Mobile Samsung Galaxy S 4] Gadianton:
Quick question to all you Android wizards. I'm using wicked 10 (updated modem, clean install etc) and the latest KT. I have gotta few weird lockups that sometimes require a battery pull. For example, I'll come back and click the main button and Nova won't let me touch anything. Like I can't open the app drawer and etc. I can use some of the double press shortcuts and etc, but basically I have to restart my phone to get it to work again.

I thought it might be Xposed framework thing so I disabled all of that stuff and still had the issue. happens maybe once a day. anyway, I came on here and read a bit about SoD issues. My understanding is this is when the phone enters sleep and won't wake up. Is this correct?

Could this be an issue with my kernel settings? Voltages etc?

Also, I get an error 106 message on Ally bank app and on Southwest app. Is this a kernel thing or a rom thing?

Thanks in advance of explaining this!

(If this is a rom thing, is there one that is stable?)
[T-Mobile Samsung Galaxy S 4] Tunasty:
Kernel wakelocks are common and don't worry about them. You will go in sleep no matter what unless something is keep triggering and causing your phone to stay awake. I'm telling you, restart your phone. Charge it to 100, Once its at 20 take Screenshots of BBS. Try clearing your caches, dalvik and fix permissions in recovery.

S4 is Poppin!

---------- Post added at 12:01 PM ---------- Previous post was at 12:00 PM ----------

It's built in the ktweaker app where you can select and download different battery confg. profiles.

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] ultma75:
Just a heads up to anyone using profiles via ktweaker shop avoid using smooth criminal with danvdh 4.4 As it kills wifi
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Another screen shots from KTmonitor:

6 different UI display methods (going in order from pic below):

1. logger mode (just the little red dot)

2. one line compact mode (can be used to put up in the taskbar or just to use to keep small during gaming)

3. one line mode (a little bigger version of one line compact)

4. compact mode

5. full

6. full theme

Config screen bottom image in the pic) letting you choose the update rate, the color/alpha the UI mode and enable logging to a .csv to analyze latere on a PC using Excel or OpenOffice.

When logging is enabled the little red close button will display as green so u know its logging :D. Get your check books out, lol. :D
[T-Mobile Samsung Galaxy S 4] Bleedos:
I have the Canadian S4 version (i337m). Tried the TWGE version as I use a GE KitKat ROM (KANGAKAT). I waited for about 20 minutes on the boot animation. Should I try the AOSP version?
[T-Mobile Samsung Galaxy S 4] bcflyfisher:
If you mean it hung on the Samsung boot screen then that's been happening since day 1 (although I thought its been fixed for most of us). Just keep trying to reboot until it gets past that screen.

If it got past the Samsung screen to the ROM boot animation then hung then something is actually wrong.

Google Edition ROM does use GE kernel, and our i337m uses the TMO kernel. I'm on an AOSP ROM (Beanstalk) and kernel so can't comment much on GE...
[T-Mobile Samsung Galaxy S 4] Bleedos:
Yeah I got past the S4 logo. Hung on the GE boot animation with 4 bubbles flyign aroung.... forever!

Did not mention it but I followed all the required steps.

Downloaded Google Edition KITKAT 4.4 VERSION, flashed kernel using TWRP, cleared both caches, fixed permissions, rebooted.

I'm using |★KANGAKAT★|►KOT49H◄| |GE|►6.0◄|4.4.2|KIT-KAT| so I assumed I had to get the GE version.

Anyone using a GE ROM flashed this kernel with i337m?
[T-Mobile Samsung Galaxy S 4] nivekx9:
You need the AOSP version....
[T-Mobile Samsung Galaxy S 4] Bleedos:
Downloaded it. I will try as soon as I get some time to backup and flash.

Thanks
[T-Mobile Samsung Galaxy S 4] SaintCity86:
Has anyone tried this update with dBOMBromv3.4?

You've been Tapatold ♧♢dbombROMv3.4♤♡
[T-Mobile Samsung Galaxy S 4] Tunasty:
Yup, it works just fine!

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] tech128:
Compiling the kernel

Hey ktoonsez,

The kernel source compiles well if you know exactly how to do it.

I had several snags unfortunately.

The first being I thought I could just use the 4.8 gcc that comes with the NDK.

Apparently the kernel does not compile very well at all with the latest gcc.

Lots of warnings which turn into errors because of the -Werror flag (still can't manage to find exactly where that flag is set, looked and looked)

So I tried the next-to-latest 4.7 gcc from the linaro toolchain. https://launchpad.net/linaro-toolchain-binaries/

That seemed to work fine.

But then any changes I made to .config kept getting reverted somehow.

So I just made the .config file immutable after making changes to the .config file with "sudo chattr +i .config"

You have to "sudo chattr -i .config" when you want to make changes again.

There's probably an easier way, but again, I couldn't find it easily.

The last snag was when you go to the github page, it defaults to the aosp4.4 kernel.

I didn't know that you have to click the branch button at the top to choose the branch that is relevant to the kernel you are running.

I thought it was just one branch that had them all in there somehow.

Anyway just thought I would put that out there for anyone who is thinking about compiling / attempting to compile the kernel.

It would be nice if you added a README-compiling.txt or something similar to help guide first timers compile the kernel more easily.

After staying up all night I managed to get my pegasus.ko module compiled and now I can attach my M919 to a wired network :)

When I get some more time (I'm dreaming I know) I'll probably compile every usb-related kernel module for each of the branches so that you can extend the S4's capabilities with ease.

*edit*

Well I found one last snag apparently.

The github page can have more commits that are after the kernel was released.

It defaults to the latest commit.

You need to match up the commit id with the kernel's commit id.

There's 2 ways to find that out.

1. Look inside the kernel modules for the magic version string. It should say something like

"3.4.82--KT-SGS4-JB4.3-AOSP-TMO-02.24.2014---g7578a9a"

2. Goto the about phone page in your phone. It should have the kernel version listed there.

The important part is that last part with g7578a9a

That's the commit id.
[T-Mobile Samsung Galaxy S 4] SaintCity86:
Hey guys, how do I set the led fade so that it fades nice? I can't get it working right.

And is there a reason why antutu won't work ayer installing this kernel?
[T-Mobile Samsung Galaxy S 4] Tunasty:
Here ya go man.

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
For issues with KTmonitor:

Try this guys, looks like the compile might have gotten corrupted even though it browses fine:

Download from link below and replace the app in the /system/app/ folder and be sure to set the same permissions back to it.

Download:

http://ktoonsez.jonathanjsimon.com/sgs4/com.ktoonsez.KTmonitor.apk
[T-Mobile Samsung Galaxy S 4] Tunasty:
So if this thread is quiet for couple weeks, that means [MENTION=4325945]ktoonsez[/MENTION] is cooking something BIG! Lol

Thanks a lot for this major update bro!

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] DarkStarr:
Quick question, how the hell did CM manage to unify the Jfle models? I assume we will need a new kernel for it?
[T-Mobile Samsung Galaxy S 4] munkyvirus:
Nope, Feb 5th worked fine, newest one, doubly so.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Basically by executing a script during the flash process in which identifies your bootloader and loki-patches the boot.img (kernel) for those on the locked bootloader variants, such as AT&T or Verizon. For all other variants, it leaves the kernel alone. So with the unified builds there's absolutely zero need to flash a device specific kernel .

It also adds any overlays for your device variant (APN's, etc.)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I forgot one item in the Change Log, "Fast Charge" will now get set on boot instead of forgetting it.
[T-Mobile Samsung Galaxy S 4] DarkStarr:
Wow. That's pretty cool. I suppose the same thing in theory could be done with other kernels right? Anyways I'm just waiting for PACman 4.4 but the GE rom is tempting. Can't even update to the latest right now.
[T-Mobile Samsung Galaxy S 4] dynospectrum:
Take SlimKat for a spin ;]
[T-Mobile Samsung Galaxy S 4] :
anyone know why video recording wont work on latest aokp 4.3 with this kernel, like any version?
[T-Mobile Samsung Galaxy S 4] elesbb:
This is so hot. You rock dude! Btw you hey my gtalk message?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man, no I didnt get a message.
[T-Mobile Samsung Galaxy S 4] elesbb:
Alright man. I'll send ya a pm after class.
[T-Mobile Samsung Galaxy S 4] wh4g:
Ktoonez you did it again.... you never cease to amaze us bro. Keep up the wicked work you doing, we all love & appreciate you. :thumbup::thumbup::thumbup:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 02.20.2014

1. KTweaker: KTweaker update to 6.1.

2. KTweaker: Fixed some of the display bugs in Governor Adjustments screen.

3. KTweaker: Added menu options to the main screen for quick shortcuts to CPU, GPU and scheduler Settings screens and an option to reboot.

4. KTweaker: KTweaker Shop doesnt automatically check for differences now. It is a manual option with menu button so it loads quicker.

5. Upgraded wifi to 1.88.54, my testers have noticed a nice speed jump and better stability when in low signal areas.

6. bcmdhd: filter multicast during sleep for ALL VERSIONS for better sleeping.

7. exfat: Upgrade to 1.2.6.

8. Fix wireless charging.

9. Thats all I can remember

10. TWGE4.4 version: Remove lots more debug dmesg spam for more speed!!!!!!

11. Just a heads up guys, THIS WILL BE THE LAST UPDATE FOR TOUCHWIZ 4.2, UPGRADE IF YOU HAVE NOT ALREADY!!!
[T-Mobile Samsung Galaxy S 4] elesbb:
I just updated this morning! You really enjoy making me sneeze don't you? :P Thanks for the update boss!
[T-Mobile Samsung Galaxy S 4] DLUX24:
Thanks for all your hard work KT!!
[T-Mobile Samsung Galaxy S 4] tunedwhitey:
Great job
[T-Mobile Samsung Galaxy S 4] :
So just installed the new kernel and its asking for a password which I definitely didn't create, can anyone else confirm this issue
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Lol. That's a new one. Never heard that one before. Go to sdcard/ktweaker/main settings/uipassowrd.XML to see what it is
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log 02.22.2014

1. Updated ramdisk for AOSP to fix data issue during calls

2. Liinux 3.4.81

3. Fixed KTweaker OTA download size mismatch issue

ENJOY guys :highfive:
[T-Mobile Samsung Galaxy S 4] HampTheToker:
2/20 OTA gave a download size mismatch on GE 4.4.2. I assume it's a known issue since it was addressed with the AOSP update, but I didn't think a short comment would hurt just in case.
[T-Mobile Samsung Galaxy S 4] socalsfinest93:
Ktweaker doesn't seem to like my phone it force closes when I try to open it on the GPE rom and on my TW rom
[T-Mobile Samsung Galaxy S 4] nivekx9:
Wait til it loads the settings.
[T-Mobile Samsung Galaxy S 4] dragon-son:
I updated my phone to have cm nightly from 2-17 (clean install wiped everything) with kt kernel 2-22 and used profile from shop in ktweaker for ktoonsified v4 and every time I try to go to home screen and back into ktweaker it errors out. So I wiped ktweaker data, and loaded defaults. Still the same results. When ever I open ktweaker and go out of it and try to go back in, it crashes again even with all default settings. Am I doing something wrong? I haven't followed the thread to closely since about December, but doing an overview I didn't see anything about this. Should I wipe and start over from scratch again?
[T-Mobile Samsung Galaxy S 4] HampTheToker:
Maybe try the previous AOSP kernel to see if it persists?
[T-Mobile Samsung Galaxy S 4] dragon-son:
Alright I'll give that a shot. It'll be a few hours before I can test though.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
New Widget by request from you guys, its a quick Profile chooser, simply click the "MyProfile" and it will scroll thru all the profiles you have on your phone. Once you have the one you want, clikc the "Set" button :D. The widget is also sizable so you can size it from 1x1 all the way up to 4x1. Gonna release sometime today:
[T-Mobile Samsung Galaxy S 4] elesbb:
Nice! Why not use a list view? Then you just scroll up and down through the list then click the one you want? However, i like this method and will use it on my Network Selection widget :) Thanks for the idea!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Listview's are not a usable object on widgets :good:. Only textbox's and buttons basically.
[T-Mobile Samsung Galaxy S 4] elesbb:
As of API 11 they are supported :) I made a list view widget for Viper4Android to quickly change profiles on the fly. Not saying you HAVE to, was just an idea :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Cool. I'll check it out :thumbup:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
As I thought it still doesnt work, still looking for examples to be able to attach to the ListView (I.E. the getListView() function) to get the object to be able to change the list on the fly.
[T-Mobile Samsung Galaxy S 4] DarkStarr:
Same issue here.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Change Log 02.24.2014

1. KTweaker: KTweaker update to 6.2.

2. KTweaker: New Widget by request from you guys, its a quick Profile chooser, simply click the text area left of the "Set" (if you see "-----" then it means you never did a restore profile) button and it will scroll thru all the profiles you have on your phone. Once you have the one you want, click the "Set" button :D. The widget is also sizable so you can size it from 1x1 all the way up to 4x1.

3. Merged in TW 4.4 into GE 4.4 version, sound is much crisper and louder

4. Added faux sound to TW 4.4

5. ktoonservativeq: New tunables called super_conservative_screen_on and super_conservative_screen_off (remove old super_conservative) so people can choose when they want to go super conservative. Be sure to go set these items if you used the old super_conservative item.

6. Added my newest settings to the KTShop as ktoonsified v5.

7. Linux 3.4.81

8. Changed upgrade routine to not try to upgrade files with .xml extention in the /ktweaker/ folder

9. Couple other general fixes in KTweaker and KTmonitor.
[T-Mobile Samsung Galaxy S 4] Tunasty:
[MENTION=4325945]ktoonsez[/MENTION], since s5 is out with a big disappointment... Are you gonna get s5 or note 3? Lol

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] elesbb:
You have to use a resource view factory. Its a lot harder then the way you have it now but it works very nicely.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Definitely not the Note, way too big, I dont like having a laptop sized phone in my pocket. The S5 most definitely does not look worth it all, its an S4 with a different body on it, lol. Only time will tell I guess.
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Ever think about just ditching Samsung, and looking elsewhere?
[T-Mobile Samsung Galaxy S 4] elesbb:
I don't think i could personally. I know wasn't directed towards me, but every other phone is very lacking compared to what Sammy offers us. Despite Knox. Which I think people over react about.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Forgot one more change log item:

11. BFQ-v7r2
[T-Mobile Samsung Galaxy S 4] DLUX24:
After flashing the new kernel, my phone won't go into deep sleep? Any suggestions? Never had a issue before. And I did wipe davik, and cache after kernel install
[T-Mobile Samsung Galaxy S 4] DarkStarr:
I dunno I just flashed the latest earlier and damn. I setup a modified KToonsified v5 and after 6 hours and 40 minutes off charger (30 min phone call and ~5 min screen on) I was only down 6 percent. That is absolutely insane. I didn't even wipe anything after installing it. I did have to delete some old stuff from the KTweaker folder to get it to quit crashing.
[T-Mobile Samsung Galaxy S 4] dragon-son:
Wiped data of ktweaker and uninstalled. Deleted ktweaker folder from sd card. Wiped cache and dalvik. Installed 2/24 kernel. Wiped cache and dalvik again. All good now with ktoonsified v5 from shop. No more crashing.
[T-Mobile Samsung Galaxy S 4] braschlosan:
If I think I've found a kthermal bug where should I submit it?

I can repeatedly overheat my phone because under certain conditions only the first core is throttled and the other three continue to run at full speed. I've tried numerous settings including significant undervolting, multiple downward frequency steps, a low minimum mhz, and starting Temps.

For example I had it undervolted by forty across the board, three downwards steps when temp is exceeded, Max temp of 68, and minimum speed of 486mhz. Core one quickly went to 486 while cores 2-3 stay at max speed until the temp reaches over 95 degrees and the phone shuts down.

The easiest way I've found to recreate the bug is the first 25% of the antutu benchmark with ktmonitor running. I cant finish the benchmark unless I underclock the phone.

Thanks for this great kernel, and I'm really enjoying the ktmonitor app. It would be nice if it was configurable, say to hide labels or items you don't want.

Edit: i just installed the Feb 24 kernel and it has the same problem.

Here is a screenshot. It will keep rising in temp until the phone shuts off (I believe at 100 Celsius)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
You have a script or an app that is overriding me.