yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Hydra has been added to the Shop!

The script I've included will utilize ALL 3 cores. The link below is a zip file so remember to first EXTRACT the contents.

https://copy.com/Q0eUR2J3aNHH
[T-Mobile Samsung Galaxy S 4] mamba720027:
It's finally here bro :)

Very smooth profile from testing.

To users

Hydra script have been added to Post#8 of OP.

Script guide was updated to make procedure simpler.

Thanks to Luigi for the suggestion from a previous post while helping a fellow xda member.
[T-Mobile Samsung Galaxy S 4] reverepats:
Hit me up teddy, I'll help ya out with the testing if still needed buddy
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Haha, first thing I noticed here was the new avatar. Looks awesome.
[T-Mobile Samsung Galaxy S 4] reverepats:
Lol thanks buddy, got kinds bored last night and I'm trying to put a new one together. Sort of bored with the linux penguins:p
[T-Mobile Samsung Galaxy S 4] manofcolombia:
Is there a way to check if the script is running after you switch hotplugging back to 0?
[T-Mobile Samsung Galaxy S 4] trueking7:
My experience with hydra 3...
[T-Mobile Samsung Galaxy S 4] trueking7:
I'd like to know the answer as well. I applied the hydra script and saw asswax dancedance and Wheatley folders added but after I switch hotplugging back to 0 all I see is the dance dance folder. Is that normal? Also, does script manager need to be running for script to work? Also how do we know it's actually running at boot?
[T-Mobile Samsung Galaxy S 4] mamba720027:
Post#8 in OP updated

- galaxys3man30 Ghost Rider 1.0 profile is added to new test and experimental folder

Plese test and provide feedback to him by PM.

- Hydra TW Mod profile is added to Luigi's folder in "Old Test and Experimental".

This is a modified version done by myself for those on TW Rom. It will require the Hydra script found in post#8.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
The Hydra script does not apply the Asswax governor. It applies dancedance to cpu1, wheatley to cpu2, and Badass to cpu3.

The only sure way to confirm if the script is running is by navigating to the cpufreq folder, which in this case for the most part will only present you with the dancedance governor folder because it's the only other active core being utilized upon screen touch while the others remain offline, unless a more persistent load is put on the cpu that will then force other cores to come online. Only then will you see those folders again.

Your preferred app needs to start it's service on boot in order to automatically execute the script but thereafter you may kill the activity if you choose. A script only relies on the app to execute it on boot but does not need the app to constantly be running.
[T-Mobile Samsung Galaxy S 4] trueking7:
Thanks for the reply Luigi. I typed asswax but meant badass. You've answered my question though. Great profile btw. Thanks again Luigi + mamba + community for all your great work.
[T-Mobile Samsung Galaxy S 4] acme1974:
Hidra3

And this With hidra3 è buono?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[T-Mobile Samsung Galaxy S 4] arcrox:
Thanks for the TW optimized Hydra profile mod. Do we need to reapply the Hydra script after restoring the profile?
[T-Mobile Samsung Galaxy S 4] trueking7:
Silly Q. Do the trinity color settings (e.g. Cold - Warm) affect battery or is it just a visual preference thing?
[T-Mobile Samsung Galaxy S 4] CamFlawless:
I cannot answer for sure, but if I had to guess...

I would say that yes, it does. I believe the screen to be brighter when using cooler settings, so I would not be surprised if it drains more juice. But again, this is not scientific or really a founded belief at all.
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Deleted
[T-Mobile Samsung Galaxy S 4] mamba720027:
No you do not need too as it needs same script. But when swapping another profile without the need for script or if it needs script its highly recommended to reboot. I'll have to add this to guide.
[T-Mobile Samsung Galaxy S 4] jrollercoasters:
Whats the difference between tw mod hydra and regular hydra?

Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
[T-Mobile Samsung Galaxy S 4] mamba720027:
Youre right as blue pixels tend to pull a higher voltage compare to other colors such as green which I believe uses very little compare to blue. On the super amoled that is. But I'm not sure if that have been improved upon here as testing is indeed necessary to be 100% certain. This was tested and discussed in another forum by an xda member of course. Still I wouldn't bother too much about it causing any negative effects.

---------- Post added at 09:32 PM ---------- Previous post was at 09:23 PM ----------

A few parameters were adjusted in the TW version to have it scale slight less aggressive when doing really high intensive tasks. Instead the load will be shared amoung the cores thus reducing the need for the max frequency while things are still smooth. Thats mainly it. It still preserves 97% original Hydra settings.
[T-Mobile Samsung Galaxy S 4] jrollercoasters:
Oh wow thats cool

Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
[T-Mobile Samsung Galaxy S 4] mamba720027:
Post #8 updated with Piggysmalls502 profile "Notorious" added to new test and experimental.

Please provide him with any feedback by PM.
[T-Mobile Samsung Galaxy S 4] jantonio23:
which is better in terms of battery + good performance?

Dual core profile with high freq settings or Quad core profile with less aggressive freq settings?

Coz' I tried using the new BB Reloaded but even though it is a quad-core profile, I noticed that the Dual core (BB Row Balance) is still smoother. (UI Transitions, Scrolling etc)

Can anyone spare me with some enlightenment?
[T-Mobile Samsung Galaxy S 4] manofcolombia:
Hydra with script.
[T-Mobile Samsung Galaxy S 4] lost_:
Followed post #8, and ktweaker is set to apply immediately, plus the profile script is set to run at boot. How do I ensure that at every boot, the script is run when all cpus are online, so that all necessary governor files & folders are properly created?

I'm seeing a timing issue with my setup, in that after some reboots all folders are created, but other times, only cpu1 governor files are there, but cpu2 & 3 files are missing.

For example, with Hydra, after some reboots all dancedance, wheatley, and badass files are there, but other times only dancedance files are there. This must be because cpu2 and cpu3 are offline when the script is run at boot.

Thoughts?
[T-Mobile Samsung Galaxy S 4] mamba720027:
To answer your question

I would say quad-core with less aggressive settings because it means its a balance profile based on the fact that it scales less aggressive.

Dual core with high frequency settings wont win this time because although it is dual core its utilizing more voltage when constantly scaling high frequency for the most part.

A quad-core profile could perform as good and better than a dual core where as the dual core profile could do the same. Depending on the type of profile. Which is the propose it was intended for.

---------- Post added at 05:30 AM ---------- Previous post was at 05:26 AM ----------

You won't see the other 2 folders because the 3+4cores are offline. You could check after a reboot by turning these two cores on in tweaker/governor adjustments. Then check to confirm.
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Sorry guys im just nervous about my setup Ghost Rider 1.0 just wondering if anybody has tryed it yet its just been a long time since ive done a setup
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
I'm about 10 minutes from applying it myself. I'll be sure to let you know how it goes.
[T-Mobile Samsung Galaxy S 4] lost_:
'

Thanks, that didn't occur to me. By temporarily disabling hotplug after reboot, I could verify that all files are there.
[T-Mobile Samsung Galaxy S 4] mamba720027:
I'm running it right now bro. So far this is what it looks like.

-I'm on TW 4.2

-Auto/manual brightness sometimes

-Wifi/lte on all the time

- power saver/screen only enable in rom

Had to make some minor adjustments to suit my phone cpu

limit

Set 378-1998mhz

Increase voltage for 3highest frequency between the above min-max for stability. Had some fc with fb cause of too low uV on the above 3 mentioned frequency.

The reason for cpu frequency adjustments is because of my cpu stable limit.

Everything else works super smooth and fast in performance. Battery is also good based on how I'm a heavy user.

One of the best test profile I ran.

Will post end result later.....
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Thank you guys it eases my mind alot lol
[T-Mobile Samsung Galaxy S 4] lost_:
Mamba, sorry I didn't check the content of the files. The files are visible once cpu3 goes online, but not with the values set by the script. For example, badass sampling_rate should be 45000, but it has the default 10000 instead. So, it seems that the script ran unsuccessfully at boot time because cpu3 was offline.

I supposed I could mod the script and redirect stderr to a file for verification.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Don't know why these 2 didn't attach
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Come to think of it I know why you had to adjust mamba im on 4.3 they did alot adjusting to 4.3 its take less volts n I can be mire aggressive on perimeters should have said that my bad guys
[T-Mobile Samsung Galaxy S 4] mamba720027:
Really,thats great :D . But thats on the 4.3 Google edition or you're on something else. What Rom do you use.
[T-Mobile Samsung Galaxy S 4] galaxys3man30:
Naw its stock 4.3 buddy sprint already has the 4.3 for about a month now buddy but I debloated it myself and thats all ive done to the 4.3 stock rom no mods or anything just bare bone stock buddy
[T-Mobile Samsung Galaxy S 4] Tunasty:
Day 1 of Hydra profile with the script and I must say, I'm pretty impressed! Phone didn't lag at all, getting all the performance I need as well as the battery! As always, thanks [MENTION=5082757]LuigiBull23[/MENTION] and [MENTION=2986335]mamba720027[/MENTION]

Ps why com.android.phone gets so many wakelocks? Yall get this much as well?

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] mamba720027:
You guyz lucky. I'm on T-Mobile GSM. Dident get nothing as yet.

Anyways here's the final results on your test profile. Screenshot of how beautiful the cpu scales on high loads playing music while gaming on LTE connection online.
[T-Mobile Samsung Galaxy S 4] acme1974:
Hidra3

But how Can i do? Why?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[T-Mobile Samsung Galaxy S 4] mamba720027:
I think that's cause u try to load the profile instead of the script.

The profile goes into the ktweaker folder of your SD card. The one that says "HYDRA-CPU-SCRIPT" you have to execute with script manager.

Also be sure to follow the steps in the guide of post#8 of OP to execute the script.
[T-Mobile Samsung Galaxy S 4] acme1974:
Hai ragione ho capito dopo...You are Big. ..thanks

Inviato dal mio GT-I9505 utilizzando Tapatalk
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
Runs great man, I wish I had all the stats that [MENTION=2986335]mamba720027[/MENTION] have for you, but I was listening to Spotify, and it killed my phone before I could look. I'm on SlimBean 4.3, and your setup is completely smooth and stable.
[T-Mobile Samsung Galaxy S 4] mamba720027:
Updated version of Lazy Dragon V2 added to my test folder in Post#8 of OP

Please provide any feedback by PM
[T-Mobile Samsung Galaxy S 4] lost_:
I don't usually get that many phone wakelocks. 17h battery time - 5h screen time - 9h sleep time = 3h wake time, doing something while screen is off - could it be talking on the phone? Granted, the accounting may not be accurate as some things may get under or overcounted.

Question - after a reboot and with hotplugging temporarily disabled, can you view your cpufreq/badass/sampling_rate file to verify that it shows 45000 and not 10000?

I'm not getting the script to bite reliably after reboots, especially on cpu2 and cpu3 files. Stderr shows nothing but the files show default values.
[T-Mobile Samsung Galaxy S 4] Ramone360:
On the third step of script I click on script and it give me options. It didn't prompt su
[T-Mobile Samsung Galaxy S 4] mng9639:
I believe you have to press and hold on the script and then choose "open as" and choose "script/executable". You should be able to choose su from there
[T-Mobile Samsung Galaxy S 4] jrollercoasters:
Change it to a .bin not .txt and click the skull and cross bones icon

Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
[T-Mobile Samsung Galaxy S 4] PiggySmalls:
If anyone tries and likes Notorious, please give a big thanks to [MENTION=5082757]LuigiBull23[/MENTION] for giving me the starting point with Feed the Machine, and all the help he has given me. Also [MENTION=2986335]mamba720027[/MENTION] for helping me fine tune it.
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
You're really competitive aren't ya? lol. I normally don't perform such procedures but sounds like a great idea so I think I'll give it a go! May need to wait until Saturday though.
[T-Mobile Samsung Galaxy S 4] MavereXx:
Surely we can configure the device better than Samsung ;) This way we can figure out what settings work better and design the ultimate "balanced" setup

Sent from my Heavily Customized SGH-i337M
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
So in other words a collaboration lol sounds good man.
[T-Mobile Samsung Galaxy S 4] makenmoney82:
Hey im pleased with ur latest settings getting around 20hrs overall time with 4+hrs screen on with 30% left and still havent done the gsf mode
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Thanks for the feedback. The GSF mod is just for added benefit but as you can tell it's definitely not required to get great battery life. My settings and proper management of wakelocks and such should have that covered. :)
[T-Mobile Samsung Galaxy S 4] makenmoney82:
What post can I go to about managing wakelocks
[T-Mobile Samsung Galaxy S 4] aznvi3tric3guy:
I haven't had any luck with these builds. Battery last me 12 hours with 4 hours screen on time. How many battery cycles did you guys need to get the best results? This is my second cycle still bad. Are you guys using the latest ktoon 8/27 kernel?
[T-Mobile Samsung Galaxy S 4] dynospectrum:
You using Greenify? Also, what ROM are you running, and what ktweaker settings?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Here's a good start

http://xdaforums.com/showthread.php?p=31974989

3 cycles at the least usually does it. How well is your phone sleeping if I may ask? Have you used apps such as BetterbatteryStats to monitor the background processes and how often your phone is being kept awake from deep sleep?
[T-Mobile Samsung Galaxy S 4] ahatzz11:
I LOVE post #8. Amazing job with that :good:

Here are some results

Euroskank 10.2 nightlies

Stock battery

Balanced Bull 4.1

4hrs 3 min screen time. My brightness is usually 40-60%

I consistently have easily a full day worth :) I always keep my sync on, and have done nothing with Google services. I have greenified a few apps, including Facebook and Facebook messenger. Battery battery stats and greenify will both tell you they wake the device a lot.

I'm excited to try out the new battery focused pre-configured setting. I will report back tomorrow!
[T-Mobile Samsung Galaxy S 4] aznvi3tric3guy:
Yeah I am using greenify but only greenifying maps and Tibackup.

I'm running darthstalker v7 and using super bull 1.1 build from here.

---------- Post added at 06:24 AM ---------- Previous post was at 06:22 AM ----------

I am using BBS. I'll have to screenshot another cycle for clearer results. I'll post it her when I have it thanks guys
[T-Mobile Samsung Galaxy S 4] fierce_brake:
Hello friends !

I installed the INTL version on my S4, the installation went through just fine, but when i try to open the CPU/GPU sections of Ktweaker, the app closes.... i tried again with a fresh rom install and same issue... has anyone had the same problem ?? i am using the latest phil's recovery
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Is the ROM you're running 4.2 or 4.3? TW or AOSP? and which INTL version did you flash?
[T-Mobile Samsung Galaxy S 4] an21281:
Did you try wiping KTweaker cache and data, long press icon then select app info, clear cache, clear data and then I force stop.
[T-Mobile Samsung Galaxy S 4] fierce_brake:
I did friend, but i just figured this thread is for T-mobile versions of the S4 (mine in INTL) so i guess thats why i am having issues.

Anyways, thank you for your help !

---------- Post added at 05:02 PM ---------- Previous post was at 04:58 PM ----------

Good day friend,

The ROM is Omega v14, JB 4.2, TW.

And i flashed the the INTL version for TW and JB 4.2

My phone is a i9500 though, should it really work on my device ?
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
This thread is for ALL variants of the kernel. It was only placed in the T-Mobile General forum because it's the model I currently own. You're only focus should be on post #7 for INTL versions.
[T-Mobile Samsung Galaxy S 4] fierce_brake:
Awesome !

I am sure i used the proper version of the INTL kernel, however just to be in the safe side, ill just do a clean rom install along with the kernel and report back.

UPDATE:

Alright, i did a clean ROM install (PAC ROM, AOSP), i installed KT-SGS4-JB4.3-AOSP-INTL-08.28.2013.zip.

Ktweaker opens, but FC's when trying to go into general/voltages. Also, the "about" section reports a kernel from "grarak", which i presume shouldnt be the one listed.

Exact same thing happens when doing a clean ROM install for OMEGA ROM v14 (TW, 4.2) using KT-SGS4-JB4.2-TW-INTL-08.27.2013.zip
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Both those ROMS have recently been updated and merged with later CM commits so I'm wondering if that's having some conflicts with the 8/27 and 8/28 build of the kernel and causing your FC. Mind sharing your exact install procedure of the ROM as well as the kernel?
[T-Mobile Samsung Galaxy S 4] fierce_brake:
1- boot into phils recovery

2- wipe cache/dalvik/format partitions/etc

3- install rom from extSdCard

4- install kernel from extSdCard

5- wipe cache/dalvik

6- reboot

Thank you for your quick support as well !
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
I've never used Philz Recovery but seeing as it's based off CWM I can assume the interface is very similar so with that said please follow my recommended procedure for flashing PAC ROM and the kernel.

1) Nandroid and backup all important content to your external storage

2) Boot into recovery, Navigate to "Mounts and Storage", and

~ format //system

~ format /data

~ format /cache

~ format /sdcard

3) Navigate to "Advanced" and

~ wipe dalvik cache

4) Flash ROM and gapps

5) Reboot

6) Let sit 5-10min then reboot back into recovery

7) Flash the latest respective kernel

8) wipe cache partition

9) Navigate to "Advanced" and

~ wipe dalvik cache

~ fix permissions

10) Reboot

11) {Optional} Let sit 5-10min
[T-Mobile Samsung Galaxy S 4] LuigiBull23:
Crap.. I was hoping that had been worked on since the S3 and S2..

Well unfortunately, some governors are not fully compatible on other cores and are incapable of having some of their respective parameters echoed or written to. Some are actually reset to default upon hotplugging out a core..

The good news is that for the few parameters that don't stick rarely have a major impact towards whatever the original goal was in regards to the scaling logic for other cores in various scenarios.

The thought hadn't even occurred to me since creating these scripts as I had zero concern on the possibility of it occurring on the GS4 at the time of my purchase.

This does not mean we will stop providing scripts for various profiles. It just means we'll need to accept the circumstances and work around said governors/parameters with respects to the ones that actually do stick after cycling screen off or outright hotplugging other cores.

Lots of testing will be required so if anyone would like to chime in with identifying the governors to which some or all their tweaked parameters don't stick, please pm me or mamba so we can compile all information and make note of it in the OP.

Thanks and I apologize for the inconvenience.
[T-Mobile Samsung Galaxy S 4] matraca:
Hi guys, I am using Ballanced Bull Reloaded with the script using Smanager and it is fantastic but, can I use terminal emulator imstead of Smanager and how do I go about doing that. I like to keep my phone as minimalistic as possible and need terminal emulator to run Killjoy, I tried running KJ from Smanager but it wouldn't let me or I don't know how to do it.
[T-Mobile Samsung Galaxy S 4] Tunasty:
How would SManager make your phone un-minimalistic? I mean if the instructions are given in post 8, why not try those with SManager O_o

S4 is poppin!
[T-Mobile Samsung Galaxy S 4] matraca:
I got it working with Smanager, I just would like to get rid of one or the other if possible, I mean, if there is a way to do it and someone can tell me how to, I would like to do it that way, if it's not possible then oh well...https://www.dropbox.com/s/vru4fii3f9dpyz5/Screenshot_2013-11-22-15-14-32.png

this is what I get when I try to open the terminal emulator in Smanager, what does it mean? I used to run commands with Smanager, and can't toggle the keyboard as well.
[T-Mobile Samsung Galaxy S 4] Tunasty:
Yup same here. After reboot my script doesn't even boot even though I had it selected to boot.
[T-Mobile Samsung Galaxy S 4] mamba720027:
You could choose to force close SM after you execute the script. Script will still be running.

KJ you will have to Check with the KJ thread on how to run it as I never used it before.

Make sure you have SM to run at boot and haven't somehow froze it. To veryify if it's working after boot go to ktweaker/general/governor adjustments and put a 1 [MENTION=352696]disable[/MENTION]_hotplugging to bring all cores online. Then check to veryify the governor folder are present in the "cpufreq" folder.

You will not see these folders unless the cores are actively online. So when disable_hotplugging is set back to 0 for normal hotplugging logic and you do not see any or all the folders present in "cpufreq" it does not mean the script is not running. They will appear when cores are needed and active.
[T-Mobile Samsung Galaxy S 4] conflikt:
How to make sure the script is running for sure? I set the script to run as su and boot also set the kernel to boot immediately. Rebooted and seen the script boot with su. Also the kernel running checked the sys/cpu folder and the governer folder is there.
[T-Mobile Samsung Galaxy S 4] mamba720027:
By doing what I said in my previous post above yours in last 2 paragraphs.
[T-Mobile Samsung Galaxy S 4] ParkerParker:
Been awhile since I've posted here but had to say, nice work on Hydra! Thanks guys! [MENTION=2986335]mamba720027[/MENTION] [MENTION=5082757]LuigiBull23[/MENTION]
[T-Mobile Samsung Galaxy S 4] conflikt:
Anyone running 4.4 if so what's the best performance/battery life script/shop file you've had the best luck with? Thanks!

Sent from my 11/22 [4.4] skanky looking Galaxy S4 running the 11/22 Ktoonz hydra profile & script. With working KitKat dialer. Using the xda developers app.
[T-Mobile Samsung Galaxy S 4] JaZart:
Kamikaze is working well for me.
[T-Mobile Samsung Galaxy S 4] manofcolombia:
Third run with hydra+script

I'm home for thanksgiving soooo think it's finally time I revisit that testing I was doing on WiFi speed vs Battery life.
[T-Mobile Samsung Galaxy S 4] jscroppo:
Not the heaviest use but the overall time is ridiculous, using hydra with scripts on the kit Kat rom that KT is using he posted a link in his thread.
[T-Mobile Samsung Galaxy S 4] manofcolombia:
Modded gsf? Or just Grey signal bars for other reasons?
[T-Mobile Samsung Galaxy S 4] jscroppo:
Don't even know how to mod the gsf lol, I turn Wi-Fi and mobile data off when the screen is off that's about the only thing I do
[T-Mobile Samsung Galaxy S 4] Vihru:
where is that kit kat and hydra? look so great your results!