yashsingh1/xdaforums huggingface dataset:
[ONE General] abhi08638:
You can run the test yourself

Turn on show CPU info under developer options and download Ampere from the play store. Your numbers may vary

1. Set min and max CPU to 146. Open ampere and keep opening and closing the notification tray rapidly. After you get a measurement, do this for another 20 seconds. The max number should be your max drain in milliamps at 146. Now don't touch the screen. Let it sit for another 20 seconds the min number should be your idle drain at 146.

2. Set min and max CPU to 1190. Open and reset ampere, keep opening and closing the notification tray rapidly. After you get a measurement, do this for another 20 seconds. The max number should be your max drain in milliamps at 1190. Now don't touch the screen. Let it sit for another 20 seconds the min number should be your idle drain at 1190.

3. Set min and max CPU to 1267. Open and reset ampere, keep opening and closing the notification tray rapidly. After you get a measurement, do this for another 20 seconds. The max number should be your max drain in milliamps at 1267. Now don't touch the screen. Let it sit for another 20 seconds the min number should be your idle drain at 1267.

My results:

1. Max load drain 146 is -230ma

Idle drain 146 is -130ma

2. Max load drain 1190 is -350ma

Idle drain 1190 is -130ma

3. Max load drain 1267 is -440ma

Idle drain 1267 is -160

As you can see, since idle drain *can be* the same for the first two frequencies, it makes since to just keep it at 1190. Realistically, the CPU governor would increase the freq to at least 1500 when on load with partial battery drain due to hotplugging. The way I made my profile is that the CPU has to do as little scaling as possible while still maintaining battery life

Edit: for even more battery savings you can try disabling one core
[ONE General] molonad:
Yes i Will not stop ☺? i just wanted to know, if there is someone who likes my work, or if iam writen off ? thanx ☺
[ONE General] D_black84:
yes we like your work
[ONE General] Eru Ilúvatar:
AK.136 builted with Uber 4.9 toolchain is up: http://xdaforums.com/attachment.php?attachmentid=3223486

Try it, guys!
[ONE General] real_pac:
Real_pac's_AllDay ProfileV1.1

so, for those who likes to test profiles now i have uploaded mine. Personal usage.

I choose a battery friendly governor and tuned it up because of laggs!

This profile is based on SmartMax gov witch optimized tunables for much better

performance no laggs-Multitasking-Fast response-also good for games. Own Hot Plug settings and more.

Dont forget to turn on:

Arch Power

color enhancement

High Performance Mode(Sound)

Z-Ram 500mb lz4 (Memory)

Max compression: 3

Preferred Network mode gsm_cdma if you dont need LTE and optimize databases

Feel free to rate-may next time i could make it better.

Just change end of the file... zip to tgz

regards
[ONE General] real_pac:
Ok guys after i flashed the ubertoolchain build cant restore any of my profiles.

I found out with an editor that vibration strength option changed. Now min is 19 before 16. Saved the file correctly but doesnt work again.

synapse freezes each time when i try to restore any settings

any ideas?

thanks!
[ONE General] abhi08638:
Clear data and try reflashing ukm
[ONE General] real_pac:
thanks tried almost everything

changed profile names, cleared data, at leat cleared cache nothing works

may because of toolchain change?
[ONE General] abhi08638:
That's strange because all my profiles are restoring fine and all I did was flash the kernel. Try creating a new profile and try restoring that
[ONE General] Zootopia:
Yeah, I've restored abhi's latest profile without any issues.

Something must be wrong in your configurations. ?

BTW, don't know why exactly, but things are smooth as silk with this latest kernel. ☺
[ONE General] real_pac:
I got this the first time I got about 10 own profiles I could restore any of them I posted also in the kernel thread may AK knows more about that thanks for help

---------- Post added at 11:42 PM ---------- Previous post was at 11:03 PM ----------

I restored the same file about 10 times before flashing

hmm..
[ONE General] abhi08638:
I think what AK meant is that in the new commit he merged, they made it so that the minimum vibration value is now 19 rather than 16
[ONE General] abhi08638:
Very nice write up :thumbup: keep it up
[ONE General] real_pac:
So find out why synapse crashes.

dont use Punctuation marks or too long file names.

changes again some values for more battery still really fast

rename .zip to .tgz before restore
[ONE General] real_pac:
Damn i should go to bed...

---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------

..
[ONE General] :
set minimum cores to 1 and max to infinity and beyond and then turn of phone
[ONE General] demo84:
Guys I know it might be wrong place to ask but maybe one of you already had such a problem. I got issue with my photos, music, videos ect ect ect. Can't see them in gallery, music apps. I've try random media scanners, nothing helps. I can see those media via any file browser app. I did ""database optimization"" via synapse. Is that causing my issue ? After optimization I can't see any of my old pics. BTW I'm running RR 5.0.9 with ak kernel v135 and one of the old [MENTION=4732904]abhi08638[/MENTION] profiles. Thanks a lot for any help/advice. :(
[ONE General] abhi08638:
Dirty flash your ROM, if that fixes it, reflash AK
[ONE General] real_pac:
Do you have fast charge enable!

? Try to deactivate

Are you using front USB. Original USB data Cable?

Regards

---------- Post added at 01:04 PM ---------- Previous post was at 01:02 PM ----------

Everything fine.. Thanks.

Profiles applied successful after renamed their names

Regards
[ONE General] demo84:
Still no luck, I did clean flash of latest cm12.
[ONE General] abhi08638:
Can you see them using quickpic?

Can you mount it to PC and see them? If you can then try putting new media on it and see if it shows up. If it doesnt than I recommend moving everything to the PC and wiping internal storage.

If you can't see them mounted on to a PC, than zip up everything and upload to a cloud account and then try wiping internal storage.

---------- Post added at 09:38 AM ---------- Previous post was at 09:36 AM ----------

Also before any of that make a backup in recovery
[ONE General] demo84:
Hmmm I've connected to PC and disconnected and that's it all pictures show up :sly: but there is still no music :what:
[ONE General] abhi08638:
Try mounting it again and play the music from the PC that's on your phone, disconnect and reboot
[ONE General] molonad:
Hi new version of normal profile is here ☺

https://drive.google.com/folder/d/0B-F06yPQwbP1YTZvN0lVSkVwQzg/edit
[ONE General] ZakariyyaaR:
[MENTION=4732904]abhi08638[/MENTION] [MENTION=3685904]ak[/MENTION] In my extensive profile I posed a question. What use does VM Heapsize benefit a machine which uses ART? I could not find much regarding this online.
[ONE General] abhi08638:
I remember reading about that somewhere but I don't quite remember. I'll see if I can find it

---------- Post added at 06:21 PM ---------- Previous post was at 05:22 PM ----------

So it seems that ART and dalvik use very similar properties. ART still has a Garbage collector so in order to free memory, it needs to traverse a heap to see what objects it can free up.

Here's the difference, Dalvik only use one main heap that all the objects and apps were stored. This made it very inefficient at freeing up memory.

ART has a Large Object Space which is separate from the main heap, holds large objects like bitmaps, and prevents fragmentation.

In layman's terms, it's still used by ART and controls how much memory an application can use. Its just become more refined
[ONE General] gargeya_369:
[MENTION=4732904]abhi08638[/MENTION] is there any risk if the fsync is turned off and vfs chache clearing is enabled on..?

I mean, ur profile does that and is there any problems or anything in daily usage ?
[ONE General] Pradhan_89:
Much thanks for your profile. Very good profile. Loving it. Getting 50 min SOT per 10% in WiFi sync.

I have made a profile here for your configuration:
[ONE General] sabrefresco:
Damn

[MENTION=4732904]abhi08638[/MENTION] Thanks for the profile. Managed to pull 5hrs SOT (reddit, PDF reading and browsing) with almost 70hrs off charger. :cool:
[ONE General] MBurns2:
i was searching abhi profile but i wasn't able to find it.. someone can share the link? thanks a lot
[ONE General] abhi08638:
There's no risk to tuning vfs cache clearing on. It just rebuilds cache with your most used apps, which may increase I/O performance.

There is a risk of random reboots and data loss if you disable fsync. Realistically, I have found that you usually don't get reboots unless you try undervolting too much (which is not included in my profile). Also, even if you do, I have never lost any data because the random reboot was caused by something else. I think that option is actually dynamic fsync (where operations are done on screen off) instead of fully stopping it.

Impressive. Your idle drain must be spectacular! I get about a 0.1% drain per hour

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

It seems with the new UBER toolcahin, scrolling has improved drastically but minimum idle drain has also increased by about 20 milliamps. Right now I've underclocked to 1086 and it's still as smooth as before.
[ONE General] sabrefresco:
I get about 0.4% drain per hour. How did you manage to get 0.1%?:eek:
[ONE General] abhi08638:
I just use greenify and set keep WiFi on during sleep to only when plugged in
[ONE General] sabrefresco:
Does doing so allow wifi to check for pushes/updates at a particular set interval? Or does it only check for pushes when the screen turns on?
[ONE General] abhi08638:
Only when the screen turns on and a few minutes after screen turns off
[ONE General] ZakariyyaaR:
Thank you for educating me on that. Now I pose the question, since ART is more refined, wouldn't it be better to allow less memory per instance and subsequently enabling more instances to remain in the machine?
[ONE General] abhi08638:
There's no need to mess with it. It just means that an app can use a maximum of that amount ram but it almost never will. If you decrease the limit, then app may misbehave and force close. Most of the ram is used for caching anyway.

Go under developer option and click on process stats. Set duration to 1 day, enable show system.

Click through each stats type one by one and this way you can view how much ram ram each application used when it was in the foreground, background, or when it was cached.

If you click on the large bar at the top, then it will show you how and where the ram was allocated. What I learned is that only 4kb of ZRam was used so ended up just disabling it.

If you want more instances to stay in the machine, then your best bet is to try and tweak the low memory killer (LMK) values.
[ONE General] sam razzy:
Can someone tell which is a good radio modem for lollipop ROM??
[ONE General] Eru Ilúvatar:
This is really the wrong thread man!
[ONE General] gargeya_369:
Thank you [MENTION=4732904]abhi08638[/MENTION]

I'm on cm11s..O5Q build..latest ak v.137..

But, I'm experiencing delayed screen on when i receive a phone call.....

I hear the ringtone and also feel the vibration... But the screen wakes up after 3 seconds ...

Is it normal?

Or is there anything I should change?
[ONE General] abhi08638:
I have the same problem, I'm still testing it but you can try increasing the max suspend freq under MSM limiter to 729
[ONE General] gargeya_369:
Will try it and test that....
[ONE General] ultma75:
Hey thank you for the profile :) but some of the values are different then the ones originally posted. I was wondering if you changed them or have a new set up?
[ONE General] ZakariyyaaR:
I may have accidentally posted a slightly changed version, one that I use personally. A few posts back, someone uploaded a zip file with my posted configuration. You could try either. Whichever one you try, do update me with how effective it is. I'll be posting another profile configuration, melted-butter-on-wholemeal-toast (Super) smooth configuration which gives 5 and a half hours of SOT.
[ONE General] ultma75:
I downloaded both but I am trying the one you posted first to see smoothness/ SoT and then going to try original config one next. Thank you BTW again
[ONE General] gargeya_369:
That helped...... The screen wakeup during call delay has been reduced...

Thanks a lot abhi..
[ONE General] abhi08638:
Try reducing the number of cores when screen off to 1, that should keep the heat down when charging
[ONE General] ZakariyyaaR:
Thank you for this information. It gives me a deeper understanding which I highly appreciate. I had tried out the afore mentioned first hand research using the statistics and also found that Z-Ram is of no use. However I believe that in order for Z-Ram to be utilised properly, other factors must be configured i.e. Compression streams and algorithms.

That being said, IMHO Z-Ram is pointless on the bacon since it was originally coded for devices with low amounts of RAM. These devices have flash file system and this kind of system has a shorter lifespan.

TL: DR Z-Ram in my opinion is useless. Better to leave it as Lzo compression algorithm and default VM Heapsize.
[ONE General] abhi08638:
Exactly. Z-ram is basically an enhanced swap space which is pointless on our phone. For it to actually be used, an app must be graphic intensive while setting the swappiness to a relatively high value.

IMO, its better to let the LMK handle app performance.
[ONE General] ZakariyyaaR:
Aah no worries at all. (: Thank you for trying it out. (:
[ONE General] Crono1985:
[MENTION=4732904]abhi08638[/MENTION] Thanks for all your work so far :) Your profile worked like a charm till AK135 (CM12 & Sabermod). As of today I am on CM12 with Uber & AK138 and experiencing my phone going to sleep of death with your profile since using AK 136 (Sabermod)/137 (Sabermod & Uber)/138 (Uber). Rom is running fine with default setting on AK138.

What setting could be causing this? I also had a my phone going to SOD during a call this morning.
[ONE General] abhi08638:
Sounds more like a firmware problem. Try flashing the bacon firmware updater from the bliss pop thead. I have no problems with 137 and my profile for 135
[ONE General] kalani91:
AK said invalid file when trying to import your profile, weird.
[ONE General] ZakariyyaaR:
A little visual teaser for my upcoming super smooth profile.

1 hour of gaming, GTA:SA (30fps, medium to high settings, 20ish minutes) and Beat Drift (cleared intangible today (:, 40 ish minutes since I was messaging at the same time).

1 and a half hours worth of browsing, including several emails, playing gif images, downloading 4k+ wallpapers and reading articles.

10 minutes editing zooper widgets and homescreen.

Whatsapp messages frequently in between, sending and receiving image and video files.

How I managed it? Easy.. Not so easy. (; I'll make another post about it.

Just to put it out there, I'm in no way competing with anyone in anyway, I don't see myself as the next chain fire. I have plenty to learn so if you have any knowledge or tips worth passing on, I'd love to learn.

My 18th Birthday tomorrow but it starts off in the best way possible, a business meeting. -.- Peace.
[ONE General] served24:
Let me start off by saying happy birthday pal :) also, i'm interested in your profile. Looks pretty good. Can't wait till you share it with us :highfive:
[ONE General] gargeya_369:
Thanks for the tip mate...

You are the best
[ONE General] MBurns2:
guys what do you think about touchboost, if i want to save battery is it better to disable it or to lower it? Thanks ;)

p.s

i noticed some things, if i decrease the hotplug my device tends to use the higher frequencies of the cpu (this is normal, he must finish the task in some way).

So i believe that for battery is not good to "force" the device to use only one or two core. The best thing is to find an "easy" approach to hotplug, maybe leaving 1-2 core online at any time, so in this way the device tends to use lower frequencies.

What do you think about this ? do you prefer 1 or 2 core online at any time for battery ?

In this moment i have the touchboost disabled and the battery seems to go better.
[ONE General] molonad:
New version, normalv19

Link - https://drive.google.com/folder/d/0B-F06yPQwbP1YTZvN0lVSkVwQzg/edit
[ONE General] abhi08638:
Higher frequencies tend to drain battery more.

For ex:

1 core @2.4ghz will drain more battery than 2 cores @1.2ghz

The only benefit of using frequencies lower than 1190400 is reduced heat, otherwise the battery drain is the same.

Which is why I kept 4 cores always on at mostly 1190400 and occasionally 146400 to reduce heat.
[ONE General] MBurns2:
so in terms of battery drain: higher freq>touchboost>hotplug ?

do you think that disable touchboost can be a good choice for a longer battery life ?

ty mate
[ONE General] abhi08638:
Well its not that linear. It depends on how each is configured.

1.

A really aggressive hotplug like MPDecision that constantly turns cores on and off will drain a significant amount of battery

2.

If touchboost is configured to keep a min freq like 1190400 while you are touching the screen, the battery won't drain that much.

If touch boost is configured to keep a min freq of 2.4 GHz while you are touching the screen, the battery will drain a lot more quickly
[ONE General] MBurns2:
so speaking about ak stock hotplug.

If i want to save some battery i have two alternatives:

1) increase idle frequency to 1190 or more (i have touchboost to 800 mhz and hispeed freq to 1190), leave delay/runqueue/time as stock (ak)

2) increase idle frequency and increase delay/runqueque/time

If i adopt the second one i decrease my hotplug "power", if i adopt the first one i only delay the hotplug (bearing in mind the fact that if i decrease too much the hotplug i will have high freq..).

what do you think my friend ?

thanks a lot for suggestions ;)
[ONE General] abhi08638:
Sounds reasonable. The reason to increase the idle freq is to counteract the lag that would have come from the CPU taking time to scale from 146 to 1190
[ONE General] chenrp:
Abhi, in 137 your profile seems to crash synapse.

?
[ONE General] robbieast:
What's better for battery life. Intelliplug or msm mpdecision?
[ONE General] abhi08638:
Yeah dont know why that happens but id you start it again and press x the profile applies

It really depends on intelliplugs hysteresis value.

Both are pretty much the same if you don't customize them
[ONE General] vagelis74:
Thanks my friend for your profile look awesome with validus rom.
[ONE General] abhi08638:
Thanks, I'll probably be posting an update sooner or later.

I really wanted to try it on render kernel but it just refuses to boot on beanstalk:(
[ONE General] vagelis74:
Can with ak kernel made my yellow tint in down area;
[ONE General] chenrp:
something is wrong with the undervoltage.

when i do an undervoltage for 50mv, not all the freq will change???
[ONE General] MBurns2:
for me msm is better. if you learn how to tweak it you can do anything you want.
[ONE General] abhi08638:
What frequencies don't change? The minimum we can go is 600
[ONE General] chenrp:
i can see 146,223,300,345,422,499,576,652...
[ONE General] abhi08638:
I meant the minimum value we can under volt to is 600
[ONE General] chenrp:
ok.

i am talking about the voltage. it won't change when i move the top reference one.
[ONE General] abhi08638:
Try clearing the apps data
[ONE General] chenrp:
the problem happened when i recover abhi08638 profile.

i think that there is a problem with the new UKM 3812

can someone upload a profile that works with the new UKM/KERNEL?
[ONE General] CapnMarius:
SmoothBattery

Here is my profile, focusing on everyday use.

It's smooth and very battery efficient!

Download here.

Made for AK137 , UKM 3.8.1.2 .

Thanks to [MENTION=4732904]abhi08638[/MENTION] for his good profile and clear explanations .

Please tell me if you have improvements!
[ONE General] chenrp:
Thanks
[ONE General] Flatric:
Sorry for noob question but how can I see and pick up your settings?
[ONE General] CapnMarius:
You can see all the settings in the "Screenshots" ZIP.

To apply the profile:

1. Download "SmoothBatteryV1.tgz"

2. Copy to /Synapse/saved_profiles/

3. Open Synapse and go to the "PROFILE" tab and press "Restart Synapse"

4. Once Synapse has restarted go to the "PROFILE" tab and select my profile

5. Press "Restore Selected Profile"

6. Once Synapse has restarted press the X

Sometimes Synapse doesn't apply all of the settings correctly so I reccomend checking my screenshots...
[ONE General] Flatric:
Sorry but synapse tells me invalid file?:/
[ONE General] CapnMarius:
I think hou are doing something wrong, I tested it on another device and it worked.

Are you sure you used the .tgz?
[ONE General] Flatric:
Yes I used .tgz, fixed it now ^^
[ONE General] D_black84:
How much SOT you have had with this profile?
[ONE General] CapnMarius:
9h with normal use (chat, browsing, music and Netflix)

Greenified most of my apps and I use Amplify to block unnecessary Wake locks;)

Cheers
[ONE General] jukiewalsh:
Damn... That's unbelievable
[ONE General] ZakariyyaaR:
Here's the .tgz file for my butter profile as well as screenshots some users have requested. I only took a screenshot of the most tweaked category, the CPU Governor tunables and the time in each state. (:

//Edit//

Aside from the stats you see, there are virtually no lags. I scrolled down really fast on pages with high resolution pictures, the animations and transitions between activities on the phone are seamless and animate without a hitch. The games have no lag. A mate of mine commented on how smooth the game play is on my phone compared to his note 4 running a tweaked custom kernel.
[ONE General] abhi08638:
A couple things I'd like to chime in on if you don't mind.

1. CameraNextModV22 is out;)

2. CPU boost driver and the input events on slim governor might be counter productive. Slim was built without CPU boost driver in mind so the boost driver will probably override slim's input events. I'd recommend only enabling one unless you have proven that they don't conflict

3. Fast charge is only used if you're charging though USB. If enabled, you won't be able to transfer data to the computer. It has no effect if you're charging with a wall charger

4. KSM probably isn't needed for our phone. Its much like zram, it doesn't benefit us much. The way our phone works is that about 1.5gb if memory is used for caching apps. If you enable ksm, it'll just cause random CPU spikes because it was orginally meant for low ram devices.

Other than that, great job!
[ONE General] ZakariyyaaR:
I'm limited to 8 thanks per day.. But I'm honestly talking to a freaking developer who has done so much. I'm honoured. Wow.. Like a little fan girl over here.

Su maintain composure

Su end;

1. Thank you so much. I'll flash it and edit my post + sig.

//Edit// No flashing required. (; Thank you!

2. I did have second thoughts about that, looking back at in depth stats I noticed CPU boost driver configurations got over ridden. I'll edit that bit. Thank you.

3. Back when Paul implemented I was one of the very first to try it out and it was mentioned that fast charge works with wall socket too. Maybe it's a placebo but I'll edit it. Thank you once again.

4. In my original profile, I opted to leave KSM out but for this profile I had enabled it and it would be inaccurate if I posted a configuration which I did not use. However, those who use my profile will most certainly see your reply and I hope they make good decisions based upon that. Thank you once again.

Why would I mind? I embrace feedback from such an esteemed developer such as yourself. Thank you!
[ONE General] abhi08638:
Lol thanks but I don't consider myself a developer. I only started recently getting into modding stuff, I've just been on xda for a while. You'd be surprised how much knowledge you pick up just by reading threads on XDA.

BTW happy belated birthday! Now we're only 1.5 years apart:D