yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] prototype.77:
Just overclocked to 2106...interactive..row and undervolted -25 across the board...nothing special just trying some things out that I ran on my S3
[T-Mobile Samsung Galaxy S 4] lasphyxial:
Any chance of a tmo version of 6/30 AOSP kernel the current link is a att version.
[T-Mobile Samsung Galaxy S 4] teshxx:
AOSP is already updated for TMO. Link from Post #1 http://goo.gl/AWZK5
[T-Mobile Samsung Galaxy S 4] MrHomebrew:
The download link hear and on the main page are still for 06/23. Has the 06/30 version been released yet?
[T-Mobile Samsung Galaxy S 4] teshxx:
TW version is not updated. The AOSP is updated for 06/30. The link above is for AOSP released today (06/30)
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
That link is for the 30th dude
[T-Mobile Samsung Galaxy S 4] MrHomebrew:
Oh ok thanks for letting me know sorry for the confusion.
[T-Mobile Samsung Galaxy S 4] norml:
A lot more ppl are gonna be confused when they try to DL the tjizz version and then realize that it's still the 6/23 version, then they are gonna come back here and say something, believe me you.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
The build.prop is messed up in the ROM, look for:

ro.product.device=

Make sure it says GT-I9505 or jflte
[T-Mobile Samsung Galaxy S 4] teshxx:
worked like a charm. Graci!!
[T-Mobile Samsung Galaxy S 4] MrHomebrew:
Lol common confusion with the title and download link being slightly different but someone will read these posts.

What is the reason for the hold on TW version if anyone knows? Do tell :beer:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
http://xdaforums.com/showpost.php?p=43120839&postcount=775
[T-Mobile Samsung Galaxy S 4] elesbb:
Sammy is killing me with these random reboots! Btw I am trying faux kernel for a bit. And huge difference in my display. You really nailed it with that! Your kernel makes the display a thousand times better!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I found out a little more about that error I told you about the other day by following about 30 of the thousand links searching that error produces, its something from userspace (I.E. ROM) that is constantly doing something to the usb and the length of data is zero causing that repeat of log items over and over.
[T-Mobile Samsung Galaxy S 4] elesbb:
Well I'm running my own ROM, find anything more out about it? I'm very interested!!
[T-Mobile Samsung Galaxy S 4] BlackGURU:
At first I was debating between your kernel vs faux123 and its obviously clear I chose the right path. Good Job and thanks for the sweet constant update
[T-Mobile Samsung Galaxy S 4] Skipjacks:
I had a freeze up and reboot after picking Nightmare gov. I had just touched it by mistake for a second and could not switch it to anything else.

The KTweaker app froze and the phone rebooted.

kmesg included
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Ya, I need to find some time to just remove that one, its meant for kernel Linux 2.6 and just does not behave.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
It apparently wasnt the governor that was the problem. I just had another freeze and reboot. This time it happened when I used the home button to turn the screen on.

This is on the latest cm nightly, june 30. It is possible its a cm problem as they made some changes in the last few days that break ChronicKernel completely. That kernel suddenly wont even load the boot animation. It sticks at the Samsung splash screen.

It could also be residual settings left over from built in cm settings that conflict with your kernel settings. This is not a fresh install.

Also I had messed with having the gov change to conservative during screen off. Trying to switch back on screen on might have crossed it up.

Just tossing out possibilities. I don't want you to think I'm just dumping on your kernel work. I definitely recognize there are other things that could be going on.

Anyway here is another kmesg....
[T-Mobile Samsung Galaxy S 4] mamba720027:
It live up to its name "Nightmare" :D
[T-Mobile Samsung Galaxy S 4] ktoonsez:
10,000+ lines of code changed yesterday on CM so ya, a whole butt-load, lol. Looking at the log it is the same old ones that all QCOM kernels suffer from, stock/custom/aosp/tw. Doesnt matter what it is.

All kernels seem to repeat these lines and eventually crash:

Received Zero actual length: 0

PM: Device alarm failed to suspend: error -16

QSEECOM: qseecom_ioctl: failed qseecom_receive_req: -512

These 3 are all over the internet, no resolution. Stupid ass QCom platform really gets on my nerves!!!!!!!!! Its starting to become the S3 all over again and will likely be months and months before those errors get squashed just like S3, Im waiting for the the dreaded "no-screen" wake thing to start any day now.
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Well thanks for getting frustrated and working to fix it so I don't have to! :D

Despite 2 reboots in 3 hours of use, CM is running super smooth on your kernel. So its definitely going in the right direction!
[T-Mobile Samsung Galaxy S 4] BlackGURU:
Hey KToonsez I overclocked my phone to 2.0 Ghz using your kernel and my phone has rebooted twice, and now it won't boot up at all....
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
These phones are very sensitive to oc n since it wont cut back on plug the charger back in to it wait until it vibrates and then you can turn it back on but basically ur phone is in thermal lock pluging the charger back in resets i guess its just what i had to do
[T-Mobile Samsung Galaxy S 4] BlackGURU:
It finally turned on, and then when I went to KTweaker, my Mx was at 8mhz so I Oc'd again and same thing happened so I Just loaded default stock kernel and changed governor
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
I have the same problem with oc my can only handle 1998 and run stable but if I go higher it will do the samething as you its just maybe your phone cant handle ocing that high buddy
[T-Mobile Samsung Galaxy S 4] norml:
Can anyone recommend some settings for antutu testing, so far I read to change gov to performance and io sched to vr. Anyone know other stuff to change? btw I am using the "big guy's" recommended settings in his post #3. Thanks fellas!!
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Are the voltage values that come preset in the ktweaker app stock? Or are those undervolted by default?

Sent from your phone. You should be careful where you leave that thing.
[T-Mobile Samsung Galaxy S 4] PENKO956:
i know aosp kernel got updated yesterday. and one of the changes was: "cpufreq: ktoonservativeq: Block repeat calls to schedule_work_on()"

my question is: was this just and update needed on aosp or would tw benefit from this change to the ktoonservatieq governor? just asking because my phone is flawless with no need to charge thru the day what so ever. anything extra from this governor would be icing on the cake.
[T-Mobile Samsung Galaxy S 4] mike216:
Me too, I **** myself when this happened on the way to work. It took around 5 minutes before it came back on

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Will this fully work on the stock rom? I remembered something about how smart pause wasn't working or something. Not sure

---------- Post added at 05:59 PM ---------- Previous post was at 05:49 PM ----------

May someone please link me to the 6.10.2013 version where MF4 is not included.
[T-Mobile Samsung Galaxy S 4] whytechapel_x:
It comes stock
[T-Mobile Samsung Galaxy S 4] gaww:
https://www.dropbox.com/s/iaoev1fagiwjv5u/KT-SGS4-TW-JB-TMO-06-10-2013.zip
[T-Mobile Samsung Galaxy S 4] mcg:
Getting lots of random reboots on the Canadian Samsung S4, running the OP's recommended settings. =( no undervolting either.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
They are stock, except for the UC/OC steps of course.
[T-Mobile Samsung Galaxy S 4] BlackGURU:
So is it the Galaxy s4 in general, or just the one that I have.
[T-Mobile Samsung Galaxy S 4] Slicktune:
Would you mind sharing your settings?, I've used k toons kernel before on my galaxy s3 and worked flawlessly, Ktoonz has always had the best kernels in my opinion, but my battery seems to drain as if I wasn't using a custom kernel...:(

CURRENTLY ON: 4.2.2. GE Edition from Google

KTOONZ SETTINGS ARE:

MIN: 348

MAX: 1249

GOV: ON DEMAND

SCREEN OFF: 347

SCREEN OFF GOV: POWERSAVE

Is there something I'm doing wrong? All I do is text through out the day take a few peeks here and there at instagram & google maps, I close them right after I'm done, and I do keep my WiFi on at all times and I never use Bluetooth...

Thanks in advance!!:(
[T-Mobile Samsung Galaxy S 4] wh4g:
I followed your instruction, but I'm still not seeing the external SD card. Is there a particular setting I need to have?
[T-Mobile Samsung Galaxy S 4] Monkz:


Have you tried using Ktoons recommended settings from post #3? His ktoonservative governor is the best when it comes to performance and good battery life. Try his recommended settings and governor adjustments and you probably will notice great improvements on your battery life.

Running his settings i get ~ 4.5 hours of screen time, where i would get about 3-3.5 on stock.
[T-Mobile Samsung Galaxy S 4] Nosferatu.:
only small issue I have is I cannot get fast charging disabled. Even if I toggle it I can't seem to access the files on the phone when connected to a PC. Any thoughts? I tried enable and disable again and it says the program gets SU access when I pick enable but I don't get the notification when I pick disabled.

Otherwise, love this kernel.
[T-Mobile Samsung Galaxy S 4] PENKO956:
google services is a big battery drain on 4.2.2. check this thread out for some tips

http://xdaforums.com/showthread.php?t=2338487

*oh and i don't use a screen off gov or min mhz and i get 24+ hr on ktoonz gov.
[T-Mobile Samsung Galaxy S 4] mamba720027:
I think that rom youre useing is AOSP as the settings i listed below i tested on CM 10.1 ROM. The governor DOES NOT scale the same with these settings on TW Rom but anyone feel free to try them untill i post a fine tune adjustment for TW Roms. It may or may not improve your battery performance but im interested to see if anyone else have similar results as me with these settings :) . In rom i had heptic feedback and touch sound off. I also had the "Greenify" app installed to control apps while the screen is off. My usage was light/medium.

Also,all cores do go online upon heavy usage, it is just set in that when youre doing light tasks such as scrolling threw web pages,pictures,useing music player, that 2 cores would go online and sometimes 3. Heavy load (Gameing) all 4 will switch on. Acts like a dual core to save battery when doing light tasks.

NOTE: Any features not listed below in governor adjustment is set at "0"

CPU MIN/MAX - 378/1890

I/O Scheduler - VR

CPU Governor - Ktoonservativeq

Governor Adjustments

Boost 2nd Core - 1

Boost Hold cycles - 15

cpu down block cycles - 15

cpu hotplug block cycles - 40

down threshold - 52

down threshold hotplug 1 - 35

down threshold hotplug 2 - 55

down threshold hotplug 3 - 75

freq step - 5

no extra cores screen off - 1

sampling down factor - 1

sampling rate - 60000

sampling rate min - 10000

sampling rate screen off - 60000

touch boost 2nd core - 1

touch boost cpu - 702

up threshold - 95

up threshold hotplug 1 - 58

up threshold hotplug 2 - 78

up threshold hotplug 3 - 88

Extras

screen off profile - 702mhz

screen off GPU max - 200mhz

Bluetooth profile - 702MHZ

Vibration strength - 50

mdnie scenario - video cold mode

mdnie background mode - Auto

SDCARD SECTION

Internal Read Ahead buffer - 2048

External read ahead buffer - 2048

GPU SECTION

GPU Max - 320mhz

Gpu governor - ondemand

Trinity Colors - cool

VOLTAGES

378Mhz - 795mv

486mhz- 825mv

594mhz - 830mv

702mhz - 840mv

810mhz - 860mv

918mhz - 890mv

1026mhz - 900mv

1134mhz - 930mv

1242mhz - 955mv

1350mhz - 980mv

1458mhz - 1010mv

1566mhz - 1040mv

1674mhz - 1060mv

1782mhz - 1100mv

1890mhz - 1130mv
[T-Mobile Samsung Galaxy S 4] elesbb:
[MENTION=4325945]ktoonsez[/MENTION] any update or new info in regards to that qseecom issue? Every single reboot I had that was always in the last kmsg.

I'm pretty decent with smali so if there is anything I can hack or test inside the ROM code I'll be more than willing to do so!
[T-Mobile Samsung Galaxy S 4] CamFlawless:
Who said anything about a ROM? :what:
[T-Mobile Samsung Galaxy S 4] ganastasiou:
[offtopic]

Sorry i was at the wrong tab when posted this. But ill be glad if you can point me to the to thread in which a multilanguage rom exists(so i can choose greek language), and has air gestures and touchwiz. Right now i use nightly from cm10.1 but i dont have touchwiz and airgestures. Thanks in advance. [/offtopic]
[T-Mobile Samsung Galaxy S 4] PENKO956:
http://xdaforums.com/showthread.php?t=2253528 tw/air gestures + dev is from Greece
[T-Mobile Samsung Galaxy S 4] ktoonsez:
I have found nothing, you?
[T-Mobile Samsung Galaxy S 4] ganastasiou:
I am sorry again, last question this one is for i9505, but would this kernel be ok with m919?
[T-Mobile Samsung Galaxy S 4] PENKO956:
yes. just make sure you flash kernel right afterward. now go! sorry kt
[T-Mobile Samsung Galaxy S 4] elesbb:
Just threads of people with the same issue. What is that qseecom thing anyhow?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
It is the Qualcomm Secure Execution Environment Communicator
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Can anyone post their version of the best settings to post for best battery life and performance?
[T-Mobile Samsung Galaxy S 4] mike216:
Ktcomservite

198-1998

-50 volts global

Bam unbelievable battery life and performance

That's what makes me happy

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] rel500:
Does this work with Wicked V4?
[T-Mobile Samsung Galaxy S 4] Tunasty:
yes it does. Download the TW version.
[T-Mobile Samsung Galaxy S 4] rel500:
Thank you kind sir
[T-Mobile Samsung Galaxy S 4] ktoonsez:
OP Updated

Change Log

1. Linux 3.4.51

2. CM updates from last night

3. ktoonservativeq: Use dedicated high-priority workqueues

4. ktoonservativeq: Change hotplugging routines to use new dedicated high-priority workqueues

5. 3 and 4 made ktoonservativeq EVEN FASTER!!!!!!!!!!!!!!!!!!!!!!!!!! You are not gonna believe it and probably wet yourself

6. ktoonservativeq: Block repeat calls to schedule hotplugging events

7. A few fix-ups for KTweaker

8. Minor Linux patches and reverts

ENJOY!!!!!!!!
[T-Mobile Samsung Galaxy S 4] mike216:
Thanks kt! Do I have to tweak anything to benefit from the ktoonservative new features or do they work by just selecting that governor?

Sending another donation out to my favorite tech genius

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man :D. You dont need to do anything special, new stuff is just built in :good:
[T-Mobile Samsung Galaxy S 4] mike216:
I don't know how your going to top the previous version! I'm at 22 hours of idle time, 2 hours of screen on time and at 60% :thumbup:

But I'm sure you will

SGH-M919_Omega, the end result

---------- Post added at 06:36 AM ---------- Previous post was at 06:32 AM ----------

Donation sent! Thanks so much

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Very cooooool, thanks man :D :good: :highfive: :cool:
[T-Mobile Samsung Galaxy S 4] mike216:
Dude this thing is crazy! I definitely don't miss AOSP with this speed. I've said that before. I can't imagine pages loading so fast and games being so smooth. Played a couple levels of rayman jungle run and it's buttery smooth.

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] Tunasty:
Does this update have faster screen response time for it to turn on when we receive a phone call?

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] mike216:
I'll have to wait to receive one but not sure I ever remember it being laggy? No body calls me besides my mom, dad and girl asking for money. Let you know tomorrow. I'll look for it

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] tikay00:
This kernel is epic. Wow.
[T-Mobile Samsung Galaxy S 4] mamba720027:
@ Ktoonsez

The way the hotpluging of the cores function now seems perfect. Everything else runs smooth and fast as ever :)
[T-Mobile Samsung Galaxy S 4] elesbb:
Really now?

My sneezing is bad enough! Now I get to wet myself? That's just so pleasant ^-^ so looking forward to it!

Lol thanks for the update boss! I'm gonna figure this stupid qseecom bull crap out too. I hate these reboots! (Not your fault)
[T-Mobile Samsung Galaxy S 4] Monkz:
Loading this update on the way to work was a bad idea. Now I gotta change my pants but I can't...

Your the best KT!!!!
[T-Mobile Samsung Galaxy S 4] makomek:
By just looking at the new update......
[T-Mobile Samsung Galaxy S 4] gaww:
I had not tried TW versions after 6/10, as the base had changes to MF4 and some posters had issues possibly due to this. Are others using it on MDL based ROM's and not having any problems, as I would like to get the benefits of the improvements like the changelog above ?
[T-Mobile Samsung Galaxy S 4] Monkz:
Like them very much so. The kernel is the most important thing to me, so i switched to an MF8 based ROM to fully utilize the kernel :)
[T-Mobile Samsung Galaxy S 4] gaww:
Thanks - I had tried it with Omega also, but was wondering how it is working with MDL US TMo ROMs..
[T-Mobile Samsung Galaxy S 4] Monkz:
Works just fine, however features like Smart Stay, SmartScroll, Air Gestures etc wont work
[T-Mobile Samsung Galaxy S 4] PENKO956:
kernel should work fine on MDL firmware.

*THANKS for update kt! the only thing is now i'm all wet!!!
[T-Mobile Samsung Galaxy S 4] kevinrubio1:
Download version 6/10
[T-Mobile Samsung Galaxy S 4] ktoonsez:
MALOF!!!!!!!!! Too funny :D :good: :highfive:
[T-Mobile Samsung Galaxy S 4] gaww:
I went up to 6/17 version, which was MF4 base, and Air Gestures still worked, but have not gone past it on US TW so far.

If latter versions are having issues like the above, would probably stay with older compatible version until US TMO catches up (which could be a long time unfortunately). Will update Omega installation with it though.
[T-Mobile Samsung Galaxy S 4] Jdom58:
OK so does this kernel work better on a MF8 based TW ROM than on a MDL TW ROM?
[T-Mobile Samsung Galaxy S 4] Monkz:
It works good either way, just all those Smart Scroll, Air Gestures ETC most likely wont work unless its MF4+.
[T-Mobile Samsung Galaxy S 4] Jdom58:
Monkz I'm not so sure about that, I'm running Wicked V4 MDL ROM with the latest 7/2 version and just tested the AIR features and they are working for me.
[T-Mobile Samsung Galaxy S 4] Monkz:
Oh is that so? I know the 6/23 and 6/30 i couldn't use smart scroll, smart stay etc and switched to an MF8 ROM to get it working again.
[T-Mobile Samsung Galaxy S 4] cwalker0906:
Still get random reboots on aosp. It only happens on koonservative gov....switched to interactive and no reboots....yet Lol thanks for your work
[T-Mobile Samsung Galaxy S 4] Jdom58:
yeah definitely, all the air features are working. Let me check on the smart scroll and I'll let you know

OK the smart scroll is not working for me either, hey but at least one outa two ain't bad :) So using this kernel on a MF8 ROM everything is working as it should?
[T-Mobile Samsung Galaxy S 4] tikay00:
Must be your ROM. I'm running the tw kernel with virgin ROM. Not a single problem yet. Been using for the past 20 hours.
[T-Mobile Samsung Galaxy S 4] rockstarar:
That's not aosp so it doesn't refute his point bro
[T-Mobile Samsung Galaxy S 4] Monkz:
Yup!

---------- Post added at 01:26 PM ---------- Previous post was at 01:08 PM ----------

Anyone else having issues running the latest version of the Kernel on a TW MF8 based ROM?

6/23 worked perfect for me on Jedi X2, but on 7/2 my phone freezes and reboots itself within a minute of booting up. I started by force closing KTweaker, clearing Data and cache and then flashing the new kernel, wiping cache/dalvik and fixing permissions etc, but when it booted up and i went into KTweaker to adjust the settings i got stuck on vibration strength popup, and regardless if i pressed yes or no it would freeze and then reboot my device.

After the initial reboot, no matter what i do it freezes then restarts within a minute or 2.

I tried to then restore my nandroid and flashed over the old kernel again, this time without force closing and clearing the KTweaker data and cache, and same problem occured.

I then resorted to doing a full system wipe, and on the new clean install of the ROM it does the same thing. The reboots only start happening after the first time i open KTweaker. But once they start they always happen regardless within a minute or 2 of booting up.

Currently back on the 6/23 version and its working fine, but this is strange.... I can't pull any kmsg because KTweaker just hangs when i accept the new vibration values or decline it, and then by then the minute or 2 has gone by and my phones frozen or booting up all over again.
[T-Mobile Samsung Galaxy S 4] mike216:
Everything is working perfect on Omega. Amazing battery life. All the smart features. Camera, everything is flawless.

SGH-M919_Omega, the end result
[T-Mobile Samsung Galaxy S 4] Miami8906:
Same thing here koonservative locked ny phone up but every other gov works fine so far. Nice kernel really like the app that goes with it.
[T-Mobile Samsung Galaxy S 4] micky14x360:
uv 50mv

When I go to the voltages screen #1. it won't let me scroll the past 700mv so I use the menu to go down to 50(idk maybe everybody has to do this lol) but #2. After I get it to 50mv I hit apply but then when I exit and go back its back to default... Any help telling me how to get this to stay would be much appreciated
[T-Mobile Samsung Galaxy S 4] tikay00:
Exactly my point bro. Its probably his specific ROM. The point in me saying virgin ROM was to point out that I'm using a tw ROM with GE added. Therefore he should have no problems bro.
[T-Mobile Samsung Galaxy S 4] cwalker0906:
Dude I'm talking a real aosp ROM with the aosp kernal...I understand your trying to be helpful but if you don't know...its OK and you don't know
[T-Mobile Samsung Galaxy S 4] Jdom58:
Monkz, I just flashed Jedi SX4-2 and added 7/2 kernel and everything is working perfectly including Air and Smart features.No problems with KTweaker either.
[T-Mobile Samsung Galaxy S 4] Monkz:
This is very strange then.... I finally got it working myself, but now my temps are idling in the 60's, and frequently throttle at 70 when doing basic tasks on my phone.

Nvm started going back into that boot problem again. I don't understand why my device is being sooo picky all of a sudden. Havent had too much of a hassle up until now. There were a few Kernel updates where a factory wipe was necessary for me to get it working, but up until now that hasn't failed me. :l
[T-Mobile Samsung Galaxy S 4] rockstarar:
you're using the tw kernel. he is using the aosp kernel. not sure if the repeated bro's was trying to patronize me but come back when you get what you're talking about. not gonna clutter ktoonsez's thread because i love his work and he is a great guy. me and cwalker are on the same page. clearly you checked out the wrong book.
[T-Mobile Samsung Galaxy S 4] tikay00:
So you're using cm 10? That's the only real aosp besides aokp and their derivatives. Common sense bro.
[T-Mobile Samsung Galaxy S 4] Monkz:
Ok so it seems that i need to install the kernel BEFORE restoring all of my apps. I don't know why, but it seems to be stable now!. I am thinking it MIGHT have something to do with Foldermount? Ive restored backups and installed updated kernels without issue before, but i think the last backup i had made had some module modified from FolderMount so i could move apps to SD. It doesnt seem to affect the kernel when its installed before the module is changed, but im starting to think that after FolderMount modifies whichever module it does, it screws up with any kernel updates that are flashed afterwards?