yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] droidphile:
Recipe

Please try this Simple Recipe @home when you get run into issues:

Issues may be SOD, No deep sleep, frequency stuck at higher frequency, blah blah blah and so on.

note: Overnight drain of 2% in 10 hours or 8% in 8 hours doesn't count as an issue here!

Consolidated Steps

:

1) Reboot and recheck for the issue!

2) Make sure your it's not rom related. Search through your ROM's thread for the keyword which corresponds to your issue.

3) Beware of any IM apps since most of them can cause wakelocks.

4) Check wakelocks of apps and kernel using betterbatterystats

5) See what's eating your CPU using O.S Monitor & Watchdog

6) Uninstall system tuning apps, wipe dalvik, remove all your init.d scripts, reflash kernel and check if issue is solved. You can reinstall your apps and scripts later.

7) For data related issues - 3g/gps, etc, try a different modem firmware first. Find which modem works best for your provider/location/rom and flash it.

8) Tune governors intelligently. If you're unsure about tuning governors, use flashable zips which does so. There are plenty on XDA.

9) This is a little difficult: Nandroid backup, flash a different rom and if issue is gone, it's most probably ROM related. (Now restore your nandroid)

Last but not least, if you tried everything, then

10) post with detailed issue description: Not just "sod", but "when did it happen?": After running an app and locking screen? or "after locking the screen after a fresh reboot"? etc.

11) Post logcat, last_kmesg and if possible /data/dontpanic/*

Use ADB, it's reliable because you can track logs if issue is phone goes into continuous bootloop or something.

Logcat

:

adb shell

logcat > /sdcard/log.txt

Last kmesg

:

cat /proc/last_kmsg > /sdcard/last_kmsg.txt

To view live dmesg

:

adb shell dmesg

Now pull log.txt, last_kmsg.txt and post here. Gokhan need to know what is causing the problem, not "how many people have this problem".
[Galaxy S II Original Android Development] cheewaca:
Good guide to discard rom or modem problems.
[Galaxy S II Original Android Development] d8389:
The kernel may crash after USB mouse disconnecting.
[Galaxy S II Original Android Development] vivalasven:
Thank you for every SIYAH Kernel Gökhan Moral.

Take a cay :D

2PX40435V6364811F
[Galaxy S II Original Android Development] MistahBungle:
Gokhan, you've really outdone yourself with 2.6.7...

The best Siyah yet ;-) Fast & responsive with ondemand/sio yet sleeps like a baby when not in use. Absolutely no problems whatsoever (not even minor annoyances) with this kernel even during that initial day or two/first few reboot-charge-discharge cycles.

Have a Red Bull, coffee or whatever you normally drink that enables you to produce such killer kernels :)

41U50490RA1927319

Thanks & keep doing your thing and making Siyah the best SGS2 kernel ;)
[Galaxy S II Original Android Development] kryptoner:
How to make brightness changes smoother and not abrupt when autobrightness is enabled?
[Galaxy S II Original Android Development] xysonata:
Finally! No more black screen lines on my phone with 2.6.7.. I still can't seem to figure out what the cause is. But this version made my day! Thanks! :)
[Galaxy S II Original Android Development] seaweeduk:
its the brightness being lower than it was previously by default just turn it up a little if you see the lines.

---------- Post added at 04:57 PM ---------- Previous post was at 04:55 PM ----------

previously I was having to use a static ip to get an internet connection, no problems so far with this new version :)
[Galaxy S II Original Android Development] stylez:
No lines at all contrast levels.

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] seaweeduk:
me neither my understanding was that the users who do just have a display which cant quite go as dark as the new default lowest brightness and experience the lines...
[Galaxy S II Original Android Development] stylez:
Makes sense :)

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] ercxar:
Really? I used to that static ip, gonna try that and I haven't any problem with this version at all it's perfectly smooth and good at all conditions!

Good work gokhanmoral, I can't make you any donations in Iran because of that boycott or something, my apologize to you.
[Galaxy S II Original Android Development] Vaedryn:
2.6.7 is the best Siyah version from all. I am on this kernel from the beginning , but the best fron all is 2.6.7 , absolutely great.

Cyanogen Mod Tapatalk
[Galaxy S II Original Android Development] N6666661:
Would it be possible to have the exact parameters that we can push to the init.d script for the ondemand governor?

I mean the exact syntaxe for each available parameters.
[Galaxy S II Original Android Development] buzzzer:
Thanks. I was using CifsManager but for some reason it was not working. A simple restart of the phone solved the issue.

BTW i dont think i have voodoo app. How can i permenently stop the voodoo modules from loading?
[Galaxy S II Original Android Development] gokhanmoral:
you cannot stop voodoo modules from loading.

I don't think there is any reason to unload them because they are very small modules and they are passive (doesn't run any thread or do anything) unless you use voodoo apps.
[Galaxy S II Original Android Development] Igor 3:
Im new to Siyah. Have been on others kernel until now, but everyone is talking good about this version so i decided to try it. I like it very much. Do you recomend i leave it at default or change something. I dont really care about battery as long as it lasts for one day. Performance is what im after.
[Galaxy S II Original Android Development] CamoGeko:
Can send you my voltage control config mate, it's a good baseline. Then you can just improve further as you go along.

Or you can just leave it stock.

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Death Star.
[Galaxy S II Original Android Development] kryptoner:
Hey will you plz send me your voltage and governer configurations?
[Galaxy S II Original Android Development] JmPTaz09:
It's up to you, but after messing around with various settings multiple times, I actually uninstalled setcpu and voltage control and am just running the default settings. It's smooth as can be and I'm at about 2.5 hours off charger with 1 hr 17 minutes screen on and still at 87%. That's pretty damn good if u ask me; I'm on foxhound rom. Recommended trying default values for awhile then if ur not satisfied, there are millions of optimizations you can fool with to keep yourself busy for a long time, good luck!
[Galaxy S II Original Android Development] Igor 3:
Thanks, please send me. For now i will leave it default as everyone is saying its good. Later will try your voltage config.
[Galaxy S II Original Android Development] PedroMRP:
So gokhanmoral what is the next move?

Seems that v2.6.7 it's near perfection!
[Galaxy S II Original Android Development] TheWeasl:
2 enthusiastic thumbs up for siyah 2.6.7...runnin' damn nice...again ;)

cheers vom weasel :D

-------------------------------------

tapatalk'd from a galaxy in the s2 system
[Galaxy S II Original Android Development] Hawkeye1103:
After 8 hours of use my battery is down to 65% it's 2 much drain for what i got before syiah on speedmod. I got absolutelly no usage on the phone 55% of the battery gone to the voice although i didn't talk much. Didn't modify anything. Can you guys help me out?
[Galaxy S II Original Android Development] poochewer:
LULZ vs ONDEMAND

I finally bit the bullet and flashed 2.6.7

One main thing that I have noticed is that now (as opposed to v2.6.4), LULZ governer is actually the smooth one and ondemand is not smooth.

Thats the oposite of what I have found in my previous version.

I find LULZ to be exellent if you prefer performance, but naturally it uses that bit more battery.

All in all, I like this version and once again many thanks to gokh.:cool:
[Galaxy S II Original Android Development] gokhanmoral:
someone suggested that capping the cpu frequency while listening to music would be awesome.

(do you listen to music with screen off or on? I am thinking about limiting it in ondemand governor which will make it more "intelli")

another suggestion is dynamic voltage control depending on thermal readings. I am open to suggestions on this because it may be useful to increase voltage level a little bit when the temperature is higher than a threshold to make the device more stable but it also makes the device become warmer and may cause other problems. would it be worth trying?

and I will implement dual-booting. I will need to modify recovery for that but that is something I don't want to do now. "teamw.in" has higher priority in my todo list. I will think about an easy "restore as second OS" solution. I will use the hidden partition as system partition for the second ROM and I will try to implement "install an update to secondary ROM" in the recovery.

and of course ICS edition... after samsung releases the sources...

I've just talked to supercurio and he told me that voodoo apps do not need modules anymore. this means that the next version won't have voodoo modules. small but another to-do :)

lastly I will finish darthvader governor. I am quite busy lately but I will finish my current project in 3 weeks and I will have more time to waste.
[Galaxy S II Original Android Development] KcDaRookie:
@gokhanmoral:

oh my gosh that sounds awesome ^^

if you really implement freq capping in later versions please provide a switch to turn this off ^^

Even if it is only switchable via script ^^
[Galaxy S II Original Android Development] d8389:
Hi,

The kernel is unstable after disconnecting some USB devices like mouse, connected to host or HDMI cable.

Something wrong with drivers unloading.
[Galaxy S II Original Android Development] tolis626:
Well,two things:

i)Have you looked into overclocking the bus?That'd make a nice addition to performance junkies. :D

ii)Have you considered tweaking the RAM chip's clocks,voltages etc?I for one would overclock my RAM too to suit everything else on my device. :p

And yes,it won't be very strange if I'm the first one to fry his GS2. :p
[Galaxy S II Original Android Development] PedroMRP:
I listen music mostly with screen off but also while playing games or browsing so I don't know if limiting the cpu frequency its a good feature cause it could introduce instability... when the screen is off the frequency is limited by the screen off profile in ondemand.

Dynamic voltage is possible to be a good feature for those who play heavy games or is a benchmark freak... I'm in favor of battery life and smoothness not interested in benchmarks values and I don't play heavy games so if dynamic voltage can introduce some problems and make the device warmer I leave that idea in the drawer unless it was possible to enable or disable dynamic voltage through scripts.

ICS edition would be great high level priority when samsung release sources I want to flash CM9 but I don't want to leave this kernel so I will wait for a ICS edition.

Keep up with the awesome work and this isn't a waste of time you are changing the way people use their galaxy s2.
[Galaxy S II Original Android Development] Codex0:
Finally got 2.6.7 installed and working properly. Didn't realize that it wouldn't be as effective without first installing setcpu. Now using lulzactive and phone battery life is absolutely stunning compared to before. Also very very quick :)

Awesome kernel
[Galaxy S II Original Android Development] PedroMRP:
I imagine that if this was implemented the number of posts would double with people complaining that their phone will not turn on.
[Galaxy S II Original Android Development] tolis626:
Not more than those that have problems with undervolting I think.Plus,less advanced users are usually afraid to mess with things that aren't configurable via a graphical user interface. ;)
[Galaxy S II Original Android Development] PedroMRP:
It is possible to change the algorithm of the garbage collector to run less often?
[Galaxy S II Original Android Development] AndreiLux:
I don't get the thing with the music playback. When I'm listening to music on the stock player, even with DSP on it's 95% of the time on 100MHz.
[Galaxy S II Original Android Development] ercxar:
I agree with this, for example myself:D

But you know scripts are very tempting to try:p
[Galaxy S II Original Android Development] KcDaRookie:
yeah me too ercxar ^^

thats why i made the generator in my signature initially ^^
[Galaxy S II Original Android Development] olifee:
I just tried that app.

For one, I feel it is a bit huge in size for just writing files...

And for some inexplicable reason, I can not change the displayed path to external_sd (or in fact, to anything else apart from /sdcard), I could only check internal sd.

The variance of the results is much higher with the app, and my device sometimes 'freezes' for some time while the app is writing.

For that reason, I guess the app uses an inappropriate blocksize for writing its files, causing the device to 'freeze' when it has to write some big chunk.

I trust dd much more, as I know it works and as it always gives consistent results if nothing is broken. As I still cannot reproduce your I/O problems with dd, I fail to see the kernel / scheduler at fault...

EDIT: iozone also gives consistent results.
[Galaxy S II Original Android Development] Misterjokerboy:
Wow gokhan, that's a lot of plans. Do you actually sleep, lol?
[Galaxy S II Original Android Development] marekPLPH:
Hi guys.. im a 2.6.7 siyah kernel user.. has anyone experienced this? :

http://xdaforums.com/showthread.php?t=1194677

only happend to me when my battery drained to zero and needs to recharge..

i wonder what is this thing... can anyone enlighten me?

TIA
[Galaxy S II Original Android Development] wurzelsepp3:
I don't thinks it's worth the effort.

I'm definitely looking forward to this feature, I want to use MIUI or CM7 but HDMI-out keeps me sticking with Sammy Roms. With Dual-Boot we could have the best of both worlds.

Can someone tell me more about this hidden partition? How big is it and why does ot even exist when it's not used?
[Galaxy S II Original Android Development] alcurtis93:
Wow now that's a good set of results. Thanks mate!
[Galaxy S II Original Android Development] blaex:
please keep the device cool and smart - it may damage the device or reduce lifetime of other components on the soc ... (display-controler/display/battery-electronics)

i common there is no default oc in your kernel, if you wanna start a extrme kernel edition - that would be great otherwise keep the main reason performance-battery-lifetime, for the most of us the main reason to flash a new kernel - besides the other feature like voodoo/display-dimming pooling and much more)
[Galaxy S II Original Android Development] superleeds27:
best governer and settings for battery? Been using cm9 for a while. Not sure whats changed improved etc
[Galaxy S II Original Android Development] KcDaRookie:
@AMDPOWERFIST: Could you just make a thread and update that post and provide a link to it?

There may be some people who appreciate your euphoria about this testing stuff but it is annoying as hell to read the whole same post over and over again...

If I was a mod I'd already kicked you out of this thread, cause i would consider this spam...

Make your own thread, put a link in your signature and the people who care about your testing can put the thread to their bookmarks..
[Galaxy S II Original Android Development] PedroMRP:
This kernel is not cm9/ics compatible
[Galaxy S II Original Android Development] cmd512:
All of the benchmark posts are annoying.
[Galaxy S II Original Android Development] :
As good as his intentions are i have to agree with KC. It is the same with It_ler. If you want to test kernels and post results best to do it in your own thread and i am sure people would appreciate that more instead of posting big long posts of results in the other threads. Also lets not forget what results one phone might get might be different for another one. And plus it all depends on how one user his phone. So in my opinion these kinda tests are pointless but for others might be useful. Apologies if you find this post rude it is not meant to be just pointing out my opinion. Plus to actually find out how good a battery and kernel works is by using it on a daily basis not by running tests.
[Galaxy S II Original Android Development] stylez:
Just going to echo this benchmark/Tests to be posted in the general Siyah thread or set up your own.

All the tests are based on so many variables i'm the same as most tech it's how the device plays in hand that matters most and to be honest don't care about battery as have a charger :D
[Galaxy S II Original Android Development] :
Well said ninja. Different handset varies from others and depends how the kernel works for each individual phone
[Galaxy S II Original Android Development] hwwr:
Hi guys, jus wondering if its possible to change the brightness of the sensor to b brighter whn on auto brightness.

Because the auto brightness seems to be dimmer as compared to other kernel.

Thx. :)
[Galaxy S II Original Android Development] ilikesamsung:
Thanks a lot, AMDPOWERFIST.. although it was a wrong place to post, but was helpful to me.. was wondering why is my battery drainage so high when using internet, it was depleting at like 1% per 10 mins... now changed to 2.6.7, and lets c how
[Galaxy S II Original Android Development] ksantoshh:
Check if the settings > Sound > Haptic feedback is checked.
[Galaxy S II Original Android Development] stevehkim:
anyone have a copy of the 2.6.7 att zip before GK did the wifi changes?

MIUI rommed, SIYAH kernel synthetics, V6 supercharged, struck by a bolt of THUNDER!

I777 SGS2
[Galaxy S II Original Android Development] omniwolf:
2.6.7 pre wifi changes

[edit] sorry this is for the i9100 only [/edit]
[Galaxy S II Original Android Development] ksantoshh:
1. Download the attached zip "GPS settings.zip" file and extract it on your PC

2. Open the gps.conf file and replace the existing region and country servers with the one you require (Visit the site for your region and country servers: http://www.pool.ntp.org/zone/@)

3. Copy all the the 4 file to your sdcard

4. Using a root file explorer ,Create a backup of the original gps.conf file in /etc folder and delete the original file

5. Using a root file explorer copy all the 4 files to /etc.

6. Give them all the permissions ((Owner/Group/Others - Read) (Owner - Write))

7. Install GPS Status from the market

8. Reboot your phone

9. Open GPS status app, goto tools>Manage a GPS State > Download

10. Wait for the stats to fix ( 10-15 min first time)

After the stats fix, your GPS should get a lock in 5-10 secs depending upon weather conditions.

Hope this helps!
[Galaxy S II Original Android Development] UpInTheAir:
If you are running a JKay compatible ROM, (read his post 1 & 2), the deluxe settings app has an option for various screen autobrightness profiles, and much more....

http://xdaforums.com/showthread.php?t=1154278
[Galaxy S II Original Android Development] ksantoshh:
Just to Add to what droidphile already mentioned nicely.....

Guys reporting problems with logs will help the developers vastly.

How To File a Bug Report with Logcat:

• Install android sdk

• Install drivers for adb on PC

• connect phone to PC

• open cmd.exe or terminal

• type 'adb logcat' without the quotes

• start the app that causes the issues

• wait for the app to close or get to the error

• copy logcat contents and put in pastebin

• copy pastebin links here

How To Find Wakelocks:

• Install android sdk

• Install drivers for adb on PC

• connect phone to PC

• open cmd.exe or terminal

• type 'adb shell cat /proc/wakelocks > wakelocks.txt' without the quotes

• copy contents and put in pastebin

• copy pastebin links on your post

How To Get dmesg logs:

• Install android sdk

• Install drivers for adb on PC

• connect phone to PC

• open cmd.exe or terminal

• type 'adb shell dmesg > dmesg.txt' without the quotes

• copy contents and put in pastebin

• copy pastebin links on your post

Before filing a bug report, please consider the answer to these:

•Is the bug reproducible?

•How do you reproduce it?

•What is the expected behavior?

•What actually happens?

Credit to Original post : http://androidmeda.com/forum/index.php/topic,12.0.html

---------- Post added at 11:33 AM ---------- Previous post was at 11:20 AM ----------

Without anykind of debugging logs,its difficult Bro ! Try pasting the logcat,wavelocks , kmsg etc
[Galaxy S II Original Android Development] stevehkim:
omniwolf thx man. but i need previous wifi change 2.6.7 for att i777

MIUI rommed, SIYAH kernel synthetics, V6 supercharged, struck by a bolt of THUNDER!

I777 SGS2
[Galaxy S II Original Android Development] Codex0:
I noticed one odd thing since installing siyah, when my phone is off and charging the indicator has a warning triangle over the battery symbol. Stock kernel or miui default kernel charges normally, is this a bug?
[Galaxy S II Original Android Development] MistahBungle:
Just tried charging with phone off (only installed 2.6.7 yesterday so hadn't tried it until now), not seeing this warning triangle (just the green battery).
[Galaxy S II Original Android Development] gokhanmoral:
that happens if the battery is fully depleted and there is no enough juice to boot the device. it is a warning and it goes away after several minutes.
[Galaxy S II Original Android Development] KcDaRookie:
we are not telling you to stop and people still will read your work if it is on an own thread, it's just about sticking what this thread is meant for, and that is the kernel and problems people are facing with it, your efforts with benchmarking and also for example gekos or pikachus who are providing tweaking scripts are appreciated by the people that have an interest in this.

it's not about making you down but this thread is already spammed too much, and since your testings are already known in this thread you should have no problems with people not visiting your thread!

further more they would always know where to look for updates instead of searching the whole thread for your post.

hope my first post didn't offend you too much, sorry for that, it may was a little too harsh.
[Galaxy S II Original Android Development] mobs84:
I used to like Siyah for performance modding but never considered as a stable and allround kernel. My favorite kernel till date was SpeedMod-K2 18 but after using Siyah v 2.6.7 I guess I'm converted... :)

Now I get best of both the worlds without changing the Kernel. Almost perfect! Great work and thanks.. :)
[Galaxy S II Original Android Development] ziroxs:
To be honest, its a great kernel.

- Very good and fast deep sleep

- very small android os and android system usage (never seen a better, its kernel related? )

- ~ 0.5% usage per hour with Wifi on and sync of 6 email accounts (googlemail with 5 labels) Compared to 1% with my old configurations.

- ~ 1 hour web browsing XDA App --> ~9 % usage

- I could now again use my old extreme undervolt settings which are not worked since 2.6.3

I assume to have in 48h the possibility to reach 6-7 hours of display time.

With my ROM it get now a impressed smoothness.

Gokhan great job. thx
[Galaxy S II Original Android Development] ercxar:
wow, didn't know that you developed an application for generating scripts, interesting .. but I meant that it was cool to knew each script will do what and it's very joyful to learn those in that script writing mode, you know.

but very useful generator, thanks I'm gonna try it out:D

Sent from my GT-I9100
[Galaxy S II Original Android Development] jzsax1:
Fonts render quality

ok... so i installed the Kernel on top of CM7.1 and the fonts render quality is not very good. Heavy interpolation no matter what font i use! is this normal or should i use another rom or perhaps a setting i am missing..?:confused:
[Galaxy S II Original Android Development] rab1412000:
Anyone ever use an otg cable and external storage successfully with this kernel?