yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] olifee:
Glad it worked! :)

That means that technically, SDCARD-mounting should work. Somehow, it is not done when the system is booted, or done too late / early in the process (something that conflicts with the init-script-delay in Siyah maybe).

So it seems the ROM does something "unusual".

It is expected that you do not see anything in RootExplorer / Android File Manager, I just gave you something to check whether it 'should' work ;-).

Is it also impossible to 'attach' the SDcard in 'System Preferences' => Storage? (not sure about the correct names of the menu, I am on a german android os here).

One thing you may try now is to execute in a root-terminal:

mount /dev/block/mmcblk0p11 /mnt/sdcard

This should 'fix' the problem until the next reboot. It will not use the "normal" android way of mounting the SD, though, so it might cause problems somewhere (though I would not expect any).

I will also post this to dev-thread now, as I hope we have collected enough debug-information for gokhanmoral to look into this (if he has time).

Thanks! :)
[Galaxy S II Q&A, Help & Troubleshooting] Scoman:
@olifee

Everything as you expected!

Your advices make me mounting the internal SDcard and all seems to work perfectly.

Now I'm thinking to compile a simple script in GSscript to continue to use the last Siyah and not the beta version ^^

If you contact Gokhanmoral to inform him about this episode, don't forget to specify that a dalvike cache wipe and reboot resolve the problem too (until next power off...)

Bye and thanks a lot!I enjoyed! :D
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
He has already submitted your problem to the dev thread sir. He wrote it really good. Captured your problem exactly :)
[Galaxy S II Q&A, Help & Troubleshooting] droidphile:
For people who are using lulzactive governor, as you know the frequency is locked to minimum freq when screen is off. So if you're using 25 mhz, waking the screen might take a sec or two.

To solve this, you can use a screen off profile (script/setcpu) of 25-500 with smartassv2 governor.

So when screen is on, you can enjoy the new lulzactive and when screen is off, since governor is smartassv2, it scales down to minimum frequency rapidly.

And when you wake up the screen, smartassv2 scales up to 500 mhz rapidly. Voila! Screen on is quick. [Then, obviously governor is changed back to lulzactive]
[Galaxy S II Q&A, Help & Troubleshooting] ziTney:
UPCOMING v.2.2beta1 changelog:

° init.rc changes to support ICS (not yet finalized)

° xz compression support. better compression with faster decompression (boot). not as fast as gzip in decompression but size matters more for me

° initramfs fixes to get rmmod and modprobe working (thanks to smitna)

° blue color in CWM recovery 5.0.2.7, again with back button support

° reverted some files and the speed is better now. I don't know the reason yet but it should be as responsive as v2.1beta14

° -msoft-float replaced with -mhard-float in some Makefiles. may increase speed but even if it doesn't it will not it worse

° re-enabled ARM_ERRATA_753970

!

Whoop whoop! Bring it on Gokhan:D

Sent from Samsung Galaxy S2 ->XDA Premium App
[Galaxy S II Q&A, Help & Troubleshooting] chris331022:
I'm now on v1.8:

If I disconnect my phone from the usb port it freezes. How can I remove this failure?
[Galaxy S II Q&A, Help & Troubleshooting] BoneMo:
why to stick on 1.8...try 2.1.1 :)
[Galaxy S II Q&A, Help & Troubleshooting] jayerfernandes:
How do I change the minimum frequency?
[Galaxy S II Q&A, Help & Troubleshooting] chris331022:
I had already tried 2.1.1, but with 1.8 my battery lives much longer. But I'll try it again soon.
[Galaxy S II Q&A, Help & Troubleshooting] Chris_J:
So, I've been getting into this voltage control malarkey using Voltage Control app. I've been playing around to find settings that suit my particular needs and I'm starting to get some results.

My major problem, however, is that the phone is not retaining the VC settings on reboot. I eventually found the "Save Boot Settings" option and thought I'd cracked it. The software reports that it has saved my profile to the init.d file, but unfortunately, it still isn't retaining the settings on reboot :mad:

I didn't really want to start delving into the files and manually editing them, as I don't really know enough at the moment. I'd rather have VC generate a script for me and just "set and forget".

Any ideas?
[Galaxy S II Q&A, Help & Troubleshooting] bunnybash:
I am using Rarity Rom and when I use your latest kernal if I am manually switching between 2G and 3G the phone often freezes up and the CPU goes crazy, well I presume the CPU does, as the phone gets CRAZY hot and loses about 15% battery in around 4 minutes... until I pull the battery.

When I use Speedmod I don't have this problem.

I am not using setcpu or anything to mess with the cpu speed or anything...
[Galaxy S II Q&A, Help & Troubleshooting] fasst:
I had the same problem, with max_freq. Someone tipped me about editing s_volt_scheduler script in init.d and type sleep 30 at the top of the script.

That solved my problem.

It seems that the mediascanner at boot screws things up and the max_freq wouldn't stick. It reverted back to 1200mhz.

Try, sleep 30, and let us know. If it works you at least know you that it's probably caused by mediascanner.
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
Try going to 2.1 rc3 as a test and let me know if the problem happens.

http://www.gokhanmoral.com/gm/2011/10/30/v2-1-rc3/
[Galaxy S II Q&A, Help & Troubleshooting] halkoliiteri:
They made some changes for kernel in the latest CM-nightly (led-notifications). Anyone tested does the latest Siyah work with latest nightly without problems?

:edit: 2.2b1 and cm106=working fine
[Galaxy S II Q&A, Help & Troubleshooting] PedroMRP:
They do not work, touch key light always off and options are desactivated...

I saw that you changed your post... did you do something to make it work? my sgs2 with siyahkernel 2.2b1 and cm7.1 nightly#106 led notification and touch key light do not work...
[Galaxy S II Q&A, Help & Troubleshooting] halkoliiteri:
Siayh needs BLN-control to operate led-notifications. I have bln-pro and it works fine with CM106+Siyah 2.2b1. If you want to use led notifications via settings-menu, you need to use cm-stock kernel which has now DvTonder's led notification code included (=previously Sparkz-kernel).
[Galaxy S II Q&A, Help & Troubleshooting] orizzonteverticale:
How can I set the lowest step of cpu freq from 100 to 25 mhz and the highest from 1600 to 1696 mhz?
[Galaxy S II Q&A, Help & Troubleshooting] nikzDHD:
Deodexed KJ2 and latest siyah is a great combination.

Red signal loss whilst I was on train, wifi on, data on. 100 to 1000, lulzactive and undervolted, sio i/o.
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
Nikz is your's stock deodexed rom?
[Galaxy S II Q&A, Help & Troubleshooting] nikzDHD:
It sure is.
[Galaxy S II Q&A, Help & Troubleshooting] ram3n:
Latest beta works very well !

Siyah-v2.2beta1-CWM.zip

http://www.multiupload.com/H10WC6S18L

Maybe could help some of you :D
[Galaxy S II Q&A, Help & Troubleshooting] nikzDHD:
Cheers going to try it out now, 2.1.1 was working great.
[Galaxy S II Q&A, Help & Troubleshooting] crypticc:
Check 1st post mate for init.d script and 2nd post for example settings to try out. I use voltage control app to create the basics and then edit or add lines to that.
[Galaxy S II Q&A, Help & Troubleshooting] BoneMo:
Looking forward:)

looking forward v2.2b2 :) hope for no bootloop problems mentioned
[Galaxy S II Q&A, Help & Troubleshooting] yoplaboum:
Mirror updated : http://www.aideadsl.com/sgs2/kernel/

Works fine on my phone like the famous beta14
[Galaxy S II Q&A, Help & Troubleshooting] BoneMo:
did u used CWM.zip or a .tar ?

hm thats strange...somebody has boot problems...for somebody else it is working OK.....so i cannot still decide whether to update from 2.1.1 or not :(
[Galaxy S II Q&A, Help & Troubleshooting] bervin:
Is there a great difference in bringing down the bus frequency? Just curios. I mean in terms of battery savings VS performance
[Galaxy S II Q&A, Help & Troubleshooting] fasst:
Could someone confirm that they have flashed 2.2.b1 without problems on stock XWKJ2?

BTW. The problem, at least what I'm experiening, ist NOT bootloop. I get stuck at boot, and the logcat shows looping in this state.

So for my part there is no bootloop.

Edit: Stuck on boot confirmed solved in 2.2.b3
[Galaxy S II Q&A, Help & Troubleshooting] pigeldi:
2.0 was working fine, but I have an issue with 2.1.

If I undervolt with SetCPU after some time my phone just turns off (which I do not notice, as the screen of course just stays dark. As long as I leave the voltages it seems to have no problems. I have already raised the 100 MHz voltages by 25, but that does not make a difference.
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
You tried 2.1.1?
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
The 2.1 versions are based on new sources released by samsung and this invalidates any previous undervolting settings. You should start again from the stock settings and work your way down until you find your new stable setting.
[Galaxy S II Q&A, Help & Troubleshooting] pigeldi:
Yes, I am using 2.1.1.

So because of those new sources I can not undervolt as much as I could before? Then what advantages are there with these new sources besides those disadvantages? ;-)
[Galaxy S II Q&A, Help & Troubleshooting] Chris_J:
Hmm, oddly, the profiles now survive a reboot. I didn't change anything and I had rebooted countless times in an attempt to get the settings to stick. Very stange, but I'm not complaining :)

If it decides to forget them again, I'll try the sleep 30 trick.
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
That it's based on the newer samsung sources? :P Newer sources mean a lot of bug fixes and newer driver directly from samsung, which is always a good thing. Also gohkan constantly optimizes his kernel so for the most part newer == better. Remember that undervolting is only a small part of the overall workings and that it's savings are probably negligible. You can always do a test run with the new kernel on stock voltages (or your new stable uv values) and see if it really makes that much of a difference to your overall usage. Everyones phone is different and everyone uses theirs differently :)

---------- Post added at 03:26 PM ---------- Previous post was at 02:28 PM ----------

Newest beta3 available on gokhan's site fixes the problems with dalvik-cache rebuild on reboot and has been confirmed to work with stock ROMs. If you have hesistated to flash the new version because of these problems, you can now give it a try... if you dare ;)
[Galaxy S II Q&A, Help & Troubleshooting] janreiviardo:
Installed 2.2 beta 1 using CWM Zip. No problem at all. =)
[Galaxy S II Q&A, Help & Troubleshooting] yoplaboum:
2.2 beta3

Mirror updated: http://aideadsl.com/sgs2/kernel/
[Galaxy S II Q&A, Help & Troubleshooting] chadouming:
yay, 2 new betas in 1 day, the return of the beast :D
[Galaxy S II Q&A, Help & Troubleshooting] bunnybash:
It doesn't happen with that kernel either, so something magic in what you did fixed it! Thanks
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
If that is working for you it's pretty solid so far. If you do adventurous you can try the 2.2beta3 I just flashed it here seems pretty good so far took a while to bed in after flash but finally my lockscreen came up I am on a deodexed stock xwkj2 pretty speedy.
[Galaxy S II Q&A, Help & Troubleshooting] maxeli:
Had a solid 41 celzius all the time with 2.1.1 kernel compiled with miui rom v4.0.. And when i use the phone it jumps to 46 celzius... My back cover almost started melting... No oc/uv,just standard values...when i flashed back to another kernel and rom the temperature fell down to 26 celzius immediately while charging+ usage... Any1 else having these issues?
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
Is this miuiandroid 1.11.4 ? When I used galnet 1.11.4 I was using 2.1.1 anti-lag but experiencing no over heating was the media scanner going crazy?

I rolled back to 2.1rc3 and it was a lot smoother. or try 2.2beta3

At the moment I am back at stock at the moment with deodexed xwkj2 rom running latest beta so far so good.
[Galaxy S II Q&A, Help & Troubleshooting] loveleeyoungae:
A very noob question: I used script to set max_freq=1000MHz, min_freq=25MHz and lulzactive. However, the actual value echoed to scaling_max_freq is always 1200MHz. Only when I changed to other governor would it use the 1000MHz value I set.

So, is it a normal behaviour of lulzactive? As I read on its author's blog, by default it has 5 steps 200-500-800-1000-1200. But in that case, why would it still use the min_freq 25MHz I set?
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
This is a know problem if you use init-scripts to set up the kernel. Some process (probably the media scanner on boot) resets the scaling max to 1200, because it runs later than you init-scripts. You can protect your settings against this by adding the following line *after* the line setting the maxfreq in your script:

chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
[Galaxy S II Q&A, Help & Troubleshooting] yoursong:
Hi,

just like a few people already noticed transparent proxies like Tor / Orbot don't work with the Siyah kernel because of missing NAT owner modules. Anyone got a clue how to get it working? Get them included/loaded?

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] halkoliiteri:
Noob question.

How can I make a init.d script which sets IO scheduler to SIO, NOOP etc. In startup?

:edit: nevermind. Just copy-paste KWERDENKER (from this post http://xdaforums.com/showpost.php?p=18899179&postcount=2 ) IO-script and change the values and set right permissions and reboot. :)
[Galaxy S II Q&A, Help & Troubleshooting] splatboy:
How can i revert back to cm7 kernel if i'm running cm7 with siyahkernel now? Just flash the cm nightly package twice in cwm or.. ?
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
yes do a Cache & dalvik wipe then flash CM twice or locate the cm kernel and flash over siyah and don't forget to wipe cache & dalvik
[Galaxy S II Q&A, Help & Troubleshooting] cross84:
i installed 2.1.1 yesterday and my phone started to freeze randomly. Sometimes when i try to wake it from sleep and sometimes even while i was using it. I use Smartass v2 governor and noop scheduler. Tried changing it to SIO but there is no improvement.

Also intalled de 2.2 beta 3 but still have the same problem. I didnt do no undervolting or overclocking or anything like that, and my phone ran great with siyah 2.0.

Any clues to what may be happening? Or at least any link to download 2.0, i forget to do a backup :S

PS: my rom is Touch X-POWER+ [XWKI8] 1.0 SP1
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
If I remember this correctly, that ROM comes with undervolting scripts baked in. If he still uses my scripts as a base, the script should be named 96undervolt and you should find it under /etc/init.d/. If that's the case, just delete that script and your problems should dissapear.
[Galaxy S II Q&A, Help & Troubleshooting] randomhkkid:
Anyone flashed the 1000ma mod????

The one on the first page
[Galaxy S II Q&A, Help & Troubleshooting] bgx:
Would like to know what's better for low battery drain if we can choose with b5 if we want 1 or 2core?

- 1 core with 800mhz

- 2 core with 400mhz

and what's width smoothness about the two opportunities?
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
Now that's a tough one to answer because of too many variables involved. You should get the idea of cores multiplied by frequency equals overall performance out of your head though, because that's not how it works. At least not on modern multi-cores with correctly adapted operating systems. Like I said, there are much more factors to consinder.

I'd say though, that the current implementation of dynamic switch is probably the best solution in terms of compromise between battery and performance. Limiting the phone to only one core might make sense in certain situations like screen-off wakelocks, but that's already implemented. Sure, if you want to conserver as much battery as possible you could switch to one core at 400Mhz or something, but than you could also just have bought one of the smaller speced phones and saved yourself a lot of money ;). That just how I tend to look at it ^^
[Galaxy S II Q&A, Help & Troubleshooting] bgx:
Ok, that's the same answer I would give to this question! Thank you for guide me that I'm right! ;-)
[Galaxy S II Q&A, Help & Troubleshooting] pan24:
does this kernel support auto-ntfs mount?
[Galaxy S II Q&A, Help & Troubleshooting] Pender666:
Congratulations gokhan for great kernel. It's the best kernel around to gs2.

I've question. Do you have plans to implement bluetooth stack support?

I've icontrolpad and I can't connect it directly, I must use bluez ime to map buttons and axis to keyboard.

It would be a nice feature.

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] :
Excactly the same here! Worked perfectly the last days and now I got randomly freezes. Same error with the New beta.
[Galaxy S II Q&A, Help & Troubleshooting] tvhak:
the new kernel siyah v2.2 beta5 sound good.

must say that siyah v2.2 beta 3 works very good on my phone.

untill now that one gives me best battery
[Galaxy S II Q&A, Help & Troubleshooting] cross84:
i did what you sugested but it still freezes randomnly, i even deleted 97undervoltgpu with no better luck

any other sugestions??

or at least some place to download siyah 2.0 please

thanks
[Galaxy S II Q&A, Help & Troubleshooting] dragon546:
Search for user called incubus_fr his has a mirror of most of Siyah Kernels
[Galaxy S II Q&A, Help & Troubleshooting] loveleeyoungae:
Sorry, but do you mean that its a built-in feature of Siyah?

I'm asking because I see the switching off 2nd core when screen-off script by fenomeno83.

It also links me to another question: Do scripts in init.d only run once at boot, if so how can that script periodically check the awake/sleep state?
[Galaxy S II Q&A, Help & Troubleshooting] kwerdenker:
If I don't mix up something here (could happen, I read a lot of stuff here ;) ), it's even a feature of the standard kernel samsung gives you with your shiny new phone. The idea of switching of the second core in screen off comes from an older dual core phone (don't remember which one), because there the kernel didn't implemented it. With siyah and the right governor such thing isn't needed anymore.

Yes, init-scripts only run at boot because there job is to do the initialization of the system. How this script manages to cirumvent this? Have a look at these two lines:

(while [ 1 ] ;
[...]
done &)

What happens here, is that the script spawns a second shell-process (through the () ) in which a loop (the stuff between while and done) always checks if the system is awake or in sleep and adjusts some settings accordingly. The & then sends this process to the background, so it's running along the rest of the system.
[Galaxy S II Q&A, Help & Troubleshooting] crypticc:
Workaround on dev thread. Last couple of pages as of now
[Galaxy S II Q&A, Help & Troubleshooting] ivangs1:
Can anyone share info about battery drain with 2.1 beta 14 and 2.2 beta 4.

Is there and improvement with default settings - especially about CM7?

Now i am with CM7 105 + 2.2. beta 4 but on first tests battery life is worst compared to beta 14 with default settings.

Also i have noticed that with beta 14 the version of kernel is 2.6.36 compared to current 2.6.35.14.

What is the difference - can anyone explain?
[Galaxy S II Q&A, Help & Troubleshooting] bgx:
Sorry moved to maintopic!
[Galaxy S II Q&A, Help & Troubleshooting] TheFaixy:
after flashing 2.1 darknight i cant seem to install other kernel tried flashing 2.1.1 and 2.2b1 through CWM manager but it says no zImage found have tried wiping cache and dalvik cache

proximity sensor not working ?

P.S opened the zip file and zImage was there
[Galaxy S II Q&A, Help & Troubleshooting] loveleeyoungae:
Wow, thank you kwerdenker for your very nice explanation! :)
[Galaxy S II Q&A, Help & Troubleshooting] ludester:
You have to unzip and place the zImage file on the phone or sd card then use CWM Manager to flash kernal.

Or you can use ODIN and flash the .tar file however you will get the Yellow Exclamation back on boot up.
[Galaxy S II Q&A, Help & Troubleshooting] alphazo:
I flashed the latest v2.2 beta5 but had to go back to DK 2.1 because all the fancy animations in GoLauncher EX became very very slow with this version.
[Galaxy S II Q&A, Help & Troubleshooting] gabx:
2.2 beta5

Hello,

I am following the Siyah Kernel saga since a while now, and tested mostly all Kernels.

2.2beta 5 is not usuable, as app drawer is much more lagy, as login after the loginscreen. In fact, a lot of stuff are very slow, near impossible to use.

Back to 2.2beta4.

Very nice kernel as for battery life : almost 2 days with normal use.

TY for your work
[Galaxy S II Q&A, Help & Troubleshooting] bala_gamer:
Beta 5 is pretty fast and amazing for me!! But it may always vary user to user depending upon their config
[Galaxy S II Q&A, Help & Troubleshooting] tvhak:
v2.2 beta5.1 is working best on my phone...
[Galaxy S II Q&A, Help & Troubleshooting] nikzDHD:
Please try out beta 5.1 for those having lag issues, no more lag on this version. New graphic drivers seem to cause this issue.
[Galaxy S II Q&A, Help & Troubleshooting] jona29:
i have no idea how to compile /edit a kernel but is there a beta version with a higher o/c than 1.6 ghz available ?

maybe 1.7 -1.8 im daring enough to try it
[Galaxy S II Q&A, Help & Troubleshooting] CamoGeko:
Running Siyah's Dark Knight 2.1 beta1 kernel for about a day now, seems very stable and battery efficient. Have had one random reboot and one time it froze, to be honest thought that could have been down to my undervolt settings.

SmartassV2 governor is giving decent results as well. Think it's the best one to use on this kernel.

Thanks for your work. Looking forward to the next release. :)
[Galaxy S II Q&A, Help & Troubleshooting] alphazo:
v2.2 beta5.1 fixes the lag issue I had with GoLauncher. That was quick!
[Galaxy S II Q&A, Help & Troubleshooting] smitna:
beta 5.1 init scripts in /sbin/siyah, Quadrant vs AnTuTu

Hello Gokhan,

as always thank you very much for the new kernel.

I tested beta 5.1 and it's working very well so far. I am waiting for the final sources because of my passion to build more modules :)

I noticed one thing:

The script /sbin/siyah/busybox.sh did not run after the first reboot directly from CWM and there were broken links to the busybox (wrapper) in /sbin. I have looked in your script but could'nt yet find a error. After the second reboot the script was started as expected.

In init.d there is a typo (lost "y"):

/sbin/busbox sh /sbin/siyah/modules.sh

One remark regarding benchmarks (I am not a friend of unreal "synthetic" benchmark scores):

I noticed that Quadrant can not use the two cores in our phone (tested with a open terminal /htop 0.9). Max. 50% load on every core, tested with Tegrak's tool "2nd Core" in dual core mode and oc to 1600 MHz. The load while running AnTuTu on every core is 100/100.

thanks.
[Galaxy S II Q&A, Help & Troubleshooting] olifee:
You actually beat me, I just found the missing 'y', posted in dev-thread and then looked here ;).

As this is the Q&A-thread, I have a question: Are there any special modules you (want to) build? Just to give me some new ideas to try out with this 'phone'. :D

My earlier experiments with DVB were not that successful, but I got an FTDI-device working (which is now, sadly, in an experimental setup).
[Galaxy S II Q&A, Help & Troubleshooting] smitna:
Hello olifee,

yes, but I beat you only for a few minutes and you have the advantage to have the permission to post in the dev thread ;)

Mainly additional filesystem modules and modules regarding networking (nfs/nfsd). I also want to try out some USB drivers. DVB is an interesting "approach". But I am not sure that this will be successful because of the lack of a working xserver (native) to show the stream. Do you have some ideas?