• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Siyah Gingerbread kernel (v2.x)

I saw an improvement on battery after undervolting on top of the battery zip, opposed to just the battery zip.

I decided to undervolt so knocked 50mV off each clock setting... definitely seeing an improvement during use.

Out of interest, how much did you UV by Shotgun?
 
Am on v2.6.1 and loving it... however, I now have 3 versions of the siyah_battery.zip.

The first was downloaded when v2.6_S99 was released.

The second is the amended battery.zip from the same kernel

The third is one I downloaded from v2.6.1 blog early this morning (just in case there was a difference).

Using the 3rd version with Automatic Brightness, in Display, as I usually do... it is much darker than either versions 1 or 2.

I have reloaded all 3 to test again and 3 (the latest from the v2.6.1 link) is definitely a lot dimmer.

I have now switched back to the amended battery.zip from the last kernel.

I was just wondering if anything had been changed in version 3 or if anyone else was experiencing this?

UPDATE

The 3 brightness settings in version 2 of the siyah_battery script start... echo 50, 0 and 20.

Whilst the latest version 3 (from the 2.6.1 blog) script has... echo 70, 0 and 19.
 
Am on v2.6.1 and loving it... however, I now have 3 versions of the siyah_battery.zip.

The first was downloaded when v2.6_S99 was released.

The second is the amended battery.zip from the same kernel

The third is one I downloaded from v2.6.1 blog early this morning (just in case there was a difference).

Using the 3rd version with Automatic Brightness, in Display, as I usually do... it is much darker than either versions 1 or 2.

I have reloaded all 3 to test again and 3 (the latest from the v2.6.1 link) is definitely a lot dimmer.

I have now switched back to the amended battery.zip from the last kernel.

I was just wondering if anything had been changed in version 3 or if anyone else was experiencing this?

UPDATE

The 3 brightness settings in version 2 of the siyah_battery script start... echo 50, 0 and 20.

Whilst the latest version 3 (from the 2.6.1 blog) script has... echo 70, 0 and 19.

that would be the max_gamma setting of 19 doing that then butty.

I dont know if i'm imagining it but my screen on 2.6.1 seems duller, and I'm still using the battery zip from the 2nd build!

Battery.zip (V3):
#!/sbin/busybox sh
#hotplug parameters
echo 35 > /sys/module/pm_hotplug/parameters/loadl
echo 80 > /sys/module/pm_hotplug/parameters/loadh
echo 90 > /sys/module/pm_hotplug/parameters/loadl_scroff
echo 100 > /sys/module/pm_hotplug/parameters/loadh_scroff
echo 400 > /sys/module/pm_hotplug/parameters/rate
echo 400 > /sys/module/pm_hotplug/parameters/rate_cpuon
echo 1000 > /sys/module/pm_hotplug/parameters/rate_scroff
echo 524288 > /sys/module/pm_hotplug/parameters/freq_cpu1on
#cpu freq
echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#deepsleep levels
echo 4 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_cpulevel
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_buslevel
#smooth scaling parameters
echo 2 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_target
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_offset
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_step
#cpu governor
echo ondemandx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#gpu clock, threshold and voltage
echo "100 267" > /sys/class/misc/gpu_clock_control/gpu_control
echo "60% 30%" > /sys/class/misc/gpu_clock_control/gpu_control
echo "900000 950000" > /sys/class/misc/gpu_voltage_control/gpu_control
#io scheduler
echo sio > /sys/block/mmcblk0/queue/scheduler
#static bus frequency
#echo enabled > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
#enable sched_mc
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
#enable AFTR
echo 3 > /sys/module/cpuidle/parameters/enable_mask
#brightness settings
echo 70 > /sys/class/misc/brightness_curve/min_bl
echo 0 > /sys/class/misc/brightness_curve/min_gamma
echo 19 > /sys/class/misc/brightness_curve/max_gamma
#disable logger (will take effect after a reboot)
mkdir /data/.siyah
chmod 777 /data/.siyah
touch /data/.siyah/disable-logger

This version will disable the android logger.
 
that would be the max_gamma setting of 19 doing that then butty.

I dont know if i'm imagining it but my screen on 2.6.1 seems duller, and I'm still using the battery zip from the 2nd build!

Thanks hawker! :)

At least I'm not going mad.

I can't say my old eyes have noticed a difference with the second, amended, version but there is a big difference on the latest in the v2.6.1 post.

Trouble is, I'm not bright enough to see if there are any major changes between 2 and 3.

Will content myself with the script from v2.6.

Anyway, I figure as Sydney99 is installing the latest version, we should soon see some amendments from gokhanmoral to combat the Kiss of Death. :D
 
Will do, thanks. Did you have problems playback problems with S99?

I had a strange problem with video playback on a number of Siyah kernels.

After rebooting the phone, I would go into Gallery and try and play a video and it would not start. I found the only way to make it work was to press Play a couple of times and then the Home button. Then if I re-entered Gallery again I could play any videos without problem. This would continue until the next time I restarted the phone. I wondered if it was just peculiar to my phone. It was almost as though I had to "kick-start" video playback.

v2.6.1 has played first time, every time. :)
 
I've had frame drops on various siyah kernels, it got fixed in 2.5 but then s99 was as bad as ever. I will give 2.6.1 a go tonight.
 
Think I may stay with s99 for a bit and see what happens...

Call me a technowuss, but I'm starting to get a bit confused by all the kernel option and tweeks!
 
Sorry guys, another question... I've frozen SetCPU in order to take advantage of Gokhan's settings in the battery tweek zip. How do I undervolt without using SetCPU?
 
Can someone let me know how the battery life of 2.6.1 with the siyah-battery settings compares with 2.6s99 (with siyah-battery) and 2.5.2b assuming anyone has tried so many versions?

I'm pleased at the addition of the siyah-battery script. Suits me fine to have Gokhan pick these settings.

The one thing I would like is a list of kernel versions that are generally regarded as stable and with good battery life etc. One way would be to call the frequent releases beta and reclassify after some time particular older releases as stable.
 
I've frozen SetCPU in order to take advantage of Gokhan's settings in the battery tweek zip.

You don't need to uninstall or freeze it, use just the voltage adjustment section "at boot". Or, if you already have a proven voltage table for your own device, set it the 01siyah script in init.d.
 
You don't need to uninstall or freeze it, use just the voltage adjustment section "at boot". Or, if you already have a proven voltage table for your own device, set it the 01siyah script in init.d.

Nope, no voltage table, I was just going to undervolt by 50 each step...

Sorry, pre-Christmas dense moment.... If I unfreeze SetCPU, how do I ensure that the batter.zip's settings take precidence over the settings I have in there? Set them to the same as the .zip's, or just not tick the "set on boot" box?
 
Can someone let me know how the battery life of 2.6.1 with the siyah-battery settings compares with 2.6s99 (with siyah-battery) and 2.5.2b assuming anyone has tried so many versions?

To get a decent feel for battery life on a new kernel I would normally allow 2 or 3 days of running it first. Also, there have been 3 separate siyah_battery.zip's in the last 2 kernel releases.

The one thing I would like is a list of kernel versions that are generally regarded as stable and with good battery life etc. One way would be to call the frequent releases beta and reclassify after some time particular older releases as stable.

Tricky one that inasmuch as what is stable for one person, and their use, may not be so for another. One only has to look at Sydney99's history to see that. For instance, quite a few people considered Siyah v2.5.2b to be very good. However, for me and a lot of other people, it was a non starter.

Possibly the easiest answer would be to take a look on gokhanmoral's blog, if you are interested, and see which kernels he has not withdrawn.
 
Nope, no voltage table, I was just going to undervolt by 50 each step...

Sorry, pre-Christmas dense moment.... If I unfreeze SetCPU, how do I ensure that the batter.zip's settings take precidence over the settings I have in there? Set them to the same as the .zip's, or just not tick the "set on boot" box?

Just make sure that all the, "Set on Boot", boxes are cleared in Main, Profile and Voltages and reboot your phone.

After reboot the voltages will be the battery script ones. :)
 
My screen is poor on v2.6.1 on both battery v2 and v3.
I'm back on S99 now with battery v3, but with v2 screen parameters.

Its definitely a kernel v2.6.1 problem rather than a battery.zip version problem for me.

If I run 2.6.1 "raw" (ie without battery.zip) then the screen is very dark. This is particularly noticeable in the lockscreen.
On S99, it is quite a bit brighter, with or without the battery.zip installed.
 
But dark screen will have better battery. It is quite a noticeable difference, but one I don't particularly mind do gonna see how the battery goes
 
I agree Syd, it will be better for battery, but 2.6.1 is dark WITHOUT battery.zip installed.
I think it should be brighter by default.
 
My screen is poor on v2.6.1 on both battery v2 and v3.
I'm back on S99 now with battery v3, but with v2 screen parameters.

Its definitely a kernel v2.6.1 problem rather than a battery.zip version problem for me.

If I run 2.6.1 "raw" (ie without battery.zip) then the screen is very dark. This is particularly noticeable in the lockscreen.
On S99, it is quite a bit brighter, with or without the battery.zip installed.

Weird! I'm running v2.6.1 with the amended battery.zip, that I downloaded a couple of days ago from v2.6_S99, and my brightness is fine. :confused:

I feel a Siyah kernel v2.6.2 coming on. :D
 
Weird! I'm running v2.6.1 with the amended battery.zip, that I downloaded a couple of days ago from v2.6_S99, and my brightness is fine. :confused:

I feel a Siyah kernel v2.6.2 coming on. :D

Its most noticeable for me when the lockscreen is active.
Whats yours like butty?
 
Hmm. I think it was because I set the screen to dynamic about half hour ago to try to up the brightness.
Back on standard, the screens do now seem pretty much identical on S99 and 2.6.1, so I'm back on 2.6.1 now.

Is your screen brightness auto-adjusting properly? Mine no longer seems to do this as briskly and as intelligently as usual.
 
Back
Top Bottom