yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] Misk77:
Pretty good hydra profile

2 email account, Facebook intervall 4h.

Gps on, sync on
[T-Mobile Samsung Galaxy S 4] big.t_03:
*Long, detailed post warning*

I'm in the same boat. I lose 5-7% overnight. I get 4hrs max screen on time spread over about 16hrs, isn't terrible until I see people getting 5-6hrs screen on over a day and a few hours. Is it unreasonable to lose 11% battery over 54 mins of screen on? My math says it's about .2% a min drain with screen on, which doesn't sound too bad. I'm using Lux for auto backlight/brightness control. I've also converted Google Play Services to a user app and Greenified it.

I also notice sometimes my settings don't stick in KTweaker when applying a profile, and sometimes the max cpu speed is wrong and I have to manually adjust it. Sometimes I get some lag on opening apps. There's screen on lag of 2-3 sec with calls and sometimes 1-2 sec when hitting the unlock button from sleep, but I read that's normal while using Moonlight v3. I was using SetCPU with a profile set to run for a handful of games, but I deactivated the profile and froze SetCPU in Ti, and the wonkiness persists but isn't reliably reproducible. I've reflashed the kernel in TWRP following Ktoonz's instructions, no dice. I'm using Greenify, BatteryBooster, BetterBatteryStats, and following instructions from the "better battery life when idle" thread.

I'm using the 2/5/14 KT release on Wicked and running under Moonlight v3.

Sorry if I detailed everyone to death with the long post. :P I'm just curious if anyone else is experiencing what I am.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
New builds coming up in about 20 minutes!!!!!!!! 40 item change log with totally re-done KTweaker and new KTmonitor app!!!!!!!!!!!!!!!!!!
[T-Mobile Samsung Galaxy S 4] Tunasty:
The big update is finally here!!!

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Guys on AOSP 4.4, just uploaded a newer version that might fix the FC's of KTweaker. If someone still has there original ktweaker folder on there sdcard, please re-download, rename the backup of original ktweaker folder back to ktweaker and let me know how it works out :good:
[T-Mobile Samsung Galaxy S 4] mamba720027:
Was just about to post a log about the FC of KTweaker but on TW 4.3, Anyways here it is still if it helps.

https://www.dropbox.com/s/11vwvhhwttchgzl/alogcat.2014-02-18-20-41-42-0500.txt
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks. Only if you redownloaded in the last 10 minutes, I updated the conversion code. And you have to have a totally clean /sdcard/ktweaker folder (meaning its only got the old stuff) or you will be mixing data.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
[MENTION=4325945]ktoonsez[/MENTION], all is running fine here bro. Thank you for the outstanding work sir. :thumbup:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Thanks man :D
[T-Mobile Samsung Galaxy S 4] mamba720027:
Ktweaker works now with clean Ktweaker folder but profiles I rename with the .xml extension causes the FC on my end. Will try again when I have time. Also I notice on first install leaving old ktweaker folder that ktweaker converted only some of the profiles to the .xml but I had not try any to verify if it FC. Maybe im doing something wrong.
[T-Mobile Samsung Galaxy S 4] phrotac:
I can't find the new kernel or KTweaker???

I keep checking but 2-05-2014 is the latest on the download page from post 2 (T-Mobile)

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] CamFlawless:
http://xdaforums.com/showthread.php?t=2289140
[T-Mobile Samsung Galaxy S 4] phrotac:
Thank you. Nothing new for TW 4.3?

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] CamFlawless:
http://xdaforums.com/showthread.php?p=50438611
[T-Mobile Samsung Galaxy S 4] phrotac:
I guess not. Only TW 4.2.2 :(

Thank you anyway :)

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] CamFlawless:
I'm seeing 4.3 TW.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Uploading now. :)
[T-Mobile Samsung Galaxy S 4] phrotac:
My bad. I wasn't hitting the continue reading thing ?

Thanks yet again :)

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Your all borked up now. Just get rid of the old stuff and start again. You cant rename the old files with an xml extention on it, the files contents are completely different.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Yea while I was in the train to work I view the xml file and notice the structure was different. Crap that means I have to abondon about 6 new profiles. Oh well ill probably put together something better.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Not if you still have them saved in the old format, it will convert them if you put them in the /sdcard/ktweaker/ foldere
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Definitely don't need to abandon a single profile so long as you actually backed them up somewhere. Basically, after updating and clearing out the old Ktweaker folder you just copy any old profiles back into the root of the folder and Ktweaker will automatically convert those profiles to XML and move them to /sdcard/ktweaker/profiles/ the next time you open the app while the old ones are moved to /sdcard/ktweaker/oldprofileformat.
[T-Mobile Samsung Galaxy S 4] doctordroid:
It was a no go for me on the new ktweaker . Told me to go to a Verizon store. How do you load it up?
[T-Mobile Samsung Galaxy S 4] phrotac:
Where do I find the new KTweaker and KMonitor?

EDIT: I can't find them in Developement, Original Development, or Themes and Apps. A search brings up way too many results to be any good. I have the newest ktoonsez kernel installed, and I found directions for installing the new KTweaker, but I can't find the new KTweaker. Someone please point me in the right direction. I feel like I only have half a phone without moonlight v3 profile :(

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
There are no additional steps for installing Ktweaker as that along with Ktmonitor are both included in the kernel zip and like any other app are placed in your app drawer upon flashing the kernel.

If you encounter any issues just force stop and clear cache/data on Ktweaker then delete the ktweaker folder located on your internal sd card and reflash today's release.
[T-Mobile Samsung Galaxy S 4] phrotac:
Awesome! Thank you. I thought I was supposed to move my profiles out of the KTweaker folder, install KTweaker, put my scripts back, and then run KTweaker to convert my profiles to the xml format. I didn't do that before installing today's release.

I copied my profiles to the sdcard/ktweaker/profiles folder, ran ktweaker, and restored moonlight v3. It seemed to work alright. Thank you for your reply.

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Yes. As I mentioned a couple posts up, if you have any old profiles present in that folder then you would need to temporarily move them elsewhere before attempting the procedure above. After updating and removing the old folder you can simply copy back just the profiles to /sdcard/ktweaker/ while Ktweaker automatically takes care of the conversions the next time you open it.

The best part is you will never lose the old format of the profiles as Ktweaker will also move those to /sdcard/ktweaker/oldprofileformat/. This will also prevent the need to manually edit your settings from scratch.

Pretty awesome. :)
[T-Mobile Samsung Galaxy S 4] Danster840:
Hi guys! I was just wondering if disabling system/bin/mpdecision is still needed to get the most out of the kernel? I was looking over the KTweaker shop learning documents and saw perseus suggest that in the scheduler i/o settings page?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Absolutely not. It's already disabled in the ramdisk so shouldn't be running when flashing the kernel.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Unfortunately for me I did that but wance I close ktweaker and reopen it at the point where it is supposed to convert the old profile I get a FC. I Redownload the latest TW 4.3 update kt kernel to be sure im installing the right and latest but still no go. Next thing im thinking of doing when I have time is to install another rom to see if it will work.
[T-Mobile Samsung Galaxy S 4] phrotac:
Same for me. It blinks a few times and then the "Unfortunately..." message appears and KTweaker shuts down???

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] Chelonee:
For everyone that experiences FC of the Ktweaker app after adding profiles:

After flashing the new update of this great kernel, i copied my own old txt profile in the new ktweaker folder and the app converted it without any issues. I then tried to convert SRV 3.1 to the new format and suddenly, after copying the txt file in the folder the app fc'ed and I wasn't able to open it again, even after deleting the files.

I cleared data/cache of Ktweaker and rebooted and the app worked fine again.

So why should my profile be converted without issues but the SRV profile not?

For me the solution was to rename it. I guess Ktweaker app can't handle spaces. I renamed the Profile to simply "SVR_3.1" and everything worked. Just tried it with Comatose T1 profile and again, it worked without issues. :)

TL; DR Rename your profiles before you copy them in the root of Ktweaker folder and make sure, there are no spaces in the new name :fingers-crossed:
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Definetely not needed, its most likely your leaked Jizzer ROM. I converted them all from the KTweaker Shop and 90% of them have spaces in them. So anybody reading this post, it is not needed except maybe for jizzer 4.4.
[T-Mobile Samsung Galaxy S 4] Chelonee:
But I'm not on a touchwiz rom. :confused: :eek: I'm using Mahdi Rom, which is AOSP 4.4.2 based.

I tried converting the profiles by simply copying them in the folder, but that only resultet in FCs of the Ktweaker app.
[T-Mobile Samsung Galaxy S 4] mamba720027:
I have no idea how but this worked perfectly for me on TW . Now finally I can continue some script/profile tests.
[T-Mobile Samsung Galaxy S 4] Chelonee:
Glad, that this helped you! :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Can either one of you put a file file with a space in the ktweaker/ folder and grab me a logcat so I can see what it is doing?
[T-Mobile Samsung Galaxy S 4] Chelonee:
Sure, mate :)

But I have never done this before. If I googled it correctly, I simply need to recreate the problem with converting files and after that, I type "logcat > /sdcard/logcat.txt " in the terminal app, right?

Edit:

I'm not sure, if this is helpful to you or not. :/

I used the Ota app which is build into the rom I'm using to create a bugreport.

But maybe this additional info is helpful: When I tried to recreate the issue, Ktweaker converted the "Comatose T1" profile (with spaces) without issues. I then tried to convert the "SRV v2" script (with spaces) and suddenly the app fc'ed again.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
The zip file was no good, nothing in it. You made getting the file way too hard, just go into Tools screen in ktweaker after you make it crash and then get it back so u can get in and then just click the generate logcat option and upload the txt file :good:
[T-Mobile Samsung Galaxy S 4] Chelonee:
Didn't know that it is that much easier :D Thank you! Here is the generated logcat :)
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Well that was easy, the file you put in the /ktweaker/ folder is a Script, not a profile!!!!!!!!!!!!! Lol
[T-Mobile Samsung Galaxy S 4] Chelonee:
Guess it was my mistake then and i copied a wrong file. :silly: Sorry for all the fuss.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
No problem :good:
[T-Mobile Samsung Galaxy S 4] DLUX24:
First battery run Bless the child profile, SRV2 script.
[T-Mobile Samsung Galaxy S 4] doctordroid:
So how do I get moonlight version 3 to work? Its not and I moved it into the folder. I must be retarded.. What am I not doing or missing
[T-Mobile Samsung Galaxy S 4] mamba720027:
Heres a log after it FC but I had to clear cache/data after to get back into KTweaker and generate logcat so hope that does not affect grabbing the log. If it does I could use another app to pull a log. Just let me know.

https://www.dropbox.com/s/c1mgzu24tlpzlj3/kt_logcat.txt

Log from other app.

https://www.dropbox.com/s/1o7mqqrrx3rqiac/alogcat.2014-02-19-19-11-16-0500.txt
[T-Mobile Samsung Galaxy S 4] ktoonsez:
The other guy already beat you to it. You are putting scripts in the folder instead of profiles.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Im 100% sure im not putting scripts into the folder. It could be the rom probably. But renameing the profile without spaces work for me before.

Anyways those logs I send may have something since im not useing scripts as profile. Too easy of a mistake to make.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Yep, your right instead of a script you put an xml file in there, the error is:

ComponentInfo{com.ktoonsez.KTweaker/com.ktoonsez.KTweaker.MainActivity}: java.lang.NumberFormatException: Invalid int: " </FileInfo>"

So you have a file in there that is already converted to the xml format and it trying to set minimum Mhz integer to "</FileInfo>" which of course is not a number.
[T-Mobile Samsung Galaxy S 4] phrotac:
I followed your instruction and only put moonlight v3.txt in the KTweaker folder because I know it is a profile and not a script but it did not convert. This is what is there AFTER opening KTweaker:

And in the new profiles folder I have this:

It did not convert the profile??? At least it did not fc though.

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Sounds like u need to redownload the zip, u might not have the latest. Or you need to remove the .txt. Profiles have no extention on them.
[T-Mobile Samsung Galaxy S 4] phrotac:
2-18 is the latest, isn't it???

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] mamba720027:
Youre right!!

I just view the file and it was already converted only had to add .xml

Apparently I mixed some profiles up together with some that was not converted to new format the first time I updated.
[T-Mobile Samsung Galaxy S 4] phrotac:
You edited lol. I will remove the .txt extension and try again. Thank you sir.

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] ktoonsez:
There was 2 updates yesterday.
[T-Mobile Samsung Galaxy S 4] phrotac:
You da man! Removing the .txt extension did it! Running moonlight v3 right now. Thank you very much :)

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] doctordroid:
I can't open ktweaker now it just forces closes. I tried to reinstall it but it did not help. Any ideas
[T-Mobile Samsung Galaxy S 4] CamFlawless:
Force stop it, then clear app data and cache.

OR

Back up the contents of the /ktweaker folder, delete it from your SD card, and try reflashing.
[T-Mobile Samsung Galaxy S 4] phrotac:
Ktoonsez made a lot of changes. Do what camflawless said plus:

After installing ktoonsez kernel, and before running KTweaker for the first time, copy your profiles back into the sdcard/ktweaker folder. Make sure they are profiles and not scripts. If any of your profiles have a .txt extension, remove the .txt extension by renaming them. I repeat, DO NOT PUT SCRIPTS IN THE sdcard/ktweaker FOLDER OR IT WILL FORCE CLOSE!!! Open KTweaker. If you get a message about profiles conversion then you were successful. If not, you did something wrong. Good luck ;)

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] Spiricore:
This is the only example I have been able to find of someone messing with the LED settings across various threads. Has anyone else experimented and come up with some cool results? I don't exactly have the best test environment to do a lot of tinkering without getting myself aggravated :p
[T-Mobile Samsung Galaxy S 4] trieo007:
Anyone having the same issue as I am? Im checking out the profiles via ota and this thing happened
[T-Mobile Samsung Galaxy S 4] Rayfucious:
copy.com down ? can't download any profiles.
[T-Mobile Samsung Galaxy S 4] tanivula:
Yep not working for me either.

Trying to download moonlight v3 because only v2 is showing in the shop via the app.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Links are working just fine except for the AIO zip as [MENTION=5292327]PiggySmalls502[/MENTION] is the host for that.
[T-Mobile Samsung Galaxy S 4] ktoonsez:
Its your ROM, cant remember what the change is you need to make, you guys will have to search, this has been covered many times.
[T-Mobile Samsung Galaxy S 4] Rayfucious:
Sorry but i just tried, and it says technical difficulties.
[T-Mobile Samsung Galaxy S 4] doctordroid:
I tried everything suggested in here. I still can't get my old profiles converted over. I guess I will just wait for a shop update
[T-Mobile Samsung Galaxy S 4] phrotac:
What profiles are you trying to convert?

Tapatalk Pro 4 - GS4(M919)

?dbombRom is dbestRom?
[T-Mobile Samsung Galaxy S 4] doctordroid:
Moonlight 3
[T-Mobile Samsung Galaxy S 4] Danster840:
Shop had moonlight v3,you just have to set your selinux to permissive to allow the shop to add new profiles using the built in method.
[T-Mobile Samsung Galaxy S 4] doctordroid:
How do you do that. Selinux?
[T-Mobile Samsung Galaxy S 4] Danster840:
The easiest way is to use the wanam xposed module. Install the xposed framework and from within its app you can find wanam. In wanam there's a security subsection that the option is located in.

Edit: I have touchwiz, I think this method works aosp as well
[T-Mobile Samsung Galaxy S 4] mbonus:
You have to drop them in your sdcard/ktweaker folder. not the "/kweaker/profiles" folder

At least I know that is what I was trying to do :o

[MENTION=5141543]Tunasty[/MENTION] did the the Moonlight v3 profile change when it went official into post#8? I was trying to compare the Adjustments text to the converted xml file and there was some differences.
[T-Mobile Samsung Galaxy S 4] big.t_03:
I've never had Moonlight v3 in the KTweaker Shop within the app, but I see it in the Shop in the thread. I've set the SElinux option in Wanam, rebooted, loaded the Shop in the app, Updated, and Moonlight v2 is shown (before and after) but not v3.

Also, I had problems getting the settings to stick before and after the latest update. I would constantly get messages when I started KTweaker saying "x" settings do not match saved settings, and the max cpu speed, which was supposed to be 1458Mhz or there abouts, was always set to default stock speed after setting Moonlight v3. I've redownloaded it, I've converted it with the new KTweaker app, and no dice, still the same.

I'm using KToonsified v4 right now with no profile issues.

Edit: if it makes any difference, I've had the same problems as above with both stock 4.2.2 rooted and Wicked v10 (4.3, what I'm on now). And I'm using the MK2 radio right now (followed the instructions), everything else works perfectly.
[T-Mobile Samsung Galaxy S 4] Tunasty:
No I didn't change anything. Download the profile from my link couple pages back and see if it's the same one

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] mbonus:
I checked it out and it seems that the version 3 moonlight that is in that link has a different max CPU then what is in the adjustments.txt. The adjustments.txt says it should be 1458 but the profile sets it at 1890.

Here is the link I used from post 8:

https://www.copy.com/s/a6WaQ7cC2ZwZ/Moonlight V2
[T-Mobile Samsung Galaxy S 4] big.t_03:
Seconded.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Sorry guys. The files linked in the Shop are the exact files [MENTION=5141543]Tunasty[/MENTION] sent me and looks like neither of us realized the mismatch between the max frequencies but I Just edited and reuploaded for you guys. Thanks for pointing that out.
[T-Mobile Samsung Galaxy S 4] Misk77:
Hydra +script

2 email, Facebook intervall 1h.

Sync, gps, location on.

Spotify 1 h

And a lot of browsing..2-3h
[T-Mobile Samsung Galaxy S 4] OmniSlyfer:
Hi guys,

I'm using "smooth criminal" profile and I'm very satisfied. It delivers a smooth experience combined with a great battery life. However I would like to know if there is a script that can improves my experience. For example increasing performance while maintaining the great battery life or further increase the durability without a performance loss.

Any suggestions? :)
[T-Mobile Samsung Galaxy S 4] Tunasty:
Thanks for pointing that out guys and thanks [MENTION=5082757]LuigiBull23[/MENTION]. Bro you should make your Comatose profile official now.

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] DLUX24:
I've used SRV2 script with Smooth Criminal profile and it ran pretty good for me.
[T-Mobile Samsung Galaxy S 4] OmniSlyfer:
Thx for the answer!

Which benefits do you think I'm going to receive using this profile? :)
[T-Mobile Samsung Galaxy S 4] DLUX24:
Probably depends how you use your phone. I always got around 4-5hrs SOT with around 23hrs total time. Hope that helps
[T-Mobile Samsung Galaxy S 4] doctordroid:
I see there is a new update available. Won't let me download it. I will just wait patiently or is it just an error on end?
[T-Mobile Samsung Galaxy S 4] rrrrrrredbelly:
Where'd you try to dl it from?

The change log mentions fixing an error with the ota so may have to grab it from the link he posted
[T-Mobile Samsung Galaxy S 4] doctordroid:
Yeah ota. Where is that link? Thanks
[T-Mobile Samsung Galaxy S 4] dynospectrum:
http://xdaforums.com/showthread.php?p=50546696

SGH-M919 / SlimKat 4.4.2 / KT-SGS4 Kernel / PhilZ Touch 6
[T-Mobile Samsung Galaxy S 4] Tunasty:
It's only for aosp kitkat.

S4 is Poppin!
[T-Mobile Samsung Galaxy S 4] doctordroid:
Will it work for a Verizon s4? I think that file failed on me and said say diet was not Verizon or something like that
[T-Mobile Samsung Galaxy S 4] __NBH__:
Just an update on my latest run with the Moonlight V3 profile. After the posts a bit back I lowered the max cpu freq to 1458Mhz and min cpu freq to 189Mhz, all other settings are the same.

This was on wifi all day at home using the XDA app, Facebook, Candy Crush, Chrome, 2hrs music with Poweramp, sync on all the time, GPS off, location by wifi/mobile network only.
[T-Mobile Samsung Galaxy S 4] RoseN-95:
So in moonlight V3 the max frequency should not be the stock 1890 and 378? :) Should I change it to 1458 and 178? Or am I completely wrong here?

And I can't get the shop to work, no updates ... Read something about selinux to permissive instead of enforcing? Right?

I tried changing it with an app from Google Play but without success :( I'm on SlimKat 3.0, which means AOSP do guess Wanam Xposed ain't working which someone recommended earlier... Any idea?
[T-Mobile Samsung Galaxy S 4] doctordroid:
I'm in the same boat as you.
[T-Mobile Samsung Galaxy S 4] __NBH__:
On the main description of Moonlight V3 it says the max freq is 1458Mhz but on the profile I downloaded it was set at 1890Mhz so I changed it back manually.

The list of profiles in KTweaker is not fully up to date, if you want Moonlight V3 you have to download it from this thread and put it in the KTweaker folder, when you open KTweaker it will convert the profile to the new format and you can select it from the list of profiles.
[T-Mobile Samsung Galaxy S 4] matraca:
Guys... The kernel that comes stock with slimkat won't let you access the shop, even though is kt kernel. you have to flash kt kernel from the OP and that would change your selinux to permissive as well as to let you acces the shop. Just download the right one for your version and carrier from the OP. Follow instructions to the letter and flash the right one. Also, Wanam is for touchwiz only, if you want customization like wanam for aosp I would recomend gravity box. May the force be with you.
[T-Mobile Samsung Galaxy S 4] doctordroid:
I have done that with every release so that's not it. Any other ideas?