yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] munichsfinest:
Thanks. But is there no option to just switch between several custom profiles? I usually use 3 different ones depending on what I do.

Edit: my bad, I just change the existing ones of course.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Android Development] Mystique:
I found a link different than the usual scheduler / governor links..

http://andrux-and-me.blogspot.com/2014/05/io-schedulers-and-performance-2.html?m=1
[Galaxy S 4 i9505 Android Development] Mystique:
Also, this is an app from Qualcomm..

https://play.google.com/store/apps/details?id=com.xiam.snapdragon.app

Still evaluating its usefulness..
[Galaxy S 4 i9505 Android Development] Mystique:
Link to a benchmark app for storage only..

https://play.google.com/store/apps/details?id=com.andromeda.androbench2

Only does two mount points. Both internal..

Have to temporarily symlink to get extsd, if interested..
[Galaxy S 4 i9505 Android Development] Mystique:
My wife is one of those imgur.com fanatics.. Hours a day..

Anyway we're now AT&T people from vzw.. And tonight I switched her congestion control from hybla to westwood and she gave me one of those, "I don't know what you did this time but write it all down and give me this all the time, imgur is amazing.."

Apparently AT&T favors westwood.. At least in my area.
[Galaxy S 4 i9505 Android Development] s3icc0:
music playback stuttering

Hi I got this confirmed by several users.

If you have the problem with the stuttering of music/sound during playback (the terrible stuck and electro sounds) the sollution is quite easy. Just set these two values and your problem is gone:

SCHED_MC = 1
MAXCORESLIMIT_SLEEP = 2

Maybe adding into OP FAQ?
[Galaxy S 4 i9505 Android Development] Mystique:
Is this the value?

sched_mc_power_savings?

Or are you manually setting that there is a stweaks control for?
[Galaxy S 4 i9505 Android Development] kantjer:
SCHED_MC on the CPU tab
[Galaxy S 4 i9505 Android Development] Ky0sHiR0:
Hello,

I am using i9505 since July 2013.i think it is great smartphone. I was looking for good minimalistic roms with good battery life. Starting from TW roms, CM10, CM11 and at the end SlimKat. I love black theme on it but sometimes I am disappointed at my battery time especially when someone post screen with 4h screen on time. I am currently using Alucard kernel with kantjer config. It's fantastic when I'm texting (aroujd 600 SMS per day with hangouts) , talking (rarely) but when I met Internet... When I am on Wi-Fi everything it's alright (1 % battery for 3 minutes When I'm browsing). When I am using 3g (not lte just H+/H it's draining battery like juice (1% battery for 1 min / 1,5 min?). I think it's weird. I tested many kernels on different roms but nothing special happened. I replaced my battery 4 months ago (swollen battery problem - I bought next one but Samsung gave me another one and I am currently using it). Auto brightness with custom values. Normal day with my telephone : 25 minutes of music, around 500 SMS via hangouts, Facebook checking, sync with 2 emails, 20-30 minutes browsing . I am using greenify too (hibernating a lot of system apps including Google services, hangouts etc). Around 10 hours on WiFi rest on 3g. I include my battery stats. I can try my second battery too. Maybe it's modem problem? Losing signal or something.

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Android Development] Mystique:
You might look into GSAM as well as Wake Lock Detector. They will show you where your power is going.

Battery Guru and Greenify will try and save your apps from running.

Is your complaint about the Internet? Or something else..
[Galaxy S 4 i9505 Android Development] Ky0sHiR0:
Just Internet i think. I'm using s4 mainly for SMS and email checking + browsing Web but if you think that energy use of other apps is weird... I will try GSAM and post stats if I don't know what to do.

Do you think that's normal stats ? With that setting and kernel ?

Thanks

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Android Development] Mystique:
Welcome to the dark side.. bfq always a favorite.. Don't forget about Zen..

I'm a zen user.. Also darkness..

I can stream music via bt, run Waze (GPS), auto rotation and brightness.. On the car charger and actually charge the battery.

Asswax was the only other that could keep up.. Alucard governor also does not keep up.

My .02
[Galaxy S 4 i9505 Android Development] Ky0sHiR0:
Okay after all day i checked GSAM and... Default Web browser eat a lot of energy... Only 5 minutes and it's on first place... Really weird but I remember chrome consume a lot of energy too... Should I change modem? View attachment 2834669View attachment 2834670View attachment 2834671

When i was texting this message + attaching screens it ate 3 % of battery via WiFi

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Android Development] Mystique:
So, my interpretation says.. After almost 11 hours, you lost 31% and had almost an hour of screen time..

Gsam estimates after a day and twenty hours you'll need to charge.. And at that time (at your current rate) you'll have about 3.5 hours of screen time..

I see nothing wrong. Ten hours cost you 30%..

Not sure what you are looking for, but that looks pretty good to me..

Changing the modem will do nothing for your WiFi ;)

Try changing the tcp congestion to Westwood, governor to darkness and the scheduler to zen.. You'll get more but not sure what you are looking for..

Where is tapatalk from which you sent this according to your signature?
[Galaxy S 4 i9505 Android Development] Ky0sHiR0:
Yeah, Stats are okay. Im not using my phone like normal (weekend time:). I Just dont understand what is wrong when i wanna browsing.

1 % per minute is okay ? Can You browse webs for 15 minutes (via 3g and via WiFi) and write % per minute ? Which browser do You use ?

I will try your setting after i update kernel and settings because I wanna check my whole cycle ( is it kantjer settings + ur changes ? ).

BTW. I know that modem will do nothing about WiFi but i was talking about browsing via 3g.

In addition can i greenify apps like GSAM and battery guru ?

Tapatalk - Poland

Thanks
[Galaxy S 4 i9505 Android Development] -Mindroid-:
Fluid gaming

Alucard is hands down the best kernel for SGS4! Thank you OP for starting the thread!

I have different priorities than most users and the Alucard kernel with the flexibility provided by STweaks is just incredible.

I make light use of my phone during the day but I oftentimes play games till battery drain in the evening.

Particularly ShadowGun: DeadZone.

It's a demanding 3D shooter game where speed is a great advantage. I've suffered stutter since day 1 on my SGS4(T-Mobile). Interestingly my old phone - Nexus 4 was very fluid but had a slow touchscreen making gaming unpleasant in a different way. Since the SGS4 uses the newer generation Qualcomm SoC (Snapdragon 600 vs S4 Pro) I suspect that Samsung may be using slower Flash memory on the Galaxy S4, at least the M919 T-Mobile variant or maybe just my particular device.

I've tried every tweak there is but so far the only thing that has helped eliminate stutter is using a "deadline" IO scheduler on the Internal Flash. If I understand correctly deadline ensures time slots which helps synchronize repeating events such as video.

Other thoughts on optimizations:

Undervolting

Each SoCs is made differently but generally you should be able to undervolt -10%. STweaks plays it safe and allows undervolting only about -5% from stock. Go ahead and pull your CPU Voltage sliders all the way to the left!

Note that at 378kHz the CPU can run [MENTION=2814133]825[/MENTION]mV. 702kHz needs 850mV. 3% more power will allow you to finish your task almost twice as fast!!!

It doesn't makes sense to run your phone below 702kHz ever. Be aware that this logic only plays true if you have proper cooling. The battery drains much faster as heat builds up. I'm not a fan of CPU speed scaling because it only helps save a little power when there is no activity, for example during reading. Limiting the max CPU frequency to a point where the SoC can cool itself efficiently is another strategy for power saving. I find that my phone is still very fast @ 1.3GHz while higher frequency steps can make it very hot. Thermal protection is very bad for performance so ideally you never want it to kick in. I think the 702-1350kHz window is the sweet spot for performance/battery as it gives you almost double the performance at about 10% extra power.

GPU

I can play demanding 3D games with the GPU [MENTION=304834]128k[/MENTION]Hz without problems. However I see no heat issues with the GPU at higher clock rates so I have it at:

GPU GOVERNOR performance

GPU MAX FREQ 320

GPU MIN FREQ 320

GPU THERMAL 450
[Galaxy S 4 i9505 Android Development] Jsilver73:
Hey [MENTION=4988120]-Mindroid-[/MENTION] I think you make some good points there regarding keeping CPU high to get tasks done quicker.

AFAIK performance governor either CPU or GPU sticks at to frequency period, so the only frequency that will makea doyenne is the top, and lower is irrelevant.

It'd be really interested on seeing your complete profile posted here asa file for others to try ;)
[Galaxy S 4 i9505 Android Development] -Mindroid-:
The performance governor is regrettably missing from the Alucard kernel. Currently I have the Min and Max CPU frequency both at 1.2kHz to discourage CPU freq. scaling. I can't claim that my settings are well optimized because I don't think I understand all of the options but I will post my current profile if you guys want to try it out for fun. If I find other significant tweaks I will share them in this thread.

- Fluid gaming and UI

- Heat stays in low 60s under high stress

- Decent battery life

- OK performance (3Dmark score: 9415, high performance profiles score 11500)
[Galaxy S 4 i9505 Android Development] a103:
Hi,

I've just flashed this kernel and using battery profile. How do I make sure that the profile I'm using is stuck? Also what's the configuration of the profile I.e. min-max CPU MHz etc?

Any help is appreciated.
[Galaxy S 4 i9505 Android Development] Jsilver73:
I'm not actually sure but if you use a root browser to go into sd0/root/data/.Alucard then open 'battery profile' you can see for yourself the changes (if there are any, I remember a while back users reporting this profile was the same as default)
[Galaxy S 4 i9505 Android Development] Jsilver73:
That is exactly what performance governor does, simply sticks at the highest permitted CPU frequency ;)
[Galaxy S 4 i9505 Android Development] -Mindroid-:
I'm an idiot and uploaded the wrong file. Sorry about that!

This one should work.
[Galaxy S 4 i9505 Android Development] Kiboi:
Which ia the best extreme battery profile?
[Galaxy S 4 i9505 Android Development] Jsilver73:
Kantjers post #7
[Galaxy S 4 i9505 Android Development] kantjer:
Profiles in post #7 are updated
[Galaxy S 4 i9505 Android Development] Jsilver73:
Guys, I've updated the op - in post 2 in FAQ I have added the tweaks that work for some of us to eliminate bluetooth stutter, also, I've changed things a bit to make it hopefully a bit easier to share settings (the whole purpose of this thread :highfive:) - I reckon if you guys upload your settings to a post here I can then simply link in the relevant section to your post, that way you can change, add, edit as your settings and the kernel evolves - with that in mind please always put the kernel build number and of course type AOSP, TW, GE in the thread so users can see instantly if the settings match their kernel :good::good::good::good:
[Galaxy S 4 i9505 Android Development] FPSUsername:
[MENTION=3306843]kantjer[/MENTION] How can you call that a battery profile in post 7 when you actually add more voltage and set higher clock speed on call?

And why Hybla and not Cubic? Cubic is better for higher performance, never heard of Hybla is good for power saving.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Perhaps you would care to share your profile with us :confused:

Also, higher voltage compared to what? I9505 comes with 6 different CPU bins.

If you don't want the voltage table that comes with that profile it is easy to edit so that it doesn't apply.
[Galaxy S 4 i9505 Android Development] FPSUsername:
I use the default profile shipped with Alucard, I'm not a good profile tweaker, but on the S2 I made a profile that had 0.5% per hour in deepsleep, I can't make that with the S4 because Stweaks is different and I don't always understand what each option does (the explanation is sometimes hard to understand).

With higher voltages, I mean compared to the default profile.

Your CPU volt 1,2,4,5,6,12,13,14 and 15 are a bit higher than the default voltages as you can see here.

Why did you add more voltage?

If you undervolt it by 25-50mv it could save some battery and generate less heat. (if you undervolting too much, the phone can become unstable and even drain more battery)
[Galaxy S 4 i9505 Android Development] aleksik:
You already answered to yourself ;)

Sent from my GT-I9505 powered by SlimSaberKat & alucard kernel
[Galaxy S 4 i9505 Android Development] FlanjeUK:
[MENTION=4695623]GreekBlood[/MENTION]

Plus, it's not anything but stock voltages by default, click the button "show current voltages" and you will see...
[Galaxy S 4 i9505 Android Development] aleksik:
Yeap, it can be confusing to figure out at first, but the voltage table shown in Stweaks is not the stock voltages for all devices. As [MENTION=5210322]FlanjeUK[/MENTION] said, to find out your stock voltages press the 'Check CPU Voltage' button before changing anything. For example, my device can't handle the voltages shown in Stweaks as they are too low, but for some people they will work just fine.

Sent from my GT-I9505 powered by SlimSaberKat & alucard kernel
[Galaxy S 4 i9505 Android Development] FPSUsername:
Oh, now I get it.

Thanks for telling me this, I always thought that the stock voltages were stock for every device.

Mine works fine with alucard "stock" voltages.
[Galaxy S 4 i9505 Android Development] Jsilver73:
you may find it useful to read about s4 CPU binning here
[Galaxy S 4 i9505 Android Development] FPSUsername:
I've PVS 2 (I expected 3 or 4 since this device isn't that old, about 7 months). It handles the lower voltages just fine.

So I'm happy with it.
[Galaxy S 4 i9505 Android Development] brunodu91:
Hi<br />

<br />

So for good sets we must setting like that:<br />

<br />

Alucard<br />

Alucard<br />

Nightmare<br />

Nightmare<br />

<br />

I/o :row<br />

<br />

? ? ?

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Jsilver73:
thats how I'm set currently all though been messing with other roms/kernels most of the day so can't really comment on stability.
[Galaxy S 4 i9505 Android Development] brunodu91:
With all sets actually, I don't know how to set for stability...a lot of users have some matter : sdcard and external sd are erasing, bootloop ....I'm afraid! ! !

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] chrisj22:
Does anyone have good settings for high performance? For some reason no matter what ROM\Kernel combo I use my phone is at least 15% slower than when it was bone stock TW
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yes, this does happen sometimes but I don't think it is kernel or ROM fault, just something that happens. It happened to me once, but only wiped internal sd and fortunately I had everything backed up ;)
[Galaxy S 4 i9505 Android Development] Jsilver73:
Alucard is fast as f#@k straight out of the box?

Try alucard governor for core 1 and 2 and nightmare for cores 3 and 4, scheduler noop or row.

If you want a super fast ROM try slimsaberkat by kantjer, comes with alucard kernel as default ;)
[Galaxy S 4 i9505 Android Development] chrisj22:
I'm on slimkat now and it seems pretty good. How do you change the grid for the desktop and apps on the Google launcher?
[Galaxy S 4 i9505 Android Development] kantjer:
Wrong thread, that's in no way related to kernel settings.
[Galaxy S 4 i9505 Android Development] kantjer:
My kernel settings in post #7 are updated, they are now compatible with the 2.7.0b AOSP kernel.
[Galaxy S 4 i9505 Android Development] Mystique:
Back to fiops again? I feel the same way.. Between that and noop..

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] kantjer:
Yes, I have the feeling that fiops performs just a bit better than noop.
[Galaxy S 4 i9505 Android Development] kantjer:
Post #7 updated
[Galaxy S 4 i9505 Android Development] Mystique:
What's that slim scheduler all about?

Says it's from slim roms in the source.. :P

I like the change back to mpdecision..

I was playing videos via mx player with the screen off via bt headphones..

I did get some slight static sounds from time to time.. Seemed to be related to notifications.. And the led..

I also set the mc scheduler to zero..

Also trying to get a better understanding of what ARCH POWER does as well as a useful answer to GENTLE FAIR SLEEPERS..

http://androidforums.com/galaxy-s2-...root/518798-siyah-kernel-dummies-guide-6.html

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] Mystique:
This seems biased towards the exynos but still useful for reference and examples for clarity..

http://xdaforums.com/showpost.php?p=49168760&postcount=6&nocache=1&z=7867284608073533

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] ench18:
This thread will be very useful for alot of peeps! For someone like me who started to use Alucard's Kernel.. this was a huge help for tinkering with this particular Kernel. Thanks guys! :) Now to read more ;)
[Galaxy S 4 i9505 Android Development] chrisj22:
Does anyone have good settings for highest performance possible?
[Galaxy S 4 i9505 Android Development] kantjer:
set performance gov and disable cortex, your battery will drain very fast but it gives the best performance.
[Galaxy S 4 i9505 Android Development] Jsilver73:
I read somewhere that this is really bad for our cpu though because all it actually does it set max/min cpu frequency to highest so the cpu's are always maxed out and thus puts a lot of stress on them?

There is somewhere in his thread someones concept for a profile that sets the min frequency quite high 1242 or thereabouts and then use a governor like nightmare or hyper which also gives excellent performance.
[Galaxy S 4 i9505 Android Development] ench18:
Hi there [emoji4] if you have a link to what you read, I'd love to see it too. More reading material and knowledge is always good. Cheers man [emoji4]
[Galaxy S 4 i9505 Android Development] Mystique:
msm mpdecision vs intelliplug..

So I'm sure there are more scientific methods..

CPU Stats from takke in play store.. (download, install, run, settings(wrench) enable both Notification options please)

Stweaks CPU [X] Gentle_fair_sleepers [X] Arch_power [Variable] SCHED_MC 0,1,2

Stweaks CPU Tuning [CPU0,2:nightmare] [CPU1,3:intelliactive] This is personal I think the others are more important..

Stweaks Hot Plugging [Intelliplug]

Apply.

Use your phone ;)

Check the CPU stats graph against what the device feels like..

Intelliplug seems to work with/like sched_mc; I picked intelliactive and intelliplug because faux wrote both of them..

Not sure what I'm going for other than a visual feeling/understanding what Gentle fair sleepers, arch power, sched mc, and changing the 'mpdecision' function.

So if you pull the notification down and do nothing; my cpu0 (core0 actually..) is 21-30% usage and 378Mhz..

I think/feels like intelliplug and sched_mc do the same thing or attempt to do the same thing..
[Galaxy S 4 i9505 Android Development] Jsilver73:
Yeah, I use that one sometimes when I'm trying to work out what's what, it does juice battery a bit though. Another useful tool is usemon, again, I don't use it all the time because it also impacts battery.

BTW you probably worked this out for yourself already but for those who haven't used it before. It's best to set the refresh in CPU stats to 0.5 seconds to see anything meaningful ;)
[Galaxy S 4 i9505 Android Development] Mystique:
https://github.com/Alucard24/Alucard-Kernel-jfltexx/blob/my-ge-4.4/drivers/cpufreq/cpufreq_slim.c

Lars Greiss - cpufreq: slim: add new slim governor

First appears July 30 and AK (who seems to have gotten himself a one plusone device.. - nice) used it in a kernel as well..

No real description that I can find.. maybe over the weekend I'll compare things.. Most people use OnDemand as a base..

---------- Post added at 05:17 PM ---------- Previous post was at 04:39 PM ----------

Nightmare on core0 and then I intellimax on the rest with intelliplug..

Intellimax does the race to zero.. And tries to keep things idle.

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] Mystique:
I find that the voltages that the kernel comes with (the uv ones) - lhs of the post 7 configuration..

Work great for the wife and I.

Really liking intelliplug..

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] Jsilver73:
It's here in this thread somewhere, sorry, I don't have time to look for you.
[Galaxy S 4 i9505 Android Development] ench18:
Oh my bad. I just thought it was an article or something. Now that you mentioned it, I'll look for it here. Thanks man.
[Galaxy S 4 i9505 Android Development] HaTrED_:
Intellimax? Typo? Wouldn't it be intelliactive instead??

I can't find intellimax...
[Galaxy S 4 i9505 Android Development] Mystique:
You are correct sir, my auto cucumber to the rescue once again..

Intelliplug - mp decision replacement.

Intelliactive - cpu governor.

Intellimax - something that faux123 will create in the future..

Sorry for the confusion, thank you for the clarification.

Sent from my GT-I9505G
[Galaxy S 4 i9505 Android Development] HeathenMan:
do we need a special configuration for the (new cm) aosp v1.0c ?
[Galaxy S 4 i9505 Android Development] Jsilver73:
Alucard comes with good default settings, I'm not on the new cm kernel yet but on slim I have just reverted back to default settings because of some issues, I'm pleased to say default is working great ;)
[Galaxy S 4 i9505 Android Development] kantjer:
I'm testing new custom settings, no issues until now.
[Galaxy S 4 i9505 Android Development] FPSUsername:
Aosp profiles work flawless with the new cm kernel
[Galaxy S 4 i9505 Android Development] Jsilver73:
That sounds very good, I just got the super deep sleep thing again - fifteen seconds to wake screen - default settings
[Galaxy S 4 i9505 Android Development] pitastrudl:
im having the black screen after call for like 2 months, always using kantjers settings wihtout voltages. need to do some research

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] brunodu91:
Where arethe New custom settings? #post7??

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Lololol yes hurry and upload, I'm sat on a plane waiting for my 11 hour flight to take off and I'm not sure I can cope without the new settings to keep me safe hahaha :p

Edit: Hurry hurry only fifteen minutes left till takeoff and we might crash without them!!!!!!!
[Galaxy S 4 i9505 Android Development] kantjer:
Found something funny, while going though settings description of the new "Hot Plug suspend mode" and it is more or less described what was happening with the deep sleep issue some of us are having.

Only from the description I understand that setting it to "Always active" should prevent the issue, and I was already having it set like that.

So out of curiosity I have set the option to "Hotplug suspend" yesterday and I haven't had the issue since, could be a coincidence, or the function is working differently than I understood, or the setting is reversed.
[Galaxy S 4 i9505 Android Development] Jsilver73:
Thanks, this may just save my plane stalling and dropping out of the sky :laugh:
[Galaxy S 4 i9505 Android Development] kantjer:
I hope so :fingers-crossed: