yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Kappa Lamda:
I think that this is not possible!!!

EX profiles change settings made on CPU tab only! At least that's what I think. That means, governor for cpu clusters, gov settings, boost settings, touchboost and thermal. Nothing else.

All other settings are not changed when loading a profile.

So what you could do is this!

1. Run one time the script.

2. Go to EXKM cpu tab, then governor settings and save it with a name you want.

3. Then go to all the other settings on cpu tab and on the other tabs as week that are changed and click the power button on the right to make them apply on boot.

4. Go again on cpu tab and governor settings, load the profile previously saved and switch on the apply on boot.

5. Done.

With these steps, possibly you have all settings, restored after each reboot.
[Nexus 6P General] xperator:
I have updated 3 profiles:

Excalibur V2 : is nearly the perfect profile (for me) and It's my current favorite.

BlackPepper V2 : tweaked some parts to fix lags a bit

XSpice V2 : tweaked many things and its complete. Most lags should be gone.
[Nexus 6P General] shuckeru:
i don't understand why you don't want the profiles to be compared. basically we've got 3 things we want from a profile. Performance, Battery Life, and/or balance between the two. profiles are made with one of those in mind. For example, we still want to know how Dragonfly stacks up against Butterfly in terms of performance, but how much better at battery life is it than Heimdall? Also if Saber was solely meant for battery, but is at a disadvantage to blackpepper in terms of battery because of input boost then... i don't see the point of saber being up anymore tbh. Because blackpepper shat on saber's battery life, and idle drain. again here i don't understand why you do not want them to be compared. one is clearly better than the other.

I know you didn't make blackpepper performance focused but turns out its not bad at gaming either so its still a :good: imo, which is why i want to compare it to Dragonfly because the biggest difference in the performance department while gaming on those 2 profiles are the battery drain, and not lag. like i said in my testing: lag on blackpepper is mostly when idle, not when CPU has ramped up.

384mhz to my knowledge is not an under clock because its available on stock. 302mhz on AK/Ninja kernel (i haven't actually used Ninja. i'm assuming since its based off AK) however is. Regardless, min CPU frequencies allow the CPU to idle and use less battery. its as simple as that. if you've stuck the governor at 633mhz for BIG instead of 384mhz, then obviously its going to affect the idle drain. Before your profiles came along, Kylo historically didn't idle below 1%/hr on stock ROM. If i recall correctly DU and PN were able to, but definitely not stock. AK was able to push that idle down for me on stock ROM to below 1%/hr idle while i was on Amanuensis with min clocks set to 302mhz. Heimdall would be just slightly higher than 1%/hr drain but clocks also manually set to 302mhz. Obviously I'm quoting from my own experience but I've not seen many people still on stock ROM giving detailed feedback. Essentially setting the lowest clock speeds for dragonfly's Min frequencies will squeeze every ounce of battery you can into the performance. 4% battery saved overnight (guessing here) means at least 10mins of SOT.

awesome. i just screwed up xspice testing just 10% in. i'll give v2 a go instead, then check out excalibur because i really want to see near 0% idle drain =D.

lovely or not, its not possible like previous posts have explained. On top of that, there's no significant tangible difference from the rest of the settings outside CPU. i've done a test here
[Nexus 6P General] Caltinpla:
I'm running this script using EXKM app with no problems here but you have to do some of the settings manually.
[Nexus 6P General] xperator:
I just had a look at Amaneunsis values and it's looks very similar to Heimdall I wonder if its based on that.

Unfortunately I couldn't make a profile based on Heimdall no matter how I tried. The values are extremely tight and it's like a chain you break one part and the whole thing falls apart.

Maybe I can do a profile based on [MENTION=4049833]Juzman[/MENTION] 's Amaneunsis custom version. What are your thoughts Juzman, is that ok with you?
[Nexus 6P General] Prattham:
I just want to ask

Where were you the whole time? :D

Dragonfly the perfect profile :good:
[Nexus 6P General] bradputt:
Hi Xperator,

the parenthesis is giving me errors for the sh script. i removed it and it ran ok.

echo --------------------------------------------

echo BlackPepper (by xperator)

echo --------------------------------------------

just to let you know.....
[Nexus 6P General] xperator:
Oh Thanks ! I have never used scripts that's why. Uploaded the fixed syntax for other users :good:
[Nexus 6P General] Caltinpla:
So far so good. I did some manual settings to match your script and it works fine with EXKM. Ty
[Nexus 6P General] Mikulec:
You should put link to your post with your scripts to your signature, so people can easily find it. ;)
[Nexus 6P General] kyzn:
Excalibur v2. Light to medium use with a couple of minutes of Pokemon Go. Over clocked and under clocked for that sweet sweet cool surface when picked up from deep sleep. Not bad.

A bit of a scrolling lag with social media apps and Chrome. The page sticks a bit before continuing on.
[Nexus 6P General] Juzman:
Go for it mate. I don't mind. Sharing is caring. I'm running blackpepper ATM, I don't play games so works good.
[Nexus 6P General] xperator:
Ok cool!

But before that, if you're favoring some other profile over Amaneunsis atm then tell me so maybe we should skip doing a profile based on Amaneunsis.

Since the only reason I thought we should do it is because perhaps my profiles are not yet good enough for users like you who might have a whole different usage pattern that makes Amaneunsis be the better option.
[Nexus 6P General] Juzman:
A few people have messaged and said battery/performance is good. It uses slightly more battery as it works a bit better for gaming etc.

I'm just trying the other one since in don't game at all.
[Nexus 6P General] xperator:
I see.. then let's just do it and see how it turns out.

I need some information if you don't mind, so I can know which direction should the new profile go and what should not be changed.

How many SOT hours can you average with Amaneunsis? How is the idle drain ? How is the speed Is it laggy, is it smooth?

What's the profile you were using before switching to Amaneunsis? And what you like about Amaneunsis which areas does it shine

Oh and do you know anything about bootpulse_duration ? I see it has been changed in Amaneunsis script but I don't know what does it do

Sorry for the interview lol
[Nexus 6P General] Juzman:
Honestly never checked the average SOT.

Idle drain is ~2.2%/hr.

It was quite smooth, not very laggy at all.

Prior I was using stock Ninja Kernel.

Amanuensis shines with performance, but not using too much battery drain.

Not too sure about bootpulse_duration myself.
[Nexus 6P General] shuckeru:
New testing update!

So I lied, I tested Excalibur v2 instead of xspice.

4.75hr total SOT, only 1hr of heavy use, and as you can see in the screen shot there is an obscene amount of active idle time. What happened here was that it managed to deep sleep for at least 2hrs idle, and then I checked the idle drain before i went to bed. 0%/hr. awesome. went to bed with 80% then woke up with 72% and it showed that idle drain was at 0.63% because it was held awake for 3 hrs. And after that anytime my screen was of the phone wasn't able to deep sleep. Thanks Google Services and Android OS. I changed my kernel to Ninja to check it out but I'll be returning to kylo later today. have a feeling the kernel is responsible for this. I did under clock so I'm sure it alleviated some of the bad behaviour

Onto the profile itself, light usage brings about 8.5%/hr drain (super :good:) and as I said before there was a section where there was literally 0%/hr drain on idle. So it works as advertised. I noticed that fingerprint recognition is much faster, camera launches nice and quick and so i didn't miss my 3 second window to take a photo, unlike [MENTION=5039384]kyzn[/MENTION] I didn't get any lag when I was on chrome when I was browsing for places for lunch, and while in that instant had chrome, pdf, zomato, maps, pokemon all in ram, switching between had no delay whatsoever.

Just as another point of data, imo Amanuensis is slower for these things. As i remember they don't stutter or freeze but just becomes slower.

I'm pretty sure that this profile runs as hot as Dragonfly, I was seeing 23C minimums and 50C maximums. if you want a cooler profile check out Blackpepper instead.

lastly extrapolating heavy use 100%-0% drain I expect 2.75hrs SOT. Would I trade some SOT for performance? maybe a little, but given that the SOT for this test is the same with my blackpepper test but a lot more of it belongs to light usage? I'll recommend this if you can't stand lag and are a light user, but its probably not for me since I play games. Amanuensis and Blackpepper performs better while gaming in terms of battery life, and both don't lag doing so. Or maybe its because of the kernel that i didn't hit my expectations? I'm undecided for myself as of now.
[Nexus 6P General] xperator:
Thanks for the stats and feedback.

Google Services does strike at night once in a while so its normal.
[Nexus 6P General] shuckeru:
you know what i didn't mention in my post is that if i went 100%-0% with this profile with light usage i would get about 7.5-8hrs SOT which is crazy to me =O and it really doesn't lag at all so i can see why this is your favourite.
[Nexus 6P General] Stephenparrigin:
[MENTION=232777]xpert[/MENTION]aor could you do me a favor and add the post with your profiles in it to your signature? It would make them easier to find. :p
[Nexus 6P General] xperator:
Finished the new profile based on Amaneunsis.

Main post Link in signature from now on

Done :good::laugh:

Don't just estimate, Its not that easy! Try light usage and see if you can get 7+ hours.
[Nexus 6P General] Prattham:
Finished with Excalibur v2

My normal day usage, i only do light gaming and that too in total for about 20 mins or so
[Nexus 6P General] Prattham:
Finished with 5 hr 15 by 11%

Testing deus now:D
[Nexus 6P General] xperator:
Hey guys can you list all profiles you have tested so far and give some stats/comment for each category

Like this :

1.DragonFly

Peformance: best of all. 0 lags

Idle drain: 2%/hour

SOT : 5hours minimum

2.XSpice

Peformance: lags sometimes,

Idle drain.....etc...

Keep it short and simple
[Nexus 6P General] Stephenparrigin:
THANKS! One more question if you don't mind. How do I/we tell if a profile uses input boost or touch boost? I noticed in the Saber profile description it was mentioned to turn it off. The others don't say.
[Nexus 6P General] xperator:
No problem. If you are using my profiles you don't have to worry about that. In any case you want to know how to check those just open EXKM and go to CPU scroll down you see an option labeled as Touchboost and it says if its enabled or disabled right beneath it. It should be disabled for any profiles.

And for Input Boost you click on CPU boost options and the first option tells if its on or off.
[Nexus 6P General] Stephenparrigin:
So touch boost is disabled on all your profiles and input boost depends on the profile I'm using right? Am I understanding you correctly?
[Nexus 6P General] xperator:
Yes.

Touchboost should be disabled for any interactive profile, not just my profiles. Because disabling it is one of interactive profile fundamentals. If it's enabled then you won't benefit from any profiles. If it's enabled it means every time you touch the screen the cpu ramps up, means more battery consumption. If you are using stock android, touch boost is enabled by default.

And as for Input Boost, there aren't many profiles that disable it. The only profile that have Input Boost disabled is BlueJay to my knowledge. And Saber which is made by me. It's not a smart move to disable Input Boost even though it is very similar to touchboost. Theoretically, disabling it should benefit battery life but in real case it is not. It's actually good to keep it on.

See, DragonFly which has become popular lately, uses a very aggressive Input Boost like no other profile. That is one of the reasons it is so fast and responsive.
[Nexus 6P General] Prattham:
Are you talking about your profiles or in general available here?
[Nexus 6P General] xperator:
Just mine s
[Nexus 6P General] Prattham:
Dragonfly

O lags

Best performance even better than butterfly

Best idle drain than every profile, less than 0.80%

On screen drain was 16 to 18%

Xspice

Lags alot of lags but can be ignored

Idle drain similar to dragonfly

Best profile for max no of sot

I got 5 hours by 10% with 25 hours of charger that included everything

Black pepper

Not much lag

High idle drain

4 hour sot max with light usage

Excalibur i just posted my results:p

Currently testing deus with 2hr 30 mom of testing time

On screen drain is 12.30%

Idle is 1.25%

Normal usage whatsapp xda youtube chrome Google + a bit light gaming for all the profiles testing

Tested Saber as well didn't liked at all didn't finished testing but very high idle and active drain

Cheers
[Nexus 6P General] kyzn:
[MENTION=4151089]xperator[/MENTION]

Do note that I play Pokemon Go and stream Spotify. SOT mileage may vary. SOT are rough estimates, all I can say for sure is that I didn't break the 4 hour line. And it's overclocked.

Dragonfly v1.0

No lag. Great performance.

Idle drain: 0.91%

SOT: 3.35 hours

Excalibur V2

Visible scroll lag. Good performance

Idle drain: 0.87%

SOT: 3.85 hours.

Using BlackPepper V2 now. It hasn't "settled" yet. Battery is currently at 93% with idle drain sitting at 2.12% idle and 6.04% per hour on screen drain.
[Nexus 6P General] BIGWORM:
So pretty much everyone in here is using Kylo kernel? I've been on AK unofficial for some time and migrated to Ninja, but is Kylo that much better? I guess that answer is completely subjective.
[Nexus 6P General] kyzn:
Unofficial AK to Ninja for me but I will say that ElementalX is still by far my favorite kernel. The smoothest best idling kernel I've used.
[Nexus 6P General] joeyfong:
Which profile suit for music streaming? Thanks.
[Nexus 6P General] Juzman:
I grabbed XSpice and made some *slight* modifications to it, you can check out the difference with online diff tool.

I named it "v2.1" and link is here if you want to check it: https://drive.google.com/drive/u/1/folders/0BxNg1CsHZMjFNHdjZlhyUi00MDg

Changes I made were:

XSpice V2:
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 633600
/sys/module/cpu_boost/parameters/input_boost_freq 0:672000 1:672000 2:672000 3:672000 4:0 5:0 6:0 7:0
/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq 600000
/sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq 633000

XSpice V2.1:
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 384000
/sys/module/cpu_boost/parameters/input_boost_freq 0:600000 1:600000 2:600000 3:600000 4:0 5:0 6:0 7:0
/sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq 460800
/sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq 633600

I hope you don't mind. This should help with battery a bit more, maybe. :)

I'm thinking, maybe try combine Saber / XSpice and call it "SpiceSaber" -- This has been added on my GDrive if you want to check it out.

Can you recommend a decent battery app to monitor idle drain etc?
[Nexus 6P General] Prattham:
We all use exkm that has built in battery monitor and shows deep sleep of cpu states and drain % on screen and while islie

Its a paid app by [MENTION=4684315]flar2[/MENTION] but worth the money :highfive:
[Nexus 6P General] Juzman:
Ah rightio, didn't actually notice. Will check that from now on. :)

Will charge to 100% and monitor "SpiceSaber".
[Nexus 6P General] arcticnights:
When I tried to download the profile in chrome from your drive I got "Failed - Forbidden" :/ Please advise. Thanks!
[Nexus 6P General] Juzman:
I get that issue when I am at work, too. Not sure why (proxy or firewall maybe).
[Nexus 6P General] xperator:
Nah that's cool :D :good:

I see what you doing. But remember lowering clocks is not always a good thing. You might stall CPU at a clock that might not be enough to handle current task. Sometimes its wiser to let CPU finish the task with a higher clock rather than stalling it. Why not let 10 men do the job in 1second rather than 1 man doing it in 10seconds?

Btw do post your results, stats and comparison for each profile you use
[Nexus 6P General] Juzman:
Yeah, that makes sense I guess. I am trialling "SpiceSaber" at the moment, for some reason I can't "attach" it to my post.
[Nexus 6P General] arcticnights:
I'm at home! No proxies or firewalls as far as I'm aware...
[Nexus 6P General] Juzman:
Damn, that is strange. I can download fine on 4G on my phone, switch to work WiFi.... no go. :s

I put a copy here: http://textuploader.com/58qo8 just throw it in a new document, and load it with EXKM.
[Nexus 6P General] Prattham:
Just tested #Deus same normal usage whatsapp alot chrome Google + xda youtube and main battery sucker snapchat lol

Gonna hit 5 hr 30 min by 3 - 5% i guess
[Nexus 6P General] Prattham:
Look like i messed up with exkm screenshot

So here it is
[Nexus 6P General] Prattham:
Edit- got 5hr 41 min by 9%

With 98% smooth profile

Nice work [MENTION=4151089]xperator[/MENTION]
[Nexus 6P General] xperator:
Glad to hear that :highfive:

How was it compared to BlackPepper and Amaneunsis? Since it's based on those two
[Nexus 6P General] Juzman:
I think I'm not doing something right [MENTION=4151089]xperator[/MENTION] as I'm testing "SpiceSaber", EXKM is showing:

Battery: 88%

Time on Battery: 3h 37m

Screen on: 39m

Active Drain: 9.22% per hour

Deep Sleep: 2h 50m

Idle Drain: 2.58% per hour

I use Naptime, but am unsure how to get idle drain lower. Battery stats show approx 1d 2h left though. Strange.

Also, there's a typo in Saber: /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads 70 633000:70 768000:60 864000:50 960000:80 1248000:90 1344000:90 1440000:97 1536000:99 1632000:99 1728000:100 1824000:100 1958400:100

It should be 633600, not 633000
[Nexus 6P General] Prattham:
I would say you have hit the right spot with this

I haven't used amaneunsis so can't tell but i have yet to use blackpepper v2

Comparing to v1 of blackpepper this is way smoother and idle drain is less as well

Currently I'm testing xspice v2, v1 was the best for me though some lags but still

Cheers
[Nexus 6P General] xperator:
There are many factors that determine Idle drain. First one is the signal reception and the second is the kernel. Third is your apps.

And I'm against altering Doze values using apps like Naptime. I got nowhere doing that. Not to mention you might actually end up causing more batter drain.

Regarding the profile, As I said before try to not bottleneck the cpu with lower clock restrictions. If a service or an app is kicking in while your device is sleep just let CPU finish the task.

You didn't miss much. Amaneunsis is not really a very likeable profile in my opinion specially if you look at the idea behind it. It completely shuts off the cluster 2 cpu during any usage. And it has many strict limitations around higher clocks. I understand why the profile maker could get 7-8 hours of SOT (on other devices I believe, not even nexus).
[Nexus 6P General] kyzn:
[MENTION=4151089]xperator[/MENTION] I'm surprised how much BlackPepper V2 is holding up with my use. I'm playing Pokemon Go and streaming Spotify then switching to social media apps, and it only took around 20% off my battery on my 55 minute commute to work. I have an onscreen drain of around 15%. :D:good:

I have a feeling it's only going to get better after a few more cycles.
[Nexus 6P General] Juzman:
Yeah, I will remove Naptime. I am tweaking the values slightly and will give it a test :)

---------- Post added at 09:20 PM ---------- Previous post was at 08:57 PM ----------

New Link: https://drive.google.com/open?id=0BxNg1CsHZMjFNHdjZlhyUi00MDg

Should be able to download now. I'm testing SpiceSaber_V2 at the moment.
[Nexus 6P General] Prattham:
I was testing xspice v2 damn too much lag

Almost similar to first one

Can't take it lol switched back to dragonfly

Cheers
[Nexus 6P General] Ramone360:
Does any of these profile CPU under clock ? Because they look the same as stock. I'm currently on black pepper v2.
[Nexus 6P General] kyzn:
All of the profiles use the stock clock frequencies. If you wish to under/over clock, you set the values yourself.
[Nexus 6P General] Ramone360:
Thanks. Just was wondering [emoji1]
[Nexus 6P General] hinxnz:
Check out Battery Monitor Widget on playstore by 3c
[Nexus 6P General] Juzman:
Thanks, ended up just using EXKM. :p
[Nexus 6P General] arcticnights:
What should I rename the file extensions of the profiles to before using them? .exkm? Thanks.
[Nexus 6P General] kyzn:
Remove the .txt.
[Nexus 6P General] shuckeru:
I plan to create a huge ass post for all my results in the future. but i'm sure you'll be able to find my posts easily if you need to refer to them for now. i'm pretty much active on this thread only.

also these last few days my idle drain has gone way too high from android so i'm trying to stabilise my phone before carrying out any further tests as of now.

depending on month sometimes kylo does better, sometimes AK unofficial does better. last ninja i tried was 1.1.1 and that.. was bad for me.
[Nexus 6P General] weazie:
I feel ashamed to ask, but could You make a script out of this one? I tried a hand with it myself but I'm just too inexperienced at the moment. :o

Thank You and no obligation of course. Regards.

---------- Post added at 19:47 ---------- Previous post was at 19:43 ----------

1. BlackPepper-v2

Perf: Very smooth, no lag at all.

Idle drain: 2% overnight (8 hrs)

SOT: 5h 40min over 24hrs of use.

2. DeusEx

Perf: Same as BlackPepper-v2

Drain: Not sure, but maybe a little faster than BlackPepper-v2

Idle drain: Same 2%

SOT: 3h 22min over 24hrs but I was using Bluetooth and hotspot for 1½ hrs.

Edit: I had 20% battery left when I had to reboot, so this would have still easily gone over four hours still.
[Nexus 6P General] xperator:
Yup no problem at all. I uploaded the script version :good: go n grab it

Also thanks for the stats
[Nexus 6P General] GoldElocks:
Ok, I'm usually not one to post screenshots of battery life but I feel compelled to do so in this case.

Benzo rom, Ninja kernel v1.2 and blackpepper v2 profile. 384/1708 633/2054. (thought I lowered big cluster min to 384). Fairly light usage with absolutely zero lag. Sync on, location on. I'll let the stats speak for themselves. Thanks to OP and all those contributing for making our phones so optimized.
[Nexus 6P General] Juzman:
So I've been testing "SpiceSaber_V2" [MENTION=4151089]xperator[/MENTION] and so far so good.

Battery: 93%

Time on Battery: 4h 37m

Screen On: 1h 2m

ScreenOff: 3h 35m

Idle Drain: 1.95%/hr

No WiFi, just 4G.

Now Ninja Kernel v1.3 is out, so guess flash and charge again. -.- hahah
[Nexus 6P General] resynx:
Finally getting around to trying out your profiles [MENTION=4151089]xperator[/MENTION] ! Just loaded up DragonFly :D
[Nexus 6P General] xperator:
That's not bad cause 4G drain usually tends to be higher :good:

Lol where were you doing the whole time then :laugh:
[Nexus 6P General] Juzman:
Yeah, that's what I was thinking too. Have flashed Ninja Kernel 1.3 and fully charged phone - testing again. :p
[Nexus 6P General] Ramone360:
What was your brightness level?
[Nexus 6P General] Juzman:
Around 30-40% roughly. I never usually go over about 60%.
[Nexus 6P General] Ramone360:
Sounds good. Any under clocking?
[Nexus 6P General] Juzman:
Nope. None at all as far as I'm aware. This is what I'm at so far, with SMS, Chrome, Facebook, Instagram, and Snapchat usage.