yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] Ba7rani123:
there is something keeping your phone away I dont think its the wifi use "Better Battery Satus", Also I think you had a reebot at 40% approx ?
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
:D:thumbup:
[Galaxy S II Q&A, Help & Troubleshooting] bluepratham:
yep.i did a reboot on my own as the multiwindow left its trace as i was using browser..installed bbs.will report back
[Galaxy S II Q&A, Help & Troubleshooting] SoLoR1:
If i use this script in my init.d stweaks settings gets reseted every boot... however your init.d script is working fine...
[Galaxy S II Q&A, Help & Troubleshooting] parag1dubey:
Siyah 6.0 b4 settings for best battery life????
[Galaxy S II Q&A, Help & Troubleshooting] Spacemonkie4207:
Max cpu 500mhz

Conservative/SIO

:P
[Galaxy S II Q&A, Help & Troubleshooting] Tungstwenty:
Surely there's some process writing to /sys/* which might be overriding STweaks settings, right? That's the reason to run an init.d script with a 45s sleep time.

I was looking for a possible way to detect which one and although I found something useful, it's not a sure thing. Anyway, here it is:

inotify is a mechanism for listening to accesses (reads, writes, etc.) on folders or files.

To use it, we need a busybox binary that includes the appropriate applet. Its site mentions inotifyd, other places mention inotify-tools, but the binary we have does not include these.

I found a precompiled busybox version with inotifyd here: http://code.google.com/p/yangapp/downloads/detail?name=busybox-1.20.2r2

Placing the file on e.g. /data/local/tmp/ with 755 permissions then allows us to do something like:

/data/local/tmp/busybox-1.20.2r2 inotifyd - /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

which will block and write to stdout ("-" argument) all accesses to that file.

Doing a cat of that file from another shell will make that one output:

r /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
a /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
0 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Similar stuff will occur for writes.

The problem now is knowing WHO is doing the changes.

There's no info on the pid or uid triggering that access event, for inotifyd to present.

One of the options would be to launch "lsof | grep scaling_governor" and hope that by the time this runs (launched by inotifyd), the process still has the handle open (very unlikely). Another thing to try would be saving dmesg to a file, runnins ps, etc. and also hope that at least the process is still running and can be pinpointed.

Perhaps the only way would be to have someone include changes in the kernel so that additional info is passed on the inotify event - and the inotifyd code would also need to be changed to display it.

Here's a kernel patch I found: http://lwn.net/Articles/307536/

EDIT:

Another way to go would be with the audit mechanism.

It's not present on android, but this project provides the needed extras (kernel needs to be compiled with CONFIG_AUDIT=y and CONFIG_AUDITSYSCALL=y): https://github.com/nwhusted/AuditdAndroid

I also don't know for sure if this is enough to trace back the responsible for the execution, as a mere display of the executable might show simply "sh" or "su" and uid=0 ...
[Galaxy S II Q&A, Help & Troubleshooting] loopism:
I'm running Neat ROM 4, and can't flash Siyah 6.0b4. This is the error in recovery:

Installing update ...
assert failed: (getprop("ro.product.device") == "u0" || getprop("ro.build.product") ==
"u0" || getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100"
|| getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100")

The only references I have found to similar problems is when the build.prop file has incorrect values for those variables, but the /system/build.prop on my device has GT-I9100, which matches what the script in the kernel zip is expecting.

Anyone seen this and worked around it?
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
Have u tried flashing the .tar version of siyah v6.0b4 vide Pc Odin, if not try the same and see:)
[Galaxy S II Q&A, Help & Troubleshooting] It_ler:
If you don't want to flash tar file in Odin (or Mobile Odin app), you can flash PhilZ-cwm6 kernel v3.99 first, then you can flash SiyahKernel zip file.

Phil has "fixed" the getprop function in his latest kernel/CWM recovery version.

It worked fine on my phone.

Good luck !
[Galaxy S II Q&A, Help & Troubleshooting] AllSeeyinEye:
Or you could flash the tar with mobile odin or with rom customiser app from Ficeto

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
Option 20 to install Siyah Use the force.

Option 21 to install Siyah use the flux capacitor to connect to usb port and run battery up to 88 miles I mean 88%...

:D:p
[Galaxy S II Q&A, Help & Troubleshooting] Mr.Greg:
I believe this is the best solution and should be posted in OP:D:D
[Galaxy S II Q&A, Help & Troubleshooting] hyperthrust:
LMFAO. You two a proper double comedy act. I wet myself laughing. :D:thumbup::thumbup:

Funny I actually thought the brilliant Tungstwenty was actually calculating the formula for time travel on top of fixing the stweaks save settings .

All that complicated stuff goes over my head. :o

:p:D;):thumbup:
[Galaxy S II Q&A, Help & Troubleshooting] Tungstwenty:
You might have forgotten to bang your head on the bathroom sink...
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
LMFAO. Good one. :D:D:thumbup::thumbup: Or as doc Brown would say. GREAT SCOTT!
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
Good day Mr. Moral, I hope you still read this thread.

First of all, let me thank you for releasing this beta4, you made one married man happy.

It may take few workarounds to have it fully functional and since you don't have SGS2 anymore, thank you once again for your time and effort to make Siyah for JB leak in Beethoven style.

If you find this of any use I'll write down few of my observations but I believe you have better ways of using your time.

1.In STweaks if I tick mDNIe Sharpness Tweaks and untick Auto-Install Root>save changes>then tick it and save again, choose lulzactiveq it sticks after reboot.

2.If I do the same and select lulzactive, userspace comes up.

3.If I untick Auto-Install Root it all reverts to ondemand.

4.With ondemand governor and cfq scheduler I had 2 spontaneous reboots (log of 1 attached) while WiFi On, (it happened while I was checking something in PlayStore) but after fully formatting and reinstalling everything no such thing happened. I did experienced phone freeze while SD card initializes with ondemand governor and cfq scheduler but don't have that log.

5.With pegasusq and row never a single issue (via init.d. script)

View attachment dumpstate_RESET_BY_ITSELF_20121227182347.txt

I use NeatRom JB Full which should be somewhat native JB leak.

I'm not any kind of expert but I have eyes and hands so if you want to point me and do some tests, I'm willing to throw my phone off the roof if it helps.

And thank you once again for your work. Your Siyah Gingerbread FAQ and droidphile's guide were the only things I've ever needed to know about this phone.

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] mauro79:
The Beta4 is very good. I used it with Armageddon ROM
[Galaxy S II Q&A, Help & Troubleshooting] It_ler:
+1

Can confirm that SiyahKernel v6.0b4 works fine on the leaked JB ROM.

It had best battery life on XXLSJ NeatROM Lite on my phone.

Check my battery test results in my thread (link is in my signature).
[Galaxy S II Q&A, Help & Troubleshooting] t-pip:
Just had a freeze on home screen using b4 and Alliance Rom.

last_kmsg http://pastebin.com/EKx1Csiz
here
[Galaxy S II Q&A, Help & Troubleshooting] SoLoR1:
i just had first SOD (ever i think...)... anyway pegasuq/sio, GPU default steps reduced last two to 200/267 (and with it voltages to 1050/1100). Rest of settings shouldnt influence (sound/screen/led). One thing i noticed after i rebooted is i lost all sweaks settings... Last kmsg attached if it will help...
[Galaxy S II Q&A, Help & Troubleshooting] robertogl:
what is' partition internal sdcard' in advanced menu? (siyah 5.0.1)

Can i for example expand the app partition to 3gb?
[Galaxy S II Q&A, Help & Troubleshooting] m1trand1r:
i tried to partition on doris kernel which has the same recovery and in siyah below 5.0 at the time but it doesn't work at all...in fact...i was warned by xda user that this is risky thing and can mess up sth with partition table....but i don't really know what mess can be done...all i know is that this option doesn't work for me:)

Sent fom my S-II running CM-10 by mcm811 powered with DorimanX kernel 7.35
[Galaxy S II Q&A, Help & Troubleshooting] Skully☺:
Yes you can, however all the content on your internal sd card will be wiped.

With 2GB allocated to the /data partition on a i9100, I don't think expanding it is necessary, unless you have hundreds of apps installed or a huge amount of cached appdata.

See http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/ and http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/.
[Galaxy S II Q&A, Help & Troubleshooting] AllSeeyinEye:
Don't know if it's mentioned before, but cwm backup in v6b4 doesn't work. Okay, it works, but it doesn't backup preload folder, so the backup is useless.

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
It's not exactly useless but it simply doesn't backup preload folder.

1. Backup image is smaller

2. You can add or delete any apk file from preload/system/app folder in your ROM.zip file and then reflash it without wipe, not to mention few other workarounds.

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] AllSeeyinEye:
What's the use of a backup if afterwards you've got to reflash a rom, remove the bloat, reflash mods, make several changes to the rom, etc... That's where the backup was made for.....

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
You're right.

Change kernel.
[Galaxy S II Q&A, Help & Troubleshooting] WardenBerret:
Hi,

I was just wondering if Siyah (latest, NOT beta) 5.0.1 will work on AllianceROM ICS .

This ROM came with it's own Kernel, but i've tried Siyah before and really liked it, so that's why i want Siyah with this ROM, if it'll work of course.

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] AllSeeyinEye:
Wise guy..

Isn't the goal of this topic to share experience and report bugs? It's a beta kernel for gods sake...

Sent from my GT-I9100

---------- Post added at 07:26 PM ---------- Previous post was at 07:25 PM ----------

Yes it works fine with Alliance. But rom customizer won't work as it should, only does that with Ficeto's TWRP kernel.

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] WardenBerret:
Just checked ROM Customizer, nothing really necessary for me, so i'll flash siyah.

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] bpivk:
Odd. It doesn't work on my phone. The latest beta works fine but 5.1 freezes my phone completely (black screen).
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
r u using the JB version of the 'Alliance Rom', if so v5.0.1 will not wrk for u:)
[Galaxy S II Q&A, Help & Troubleshooting] bpivk:
Duh I misread that post. I had Alliance Rom 5.1 in mind not the actual kernel version. Yeah 5.0.1 will work fine on ICS.

P.S.: Just bricked my phone again with the second try. Thank god for Odin. :)
[Galaxy S II Q&A, Help & Troubleshooting] loopism:
Thanks, followed your suggestion and it worked.

Interesting, I did have PhilZ recovery installed (comes with Neat ROM) and that was where it was failing.

Anyhow, Odin worked fine.
[Galaxy S II Q&A, Help & Troubleshooting] It_ler:
NeatROM contains an older version of PhilZ-cwm6 kernel. Phil has changed his CWM recovery only in latest version (v3.99) to fix the getprop method which is needed to flash SiyahKernel zip file.

But glad that you sorted it out with flashing via Odin.
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
I would send a pm to GM with your report on this so write it as best as you can and I'm sure he will fix on next release ;)

The best thing for now to do for backing up is use latest philz recovery. As soon as you done just flash back to siyah. Since the latest philz recovery also now let's you do this without issues :);)
[Galaxy S II Q&A, Help & Troubleshooting] blackbunny96:
From were can I download siyah kernel
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
Oh brother you kidding me right. :rolleyes:

Since I'm in a good mood here. :)

http://www.gokhanmoral.com/
[Galaxy S II Q&A, Help & Troubleshooting] Ruben1987:
I can confirm that with S2-v6.0beta4 Exfat support does not work! Phone keeps rebooting.

I use the XXLSJ leak and back to Philz Kernel v3.99 as he has implemented this feature.

I hope Gokhanmoral and Jeboo with their kernels contact Philz to see how he fixed exfat SD card support and got it working just fine.
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
Guys can you check if your phone enters deep sleep with this kernel?
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
I don't have to check, I know that mate - it does. I've been using Siyah6b4 from the beginning and have had no problems with deep sleep.
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
For some reason my phone isnt entering deep sleep :( any suggestion to help?
[Galaxy S II Q&A, Help & Troubleshooting] lyndonguti:
check it also to cpu spy
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
I cant find the reason. Any suggestion why would this be só long on?
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
I have always the same answer for these kind of questions: prepare a proper dump file by BetterBatteryStatts app according to the guide from

BBS thread

(1st post) upload it there and ask for help. Or you can do that here, someone should analyze it for you. I can also have a look but will have time earliest tomorrow.
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
Thanks :)
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
Try to check this setting before.
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
Just discover the problem. Was an app called secure settings. Deleted :D
[Galaxy S II Q&A, Help & Troubleshooting] lixboi:
Thanks :D :D
[Galaxy S II Q&A, Help & Troubleshooting] thejonesyboy:
BLN CM10.1

I'm running the latest Siyah with the latest CM10.1 nightly. My BLN does not work but I'm not sure if I've set it up correctly.

I can't get any of BLN for SMS, Gmail or missed calls to work. I've enabled BLN in steady mode via ExTweaks/STweaks. I've set up the CM profiles and used the Lights override for each application group.

Am I doing anything wrong?
[Galaxy S II Q&A, Help & Troubleshooting] parag1dubey:
Many40, you always write guides (in your signature) about your battery friendly config. Will you be writing a guide with Siyah kernel too? :)
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
Hi parag1dubey, may I answer because Many already did in NeatRom thread. He just finishes one and he'll post results in red.hat's thread where it belongs.

Here:

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

Please subscribe.
[Galaxy S II Q&A, Help & Troubleshooting] chrisQQ90:
where can i find last siyah kernel?
[Galaxy S II Q&A, Help & Troubleshooting] It_ler:
Hmm ... really :confused:

Click on the button below.

Here is the kernel thread => http://xdaforums.com/showthread.php?t=1555259 (closed)

And here are downloads and changelogs => http://www.gokhanmoral.com/
[Galaxy S II Q&A, Help & Troubleshooting] Spacemonkie4207:
How do you flash this kernel?

Just kidding! :p
[Galaxy S II Q&A, Help & Troubleshooting] electricsheepdreamer:
Hold the power button for 10 seconds.:)
[Galaxy S II Q&A, Help & Troubleshooting] Farooq95:
You can find it right over there......if u can't find it then I'm afraid that u are blind.
[Galaxy S II Q&A, Help & Troubleshooting] Mr.Greg:
This question it's like you swimming in the ocean and asking where can find some water to wet your hair:rolleyes:

I love xda!
[Galaxy S II Q&A, Help & Troubleshooting] Socotroco:
Hi all,

Is it safe to flash the latest Siyah if I'm now running CM10.1??

All I need to do is download it from Gokhan's Webpage and flash it from CWM? Do I need to clear any cache? I wouldn't like to lose my current homepages setup.

Thanks for your answers.
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
This kernel so far was tested only for stock JB 4.1.2 rom. It doesn't support CM10.1 yet and noone knows if it will ever be. GM even doesn't guarantiy if it works on CM10. So knowing what I said it 's up to you to check.
[Galaxy S II Q&A, Help & Troubleshooting] THE RED BLUR:
beta changelog

For those who haven't read the changelog of beta 6 series or have forgotten it here is a reminder

SiyahKernel S2-v6.0beta4

Posted on December 23, 2012

Changelog:

Merged with I9100P JB Sources

Tested only on i9100 jb leak LS6.

Not tested on CM10, even if it boots some features (cam, for example) may be broken on cm10.

No dualboot support yet. I will have to update recovery to support that again, but I have no idea when I will have time for that.

Test it only if you are using Samsung’s leaked JB ROM or it won’t boot

Fixed exynos-mem exploit

added ROW I/O Scheduler

using old Wifi driver, this will probably prevent any wifi related lockups/freezes.

default governor: ondemand during betas, and reverted back to legacy hotplug method (pm_hotplug, as Samsung has in JB kernels). reapplied tegrak’s secondcore patches to pm_hotplug and also added governor-awareness to pm_hotplug which will prevent having two different hotplug mechainsms running simultaneously

beta2->beta3: video recording is fixed. fixed mdnie negative effect problem. gpu voltage initialization is fixed

beta3->beta4: updated wifi module (should fix random reboots that some people experience which is related with wifi). Experimental exfat support (please test and report if exfat formatted external sdcards can be used). fixed headphone amplification. (thanks to lyndonguti and THE RED BLUR for testing this beta)

KNOWN PROBLEMS: startup scripts are not executed. reason is unknown until I find another s2 or somebody point out my mistake. side-effects: stweak settings are not applied on boot, headphone amplification doesn’t work and some script-based optimizations are not applied hence the performance is not as high as expected. this may be fixed in beta3, or not. please report if stweaks settings (governor change for example) are applied or not.
[Galaxy S II Q&A, Help & Troubleshooting] rwaempires:
Thanks

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] dw1llow:
To all CM10.1 users.

SiyahKernel S2-v6.0beta4 does NOT work on CM10.1 ROM.

Phone is bootable, but is extremely slow; thus not usable.
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
Thanks for the feedback. This is what I wrote 3 posts before :)
[Galaxy S II Q&A, Help & Troubleshooting] parag1dubey:
@many40 and all, i am experiencing bad battery on siya 6, neatrom. sec battery monitor wakelock and l2hsic wakelock... What to do? please help :(
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
Do

THIS
[Galaxy S II Q&A, Help & Troubleshooting] quijote1:
As a way to minimize the l2_hsic wakelock, always reboot after disconnecting from the PC or the charger. You will always have a small l2_hsic wakelock, but not above 3%.

Primary ROM : NeatRomLite XXLSJ. JB

Secondary ROM : Slim Bean 4.1.2 v. 3.0 (suspended)

Kernel: Siyah beta 4

Modem NELP4

Apex Launcher
[Galaxy S II Q&A, Help & Troubleshooting] SergeF1:
I was having HUGE drain on 3.2.6 oveer night i lost 50% of charge which is TOO MUCH for a phone, i looked cpu spy and it didnt go to deep sleep...

I remember that some users had this same problem, but i dont remember the solution, and i cant find the post in the almost 1000 pages siya kernel have :D i remember is something about deleting some cache or something like that.

Somebody knows about that?
[Galaxy S II Q&A, Help & Troubleshooting] pikachu01:
Superuser related? I know for a fact this happens to SuperSU when BetterBatteryStats tries to dump the alarms and it asks for SU permissions causing SuperSU to wake up the screen. Try using SuperUser?
[Galaxy S II Q&A, Help & Troubleshooting] pikachu01:
Tweak the MDNIE settings here:

/sbin/ext/tweaks.sh

You can create a script to place in init.d for it to override anything in tweaks.sh.

Dump a BetterBatteryStats log here and I'll take a look at it. Be sure to allow superuser permissions. I need to see the Alarms and Kernel wakelocks too.
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
is 'auto-install root' checked in extweaks before you reboot?

if not trry that first

else

did you try 3.2.5.2 which force installs root?

if not you can try that

else flash CF-root kernel (for ICS) first reboot and then 3.2.6

hope it helps

---------- Post added at 01:07 PM ---------- Previous post was at 01:01 PM ----------

..depends..that had to do with some app acting up (mediasever, I believe)

but you have ti find out which app is your culprit, and try clearing it's data (if its not a critical app for you, like your mail client, else you will have add all data back manually like your accounts etc....)

---------- Post added at 01:24 PM ---------- Previous post was at 01:07 PM ----------

yep...especially with lower brightness..it has been tweaked a little by gokhan

with higher brightnesses it's crispy white :)

but you can tweak it back if you like with mDnie values in the respective files
[Galaxy S II Q&A, Help & Troubleshooting] ciprianruse88:
whit the latest siyah,sometimes when i unlock my phone it goes in slow motion and i also have a problem with wifi because sometimes it doesn't connect from the first time...i have to turn it off then switch it on again to connect.i reverted back to 3.2.5.2.fwy i did remove root from extweaks and rebooted.i am on 1.9.1 res remix by westcrip
[Galaxy S II Q&A, Help & Troubleshooting] Mimov:
Could you post your custom battery profile consumption table in Badass Monitor please?
[Galaxy S II Q&A, Help & Troubleshooting] Cristiano Matos:
Picachu

Could you please help me on how I echo something. In expecially mdnie settings. I know where the file is but a don't have the ability yet.

I would appreciate a lot!

Thanks in advance.
[Galaxy S II Q&A, Help & Troubleshooting] Simonetti2011:
After using 3.2.6 for the entire day I ended up flashing the stock kernel.

I faced the following problems with 3.2.6:

- when the screen was locked, it couldn't simply been unlocked with a swype. I had to wake up the phone, wait a few (5-7) seconds and then swype it.

- wi-fi drivers were terrible. It would lose connection all the time, and sometimes it wouldn't even connect. The stock samsung driver is excellent, so why are you using another driver?

- bluetooth mouse still has the button mappings all messed up.

I like the overclocking features of Siyah, but the trade off for having the problems above doesn't compensate.
[Galaxy S II Q&A, Help & Troubleshooting] alex_Oncle_Bob:
me too... wifi doesn't connect from the first try, i must switch off and on again.

When wifi is on, if i unlock the screen, i can't do anything... i can see cpu working (microcpu) but no haptic, no screen response, just like if the screen was off.

i will try to revert to 3.2.5.2 but 3.2.6 is more battery friendly. Any idea ? GM ?
[Galaxy S II Q&A, Help & Troubleshooting] tolis626:
I know it was happening with SuperSU(It still does?) but I've been using SuperUser in CM roms for quite a while now(SetCPU was acting up with SuperSU).

On another note,I managed to grab a log with aLogcat(Logging via USB still insists on preventing it from turning the screen on by itself).You can take a look at it,but now that I have something worth the trouble,I think I'll post it in the other thread to better explain the situation(There's also a thing with USB keyboards I observed).

Thanks anyway man. :)
[Galaxy S II Q&A, Help & Troubleshooting] apphoarder:
Probably a noob question:

Would it be possible to copy tweaks.sh from 3.2.6 (i like the new mdnie settings) to /sbin/ext/ if I revert back to 3.2.4?