yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Many40:
Yes, I'm using it right now. If you are interested you can try my battery saving tweaks for Siyah.
[Galaxy S II General] ll_zalim_ll:
i am intrested now tell me how can i try your tweaks for siyah now i am using phliz kernel
[Galaxy S II General] Many40:
First flash the kernel. Latest is Siyah6b5 however I prefer 6b4 which has more CPU scaling frequencies. Download zip version and flash it from philz cwm. Then reboot.

Before that I recommend you to make nandroid backup of your ROM. In philz CWM make sure /preload partition is ticked (backup and restore > Miscellaneous nandroid backup)
[Galaxy S II General] ll_zalim_ll:
ok done now..?
[Galaxy S II General] Many40:
So fast? :eek:;)

Nandroid?

Which kernel have you flashed?
[Galaxy S II General] ll_zalim_ll:
Siyah-s2-v6.0b4-CWM
[Galaxy S II General] Many40:
Read this very carefully.

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

Don't flash anything yet. Come back after you read it. Don't cheat, use your time, don't hurry up. Try to understand what the tweaks change/do before implementing them.

Edit: ROM tweaks were made for Neatrom 4.0 but they are quite universal.
[Galaxy S II General] ll_zalim_ll:
mate i had backup with Online Nandroid Backup * ROOT

i am not cheating and i have flashed siyah kernel :(
[Galaxy S II General] Many40:
Sorry, no offence :)

I just would like you to get familiar with the tweaks before applying (to avoid future possible confusion). Both kernel and ROM tweaks are important. Not only kernel. Some people just flash directly my script and then come up with many strange questions. ;)
[Galaxy S II General] ll_zalim_ll:
and sorry i am spanish speaker i dont know very much english so if you can help me what i have to do now.. i will be very thanksful :) and i will not come back with stranger questions :)
[Galaxy S II General] Many40:
For kernel tweaks flash this script:

Many40_Battery_tweaks_Siyah6b4_CWM_102.zip

But for Rom's tweaks you need to read and understand to apply them. No other way. As I said - only script without Rom's tweaks will not give you very high battery life improvement as expected. Both tweaks together will do the job. However to apply properly Rom's tweaks takes some more time.
[Galaxy S II General] ll_zalim_ll:
But which is a rom tweaks i have to flash,,,

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II General] Many40:
Sorry - no flashing for ROM tweaks. Just you need to read part no 2 of the post from the link, then step by step apply them manually. You don't have to apply them all but better as many as possible.

Sorry - it is not easy for new members.

You see, I was right - you already have many questions before reading my post.

Read, read, read .......
[Galaxy S II General] elixir.:
Im not sure if I want to flash this one or not...

Can someone do a test and help me to decide?Im on stock rom..And I can get about 1.4 hours constant usage with wifi on,on whatsapp,screen brightness is set to lowest...1 hour and about 40 min. with screen on all the time...can this rom beat it?
[Galaxy S II General] It_ler:
Depending on your usage ... yes.

You can check my battery test results here if you want.

But I'm a very light user ... so for a heavy usage, the battery life will be significantly shorter.

In the end, you will have to test it on your phone with your apps and your usage ;)
[Galaxy S II General] Many40:
What do you mean by "flash this"? This thread is related to battery tweaks on Neatrom (stock based version) + Siyah kernel.

If you are interested to know battery results which I have on this combo + my tweaks check this post (battery results at the end).

http://xdaforums.com/showpost.php?p=36779643&postcount=287

The results were checked for Neatrom 4.0 (JB 4.1.2) but I can say currently on Neatrom 5.6 + Siyah 6b4 I have similar results.

I will not test your setup because my setup is different (eg I'm not using Whatsapp) but I'm pretty sure that you can achieve more than 1h40 of "screen on" time on Neatrom Lite with some common tweaks implemented :)
[Galaxy S II General] ll_zalim_ll:
Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II General] Many40:
Nice but could you say something more? ;)

- what ROM / kernel?

- what tweaks?

- screen on time?

- 2G or 3G or WiFi?

- are you happy with what you achieved?

........
[Galaxy S II General] crownpiyush:
can i use these battery mods with NeatRom 6.3 with siyah 6.0b5.

thanks in advance
[Galaxy S II General] CamoGeko:
You sure can!

Sent from my baked potato with blue cheese
[Galaxy S II General] crownpiyush:
its working great just a bit laggy sometimes.:)
[Galaxy S II General] rulizz:
thats what happens then u sacrify cpu for battery :)
[Galaxy S II General] CamoGeko:
Yep, its very hard to have both. No lag and great battery.
[Galaxy S II General] ersin16:
The best settings for s2 thanks many40. Is bln use held awake the phone too much? I love blinking to use mate
[Galaxy S II General] Many40:
Don't know exactly how much because I'm not using this feature.

However here you have some hints:

- if you decided on classic bln effect ("Steady") then there is a special option in STweaks - BLNWW (BackLightNotificationWithoutWakelock) which would protect you from a BLN wakelock. Then only battery draining will be caused by touchkey backlights (when turned on)

- if however (as you wrote) you prefered Blinking or Breathing effect - you would experience additional battery drainer - BLN wakelock which would keep your phone awaken not allowing to go into deep sleep state.

But to know exactly what is the difference in battery draining you need to test it yoursef.
[Galaxy S II General] ersin16:
My latest results 1650mah battery siyahb4 many40 settings.
[Galaxy S II General] Many40:
I'm reffering to the GM changelog of Siyah 4.1rc1 where is stated:

"removed battery and performance profile settings during the beta phase (they will be the same as default settings)" So if you change a profile in Siyah newer then 4.0.1 (beta testing) then nothing will happen even profiles' menu exists in ExTweaks app. You can create your own profiles by changing settings manually and applying them in ExTweaks (they are stored in /data/.siyah folder to files as "battery.profile" and "performance.profile"). Most likely GM will restore his proposals of battery and performance settings to the profiles in final release.

Hope you got it. Regards
[Galaxy S II General] Edrish:
Tnx for the info. Will then have to apply custom settings for better battery. I assume u are using the siyah kernel me my self am using the s2-v4.0.1 and and would appreciate to have a look at your settings u r using in the extweaks.

---------- Post added at 06:12 PM ---------- Previous post was at 06:07 PM ----------

Tnx, will try the above and see what they can do. But am wondering. The settings you give are not all that can be found in the extweaks menu. Should I leave the rest untouched and just change the above you've mentioned?
[Galaxy S II General] Many40:
OK, if you are on Siyah 4.0.1 then your battery profile settings, predefined by GM should be on place. Of course as I wrote before you can adjust them according to your needs. I attached my battery profile (it's from Siyah 4.1rc1) as you requested but remember that many settings, especially CPU/GPU UV/UC are phone's hardware specific so what works for me doesn't have to work for you.

In addition to ExTweaks settings as you see on my signature I undervolted some frequencies more using Voltage Control app, tweaked a little Pegasusq governor's tunables with SetCPU app:

up threshold: 80
sampling down factor: 2
down differential: 5
freq.step: 40
cpu up rate: 10
cpu down rate: 20
hotplug freq 1 1: 400000
hotplug freq 2 0: 300000
hotplug rq 1 1: 350
hotplug rq 2 0: 200
up threshold at min freq: 70
freq for responsiveness: 100000
ignore nice loads: 0
io is busy: 1
max cpu lock: 0
hotplug lock: 0
dvfs debug: 0

and changed touch frequency to 200 MHz with init.d script (when you touch the screen CPU goes by default every time to 500MHz).

Also there are other very important factors for battery consumption like (as red.hat already mentioned in OP) like screen brightness but also syncing, bloatware apps, unnecessary internet connections etc. and many more - just study more xda. Regards
[Galaxy S II General] red.hat:
New version of Siyah's kernel is out

Here is the change log from GK's website. New changes to kernel with some improvement.

SiyahKernel S2-v4.1

Posted on August 22, 2012

Changelog:

Linux 3.0.40* Linux 3.0.15

CWM-Based Touch Recovery v6.0.1.2

fixed led timeout not being saved

new GPU frequency steps: 54, 108, 133, 160, 266, 330, 400, 440, 520MHz (Removed in beta4)

added ntt docomo gps support again (ntt-docomo users can use their previous scripts to get gps working)

fixed movfilter not being changed with kmemhelper (should fix touch sensitivity problems)

removed 25MHz and 50MHz CPU steps

fixed led activity on brightness change

ExTweaks settings will be reset because of GPU changes. *if you revert back to a previous version make sure you reset ExTweaks settings manually.

update beta1 -> beta4: fixed gamma shift not working in ExTweaks. removed all gpu modifications to make sure we have no problems with other parts. some users (including me) experienced no problems with new gpu steps whereas some users had kernel panics when the screen is off. Consider v4.1beta4 as 4.0.2 with linux 3.0.40 and cwm-based recovery 6.0.1.1.

update beta4 -> beta5: gesture support by Tungstwenty (sample flashable zip) here is the XDA thread. some minor fixes in ExTweaks. swappiness set to 90 (effective only if you are using zram or swap). removed battery and performance profile settings during the beta phase (they will be the same as default settings)

rc1 -> release:

4 gpu steps (100,160,200,266MHz default).

gpu boost on touch to prevent UI lags (gpu freq will be set to step2, 160MHz in default set, for one second after you touch the screen).

pegasusq behavior modified and tweaked.

CWM-based recovery updated to 6.0.1.2.

fixed mounting the internal sdcard in recovery. fixed user gamma settings.

Tested backup&restore using nandroid dedupe and tar formats (tar format may not be compatible with previous version. make sure you create new backups after you install the kernel).

made a small modification in init script to create “.nomedia” files in clockworkmod folders to prevent media scanning on blob folder.

Download:*http://d-h.st/users/siyah/s2
[Galaxy S II General] red.hat:
Siyah Kernel Updated

Siyah Kernel updated

Ok guys, I bring you great news, Siyah's kernel has been updated. It his newest build has attempted to fix some of the problems encountered in the previous version. What is really exciting about this new release is the new governor lulzactiveq. I think this will be a good governor for but battery and performance. It tries to add the hotlug logic to lulzactive governor. Below is the change log

update 4.1.2 -> 4.1.3: decreased mali sampling interval (thanks to AndreiLux). removed zram settings from ExTweaks. some gpu boost fixes. lulzactiveq fixes. reverted some changes (mostly TMU related). chargeboost in LPM. fixed adbd problem for JB ROMs. lots of cherrypicks from cm10 kernel. initramfs fixes.

Visit his site for download. As with any kernel, you might experience some issues depending on your phone. The good thing is that most problems are fixed once they are reported.

Download : http://www.gokhanmoral.com/gm/2012/0...ernel-s2-v4-1/
[Galaxy S II General] Many40:
@red.hat

Hi,

I was asked on geko95gek's thread by one of the memebers to share my overall setup (ExTweaks profile, scripts, settings etc). I have nothing against but being on NeatromLite + Siyah I thing that your thread is the most proper for sharing this kind of info, of course if you allow it. What do you think?
[Galaxy S II General] red.hat:
Feel free my good man.
[Galaxy S II General] _Sale_:
Huh. Great :)
[Galaxy S II General] red.hat:
How did you do with phone calls? I think it will be nice to see if one can get great battery life after 30 minutes of calling.
[Galaxy S II General] Many40:
Unfortunately, I don't have a magic phone :). I had a few short calls about 5-8 min in total only. My next test will be with a little heavier phone usage (starting with 30 min of phone calls). Regards
[Galaxy S II General] joker97:
Is this better than GB 2.3.5?
[Galaxy S II General] Jibreil:
Many40: In your battery profile, you've Undervolted to -50UV + you've further used VC with the following values:100/800, 200/825, 300/850, 400/900, 500/950, 600/950, 700/975, 800/1000, 900/1025, 1000/1075

Is this necessary? Wouldn't it be safer if we could 0 Undervolt via ExTweaks and use VC with your values only?
[Galaxy S II General] joedalton_tpu:
I'm using Neatrom 3.3 and Phenomenal extrem 6.1, and everything is verygood. Phenomenal has better benchmark score than Siyah, and low battery drain. Thanks sale and feno:highfive:
[Galaxy S II General] Many40:
Hi, mate. Thanks for this relevant question, tbh I expected this sooner or later :). I used VC for undervolting because ExTweaks is not able to UV particular frq with different values (as you know only identical UV is posible for all frqs). Feature which VC has is important for me because I take advantage of possibilities to UV more some frqs when for the other it's not possible (but remember what I can undervolt you might not and other way round - every phone has unique hardware). Coming back to your question, in this case as you suggest all UV can be done using only VC - this is completely right but I decided not to resign of initial UV by ExTweks. Why? Because settings from ExTweaks are implemented by the kernel during early boot phase and settings by VC only after a rom is loaded - much later. So I think, it's better for the battery to have some initial UV implemented as early as possible. Maybe it has only minor influence for the battery but for sure doesn't cause any conficts. So if it doesn't help, at least doesn't harm :) Regards
[Galaxy S II General] deadman1007:
gona try this

thanks
[Galaxy S II General] Many40:
Hi,

I have for you some initial figures showing roughly what battery life my setup gives me with longer phone calls. These are very rough results because I made many reboots, entering CWM recovery / flashing mods, booting to 2nd rom etc. Nevertheless results are:

- On battery time (100% - 7%): 2d 10h

- Screen on time: 4h 25min

- Phone calls: 1h 2 min

Regards
[Galaxy S II General] red.hat:
That looks nice. I always believe posting battery usage without accounting for talk time is not a good measure.
[Galaxy S II General] maying89:
how to enable ARCH_POWER = On?

how to enable ARCH_POWER = On?

extweak doesnt have this option on CPU tab.
[Galaxy S II General] Many40:
Have you red my post no 88. There is written how to make it ON using init.d script.
[Galaxy S II General] maying89:
can u help me how to use init.d script?

could u please give me some step by step instruction? thanks
[Galaxy S II General] Many40:
Don't have time now but make you zip file CWM flashable later.
[Galaxy S II General] maying89:
Thanks

Ok man, Thanks. ill wait that..
[Galaxy S II General] red.hat:
Did you try using root explorer to copy the file into init.d folder
[Galaxy S II General] maying89:
?

What file should i copy?
[Galaxy S II General] red.hat:
The tchftq.zip file
[Galaxy S II General] maying89:
Where should i put it? Can u guide me,, thanks.. I already have root explorer..

thanks
[Galaxy S II General] Many40:
As promised. Flash it from CWM recovery. Cheers
[Galaxy S II General] red.hat:
Manny, I have a script to tweak pegeasusq if anyone needs it feel free to ask. You will just need to change the settings to meet your needs.
[Galaxy S II General] Many40:
Hi, I have a script as well made according to droiphille's thread but governor's tweaks doesn't work for me via init.d script - just new values are not aplied after boot. Seems some other script during booting phase overwrites my init.d script settings. I only managed to change pegasusq tunables by SetCPU app.

Have you managed your script working for you properly?

Edit: +1 Big thanks for inspiring me to find a mistake in my script. It's working now :). Gonna upload CWM flashable version to post no. 88.
[Galaxy S II General] red.hat:
Good to hear you found the error. Mine is working well, it made the changes on boot. Did you look for the changes via setcpu?
[Galaxy S II General] Many40:
I'm not sure if got well your last question. Recently when couldn't figure out how to make changes possible on boot via init.d script, I had to stick for worse but workable solution via SetCPU. Now I switched to init.d script only and got rid of SetCPU at all. Only using it for checking my current pegasusq settings (if they are applied properly etc)
[Galaxy S II General] red.hat:
That is what I wanted to find out.
[Galaxy S II General] futxsiempre:
Hi does anyone know if sinya kernel would work with univers rom??
[Galaxy S II General] Many40:
Universe rom is for Samusng Epic 4G Touch, isn't it. If I'm right then Siyah kernel (not "sinya") will not work with it. This kernel is compatible only with Samusng Galaxy S2 and S3 (i9100 and i9300). Regards
[Galaxy S II General] futxsiempre:
Ok thank you so I guess am in the wrong forums then lol
[Galaxy S II General] spaxx24:
I dont know if I ****ed uped (probably did). But I placed the extweaks file in the data/.siyah, then booted to recovery, wiped cache/dcache, and föash the three .zips, now my phone has been stuck at boot anaimation for 10 mins?
[Galaxy S II General] erdemkaraman35:
thanks guy
[Galaxy S II General] red.hat:
Did you try boot into recovery? If you can try reflashing your rom. I am not sure if you can mount your phone and then delete the said directory.
[Galaxy S II General] spaxx24:
Ye, reflashed rom and now it seems to work. Any way to make sure the CWM zips works?
[Galaxy S II General] Many40:
Hi, yes of course:

1. Pegasusq settings:

- if you have SetCPU app: open the app > Governor and check what is displayed or

- go to: /sys/devices/system/cpu/cpufreq/pegasusq/ folder and check if contents of subfolders correspond to the settings provided by the script

2. Arch Power:

- go to: /sys/kernel/debug/sched_features folder - you should find in there "ARCH_POWER". When it's "NO_ARCH_POWER" then it means: the script doesn't work.

3. Touch frequency:

- open an app which shows in real time current CPU frequency (eg Voltage Control or SetCPU etc). Wait until your current freq stabilizes on min freq (in our case is 100 MHz). Then touch the screen somehere on a neutral place (in SeCPU you can touch just the value of frequency in the middle). The frequency should shortly change from 100 MHz to 200MHz (instead of 500 MHz).

Regards
[Galaxy S II General] kzcell:
ask..

hi...

how i can place battery.zip in extweak..

sorry nuebie..:D

thanks..:good:
[Galaxy S II General] Many40:
Unzip the file and place battery.profile manually into folder /data/.siyah folder by replacing old one. Copy old file somewhere before to save it if you want. Regards
[Galaxy S II General] jamespangck:
Quick question: if I made some settings in extweaks then I later select Battery in kernel menu, will it overwrite my extweaks settings?
[Galaxy S II General] Many40:
No, it will not. If you change something in ExTweaks it is written to a file battery.profile, default.profile or performance.profile located in /data/.siyah folder. You can change profiles from two places: ExTweaks (paid version) or CWM recovery. When you make changes and switch between profiles (doesn't matter from which place - changes will be saved. However, your profiles will be restored to kernel's defaults if you use an option "reset profiles" from CWM. It's very usefull when you encounter any issues or flash new version of the kernel. So very good practice is to save your profile file (not to loose it) in a safe place (PC or external SD).

Regards
[Galaxy S II General] jamespangck:
Thanks a lot, Many40. This is what I called a good answer. Instead of just a "no", you spent the time to teach me these. You are good man. :thumbup:
[Galaxy S II General] Many40:
Thanks mate for nice words, my way of thinking is - if we are able to help other people just we should do that because most likely very soon we would need some help from them, so in this case the others will rather not hesitate to repay us :)
[Galaxy S II General] gadapxichlo:
Thank for your information!
[Galaxy S II General] gabi11:
Hey many40,

Is it recommended to reboot between each flash (beside the kernel's flash of course which is obvious..) ?

Oh, and as you said the battery profile I put in data/. siyah and then choose the profile from the recovery menu, right?

Thank!
[Galaxy S II General] Many40:
1. For this simple scripts flashing you can do that at once.

2. You can choose from recovery or from ExTweaks (if you have pro version)

3. Remember it's for Siyah 4.1.5, not the newest one. It will follow as soon as final release of the kernel will be ready.
[Galaxy S II General] gabi11:
Thanks!

I'll let you know how it goes.... :)
[Galaxy S II General] gabi11:
many40,

I did as you said and so far the device works fine.

Question - do you uv frequencies with VC pro?

I have vc (not pro) and the lowest value I can set is 850.

Thanks!
[Galaxy S II General] Many40:
Yes, I have pro. Sorry :)

Edit: Even I don't have pro ver, I have extreme version :):)
[Galaxy S II General] gabi11:
Still don't know how this configuration will be for me, so I didn't buy vc extreme (pro... :)) for now.

I used an init.d script to implement the uv.

Almost same settings as yours besides :

200 - 850 (825 always gave me problems)

500 - 925

As far as I looked, the phone's performance seems pretty nice.

One thing though, when the phone is in deep sleep- when I press the home button, the crt on effect is not smooth, and first "wave" around the lock also (hope you understood what I mean...)

But still, not a big deal and we'll see how it goes... :)

Thanks!
[Galaxy S II General] Many40:
You have problems with 825mV on 200MHz - I don't, you don't have problems with 925mV on 500MHz - I do. You see every phone it's different piece of hardware so you have to find your own configuration by finding the best values which work in your phone. My setup can be just the basis, then finetuning is recommended.

What is important as you probably already know for battery - screen tweaks (darker screen more battery saving but less comfortable work - so also everyone has to find his own balance by playing with:

- MIN_BL

- MAX_GAMMA

- GAMMA_SHIFT

Regards
[Galaxy S II General] gabi11:
Sadly- I won't have the chance to try your settings this time :(

I still have the "signal drop" bug with siyah.

Every now and then the signal drops Completely and returns after a few seconds (kind of a round icon instead of the signal bar).

2 hanged calls since this morning...

I remember reading in siyah's thread that I'm not the only on having this problem...

I had it before when I was with this kernel on 4.0.3.

Thought that on 4.0.4 it'll be ok... apparently not.

Only happens with siyah.

Dorimanx and Phenomenal are ok.

Hope that next siyah will be fine.

Thanks anyway mate! :good:
[Galaxy S II General] red.hat:
What version of Siyah Kernel are you using. I am on the last beta version of 5 and no signal problem of any kind. I believe it might not be a kernel problem although some other person mentioned the same issue a while back on his forum. Try out the latest version from his site. So you know he only has a few governors on there now. Good luck to you
[Galaxy S II General] gabi11:
Usually I'm not a fan of beta's...

Latest beta doesn't have youtube problems or something...?

Do you have any special settings in stweaks?

Edit: This problem only happens to me on siyah... :(

Other kernels, no matter what modem+ril \ rom- never happened...
[Galaxy S II General] red.hat:
Special settings in stweaks? I find turning on blnw is good to conserve battery at night. You can go with gpu settings of 44, 66, 100, 133, 200mhz or 66, 100, 133, 160, 267. Freq of 850, 900, 950, 950, 1000. This is what am using now . I also have voltage control with uv of -75mv except 200 and 300.

You can also try setting uv in siyah to -50mv. It save some battery time.