yashsingh1/xdaforums huggingface dataset:
[X Play General] Sickaxis79:
That 10 hours sot was with a dark background, very low brightness (25%) and playing with kernel adiutor all day (7/8 hours) trying to get my cpu speeds low ass possible when i had nothing to do when i was at work.I was so bored i just couldnt stop playing with k.a. the whole day and checking cpu meters,lol. It was with very light usage. :)

---------- Post added at 01:36 PM ---------- Previous post was at 01:31 PM ----------

Ghostpepper for MXP translated:

LITTLE CORES:

target_loads - 1 249600:25 499200:56 800000:92 998400:95 1113600:98 1209600:100

timer_slack - -1

hispeed_freq - 200000

timer_rate - 20000

above_hispeed_delay - 20000

go_hispeed_load - 200

min_sample_time - 60000

max freq hysteresis - 0

BIG CORES:

target_loads - 95 345600:25 400000:16 533333:33 800000:50 960000:78 1113600:75 1344000:83 1459200:92 1497600:95 1612800:99 1708800:100

timer_slack - -1

hispeed_freq - 200000

timer_rate - 40000

above_hispeed_delay - 40000

go_hispeed_load - 200

min_sample_time - 40000

max freq hysteresis - 0

The original profile gives you a nice sot, but the big cores are still pretty aggressive.The problem with the big.LITTLE architecture is that it is so designed that the high loads are handled by the big cores and the small loads are handled by the little cores.

Im trying to tweak this so the big cores are working less often by giving it some more above_hispeed_delay and use higher load values on the lower cpu speeds to prevent ramping up fast. Also im tweaking at the moment to let the the little cores run at 499MHz instead of 800MHz when not touching the screen and try to let it idle around 249MHz when the screen is off,but thats the most difficult part.

Next is my work in progress and the profile im currently running and it runs great so far and saves some more battery.I dont test deepsleep,because i charge my phone everyday and constanly playing with my phone (addict :)), so you must test that part yourself.

LITTLE CORES:

target_loads - 1 249600:25 (or 45) 499200:90 800000:92 998400:95 1113600:98 1209600:100

timer_slack - -1

hispeed_freq - 200000

timer_rate - 20000

above_hispeed_delay - 20000 499200:50000 800000:25000

go_hispeed_load - 200

min_sample_time - 60000

max freq hysteresis - 0

BIG CORES:

target_loads - 95 345600:25 400000:16 533333:33 800000:50 960000:85 1113600:92 1344000:95 1459200:97 1497600:98 1612800:99 1708800:100

timer_slack - -1

hispeed_freq - 200000

timer_rate - 40000

above_hispeed_delay - 40000 960000:60000

go_hispeed_load - 200

min_sample_time - 40000

max freq hysteresis - 0

Little cpu speed= min 200MHz and max 1209MHz

Big cpu speed=min 200MHz and max 1708MHz

Enjoy!!!
[X Play General] wojnar:
Hi do you know why i cannot change on the big cores

timer_slack - -1

I can only choose from drop down list and the lowest is 200000

Thanks
[X Play General] judokapol:
I cant put interactive in the 2 cores if i dothe smartphone ddoesnt detect the sim. Why?
[X Play General] Sickaxis79:
Just type "-1" using kernel adiutor.

---------- Post added at 07:31 PM ---------- Previous post was at 07:26 PM ----------

I never have any sim problems tweaking this. I really dont know what can cause this.
[X Play General] lokesh.acm:
[MENTION=5725023]Sickaxis79[/MENTION] the go.hispeed.load can be more than 100? I thought that was like % Like if the load is 95%, then the frequency we set comes to play.
[X Play General] Sickaxis79:
Yes it is % and they use it in all those alpha interactive profiles,but you can also use 100 instead.You wont notice much difference.I think they use this value to prevent the hispeed_freq to kick in less often (not sure).
[X Play General] lokesh.acm:
I'm still learning. Could you explain why your go.hi.load is 200??

And from Google I found that go.hispeed.load is that load that will make the CPU jump to hi.speed.freq, which you've already set very low, when the load is =\> the specified load. So by that definition shouldn't the hispeed.freq be something powerful? To tackle that load which you've set high? Sorry if im bugging ya[emoji14]I'm just trying to understand.
[X Play General] Sickaxis79:
Ghostpepper is designed with battery saving in mind,but you can easy enable the hispeed_freq by just choosing any higher speed above the 200Mhz hispeed_freq.When you press the screen it will immediately jump to the hispeed_freq you have chosen even with a go_hispeed_load of 200.

I only translated the ghostpepper profile from the nexus thread close as possible to the original profile.I also dont understand why they use some strange values,but it works. Same with the timerslack of -1. A value of -1 means defer timers

indefinitely at all speeds.
[X Play General] Sickaxis79:
For the ones that like the big cores to be a little more responsive you can also start with this in the target_load section of the big cores: 25 345600:20 etc.

With this the big cores also reacts to smaller loads,because the 200Mhz now has a max load of 25% instead of 95% and wil move on much quicker to the next cpu speed.You wil notice this, when idling, the big cores also start to work when it detects small loads.
[X Play General] Sickaxis79:
I was also wondering this and here you have the correct answer i got back from alcolawl when i asked him.

200 is an arbitrary value. SoniCron, the man who first came up with these profiles, chose 200 for literally no reason. I can put any number there over 100 and it wouldn't matter because the CPU load can never exceed 100. When it's set at 200, the CPU will never go to the "hispeed" freq because the "go_hispeed_load" is never being exceeded. A lot of the profiles use this tactic to ensure the CPU doesn't behave erratically. Many governors are based off of GhostPepper, which is arguably the most successful profile SoniCron ever made. Go_hispeed_load is set to 200 in that profile, so I guess the value just stuck and people, myself included, worked around it.
[X Play General] lokesh.acm:
Now I understand :)
[X Play General] lvints:
How did you do it? Just installed Ac? Or uninstalled moto display too?
[X Play General] pijes:
yep. not uninstalled but disabled moto display. battery usage wise, I see more alarm wakelocks with moto display compared to Ac. since our phone not using amoled screen anymore, moto display doesn't really save battery now that the whole screen lights up everytime the phone detects any movement. so for me Ac is a better solution.
[X Play General] Sickaxis79:
Is it me or does this moto display also have some kind of learning function.The display only wakes up when I open my flip case.Don't know how it works,but it works and doesn't use the proximity sensor. I got the idea moto display keeps better and better the more you use your phone.
[X Play General] pijes:
Try opening the flip cover really slow, by not moving the phone at all. From what I've experienced, it is quite sensitive to movement even a slightest one would trigger it.
[X Play General] lvints:
Got it. I will freeze moto display here too. You could show me how to set up AC Display to function as the Moto X screen, showing the screen to move your hand across the screen.
[X Play General] Sickaxis79:
Remember this function you want "wave to wake" uses the prox sensor and constantly drains your battery a little bit,because the prox sensor must stay on when the screen is switched off. Not really a problem if you charge your phone once a day,but it prevents the phone to enter deepsleep.
[X Play General] lvints:
I get it. You use this function? You know what options I score AC Display settings?
[X Play General] Sickaxis79:
If you can use it with only the gravity sensor its worth to try. Personally I mostly try to avoid using the prox sensor with the screen switched off.
[X Play General] lvints:
The point is that I am not knowing configure the display Ac. I choose the options in it, but the screen does not respond to spend a hand on it.
[X Play General] pijes:
since I'm using a flip cover case, it works fine all the time. to activate with waving your hand though, all you need to do is wave your hand over the sensor twice. something like cover - not cover - cover - not cover
[X Play General] Sickaxis79:
Or just create your own "wave to wake" with free version of Macrodroid.

Like this :

Trigger = proximity sensor (slow wave,fast wave,prox far or near)

Actions = Screen on

Contraints = Call State (not in a call) , Screen Off

In settings go to "trigger options" and enable "proximity sensor work with screen off"
[X Play General] Sickaxis79:
XxMikeMasterxX I think you gonna like this app called "L Speed [ROOT]". Just discovered it today browsing some apps in the play store. It supports all kind off build.prop tweaks you can easily enable/disable with switches in a very clean looking interface and one of these switches says enable/disable "Assertive Display" :). Im using it for a few hours now and I think it works the same like you mentioned only you don't have to add and flash files. Didn't checked the other tweaks but this app looks very interesting and easy to use.
[X Play General] lvints:
Thank you man, your ideia was the best alternative, the answer is great (I thought it best to put quick wave) :victory:

I tried other apps (such as smart screen) but are not as efficient.

PS: Taking advantage of the situation, would have to mount a macro to wake up the screen with a double tap? :D
[X Play General] Sickaxis79:
lvints

Glad it works and you like it. The "double tap to wake" you want, i believe you must have a kernel that also supports this, but you can do lots of other stuff with it.I bought the pro version and its always the first app I install when flashing a new rom. You can also check the forum and see some nice examples off macros for flip covers, finding your phone back or auto disable your WiFi Bluetooth when not connected to a network etc. :)
[X Play General] pijes:
how's the battery consumption with macrodroid always running?
[X Play General] Sickaxis79:
It's minimum consumption. It depends on which and how many macro's you use. If you create a lot of macro's using sensors,location triggers,scan radio towers, you will only notice a small drain. For the small macros like turning your wifi/bluetooth on/off its very minimum.

It saves more battery then it loses if you create a lot of "auto off" macros. It doesn't show up in my battery stats an mostly uses around 2% a day,which is a good sign :).
[X Play General] XxMikeMasterxX:
[MENTION=5725023]Sickaxis79[/MENTION]

I've heard of L Speed and have tried it in the recent months. I used it for about a week but found it to be more of a hassle than a benefit. I uninstalled and flashed an older backup just to make sure I had the system partition as clean as possible. I think custom kernels and other programs offer better tweaks than L Speed, although the development is surely impressive. Maybe I'll revisit it in a few months but will leave my setup as is for now - 5 days 5 hours SOT and 5 hours streaming music is where I wanna be right now. :)

Thanks for the info though. You da man.
[X Play General] rober788:
i flashed thos mod: http://xdaforums.com/showthread.php?t=2360670 , i was surprised !!!!

battery life is good and it works smooth.
[X Play General] Sickaxis79:
Definitely gonna check this out when I'm home.

Thanks for the link :)
[X Play General] Chaninoza:
Works on 6.0.1 stock?

Enviado desde mi XT1563 mediante Tapatalk
[X Play General] rober788:
i have reteu 6.0.1
[X Play General] XxMikeMasterxX:
Which version did you flash? Stock or CM? I read in the OP thdt if you don't have GB or ICS you should install CM version... It apparently hasn't been updated for a while and people are unsure of whether it works on MM.

Anyway - cool! I may try it when I grow a pair of balls and stop liking my current setup. :P
[X Play General] Sickaxis79:
Tried it,but I can't say I noticed any difference. Seems this mod works great on slower/older devices reading all the positive comments in the original thread, but it was worth the try.
[X Play General] ajay.al:
Hi,

I am running 6.0.1 stock . What i need is a better battery life. I generally have 100% charge in the morning 9AM. But by evening 7PM my phone charge will be empty. Have an SOT of 4-5 hrs.

What i want to know is, is it worth unlocking bootloader and voiding warranty? Will the battery backup increase a lot if i use any custom kernel or any other custom os?
[X Play General] Sickaxis79:
Perfomance wise its not needed but for a better sot its worth it. You don't need a custom kernel to achieve a better sot. Just root your phone and tweak the settings with a kernel manager playing with the minimum speeds. For more sot its best to only use stock or debloated roms. Depends on how you use it but with light usage i have around 9/10 hours sot and medium usage around 7/8 using stock interactive governor. If you play games you wont notice much difference. If your phone is pretty new i should wait a while before giving up your warranty.
[X Play General] Sickaxis79:
For anyone intrested and already gave up on the interactive governor tweakings because of the 1459Mhz bug. Fixed it after I debloated the post init.qcom.post_boot.sh file which contains all the stock governor boot settings. No more 1459MHz bug an settings reverting after you have changed them with a kernel manager. I'll post the files tomorrow in 3 different versions. 2 with the ghostpepper profile intergrated (stock kernel and squids oc kernel) and the other just with the default stock settings,but without the 1459MHz bug. :)
[X Play General] Sickaxis79:
UPDATED see newer post
[X Play General] zeeBomb:
Who has the best optimal settings here? I wanna know :)

How is the general usage and the overall battery life of ghostpepper?
[X Play General] Sickaxis79:
Overall about 1 hour more and if you can stand a low brightness 2 hours more compared to stock interactive. Mostly I reach around 7/8 hours, but I'm mostly reading stuff on the internet using wifi only. Ghostpepper only calculate what's needed for the right task and reverts the CPU to lowest CPU speed soon ass possible. Big cores min 200 and little cores min 499/800,lowest is 249MHz on the little but only reached when the screen is off and sleeping.
[X Play General] zeeBomb:
Have you tried butterfly as well? Which one would be more suitable for everyday usage, browsing and video, MAYBE light gaming?
[X Play General] iniro:
Can you make a flashable zips to apply your changes?

Thx!
[X Play General] Sickaxis79:
Yes I tried but butterfly. It's using the hispeed freq on both cores set to the max and constantly bumping your speeds to the highest freq so its not a good profile for saving power.

---------- Post added at 11:50 AM ---------- Previous post was at 11:28 AM ----------

Not possible. Its very easy to apply.If using es file explorer goto>tools>root explorer (put the switch on and tap the icon for more options) > select mount r/w > select system partition and give it r/w access. When you placed the file in system/etc and renamed it you select "properties" and give the new file rw-r-r permission. Reboot and finished.
[X Play General] iniro:
Thx I will give a try to Stock rom 6.0.1. "Ghostpepper" stock kernel,
[X Play General] Sickaxis79:
Think you gonna like it. You will notice its smooth,battery friendly and your device doesn't heat up like before. :)
[X Play General] lokesh.acm:
[MENTION=5725023]Sickaxis79[/MENTION] ghost pepper is only for stock? Or can I use it on RR or other roms too?
[X Play General] Sickaxis79:
Doesn't work on cm roms. It should work on stock based roms (debloated roms).
[X Play General] drmuruga:
Any simple tweaks for better battery performance?

I'm with stock 6.0.1 ROM, I'm new for tweaking kernel etc.
[X Play General] Sickaxis79:
This guy got all the info you need and explains it very detailed.:)

http://xdaforums.com/showpost.php?p=66993687&postcount=590
[X Play General] zenez:
ill try the script :) because the kernel adiutor settings is driving me crazy
[X Play General] Sickaxis79:
Just try it and if you want to change some settings afterwards,you can just use kernel adiutor and save it to a new profile or revert to your old .bak backup file. :)
[X Play General] raptorskate:
When I finish doing all of this process, do I need to activate it with Kernel Manager or something? Thanks!!
[X Play General] Sickaxis79:
No, not needed anymore. Ghospepper values are already applied when booting the phone so they are already intergrated.

If you open kernel adiutor after you have installed the post_boot file and rebooted ,you wil see all values are already applied.

Edit: This is what you must do using es file explorer.
[X Play General] raptorskate:
Yeah I was able to see that! Thank you!
[X Play General] zenez:
Everything works perfect with this script! :) i see the frecuencies table and always is on 200MHz, i cant see a SOT improvement, because my cellphone always have a modem process in baterry drain, do you have a idea what can be?

Thanks for your time and your knoledgment :)
[X Play General] Sickaxis79:
Its not a problem of the script. I also have this problem when using dualsim roms on my single sim mxp. Marshmallux v2 drained a lot on my device when the phone was deep sleeping at night and after i returned to stock problem was solved.
[X Play General] zenez:
I know isnt a script problem :) but acording with gsam the telephone modem is draining around 30% of battety, is normal?

Thanks for your reply :)
[X Play General] Sickaxis79:
No its not normal. Im also wondering what causes this. Seems like people with a dual sim suffer a lot from the wifi drain and the single sim phones have the mobile signal drain.
[X Play General] wojnar:
You can easily get rid of WiFi drain. Just switch off wifi scanning under location tab in settings. But mobile drain is still a mystery for me
[X Play General] Sickaxis79:
Handy tip, thanks :)
[X Play General] zenez:
Thats right, I have a dual sim model (use only one sim) :) Im not suffer WiFi drain, i use a gravity box tweak that changes thw 4g yo 2g on lockscreen, but no fix this problem
[X Play General] XxMikeMasterxX:
So is the consensus thst the GhostPepper installation guide provided by Sick is the way to go to maximize usage?

I'm still on my lionfish setup from a while ago and ive got some happy stats still.
[X Play General] XxMikeMasterxX:
http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/page1

I also wanted dto share this thread with you all who are looking fot maximum battery saving using various apps and configurations.
[X Play General] raptorskate:
I had that issue too, but now I'm using Epsilon Project Rom and I'm not having that issue, is a single sim Rom, you should try it! Really light and really good.

---------- Post added at 05:14 PM ---------- Previous post was at 05:09 PM ----------

I just did this yesterday, and it's working really good. Got phone off charger yesterday at 9.38 AM and right now I have 54% with 2.45 hrs SOT.
[X Play General] danxdarkte:
I can see this problem in various here, the standby drain a lot, i don't know why this happen but in airplane mode this is not presente.
[X Play General] XxMikeMasterxX:
Yeah good point. I think this is an issue across the system and hopefully will be addressed in Android N. It's very detrimental to the battery but if you follow thr tweaks.in this and other threads you'll get some fantastic results. My SOT is 5 hours with minimum 4 day charging cycles.
[X Play General] dev>null:
Hi mates...you may want to try the new Optimus Kernel !!! Testing right now, everything feels snappier (using the ghostpepper setup for stock) ;)
[X Play General] brom25:
Let us know about the battery life!! :good:
[X Play General] baskwo:
What do you mean with : ghostpepper setup ?
[X Play General] minimale_ldz:
http://xdaforums.com/showpost.php?p=66974881&postcount=312
[X Play General] raptorskate:
Thanks for the recommendation! I'm using it right now with Epsilon Rom and its working really smooth! Even a little bit better than squid's, also with ghost pepper profile! How's your battery and performance?
[X Play General] Sickaxis79:
Updated "Ghostpepper" profiles for interactive governor.

Works with stock or debloated 6.0.1. stock rom's.

Updated the scripts a little so that the timer_slack of -1 is also set at boot and fixed a missing command line.

- Stock/original ini.qcom.post_boot.sh script incase you have lost your backup and want to revert = https://drive.google.com/open?id=0B9ON0D1zF_uAWm93QW1wYjlrNEE

- Stock rom 6.0.1. "Ghostpepper" Squid oc kernel = https://drive.google.com/open?id=0B9ON0D1zF_uAcGZjdEktYXR1emc

- Stock rom 6.0.1. "Ghostpepper" Stock or Optimus R10 kernel = https://drive.google.com/open?id=0B9ON0D1zF_uAQU9pclFTei1XQWM

To use you will first have to "mount" your "system partition" using a file explorer and give it r/w permission. Next go to /system/etc and rename the original init.qcom.post_boot.sh file to init.qcom.post_boot.bak (for backup). When finished just paste the downloaded file into the /system/etc directory and rename it to "init.qcom.post_boot.sh" and give it rw-r-r- permission (see picture below) reboot and finished.

Sent from my xt1562 stock eu mm 6.0.1. using optimus kernel.
[X Play General] Leni_YO:
Thank you so much! Love the battery life :)

I wonder how you translated the values from the original Nexus 5x Ghostpepper profile. Do you mind giving an explanation?
[X Play General] Sickaxis79:
Sure. First you calculate the min and max efficient target_loads. These are only important for the lower freqs to ramp up smoothly and then I compared the original ghostpepper profile with the mxp CPU speeds and replaced it with the cpu speeds that fits closest and replaced it with the mxp calculated min and max efficient target_loads
[X Play General] dev>null:
Just wanted to report that the Optimus Kernel has the best stability, performance, SOT and battery available today on our MXP!

Amazing results together with [MENTION=5725023]Sickaxis79[/MENTION] 's Ghostpepper settings !
[X Play General] brom25:
So just flash the Optimus kernel, copy the Ghostpepper profile and that's it? :D I did that; will try with marshmallux tomorrow how is SOT etc, thank you
[X Play General] minimale_ldz:
Doesn't Ghospepper need editing to work with OC Ultra kernel?
[X Play General] XxMikeMasterxX:
Let's see some results of the SOT and battery and all that. I'm really keen to maximize as you know so some data would be great.

Here's my current performance with squid r16 and lionfish.
[X Play General] XxMikeMasterxX:
Plus dirty flashing the system.and kernel seems like a pain. It's probably easier than I think but I'm a whiny b%+%) sometimes. :P
[X Play General] zenez:
Im using marshmallux and optimus kernel with ghostpepper setup, but it only one processor on the big and two processor on the little is on and the others cannot turn on, it is normal? Thanks for your reply :)
[X Play General] XxMikeMasterxX:
Is someone willing to PM me the steps for flashing Optimus kernel when I currently havr squid OC? How do I dirty flash the system in order to return to stock kernel thus preparing for Optimus installation? Will I lose any data? It's about time I made a backup anyway...

Thanks, team :D
[X Play General] brom25:
What I did on marshmallux is :

- wiped data on kernel adiutor

- reboot recovery, wipe cache/dalvik, reflash dirty your rom

- reboot, check in settings if the squid kernel was gone

- reboot in recovery, reflash optimus, wipe cache

- reboot, follow the instructions for Ghostpepper and tadam!

Today will be all day testing for me too
[X Play General] Leni_YO:
I came from Stock+squid Kernel and dirty flashed Optimus and applied ghostpepper Script. Yes I know that it's advised to flash the Rom first, but I was too lazy and curious. I haven't encountered any problems so far.
[X Play General] lokesh.acm:
I love your stats.[emoji14]
[X Play General] dev>null:
Hey [MENTION=7240937]XxMikeMasterxX[/MENTION] I did dirty flash and had no problem so far !!!

Just in case, keep an original pure stock twrp backup nearby....or simply dirty reflash the rom, then the Optimus Kernel again ;)