yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 General] rawintellect:
sure but don't try it. I had to locate where it was for KT's kernel. I found it and corrected it. Let me test it.
[Sprint Samsung Galaxy S 4 General] P.Mobile:
i flashed this and i have no more lag in my widgets draw!! sweet!! hey guys if i already flashed this mod and i want to reflash it on the same rom can i just reflash it.. ?? or do i need to start freash and flash the rom again?
[Sprint Samsung Galaxy S 4 General] rawintellect:
Ahhh it won't work for KTweaker. I have a 20 sec delay on my settings and the init.d script I wrote changes the value of the file but it get's overwritten 20 secs later. you might be able to use this script as a model for whatever kernel you're running though. The syntax is:

#!/system/bin/sh

#disable No Gentle Sleepers

echo "0" > /sys/kernel/sched/gentle_fair_sleepers <----this changes the value of the file from 1 to 0 turning off gentle fair sleepers but it gets re-enabled 20 secs later. it might work on settings that have no delay but I always allow myself that 20 sec buffer in case something goes wrong.

to modify this to your kernel find the gentle_fair_sleepers file. it's usually located in sys/kernel/ it could be in sys/kernel/debug also

and then just modify it to the opposite of whatever is in that file:

ex: if it says ENABLE_NO_GENTLE_SLEEPERS then code DISABLE_NO_GENTLE_SLEEPERS in the echo quote

ex: if it says 1 then code 0 in the echo quote

on a completely unrelated note I'll post up my huge sysctl script. It makes my phone SO snappy. give me a sec to get to my laptop and cut/paste :)

Here is the link to my_sysctl. just copy/paste to your /system/etc/init.d folder and change permissions to match whatever you have there and reboot. it should be rwxr-xr-x

I notice a HUGE difference when using this. if you wish to undo it and revert simply delete it and reboot. if you want you can totally use that as an option in the next version of TK_Mod
[Sprint Samsung Galaxy S 4 General] mw86:
I see that there but seems to be no config? I didn't find anything set to enable, disable, 1 or 0. Any thoughts?
[Sprint Samsung Galaxy S 4 General] rawintellect:
ahh it seems that gentle fair sleepers is already disabled in the sched_features file. Nothing to do :)

unless you ran the first script and it turned it off after all. I was just guessing as to the location. I used the most common one. KT does it a little different with a binary (1 for on 0 for off) but it's the same thing in the end.

try my sysctl and see if that smooths out your phone any my friend :)
[Sprint Samsung Galaxy S 4 General] mw86:
Been going through all the materials slowly. Took yesterday off from all tbr TK work.
[Sprint Samsung Galaxy S 4 General] xchampx13:
Awhile ago I suggested why not post all the settings in like the second post so newer people can more easily find them, just wondering what ever happened to that? :P just wondering
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Sorry buddy I just gotten really really busy with life and other things like the tkmod and such im so sorry i haven't for got about what you asked for buddy I plan on editing all the threads this weekend I got some things that need taking out cuz it ment for the s3 and I dont want to be the cuase of a bricked phone
[Sprint Samsung Galaxy S 4 General] xchampx13:
take your time dude, things happens. Don't worry about it whenever you get the time.
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Thx buddy I will try my best to get everything updated this weekend
[Sprint Samsung Galaxy S 4 General] stanley08:
Okay! I have latest Crossbreeder working on my S4 (GT-I9500 Exynos). Omega ROM v10 and Perseus kernel

I should just go ahead and flash this file - TKmod2.4.zip from here - http://www.androidfilehost.com/?fid=23060877489998093

NO Issues whatsoever? :)
[Sprint Samsung Galaxy S 4 General] mw86:
Its an aroma installer with options. My recommendation is uninstall crossbreeder with its uninstaller and reboot then proceed but install our version of crossbreeder unmodified so that it all works with all of our mod.

Go to install select none on any options i dont mention. Install the egrl render mod, sysctrl, build prop, and the crossbreeder top selection. Save a log at the end of install. Choose any apps at the end you would like to try they are free apps. Report back on any issues or if all is good
[Sprint Samsung Galaxy S 4 General] P.Mobile:
can u please recommend what settings in this mod i should use.. i want me phone to be smooth fast when using and sleep like a baby when not using.. i never kno what to pick in the aroma?:):o
[Sprint Samsung Galaxy S 4 General] stanley08:
Will do mate! Thanks for reply again, just wasn't convinced it was for Exynos GT-I9500. :D

Anyways, it's 2am now. Have to hit the sack. will try when i wake up. Cheers! :)
[Sprint Samsung Galaxy S 4 General] mw86:
What you quoted is what i recommend. :) there are uninstalls just go back to it amd uninstall and you should be booted up if you had any issues.
[Sprint Samsung Galaxy S 4 General] P.Mobile:
nevermind bud i cant run KT kernel anymore i get reboots no matter what settings i use.. reboots and the screen will go off when putting the phone up to my ear then it wont come back on.. i have to pull battery.. i dont kno.. its been like this the last 3-4 builds..before that no reboots no problems.. ima stick with stock for now.. i just was gonna give the kernel another chance but just got another reboot and i didnt even touch any settings this time :( i hope future builds these reboots and SOD goes away
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Can you get me a last_kmsg from the extras in the ktweaker app better yet give me all 3 logcat and yall in the extras so I can look it over buddy plz ive been running kt kernel since before he could use it and ive never had a reboot issue before with it I will try to help you best I can to get you running on kt kernel
[Sprint Samsung Galaxy S 4 General] LuigiBull23:
+1 never had a single reboot issue either, unless it was directed towards the ROM build I was running. Soft reboots are normally a sign of that, which is all I've ever gotten thankfully.
[Sprint Samsung Galaxy S 4 General] P.Mobile:
thanks man.. when I go back to using the kernel I will.. another user that gets reboots posted a logcat in the KT thread.. thanks

---------- Post added at 07:58 AM ---------- Previous post was at 07:56 AM ----------

yea not all phones act and run the same bud.. I have ran many kernels in the past that people had problems with but ran great on my phone..
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
I want one from from your phone too buddy you may not be running the same rom
[Sprint Samsung Galaxy S 4 General] LuigiBull23:
I realize that but your issues seem to be completely abnormal with all those reboots you're getting. Something is terribly wrong in your setup if you can't even use a single setting in Ktweaker..

Hopefully the last_kmsg will help.
[Sprint Samsung Galaxy S 4 General] Nooblube:
I get reboots also with the latest KT kernel. Also get the screen stuck off durning call. I wouldn't say its abnormal at all. ;)
[Sprint Samsung Galaxy S 4 General] LuigiBull23:
I too am on the latest kernel. No reboots, no lockups. Everything is working as should and it's functioning just fine for lots of other users as well. That's what I meant by the issues being abnormal in regards to the kernel.

Do you have Crossbreeder installed?
[Sprint Samsung Galaxy S 4 General] Nooblube:
I no I was just busting but no I have no crossbreeder installed. Im flashing KT kernel over now. All when I get reboots its not many say 1-2 a day. Normally when im in a call the screen sometimes stays off then it will reboot.. I have tried diff settings also hoping that would stop it like I used KT settings in the OP of KT kernel thread.. Also just flashed kernel and left it as is.. When I get another reboot ill go into ktweaker app and get a log for u guys
[Sprint Samsung Galaxy S 4 General] HassanM:
Mate it did happen to me as well - screen got stuck during the call but but got fine after couple of seconds... Dont know what that cause was?? Other than that alls well... I assume its concerning some script in the build.prop or sysctrl initd... im sure its minor glitch...
[Sprint Samsung Galaxy S 4 General] mw86:
He isn't on our TKmod and is on qualcomm GS4 Ktoonsez Kernel.

Had a user in TK thread mention screen off issue... If your getting it let me know we can debug it.

These build prop lines pertain to screen proximity sensor.

mot.proximity.delay=75

ro.lge.proximity.delay=20

ro.sec.proximity.delay=0

On stock rom Xphoid on his i9500 was having 5 second delay for screen on during call. He reported it wasn't as bad on these.

Can you if you have the screen on issue let me know. You could try placing a # in front of each of those in like rom toolbox and give a reboot and test.

---------- Post added at 12:21 PM ---------- Previous post was at 12:18 PM ----------

You guys could have a weak cpu chip needing over stock volts. Have you both explored that at all. Under screen on condition it puts a huge load on cpu to get screen on and back to where you were. Do either of you have screen off settings at all like a separate scheduler set for screen of or mhz limited with screen off. Setting kernel settings wrong can easily cause the reboots. Setting up a phone takes careful planning and no one here can help either of you without more info of your whole setups, rom, governor, scheduler, min, max, volt table any of the settings.
[Sprint Samsung Galaxy S 4 General] xchampx13:
Anyone using TKMod on TriForceROM? Just trying it out and seems like may become my daily driver.
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Yea im using it on triforce buddy working good for me
[Sprint Samsung Galaxy S 4 General] xchampx13:
Awesome, will be trying it out soon!

Sent from my SPH-L720
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
Don't really want to flash another mod. I'm using the "better settings".txt that I got from here which gives me UI and keyboard lag but great battery. Did anyone figure out why it causes lag, cause I'd really like a balanced setup like this without the lag. I have CrossBreeder and Triforce ROM 3.0 if that helps.
[Sprint Samsung Galaxy S 4 General] rawintellect:
Give this a shot my friend. This is a collection of tweaks I use on my phone right now that I believe are totally stable and reduce lag significantly beyond crossbreeder. It's not a replacement for crossbreeder. I run these on top of crossbreeder. It's also performance biased (runs at 2.1gHz) with some battery tweaks thrown in to balance it out a bit. It's a flashable zip.

What's included:

1. Some init.d scrips. (zipalign on boot, battery tweaks, kobridge's wifisleeper, cache/system swap files , my media server killer, my tcp

tweaks) Some I wrote. Some I didn't.

2. My build.prop with my tweaks. It backs up yours first.

3. My sysctl tweaks.

4. My KTweaker settings. It backs up yours first.

To install:

1. Download/flash the latest crossbreeder here.

2. Download/flash my installer from here.

3. Wipe cache/dalvik. Reboot.

4. Open KTweaker and restore my settings. Note NOT the Settings.raw. That is actually a backup of YOUR settings. Just restore the one that says "Settings".

I'll fix this later if this is confusing and note it as Settings.bak or something.

5. Give it about 5-10 mins to build cache. That's it.

Enjoy the smoothness. :)

To uninstall:

1. Download/flash my uninstaller here. It restores everything (including your KTweaker settings and build.prop)

back to what they were when you installed.

2. Wipe cache/dalvik. reboot.

While you can totally use this with TK_Mod, I would say that any of the build.prop stuff in TK_Mod should be applied after this as my zip will totally overwrite build.prop.

I created this zip not as a replacement for ANY of the mods I mentioned but as an easy way to apply the settings and tweaks I use on top of these mods on my phone daily. I honestly wasn't going to post this at all in here. I didn't want to take away from TK_mod. I'm a noobie to this team and don't want to step on any toes. But when I realized this could totally co-exist with it and I saw people still having lag issues I figured I'd share my setup. :)

feedback is welcome
[Sprint Samsung Galaxy S 4 General] HassanM:
Mate is your mod a replacement for TK Mod? And moreover how is your/tweaks different thank the TK Mod... Also it it compatible with s4 i9500??

Thanks
[Sprint Samsung Galaxy S 4 General] rawintellect:
No sir. Not a replacement for TK_Mod at all. You can run it with TK_Mod.

My tweaks are just that: What I use in addition to TK_mod and crossbreeder.

The differences? I pretty much explained what's in the zip but I'll try and explain a little more:

I don't rename any files for battery life.

I'm not wiping battery stats.

I don't force the GPU rendering (although I am doing this on my own through developer options. I suppose I could write a script to do it but TK_Mod does this already.)

No boot animation fix.

To be fair I haven't looked at what build.prop tweaks are in TK_Mod. mw86 is looking at comparing mine with what's there to see if any are duplicated. I'm sure there are duplicates. I do know that it is being considered as an additional build.prop for future releases.

The above also applies to my sysctl. It might just be included as an additional sysctl to use in future releases.

The same also applies for my KTweaker settings. I hope they will be included in a future release of TK_mod.

The apps in TK_Mod are not included in this zip. Although I do use crossbreeder and I wrote my own media server kill script (both accomplish the same thing). I also use ram manager which isn't included in my zip.

Basically this zip contains the init.d scripts I listed in the post above, my own build.prop tweaks, my own sysctl tweaks, and my own KTweaker settings.

The only two areas of contention would be the sysctl and the build.prop. You can either use what's in TK_Mod or mine. Not both.

The rest of the tweaks in TK_Mod will work fine with my zip.

As for compatibility with i9500. I don't think you run KT's kernel do you? my understanding is that you don't. If you do all this does is copy my settings file to /sdcard/KTweaker for you to apply. If you don't run it I don't see the harm of it being in that folder at all.

The rest are init.d scripts that should be universal. So yes this should flash fine with i9500. I use TWRP but it SHOULD flash with CWM.

If it doesn't work for any reason I wrote the uninstaller to revert you completely back to where it was upon installation.

In short my friend this is NOT a replacement for TK_Mod or crossbreeder. It's just part of my setup that I believe will offer performance, lag reduction, and a little more battery life than just cranking the speed up to 2.1gHz. I just made it easy to install it and uninstall it.

Hope this helps. :)

P.S. Someone hurry up and give me another thanks so I don't have the number 666 as my total lol! Thank you! :)
[Sprint Samsung Galaxy S 4 General] HassanM:
Firstly u had your thanks... secondly thanks for explaining your tweaks... Thirdly at the top of your reply u mentioned that it can be run along with TK Mod and then later in your reply u said only one can be used either yours or the TK Mod and not both... Fourtly im using Perseus Kernel 7.2... And lastly

I dont have KTweaker but if my memory seves me right it was there during installation of the TK Mod... Im a correct...

Just for info while installing TK Mod I did wipe battery stats... Hope its all ok and by the way what does it do and how it does it?? Is it beneficial for the battery??

Thanks in advance...
[Sprint Samsung Galaxy S 4 General] rawintellect:
I don't think I'm doing a very good job at explaining.

1. Thank you for the bump off the 666 number. I'm just a little leery of that number :)

2. You're welcome.

3. TK Mod is an aroma installer. You can pick and choose which parts of TK Mod you wish to use. All I'm saying is that you CAN use TK Mod with this zip. You just cannot use my build.prop/sysctl with the ones in TK Mod. They overwrite each other. So choose to install either/or. Not both. We are working on a more unified solution. Perhaps adding my build.prop/sysctl as another OPTION in TK Mod?

4. Ok. So as I said all my zip does is copy the KTweaker settings to the /sdcard/KTweaker folder on your phone. The same as TK Mod. This is not an issue for you. If you can use KTweaker and it actually applies the settings go ahead and try it. If not, nothing bad will happen.

5. Wiping battery stats in TK Mod is fine. Again all I'm saying is my zip does not do that. This article here explains what the benefits of wiping battery stats are. :)

If anything goes wrong or you're not happy with the mods just flash my uninstaller. It will remove the init.d scripts it installed (and ONLY those scripts). And restore your build.prop and KTweaker settings to what they were prior to installing this.

Lastly thank you for the interest in my zip :)
[Sprint Samsung Galaxy S 4 General] HassanM:
[MENTION=4745870]mw86[/MENTION]

Marc can u plz look into it and suggest???

Moreover, Im experiencing some problem specially during a call - The screen gets stuck plus the call recorder takes about 2-4 seconds to start..... Surprisingly when I use my headphones (wired) its all fine.... The screen doesnt get stuck and the recording starts instantly....

Plz look into it....

Thanks
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
This definitely reduced the lag but I keep getting constant crashes from nova launcher
[Sprint Samsung Galaxy S 4 General] rawintellect:
Did you wipe cache/dalvik when you flashed? I'll download nova and test it on my phone.

Sent from the rabbit hole.
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
Yeah, I did.
[Sprint Samsung Galaxy S 4 General] rawintellect:
Ok buddy I have good news. I was able to recreate your crashes. But only when I scrolled like a madman and only on the app/widget screens. I enabled "Agressive Desktop" and disabling "Error & Usage reporting" in settings by pressing menu on the home screen. then Nova settings. Then advanced. I disabled them. I then selected "Restart Nova Launcher".

This seems to have helped. I can scroll like a madman on the desktop. The only crash I see every time is in the widget drawer. Is this what's happening to you? Because googling it I see that it's a very common occurrence. I'm looking for a solution. ;)
[Sprint Samsung Galaxy S 4 General] roadrunnrr:
Will def give your tweaks a shot. Ill let you know.
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Well damn looks who becoming the popular one now [MENTION=1274198]rawintellect[/MENTION] lmao

http://pbr1202.photobucket.com/albums/bb374/TexasEpic/Requested Banners/SPH-L720v3_zps61b75aad.png
[Sprint Samsung Galaxy S 4 General] rawintellect:
ha ha...!!! Nice sig! I love the walking dead!!!
[Sprint Samsung Galaxy S 4 General] HassanM:
[MENTION=4745870]mw86[/MENTION] [MENTION=1274198]rawintellect[/MENTION]

Guys u should try integrating your tweaks (if possible) making TK Mod even more stable, robust and a high performance mod...

Goodluck!!!!!
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
Thank you buddy 60+ days left til season 4 starts

Its in the works now buddy damn aroma is damn glitchy on thw s4 still there still working on the s4 aroma to make it more smoother buts its being worked on adding this to the tkmod just our aroma guy is at work for the next 2 weeks so waitning him to get back

http://pbr1202.photobucket.com/albums/bb374/TexasEpic/Requested Banners/SPH-L720v3_zps61b75aad.png
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
I think that fixed it. I don't go through the widget drawer. Thanks so much!!! I'll report back to you on battery. Should it take a few days to see accurate results?
[Sprint Samsung Galaxy S 4 General] HassanM:
I'm sure u guys will work something out....
[Sprint Samsung Galaxy S 4 General] rawintellect:
At least a few days friend. It will give it some time to rebuild caches. Also make sure you use TK Mod to wipe battery stats. That should give it a fair chance on battery life. Remember that my setup is biased towards performance. Not battery. I did what I could to extend battery life though, through various tweaks and scripts. You should see at LEAST 15-20 hours of battery with average use with it. I'd consider that good.

Thanks for reporting back on the problem solved. :good:
[Sprint Samsung Galaxy S 4 General] Graknolla:
Very useful. Thanks for the help.
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
Would the app "battery calibration" suffice?
[Sprint Samsung Galaxy S 4 General] rawintellect:
Anything that wipes battery stats.
[Sprint Samsung Galaxy S 4 General] Toonlinkmaster25:
I'm still getting constant crashes. I have a 4x5 layout with fast scrolling btw but I can't get into the settings without it crashing

---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------
[Sprint Samsung Galaxy S 4 General] rawintellect:
Have you tried another launcher? No offense to Nova but I stripped my phone of all my tweaks this afternoon trying to diagnose your problem. I removed:

1. My build.prop.

2. all of my scripts. including the ones not posted in my zip.

3. my sysctl settings

4. my ktweaker settings. I even used stock frequencies and voltages.

My phone was as stock as the day it came out of the box and I was still able to get it to crash on the widget screen. if you don't feel comfortable switching to apex I'll install it when I have time and test it on apex to see if I can recreate a crash.

Being that I totally removed all tweaks and optimizations and this still crashed, I'd say it's a problem with the launcher itself. I'm sorry it's not working for you. Maybe open a problem ticket with the app's designer via the google play store?

I'm sure you don't like touchwiz but I can guarantee this works fine with TW.

EDIT: I just tested this with Apex launcher and it works perfectly. No crashes. This confirms there's an issue with Nova. Apex is VERY similar to nova. Give it a try. I am flying through all screens on the widget drawer. Launchers are fairly simple to install and uninstall. They're just apps. I can try Go launcher too if you wish? And even SPB 3D shell. But Apex is the launcher that most closely resembles Nova launcher.

I'd bring this up with the developer of Nova and tell him what release of Android you're running (4.2.2 most likely) and what build. I'm running MF9. Perhaps there's some issue with MF9?
[Sprint Samsung Galaxy S 4 General] galaxys3man30:
The next launcher is awesome too

http://pbr1202.photobucket.com/albums/bb374/TexasEpic/Requested Banners/SPH-L720v3_zps61b75aad.png
[Sprint Samsung Galaxy S 4 General] mw86:
Your awesome and I've been hard at work on aspects of TKmod. I'll post progress reports as I go. You use great mods bud like you and I explained already we both were using nearly a ton of the same awesome settings. Thanks for sharing. I'll keep working hard on this. Some users seem confused. Eventually they can flash TKmod to have the collaboration of both settings. They can try yours and load the tkmod after to try ahead of time as you were saying which to me was clear on direction.

as i was discussing with you today, Raw Intellect was kind enough to send me all of his materials which I have been going through and Raw Intellect's tweaks will be part of TKmod. There will be credit in TKmod for his great work. I was going over the stuff since the other day he sent it.

Nice avatar bro and been working hard on my end buddy of TKmod since me and RErick are working on it. We split the works equally buddy. :) While RErick on road lots of work being done.

Here is new logs shown after my current changes in TKmod scripts will be seen in next update.