yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] ddominator:
Gokhan I don't get SOD with 2.5.2b for AT&T. Awesome work. Thanks!

Should I play with the voltage settings in VoltageControl.apk? Or will it cause any SODs?
[Galaxy S II Original Android Development] gokhanmoral:
playing with voltage settings can always cause SOD.

I don't recommend any undervolting.

maybe it will give you 10 more minutes a day with the optimum settings (at most) but you will spend hours or maybe days to find that settings.

just connect your device to a charger 1 more minute and you will have that 10 mins.

there are 1440 minutes in a day and if you spend a day to find that optimum setting it will pay off in 48 months which is about the lifetime of a smartphone.
[Galaxy S II Original Android Development] Deenybird:
very new to this.

Just flashed kernel via odin, now the back button is no longer working on my att galaxy s2.

What did I do wrong?
[Galaxy S II Original Android Development] gokhanmoral:
check your PM. if it gives you SOD I will make it customizable
[Galaxy S II Original Android Development] gokhanmoral:
you should have flashed the wrong version.

use "-att" version
[Galaxy S II Original Android Development] Deenybird:
gotcha, thanks, trying now.

EDIT: -att version solved it. Thanks again gokhanmoral
[Galaxy S II Original Android Development] vhce:
I am also with Gecko's settings, and my battery autonomy increase substantial!

@ gecko

Thanks for sharing your settings, and your knowledge in every threads you post.

@gokhan

Special thanks for you gokhanmoral, it's very impressed the hard work that you provide to all of us, and make our phone even better.
[Galaxy S II Original Android Development] poochewer:
Lithium Ion batteries actually love to be charged at a high current (providing u dont over do it) I beleive 950ma is fine. I actually set mine to 950 and I also use the charger that came with my Galaxy tab (It is capable of supplying 2Amps!) I have no problems. My opinion is that a slower charge rate will actually reduce the life of a Li batt.

EDIT: but then again all Li batts have built in regulators(they must have due to the physical instability of Lithium) so it probably makes very little diff anyway.
[Galaxy S II Original Android Development] KcDaRookie:
@poochewer: Actually the phone only nows 2 charging states, one with 400mA and the other at 650mA, read a few pages before this and you'll find an youtube video proving that.
[Galaxy S II Original Android Development] scorpion667:
Would the DK edition v2.5.2 work with AOSP ROM (CM7)?

Thanks
[Galaxy S II Original Android Development] KennyLegend:
Where did u get this info from??
[Galaxy S II Original Android Development] poochewer:
No problem thanks for pointing that out. I have not read that, I was just going on standard info for Li batts in general.:)
[Galaxy S II Original Android Development] pay.c:
Coming back to that issue (stuck core voltage at 500 MHz): In the meantime I am aware that this is NOT a bug in Siyah, but in Tegraks module (the same occurs on stock ROM + Tegraks App to overclock). I'll contact him and let him know.

Best, Peter.
[Galaxy S II Original Android Development] poochewer:
I was just going on my general knowledge of Batt types in general.(I come from a life of two way radio servicing) and I know that Li is one type of batt that will actually die if you charge it slowly (as in trickle-charging)

:D

Anyway @ KcDaRookie has just woken me up to the fact that there exists only 2 charge rates for our phone.
[Galaxy S II Original Android Development] KennyLegend:
Yes but 400mA is not trickle charging. Far from it infact .
[Galaxy S II Original Android Development] poochewer:
You are absolutely correct, but I did not say anywhere that 400mA is trickle charging.
[Galaxy S II Original Android Development] KennyLegend:
Crossed wires then ;)
[Galaxy S II Original Android Development] poochewer:
No worries mate have a good day eh;)

EDIT: sorry I meant have a good night! (wrong side of planet here)
[Galaxy S II Original Android Development] FabricioGS:
My router is using channel 11 @ 2.462GHz with WPA2 and hidden SSID. And I tryied it on CheckROM 4.0, maybe that's it...
[Galaxy S II Original Android Development] ddominator:
Is GPS working ok? I'm using the AT&T SGS II.

EDIT: Nevermind, had to reboot to get it to work.
[Galaxy S II Original Android Development] Random User69:
Awesome

gokhanmoral, love it, works well. I am currently running with Crysis' Sensation rom and I have only one issue. When run @ 1.6 Mhz the phone reboots itself, can't handle the speed with undervolting I guess. But I haven't flashed 2.5.1 just yet, still only running 2.2. Other than that (which is a problem of my creation :P) This is a fantastic kernel and seems very stable.

Love your work mate, keep it up :)
[Galaxy S II Original Android Development] gokhanmoral:
about chargecurrent:

I always thought our sgs2 is using max8997 but it seems that it doesn't, or maybe it does but there is something that I don't know.

Entropy512 wrote in his thread that at&t version uses max8922 and in the source code it is very clear that it has 2 steps for charging: usb or others.

but in max8997, charge current can be set between 200mA and 950mA. (check max8997_set_charging_current function in max8997-charger.c)

but we cannot modify the charge current.

here are the possible reasons:

1- there may be another hardware cap.

2- there are different hardware versions of sgs2: with max8922 and with max8997.

3- I am missing something.

since we have both CONFIG_MAX8997_CHARGER and CONFIG_MAX8922_CHARGER are enabled in default config file, it is more likely that we have different hardware versions of sgs2.

I disabled it and compiled the kernel. it boots fine but doesn't charge neither on usb nor on ac charger.

in conclusion, i guess my device is also using max8922.

for those who want to try max8922 disabled version: http://www.gokhanmoral.com/public/files/siyahkernel/Siyah-v2.5.2-no8922-CWM.zip

just try it and see if your device can be charged. if nobody reports that their sgs2 can be charged with that kernel I will remove charge current modification part.
[Galaxy S II Original Android Development] :
Just tried it on my I9100, no charging via USB or mains.
[Galaxy S II Original Android Development] KennyLegend:
Or maybe the right side eh! Lol
[Galaxy S II Original Android Development] brack11:
Cm7 + v2.5.2b = video part of camera doesn't work. Camera is freezing when I chose video mode, and after that I cannot start camera app. Downgraded to 2.5.1 everything is working.

Sent from my GT-I9100
[Galaxy S II Original Android Development] seaweeduk:
Sorry for the late reply, the two routers have different SSID's to avoid and problems, I've been using this configuration for a couple of years now since having my G1 and haven't experienced issues like this before. It's strange that after flashing 2.5.1 I can't get my wifi to work again properly even after flashing a kernel which was previously working fine (2.4.2 and the CM kernel). However once I perform a factory reset and format cache everything goes back to working on 2.4.2...
[Galaxy S II Original Android Development] nk7:
Anyone face FC issues after installing Maps 6.03? I am still with GT 2.5.1, waiting for 2.5.2i. Did not have FC with 6.0.2 and worked fine but now FC with 6.0.3 no matter how many uninstalls and clear cache and even reflashing kernel 2.5.1.

Even using titanium to revert back to 6.0.2 now also force closes. None of map tiles load up. Cheers
[Galaxy S II Original Android Development] fasst:
No charge on usb or charger.
[Galaxy S II Original Android Development] olifee:
Hi,

I was actually hit by the problem with an 802.11x enterprise network. But, as wpa_supplicant (and as such, connections to wifi for us) appears to be broken in CheckROM RevoHD for the 802.11x setup, maybe it also is for hidden SSID-wifis...

What I would suggest:

If you can change that, avoid hidden SSID. It causes some major security leaks (especially if you connect your phone to it) and does not give any real benefits. To fix the security problems, you should first disable hidden SSID on the router, then remove "hidden_ssid=1" in all wpa_supplicant.conf-files on all your linux machines / android phones (on android, deleting the network and readding the network while it is in range does exactly that if you do not want to work on the shell). On Windows, there is a setting for the specific WiFi-network in preferences where you can remove scanning for hidden SSID WiFis.

If that does not fix the problem / you can not disable hidden SSID for some reason: Try one of the wpa_supplicant-versions with AdHoc support from the forum. Although AdHoc-support is rarely needed and has nothing to do with the problem, those versions do not contain the bugs I experienced on CheckROM RevoHD 4, and as such might also fix your issue.
[Galaxy S II Original Android Development] bragon2010:
I saw a new version in Gokhan web.

The question is: What is the best? DarkNight 2.5.2 or the new one?

Thanks!
[Galaxy S II Original Android Development] b2rdetor:
my USB port can provide 3A supply (gigabyte MB) and when i set max USB charging to 900mA, speed of charging speeding up to AC charger (standart) time.

may be max charging power limited to 700mA???
[Galaxy S II Original Android Development] olifee:
That's really confusing...

My last idea would be to try using a free online proxy in the settings of your mobile browser and / or Opera Turbo and see if this changes behaviour in any way if your phone connects to the Access point, but just does not load any website.

In case proxy and / or Opera Turbo suddenly work while 'normal' browsing does not, it might be DNS-related or something (we can do further investigation then ;) ).

Good luck in trying to hunt this problem down!
[Galaxy S II Original Android Development] b2rdetor:
performance governor (setting max freq) will not destroy video lag!!!

its a video driver problem or may be something else, but not CPU!!!

when you play HD video with HWdecoding - its not use CPU (in this time CPU works on 200-500mhz even playing 1080p)!
[Galaxy S II Original Android Development] CamoGeko:
Depends if you want to customize the kernel with UV. If you do, then get SiyahKernel 2.5.1 GT.

If not, go for DarkNight. :)
[Galaxy S II Original Android Development] ksantoshh:
Put Up Perfectly :-)
[Galaxy S II Original Android Development] gokhanmoral:
I was getting 5 hours continues use with stock rom+kernel.

I think it is not bad.

I did not try how many hours I get with the latest kernel, but anything above 6-7 hours should be considered as good.

was it over wifi? if it is over 3g or edge than it is just great.
[Galaxy S II Original Android Development] steffanyouyi:
yup, im using hsupa network all the way...and i ranged my cpu freq from 100-800mhz...screen off profile 100-200mhz
[Galaxy S II Original Android Development] gokhanmoral:
was the screen on all the time?
[Galaxy S II Original Android Development] steffanyouyi:
most of the time the screen is on...bcoz im messaging through whatsapp almost all the time
[Galaxy S II Original Android Development] dg1qkt:
Hi nice work, great thanks for this amazing kernel.

I have one bug to report and one question:

Question:

While I remember that with ninphetamin the phone only stays awake when the leds are blinking/on (BLN enabled) . Here it stays awake all the time (no deep sleep).

Could you please have a look at that?

I have the same su declined problem,on bootup (1.7.7) that many people reported for 1.7.6.
[Galaxy S II Original Android Development] kristal0211:
how to run the NTFS drives on this kernel,

fuse.ko write error
[Galaxy S II Original Android Development] L0cutus:
i've found the MAX value for USB charge is 800mA
[Galaxy S II Original Android Development] gokhanmoral:
if bln is in use the phone does not go into deep sleep.

that is why I don't use bln.

for the second problem, you may try to uninstall superuser.apk (either by deleting it or titanium backup) and use an older one. it is related with new su3 package I think. I will downgrade it to latest su 2.3.6 in the next release as a lot of people complain about su3.
[Galaxy S II Original Android Development] gokhanmoral:
it is...

if your charger is detected by usb port it is the charger's fault.

you can simply short data pins together to make it a MISC charger, or just buy another one.
[Galaxy S II Original Android Development] Evollution:
So why is this the best kernel ?
[Galaxy S II Original Android Development] tolis626:
Well,it certainly didn't get hot at all when I was using Tegrak,so it's only natural that it won't get hot now. ;)

I can assure you,most,and I really mean MOST,of the heat comes from the CPU,especially when it's overclocked.My phone used to get very hot when playing Asphalt 6,so I thought that GPU OCing was to blame,but no matter how much I underclocked/undervolted (or even both),it still got hot.Well,in the end,Asphalt was at fault,because it couldn't(Or maybe still can't) properly scale the Mali MP-400 at 267MHz and as a result used the CPU very much.Underclocking and undervolting my CPU did the trick back then,even with 400MHz/1100mV GPU.

If only I can get it working here...F*cking strange,ain't it?
[Galaxy S II Original Android Development] sacapo:
noob question here.

I am using this kernel with leo's rom and OC daemon. I would like to undervolt but I have no idea how to do it.

I have seen some scripts here but I don´t what I must do with them.

Thanks in advance and and sorry :)
[Galaxy S II Original Android Development] dg1qkt:
Thanks for the quick reply.

Well according to this thread:

http://xdaforums.com/showthread.php?t=1197956&page=3

It should be at least possible to get the phone to deep sleep when BLN is not actively lighting up the LEDs (no messages).

Any possibility to get this working?
[Galaxy S II Original Android Development] KorhanYilmaz:
Bu kerneli yukledim darkyrom2 kullaniyorum ancak twlefon ara ara reset atiyor nedeni ne olabilir.

I installed this kernel and i am using darkyrom2 but my phone still reboots itself time to time why is this happen?
[Galaxy S II Original Android Development] sasho36:
I can confirm that if I copy lib/modules to system/lib/modules, the command "rmmod fuse" works, if I don't, I get the same error like above...
[Galaxy S II Original Android Development] Yoyoa:
have you got any news to solve the bug when i dismount usb storage in computer, I'm waiting for that to use this kernel :p
[Galaxy S II Original Android Development] idealforyou:
I don´t understand this. Which file I must delete for the automatic calibration.

My phone says 100% and if I then the battery charger remove there are only 86%.
[Galaxy S II Original Android Development] tonysac:
Try it and tell us..

My opinion...fast...smooth....battery drain killer!

Sent from Galaxy!
[Galaxy S II Original Android Development] iamsmallpang:
great Kernel! Thank you
[Galaxy S II Original Android Development] tonysac:
Deleted....
[Galaxy S II Original Android Development] droidphile:
The HD video lag problem was due to bus speed locked to Level 2(133 mhz), for the cpu frequencies being used while playing a 1080p videos. (100-500 or 800) It is not video driver issues.

Since most of us use 400/266 bus with 1200 mhz and above, (by enabling static bus frequency scaling), when using performance governor, the video playing issue was solved.

Gokhan fixed this "locking to 133 mhz bus" for HD videos in the new 2.5.2b. Now, irrespective of static/dynamic bus speed scaling, 1080p videos works fine.
[Galaxy S II Original Android Development] Gowind:
With 2.5.2b I have no SOD and as expected it's not a big performer like 2.5.1. But I have noticed that the phone noticeably lags for some time once you keep the phone after a call. Anyone else has noticed it :D
[Galaxy S II Original Android Development] and1_vj17:
Report : no charging with usb nor main charger.

Device : i9100 international version
[Galaxy S II Original Android Development] b2rdetor:
ohohoh - UV will DRAMMATICALLY (30%) up phone life.

example (i tested all settings and know how many mA phne drain in all situations, like sleep, games, etc - tested with proff multimetr, but all results are in russian lang in 9100 topic on 4pda.ru forum)

asphalt6 game with autobrightness

200-1200 (default) - averange 1200mA (1.5h playing with stok battery)

200-1200 (all freq -100mV) - averange 850mA (about 2h playing)

25%+ battary life.

200-800 (default) - 750-800mA

200-800 (all freq -100mV) - 550-600mA

some phones can work with more aggressive UV most cant.

with latest siayhs you can set conservative with 200-800 when you travel and you will best battery life ever, especcially with UV.

BUT you must extremely test you UV settings! first - stability, second - battery!

IMHO!

---------- Post added at 07:49 AM ---------- Previous post was at 07:45 AM ----------

with 2.4.2 i tryed everithing - performance governor too - it was not solve the problem!!!

with 2.5.0 HD lags are gone, but i think some lags appears with 2.5.1 (but i don sure - need to test some more).

also 30fps video hasnt proplems even 2.4.2 but 24p has it
[Galaxy S II Original Android Development] dkimmortal:
Using V2.5.2b and can also attest to video playback however putting the governor on performance (versus on demand) did make the playback smooth again (for 1080p, 720p works fine in any governor)
[Galaxy S II Original Android Development] droidphile:
Like i said, it wasn't locking to 1200 mhz or higher frequencies that solved the problem, but the bus speed of 400 mhz used with 1200 mhz as a result of static bus frequency scaling.

By default, static bus frequency was enabled in 'old' 2.5.2.

What you do is simply disable static bus speed scaling, using your script.

echo "disabled" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static

I think lag will be gone then.
[Galaxy S II Original Android Development] .hide:
Cant wait for siyah in galaxy note !
[Galaxy S II Original Android Development] ksantoshh:
New one is based on siyah 2.5.2b with the exception of voltage controls

---------- Post added at 04:18 PM ---------- Previous post was at 04:14 PM ----------

Works perfect on the international version, GPS locks in 5-6 sec :-)

---------- Post added at 04:21 PM ---------- Previous post was at 04:18 PM ----------

No Issues with Maps 6.0.3 . No FC so far. Btw I am on Siyah 2.5.2b

---------- Post added at 04:24 PM ---------- Previous post was at 04:21 PM ----------

DK should work finewith ASOPS
[Galaxy S II Original Android Development] bervin:
For the things I do with my phone 200-800mhz is enough for me but I don't like the idea of being locked to 800 if ever I need more power such as when taking many photos and need more processing power. Is there such a command line to allow the phone to only step above 800 if capacity load is ie more than 120%?? If you get what I mean.

Also does anyone know the UV setting for 2.5.2b?
[Galaxy S II Original Android Development] KcDaRookie:
Okey, had just installed 2.5.2b and this is the far worst kernel for me.

It just hangs on startup, every second boot it takes at least 4 times for unlocking the screen the last time the phone wouldnt unlock at all.

Also SMS App lockscreen won't work.

Going to try 2.5.2 now if this still sucks I will go back to 2.4.1.

Edit: 2.5.2 seems to work just fine.
[Galaxy S II Original Android Development] .hide:
i set 200 - 800 for my gf with this setting u can try

800 950

500 850

200 825

100 800
[Galaxy S II Original Android Development] gokhanmoral:
I removed all files from my blog except for v2.5.2

if you need performance use conservative governor with 2.5.2 or just flash lionheart.zip (first post)

I did not upload v2.5.2b here because it may not work for your phone (there is already a warning in the post)

so, don't leave negative feedback about v2.5.2b. just use v2.5.2 if 2.5.2b doesn't work as expected.

I have attached v2.5.2 files to the first post.
[Galaxy S II Original Android Development] InnAl:
Exactly what i was thinking!

Now i have to go and buy some Baklava ;)
[Galaxy S II Original Android Development] KcDaRookie:
@gokhanmoral: still I think it would be good to know what exact modificatin causes this problem

never had any problems with any of your kernels and 2.5.2 is also working perfectly for me
[Galaxy S II Original Android Development] gokhanmoral:
I think your bad experience with 2.5.2b is either related with static bus frequencies or GPU underclocking

it was another experimental release and static bus frequencies may not be a good idea (my mistake)

after understanding the scaling part, I think I will sacrifice a little performance in benchmarks for having more battery life. that is why I removed all previous versions.
[Galaxy S II Original Android Development] tinuz97:
Is bluetooth keyboard supported?

With chainfire's kernel it works out of the box,most custom kernels not (atleast not for me)

Thx
[Galaxy S II Original Android Development] Akik:
@Geko: I'm actually with GT 2.5.1 and your settings. Everything works very well! Do you think I should upgrade to 2.5.2?

Thanks dude ;)
[Galaxy S II Original Android Development] SilverMist1:
i am using miui with 2.5.1 and i care about gui transitions in rom. what is the best scheduler for gui transitions? (i am using vr now). and in name of gui transitions which is smoother 2.5.1 or 2.5.2?
[Galaxy S II Original Android Development] seaweeduk:
I'll give it a go later using googles DNS servers and see what happens. I had already tried using static IP settings when connected to the repeater/bridge as I thought this would solve the problem. I also find it strange that when connected to my primary router I can't connect to anything behind my repeater/bridge router. This definitely was not the case on any previous kernels or any of my other phones and pc's.

The frustrating part about this is that I have to do a factory reset every time I test a new kernel and end up reverting back to 2.4.2, which is why I haven't tried 2.5.2 yet, I'll give it a go later today. Was also going to try putting both my routers on WEP just to see if wpa_supplicant is causing the problems. However it feels IP related to me though, I can connect to either router fine just can't transmit or receive anything when on the bridge.
[Galaxy S II Original Android Development] Evollution:
Lol so many problems with 2.5.2 I don't know if I should update from 2.4.2 any important changes in terms of battery life
[Galaxy S II Original Android Development] KcDaRookie:
then it has to be static bus frequencies because my UV settings are lower than your standard UV, and i never used static bus freqs ever before.

maybe ill reflash 2.5.2b with dynamic busspeeds and report in again, thank you for your help :)
[Galaxy S II Original Android Development] yakyllan:
Is SetCPU / Voltage control recommended with 2.5.2 (or above) ?

Thank you
[Galaxy S II Original Android Development] KennyLegend:
Mine didn't charge either
[Galaxy S II Original Android Development] mdaaddic:
I have had random restarts with version 2.5.2b and reveted to version 2.5.1.
[Galaxy S II Original Android Development] gokhanmoral:
I will remove it from my blog as soon as I go home.
[Galaxy S II Original Android Development] mccune:
@gokhanmoral

Small typo on your page concerning SiyahKernel v2.5.2

It shows "android logger is enabled (in v2.5.2b....". Think this should be "disabled", no?

Edit: Doesn't really matter if you're going to remove it. Just read your previous post.
[Galaxy S II Original Android Development] squall_kay:
voltage control. hv recovery features and can access siyah special setting (charging rate and gpu control)
[Galaxy S II Original Android Development] gokhanmoral:
there is no typo. in v2.5.2 (not v2.5.2b) it is enabled.

I removed v2.5.2b because of people continuously reporting bugs although I have explicitly stated that it may not work on some devices.

I am not interested in how unlucky you are and that your device cannot run v2.5.2b.
[Galaxy S II Original Android Development] :
gokhanmoral, hi there!

Is there any explanations somewhere on what the schedulers do and the differencies?

EDIT: nvm, saw that this thread got updated 15th dec http://xdaforums.com/showthread.php?t=1369817