yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] red.hat:
NeatRom + Siyah Kernal S2 v 3.4.1. Optimization for Better Battery

New test performed with stock battery as requested using newest Siyah Kernal S2v 3.4.1 and NeatRom Lite UHLPS. I attempted to obtain the best setting, something that will work for me. In trying this, I used different undervolting values with some degree of success. Initially I tried UV CPU by -100Mv with little success as my phone froze after boot-up. -75Mv seemed to be the comfort zone for my phone ( and even then I still encountered some issues with some apps). After some playing around with the LED voltage (Siyah and Phenomenal Kernals have this set at -300Mv or 2700Mv if using ExTweaks), I decided to stay with the range of -300Mv or -350Mv.

In this test, I also tried changing the scheduler from sio to deadline. It seems even though sio is regarded as great for battery saving, however, it seemed with all the UV some of my apps crashed with sio, but didn't with deadline. Remember when UV CPU and GPU, benchmark score will decreased compared with stock values.

Be advised, the best way to test the stability of any new setting is to use setCPU to test your phone. You can try 30-1hour of stability testing. If you have no errors then you are safe.

Performance and outcome may vary from each phone, this settings are no gospel. Please try it out and post your findings.

SETTINGS (CPU):

GENTLE_FAIR_SLEEPERS = Off

ARCH_POWER = On

CPU Hotplug = Default

CPU IDLE Mode = AFTR + LPA (default)

Smooth Scaling Level = 800Mhz

CFS tweaks=Thunderbolt scripts

SCHED_MC = 0

CPU Undervolting = -75Mv

CPU Step Count = 18 (All available)

Default CPU Governor = pegasusq

Default CPU Scheduler = deadline

Scaling Max Freq = 1000000Mhz

Scaling Min Freq = 100000Mhz

SETTINGS (GPU freq):

GPU Freq Step 1 = 66Mhz

GPU Freq Step 2 = 133Mhz

GPU Freq Step 3 = 267Mhz

GPU StayCount=1, 1, 1sec

GPU threshold = 85, 40, 85, 40%

SETTINGS (GPU voltages):

GPU Voltage Level 1 = 850mV

GPU Voltage Level 2 = 900mV

GPU Voltage Level 3 = 950mV

SETTINGS (other):

Screen settings stock.

Vibration intensity = 3

Touchmovesensitivity =5 pixel

Min_BL =60

Min_Gamma=0

Max_Gamma=10 (Limit screen brightness, and thus limit power drain)

LED Voltage=2700Mv (Limit screen power drain)

Pictures.
[Galaxy S II General] red.hat:
SiyahKernel S2-v3.5 is out

Changelog:

added Jellybean support

updated wireless driver (1.15.12 -> 1.15.15)

replaced superuser with supersu (only when autorooting, your existing app won’t be replaced)

updated modem driver

removed some unused binaries from initramfs

Linux 3.0.38

Link to his page. Siyah S2--v3.5
[Galaxy S II General] brownartist:
How long was your Screen ON time?
[Galaxy S II General] red.hat:
2 hours and 21 min
[Galaxy S II General] CamoGeko:
That's a decent time for 1 day.

However, I see there has been a few times when your phone was awake and screen was off. Probably a good idea to check your syncing settings and have a look at partial wakelocks using BetterBatteryStats app.
[Galaxy S II General] red.hat:
Thanx for the info. Will do that and make required corrections
[Galaxy S II General] nogo8888:
Edited

Thanks sir Many. I think my phone can't take the config on the script.

I will try to sort which config suits my phone.
[Galaxy S II General] red.hat:
What rom are you on? Look through your apps and see if you have disabled download manager, google playstore, or anything related to Google.
[Galaxy S II General] Many40:
Siyah6b4 battery friendly config updated. Changelog:

Version 1.01:
- Replaced "Stweaks_Siyah6b4_Many40.zip" archive with "Stweaks_Siyah6b4_CWM.zip"
flashable file. Now it's no need to replace STweaks profile manually
- Added all scripts+Stweaks profile in one file
(Many40_Battery_tweaks_Siyah6b4_CWM.zip)
- Added restorer file (Restorer_Siyah6b4_CWM.zip)
[Galaxy S II General] lionsmatara:
So thanks dear bro.

After enable download manager problem be solved. :D:D:thumbup:

Thanks again.
[Galaxy S II General] lionsmatara:
I have little prob.

When I connect charger cpu stay 1000mhz.

Whare can I fix it.

Im on many bro tweaks and siyah latest. wanamlite lsd.
[Galaxy S II General] cnjax:
If you are on wanamlite, then why are you asking this in a neat thread?

GT-I9100 powered by

NeatRom Lite 4.4

SiyahKernel 6.0b5

JB Reloaded theme

Many40's battery tweaks
[Galaxy S II General] lionsmatara:
Bro.. im so sorry about that. Im not mentioned about which rom. Im just write here to need some help. I think that both rom are same.

Dont get angry with me.
[Galaxy S II General] cnjax:
Your problem sounds rom related so if you are on wanamlite, you should look there for answer there

GT-I9100 powered by

NeatRom Lite 4.4

SiyahKernel 6.0b5

JB Reloaded theme

Many40's battery tweaks
[Galaxy S II General] bodomfan:
Is there a link for siyah kernel the links dead

sent from my galaxy s2 stock jellybean with alliance mod
[Galaxy S II General] red.hat:
Try this link

http://www.gokhanmoral.com/?cat=5
[Galaxy S II General] NoRulesForMe:
Goodpm Mr.Many40

How should I flash this mate?

Recovery flash kernel wipe then Flash Siyah6b4

Go to Advance, reboot recovery then fixpermission

Reboot system now.

Go to Recovery again

Flash Stweaks_siyah6b4_CWM.zip then flash Many40_battery_Tweaks_Siyah6b4_Cwm.zip

Then it's all set mate? Is my procedure correct? Or did I miss something to do?... Thanks Many40 for this tweaks :thumbup: :beer: cheers!

Follow up question mate. Afaik the screen default settings has been change right? How could I change it back as look like new Rom has been flash?... Thank You mate. Thank you so much! Siyah rules again in battery performance :D for us.

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] kkm9139:
First thing i would recommand you is to leave the kernel profile as default cuz it's the default profile that many40 tweaked.

For the procedure, you didn't miss anything, you even added a step x) ( afaik Stweaks_siyah6b4_CWM.zip is already included in Many40_battery_Tweaks_Siyah6b4_Cwm.zip).

And finally for the screen settings, in stweaks if you go to screen you'll see that mDNle sharpness tweaks is enabled and that the gamma is lowered down. I'll suggest you to disable mDNle sharpness first (you'll have to reboot the device) and then if it doesn't fit you, do smthg with the gamma ;)
[Galaxy S II General] dwie:
Just happened again after changing battery today. I made a screenshot with the files in the two folders, not sure if everything looks alright?
[Galaxy S II General] Actor Secundario Bob:
Flashing

Hello everybody,

Is it safe to flash Siyah b5 using recovery? I've read at the dev's site that it could brick the phone in the case my recovery couldnt flash cm10. Im using NeatRom 4.3 with Philz kernel and I'd really like to give a try Many40's tweaks. Thank you guys!
[Galaxy S II General] red.hat:
Flashing Siyah b5 with recovery. No one has reported any bricking so far.
[Galaxy S II General] Many40:
1. If you flash my all-in-one zip file - it already contains Stweaks profile, so no need to flash it again (if you red my whole config's post - then you wouldn't need to ask this question)

2. No it's not all set after flashing zip - rom's tweaks missing. I repeat million of times - my config is not a zip file with scripts and Stweaks profile only. This is only a half of it. My config contains two parts: kernel's tweaks and rom's tweaks. Never treat only scripts as my complete config. Also never ask me why you don't see bigger difference with battery consumption if you don't configure your rom properly.

3. You mean how to revert back screen settings only to defaults?

Manually from Stweaks of course :confused:

Change following screen settings (Stweaks / screen):

- MIN_BL (default is 30)

- MAX_GAMMA (default is 24)

- GAMM_SHIFT (default is 0)

- MDNIE SHARPNESS (default in unchecked)

However screen settings are very important for battery saving. If you turn them completely off (defaults) - then what is left from my config doesn't make too much sense.

---------- Post added at 11:09 PM ---------- Previous post was at 10:58 PM ----------

Screenshots look ok so I have no idea why it happens for you. However I don't see this so critical coz flashing one zip from recovery takes even less time than replacing a battery so it shouldn't be a big deal :)

Btw why do you change batteries so often?

---------- Post added at 11:17 PM ---------- Previous post was at 11:09 PM ----------

Check a culprit of this with BBS app (what wakelock is active during charging) and OS monitor /Gsam battery monitor - what process / app uses CPU that time.
[Galaxy S II General] dwie:
Believe it or not, but I get an average of 2 hours of screen time, peeks at 2h45min (but very rare). When asking in another thread why my phone has such bad battery life compared to others with the same setup, I was told that hardware differ so not everybody gets the same battery life. While I know that this is true, I think the difference is quite big though. I froze all useless apps, used gemini app manager to disable autostarts, only auto-sync gmail and my BBS dumps look fine. On a normal day, I only use Whatsapp, check Facebook and browse internet sometimes. Do you think something is wrong with my batteries? Should I buy a new one? Currently as it is, I need to change my battery once every day.
[Galaxy S II General] Many40:
Upload here your proper BBS dump file then we will see.

Btw, try without auto sync and without Facebook app for one discharging cycle and see if there is a difference IMO should be.

You said that you used to change batteries Do you have two of them and they behave the same?
[Galaxy S II General] dwie:
Thanks a lot dude for helping me out even though it's kinda off topic. I will try your tips on the next cycle. Yes I have two batteries and an external charger I occasionally use. Both batteries behave similarly.

EDIT: In the time of posting this message, I went from 50% to 45%...
[Galaxy S II General] Many40:
No problem. Btw file you uploaded is corrupted. It doesn't look like proper BBS dump file.
[Galaxy S II General] electricsheepdreamer:
http://xdaforums.com/showpost.php?p=15869868&postcount=1
[Galaxy S II General] dwie:
I posted twice in that thread already, both times they said my dumpfile looks ok.

EDIT: Sorry for the corrupted file. This one should be working :).
[Galaxy S II General] Many40:
You complain that your phone drains battery a lot while you use it (short screen on time) so why do you post your BBS dump file covering mostly deep sleep period which is pretty good and helps nothing with your problem. You need to get a proper BBS dump file from the observation period covering poor battery condition (period of your phone's usage - not deep sleep).
[Galaxy S II General] NoRulesForMe:
@Mr.Many40

Good pm mate...

I know that it should have also Rom tweaks mate as I'm using ure tweaks for a long time. I hope you already know it. It's just that its hard for me to get it if I need to flash the other zip file. I know also that if I change the screen settings to default again it will have less save for my battery as we all know that screen is the big eater of our battery. I'm just want to know the default settings of screen mate. I hope I didn't make you angry on my questions on my last post. I just get confused mate :confused: ...

And fyi mate I'll never ask you why I don't have big difference on battery consumption. Please don't forget how much I love and how much I appreciate your scripts. If you remember I posted my 1st 6hrs. Screen on time on this thread. I will never experienced it again without you mate. Fyi again I make debate to Mr.Parag just for him to know that siyah is the best kernel for now in battery because I know Mr.parag is new here. I just get offended on what you've said mate :( that you told me (dont ask me when you see nothing difference in battery consumption) you make me a newbie here :( and I feel you forgot about me as I'm your BIG Fan here :(

Thank you mate for this. your so great! :D :thumbup:

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] Many40:
I've never been angry with you mate. I was just a little tired yesterday after long driving. I provided you already the settings which I changed and what are defaults - is it sufficient info for you? If not don't hasitate to ask, however some questions about basics are not expected from you any longer as you are treated already (especailly after passing a milestone ;)) as more experienced xda member than newbie :)
[Galaxy S II General] NoRulesForMe:
Maybe its just that I'm thinking of something else. Too tired also can't think right. Thank you mate :beer:

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] Jeetu:
Firstly a big Thanks to Many40 for his extraordinary work. .:)

Using his Siyah b4 Tweaks without applying those rom tweaks..

Battery life tremendously awsome..

But at some time I feel little bit lagging. But besides that it's awsome battery life.

Now back to philz latest..

Here are the screenshots-
[Galaxy S II General] electricsheepdreamer:
Disable slide2wake in STweaks.

That minimalistic text thing is force updating itself.

Reboot after charging with sound On.

Disable Fast Dormancy via GM's app from Store. Reboot.

I don't use that Kakao talk but I guess it could be configured better or replaced.

Don't hesitate to Google search.
[Galaxy S II General] championc:
Hey jeetu10, what screen font is that ?
[Galaxy S II General] Jeetu:
It's ChocoEUKor.apk.
[Galaxy S II General] tariq2kn:
@ Many40

Yesterday night I had applied your kernel cwm zip on siyah 6b4 & had got 2% battery drop in 6 hours:D

Please make a cwm zip for Dorimanx 8.3. It can make use of Stweaks as the base is Siyah.

Can the individual zips be flashed on Dorimanx? What change has to be mentioned in init.d ?

Siyah 6 b4 is buggy with respect to frequency, it stays on high frequency most of the time when screen is on. That's why b5 was released with stock frequency steps.
[Galaxy S II General] Many40:
1. Sorry I don't make configs for Dorimanx. Why?:

- this kernel doesn't work stable for me

- it has too many frequent releases that I wouldn't have time to keep track on them and update my configs accordingly

2. My tweaks for Siyah will not work properly for Dorimanx:

- STweaks profile files don't fit at all

- Init.d scripts (some would work some not) are useless because what is set by them in Siyah is available in Dorimanx from the Stweaks app.

3. Siyah6b4 is not buggy with repsect to frequency and for sure it was not a reason that GM limited frequency steps in beta5. He did it to fix a bug related to stock video player.

Did you read my config's post to the end where I posted some screenshots?

For me frequency scaling was quite good:

Additionally, I'm gonna fine tune my pegasusq governor for Siyah6b4 soon to make it even better.

4. Concerning your problem - it has to be something in your phone working in the background, using CPU and causing wakelocks.

If you like you can post here proper BBS dump file from a few hours of observation time then we will see.
[Galaxy S II General] tariq2kn:
I'll re-try with Siyah 6b4. Though there wasn't any wakelock worth considering.

Edit: Cpu frequency is now scaling good :D.

The culprit was the infamous android.process.media running at full throttle. :banghead:
[Galaxy S II General] dwie:
Okay so I charged my phone till 100%, then restarted my phone as suggested (for some reason this time the tweaks disappeared too, even though I did not change battery). It is down to 20% now, and the dumpfile of BBS during this period is attached in the attachments.

Running NeatROM 4.4 with siyah6b4. Disabled all sounds, had lowest screen brightness whole day. At home when I use WiFi I disable mobile internet, when I go outside I enable it and disable WiFi. Disabled auto-sync, fast dormancy with GK's app. Uninstalled facebook and minimal text.

As you see, my battery life this cycle was even slightly worse than before. Any notes on the BBS dumpfile? Am I doing something wrong, or should I just change my battery?

Thanks in advance!
[Galaxy S II General] Many40:
During observation time your phone was awaken for about one hour while screen was OFF (what is not good TBH). This situation was caused by wakelocks you were facing. However you don't have one or two very long wakelocks but some smaller ones which give all in all 1hrs of awake time.

So there maybe at least a few reasons for that. First make a check list, go one by one my Rom's tweaks and report here detaily - what tweaks you implemented fully, what partly, what not. Then we will continue investigation.

In addition you can post your BBS dump file in BBS thread asking for support also there. (I have already some suggestions but would like to know first what you did and what not from my tweaks)

Regards
[Galaxy S II General] red.hat:
Your BBS dump file doesn't show much. It doesn't show any kernel or partial wake locks. Go to the settings to change the default to unplugged version at boot up. Did you change permission on any of the files from the tweaks?
[Galaxy S II General] dwie:
- autorotation: Off

- syncing: Off

- removed (optionally frozen) some useless apps: Did it according Bobdoblo's Neatrom Super Lite guide.

- hibernate with Greenify app frequently used user apps: Did not do this yet

- minimazing partial wakelocks/alarms by proper settings of different apps using BetterBatteryStatts, OS monitor and Gemini App Manager: Used Gemini to control autostarts, and of course using BBS. Though I got this under control but apparently there is a lot of room for improvement

- dark coloured wallpapers

- limited number of widgets: deleted all widgets already

- wireless and networks / mobile networks / mobile networks / network mode - WCDMA only.

- Fast Dormancy - OFF (since ESD suggested it)

- wireless and networks / mobile networks / mobile networks / network operators - chosen specific operator

- power saving - OFF

- sounds / system - all options OFF

- display / touch key light duration - ALWAYS OFF

- display / screen timeout: 15sec.

- display / brightness - Manual/Minimum (if too dark as low as possible),

- date and time / Automatic date and time - ON

- developer options / Windows animation scale - Animation is OFF (it will disable CRT ON/OFF effects)

- developer options / Transition animation scale - Animation is OFF

- motion / motion activation - OFF

Not sure if this is what you meant though. All things in bold items are the things I did according to your guide, italic items partly, and the rest I did not do it. Do you need a list of my Gemini apps that I edited and my frozen apps?

Thanks, changed the setting in BBS. The dumpfile shows since boot since I rebooted it after fully charging. Does it make a big difference? And no, I did not change permission on any of the tweak files.

Everyone thank you so much for helping me :). Will also post my dumpfile in BBS thread.
[Galaxy S II General] Many40:
Thanks, good starting info. Will ask further questions later today or tomorrow (currently I'm a little busy)
[Galaxy S II General] SunshineCat:
Thanks, tried a good portion of these tricks and my battery has improved :)
[Galaxy S II General] Many40:
OK I'm back, let's continue - some thoughts from my side:

- if you don't need vibration disable it - settings/sound/vibrations intensity > al sliders to minimum

- make sure all system sounds/touch sounds are disabled

- after you charge your phone first unlock your screen, then unplug, then reboot (don't unplug charger while screen is OFF)

- whenever you reboot do it with sound ON (not vibration, nor silent)

- download Greenify app and hibernate/freeze kakaotalk app (if you don't neet it working in the background of course). Hibernate also other user apps suggested by Greenify except those which must work in the background

- configure your apps to not update too often (disable autoupdate/refresh if not needed)

- make sure autosync is disabled: settings/data usage > left touch button > uncheck "Auto sync data"

- disable location services (if you don't need them - but recommended to disable)

- Set static IP address for your WIFI connection, play a little with your WIFI setup to have good reception, change WIFI channel if necessary, eg if other router disturbs your connection etc.

- Test your battery in deep sleep with WIFI/mobile data OFF

- If you insist on having WIFI always ON, set: settings/WIFI/ > left touch button > advanced/Keep WIFI on during sleep > Never

- if you have fast dormancy already disabled it's most likely good - but make a test with FD on as well (observe wakelocks)

That's all for now, please check different oprions and report back results.

Edit:

- check eg with OS monitor app (connection tab) while you are on WIFI/mobile data, if there are any unwelcome apps connecting to internet
[Galaxy S II General] Many40:
Siyah6b4 battery friendly config updated. Changelog:

[B]Version 1.02:[/B]
- adjusted pegasusq governor's parameters to scale less often to higher
frequencies
- updated rom's settings (among other things added Greenify app support to
hibernate some user apps)

Siyah6b5 battery friendly config updated. Changelog:

[B]Version 1.03:[/B]
- updated rom's settings (among other things added Greenify app support to
hibernate some user apps)

Thanks to bobdoblo who convinced me to use Greenify app. It works really well.
[Galaxy S II General] masood5019:
i think that is true

---------- Post added at 06:49 PM ---------- Previous post was at 06:40 PM ----------

thanks for your help
[Galaxy S II General] tariq2kn:
Is the cwm file for Siyah 6b4 updated to 1.02? As the file name doesn't states the version no.

Your kernel tweak works perfect :thumbup:except the lag in scrolling a big webpage.

Sent from my GT-I9100
[Galaxy S II General] dwie:
There is a seperate flashable zip file with changes made to the settings of pegasusq governor. You can find it in the same post.
[Galaxy S II General] Many40:
Yes, those zips which have pegasusq tweaks included, have been updated.

As you red already what is at the beginning of all my config's posts (in red colour ;)) I can't guarantee unfortunately that my tweaks will work in the same way for every phone. If you experience a lag then I would only recommend that you implement my tweaks one by one and observe your phone's behaviour.

When you at last recognize what causes this for you (maybe some of them are too agressive for your phone: governor tweaks, CPU UV, GPU UV or VM tweaks) then try to set a little less agressive values as long as you achieve good results. So, you need to find your unique config fitting to your phone.

Regards

+1 Changes were made for both: separated zip for pegasusq and all-in-one zip which also includes pegasusq script
[Galaxy S II General] NoRulesForMe:
Mate.

How should I flash this new script 1.02?

Should I flash this over then reboot only?... no need to wipe something? Thanks Many40 :D

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] Many40:
Yes, just flash it over. Gonna change names of zips to correspond to changelog no.
[Galaxy S II General] NoRulesForMe:
Hehehe of course mate :D

Just want to share mate what I have experienced in 1.01 use my phone for calling, texting, music, tapatalk, web browsing.

Thank You so much!!! Gonna try now the 1.02 :)

Sent from my GT-I9100 using Xparent Blue Tapatalk 2
[Galaxy S II General] parag1dubey:
Many, I am trying out the new version of your tweaks as well :) Will report
[Galaxy S II General] officiallyme:
i'm sorry for the noob question but i wanted to give the siyah kernel a try after using dorimanx and i don't quite get which zip i need to download now.

there are 7 zips attached in your post. do i need to flash them all to get your battery efficient settings or is there one file that includes all others?
[Galaxy S II General] cnjax:
If you would take the time to read his post there is a all in one file to flash all of his tweaks. :banghead:

GT-I9100 powered by

NeatRom Lite 4.4

SiyahKernel 6.0b4

JB Reloaded + MyLifeRock10 blue theme

Many40's battery tweaks