yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] marbulas:
#!/system/bin/sh

AWAKE_CORE_STATUS="on";
SLEEP_CORE_STATUS="off";

AWAKE_GOVERNOR="pegasusq";
SLEEP_GOVERNOR="lulzactive";

(while [ 1 ];
do

AWAKE=`cat /sys/power/wait_for_fb_wake`;
if [ $AWAKE = "awake" ]; then
sleep 2 && {
echo $AWAKE_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo $AWAKE_CORE_STATUS > /sys/devices/virtual/misc/second_core/hotplug_on;
}
fi;

SLEEPING=`cat /sys/power/wait_for_fb_sleep`;
if [ $SLEEPING = "sleeping" ]; then
sleep 2 && {
echo $SLEEP_GOVERNOR > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo $SLEEP_CORE_STATUS > /sys/devices/virtual/misc/second_core/hotplug_on;
echo $SLEEP_CORE_STATUS > /sys/devices/virtual/misc/second_core/second_core_on;
}
fi;

done &);

Thanx a lot to you :D I made this fits to me...
[Galaxy S II Q&A, Help & Troubleshooting] pikachu01:
Are you using frequency less than 200MHz?
[Galaxy S II Q&A, Help & Troubleshooting] reddead66:
I am using it as it was without any modifications....
[Galaxy S II Q&A, Help & Troubleshooting] morpheus2000:
4.1beta3

Just wanted to report:

I'm using 4.1 beta3 without any problem (my rom is XWLPG based).

This is for me the best version of this kernel till now: Good battery life (not better nor worse than others versions), great features (GPU 4 steps, OC for the braves) and stable (till now I didn't have any crash or FC).

Just for the record I had problems with 4.0.1, but not with 4.1 versions (maybe related to Update 7 sources in 4.0.1 ???!!:confused:)

Anyway now I'm happy.:D
[Galaxy S II Q&A, Help & Troubleshooting] jgcaap:
Im trying to configure stock ROM to Get the Best configuration possível on performance Any suggestiin?
[Galaxy S II Q&A, Help & Troubleshooting] stoyanow:
With which ROM you guys use 4.1 b4 ? Because with CM10 the speed is realy nice but battery want to die in a half day :(

Or to wait tonight realease to see what will impress us :))
[Galaxy S II Q&A, Help & Troubleshooting] Tricks25:
I just noticed that turning on airplane mode will turn off wifi.. not a big deal but is it normal? :p
[Galaxy S II Q&A, Help & Troubleshooting] superlik:
Siyah 4.1 beta 4 works perfectly...No more bln problem when adjusting brightness and dsp works fine in paranoid Rom..May i request if possible for bln blinking brightness to match the bln voltage set? Thanks

---------- Post added at 08:43 PM ---------- Previous post was at 08:30 PM ----------

Yes, this is normal...you don't use Wi-Fi on the plane
[Galaxy S II Q&A, Help & Troubleshooting] Josuhu:
CWM 6.x.x backup error

Anyone having problems making a backup with the latest Siyah 4.1b4 ?

Im having a backup error after the CWM frees space for the backup. Second rom can be done, but this error concerns the first rom backup.
[Galaxy S II Q&A, Help & Troubleshooting] Mario1968:
Hi all, as I've reported in this thread, I'm affected from this bug too, I've tried to use the app getril to obtain the ril aligned with the baseband, but the loss of signal has happened two times again, I think to revert to Siyah 3.2.7.2, as this bug has happened to me the first time with the 3.5.2 version.

I use 200-1200 frequencies although in extweaks all 18 steps are enabled.

Waiting for a possible solution or a tip for diagnose this bug (any log?)

Thank you

Mario

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Siyah 3.5.2

Jkay V14.1
[Galaxy S II Q&A, Help & Troubleshooting] reddead66:
did you try using 4.1 beta 4??
[Galaxy S II Q&A, Help & Troubleshooting] stoyanow:
Whithout gprs service 4th hour ! Wi-fi is working .. To wait rbe new bulid tonight? :) Why is this happenig ?
[Galaxy S II Q&A, Help & Troubleshooting] Mario1968:
No, I never tried 4.x, since I'm in vacation, away from my PC, so if flash of the kernel give me some unrecoverable boot, I can't flash with Odin:( and stuck with an unusable S2:eek:

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Siyah 3.5.2

Jkay V14.1
[Galaxy S II Q&A, Help & Troubleshooting] Zytrel:
I too first encountered this bug in 3.5.2. The strange thing is, that after reverting back to 3.4 (which had been rock solid before) it still kept happening. Almost always after around 2 days of uptime. I now tried installing a different modem and also used getril to get the proper ril file.

Has been stable for one day now, one day to go.

Current config:

ROM: Stock XWLPI (4.0.3)

Baseband: XXLPW

Kernel: Siyah 3.4
[Galaxy S II Q&A, Help & Troubleshooting] vonton420:
I use CM9 stable + modem LQ6 + kernel Siyah 3.5.2 . combi perfect !! hehe:)
[Galaxy S II Q&A, Help & Troubleshooting] karlesg:
I was away for a while for vacation. I was using a previous version of the kernel based on update6 sources. My ROM is a Samsung XWLPG based. Now i flashed the latest v.4-beta4. I'm always using the same setup with init.d scripts and the same pegasusq parameters so nothing from there is changed.

What I noticed at the latest version is that once the second core is turned on, it never turns off while the screen is on, even if the phone does nothing and it's always at the lowest frequency. Onced turned on, the 2nd core turns off only after the screen turns off.

Is this normal? Was something in the pegasusq code changed in the latest versions?
[Galaxy S II Q&A, Help & Troubleshooting] Nos_20:
Hi Guys,

I have just flashed 4.1 beta 4 through cwm. I wiped cache and dalvik flashed and fixed permissions.

My rom is ParanoidAndroid 1.98a.

Now when I go into Extweaks I get an error where the profile Battery, Default, Performance used to be saying chmod /data/.siyah/.profile no such file or directory (see screenshot)

Also the CRT effect has gone again.

Any ideas anyone?

Apologies if it has been answered before.
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
Reset ExTweaks profiles in CWM recovery and check if it helps (of course write down before your ExTweaks settings to us them after resetting).

Edit: Have you checked what you have in /data/.siyah folder?
[Galaxy S II Q&A, Help & Troubleshooting] Nos_20:
I already have reset profiles in cwm. Yes in /data/.Siyah there are XML files which are the settings for the different profiles

Edit. Flashed beta 5 and issue has gone

Sent from my Jelly Beaned Paranoid Android Galaxy SII
[Galaxy S II Q&A, Help & Troubleshooting] PedroMRP:
where is the hotplug governor?
[Galaxy S II Q&A, Help & Troubleshooting] zaphod777:
where all of the other governors are ... it was introduced in 3.2.5
[Galaxy S II Q&A, Help & Troubleshooting] PedroMRP:
If I asked it's way I don't see it where the other governors are... I only have sio, vr, cfq, deadline and noop.
[Galaxy S II Q&A, Help & Troubleshooting] Lonzo_SGS2_506:
Dude those are IO schedulers --- try to find it where ondemand, lulz and pegasusq are mate..:o
[Galaxy S II Q&A, Help & Troubleshooting] zaphod777:
Those are schedulers ... using ExTweaks look under Misc and "Default CPU Governor" right above "Default I/O Scheduler"

http://bit.ly/JjNZ29
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
Frequency use is much better in 2.3.5

GM is confident that the slow-motion bug was bln related and now fixed yay!
[Galaxy S II Q&A, Help & Troubleshooting] K Rich:
3.2.5* :D
[Galaxy S II Q&A, Help & Troubleshooting] pikachu01:
Anyone facing force-closes from almost every app after 2minutes of booting up? E.g. Facebook,Google+, Superuser, any app that requires SU.

Had to factory reset just to get it stable. After factory reset, Setup Wizard FC'ed on me as well.
[Galaxy S II Q&A, Help & Troubleshooting] zaphod777:
I had this but I think it was CM9 it just decided to barf all over the place and I had to re-install it.
[Galaxy S II Q&A, Help & Troubleshooting] pikachu01:
Probably related to startup apps? After restoring my backup from Titanium Backup, I'll try rebooting to see if it FCs for me. In a few secs.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Yeah I am aware that gokhan does'nt support uv & I had a slight feeling that it might be realted to that but did'nt wantvto believe it as I've been using those uv values for quite sometime without any problem but like always uv stability always changes with different kernel versions so I just guess I'm gonna have to go stock voltage & test the lastest kernel & report if there are any problems.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
You could try updating SU binaries, or re do all the SU permissions once again or remove root & then install root again from ex tweaks maybe.
[Galaxy S II Q&A, Help & Troubleshooting] pilgrim011:
Why should he further reduce the size of the kernel - I don't see the point? Siyah is not some featureless "clean" kernel - it is built with the idea to have as many features, tweaks and customizations as possible. That's why we love it so much. I mean, it's not like we don't have enough space to install it. To be honest, I would prefer kernel with ntfs-3g support, 10MB large, than 6 MB file without it. After all, this is "one kernel to rule them all"! :)
[Galaxy S II Q&A, Help & Troubleshooting] Ankit Tulsian:
Any one able to see hot plug governor in extweaks?
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
no...(not in the list to set as default)

but does appear in the list in nstools
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
In the latest 3.2.5 the frequency use in Pegasusq seems near perfect for me. No skipping of frequencies and 500mhz over-use

I have tweaked a little in setcpu. 24 freq step instead of 40. And a couple others
[Galaxy S II Q&A, Help & Troubleshooting] SPBoss:
hey guys i just wanted some help. basically I've got a long flight and a couple of .mkv movies on my phone (spare battery aswell)

should i switch of second core? and how low can cpu and gpu frequency be for 720p video without stuttering? any recommended players? im using mx player and it seems to be really easy on the battery. thanks in advance guys! (my flights in 2 hours i'd appreciate a response before i get on the plane:P )
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
@gokhanmoral

Gokhan, what's your view on Andreilux's comments?

We haven't tested the new pegasusq for long yet, but I do feel it's behaving a lot better now, so the patches and improvements you made are definitly worth while!!

Thank you for your work and dedication!!!
[Galaxy S II Q&A, Help & Troubleshooting] gokhanmoral:
I have published 3.2.5.1 by removing "force gpu rendering" tweak.

I think it is the reason of some apps crashing and I got a last_kmsg file from pikachu. he had a panic in mali part which we never had before.

so, if you have forced gpu rendering enabled in system->developer options, I recommend you to disable it.

you can download 3.2.5.1 from the same post in my blog (file name is changed)

mirror:

http://gokhanmoral.desean.net/siyahkernel

(thanks to desean for the hosting)
[Galaxy S II Q&A, Help & Troubleshooting] ShadowSkills:
You might try diceplayer or bsplayer, both has full hw acceleration (mxplayer only has partial hw acceleration iirc).

Cheers.

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
OK, a few questions more. Do you have a 2nd rom. Are you facing the same problem on it?

Have you had previous version of siyah installed on your current rom without any problems? Have you tried reinstalling the ExTweaks app?
[Galaxy S II Q&A, Help & Troubleshooting] Nos_20:
I flashed beta 5 and the Extweaks issue has been fixed. However the CRT effect still does not work

Sent from my Jelly Beaned Paranoid Android Galaxy SII
[Galaxy S II Q&A, Help & Troubleshooting] Christiancs1969:
Low auto brightness? Help really dim screen

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Galaxy S II Q&A, Help & Troubleshooting] danieldmm:
I did not talk of CM9, this occurs in Samsung based ROMs, if you make a Wipe data/Factory Reset in Recovery phone will not boot, if you flash 3.5.2 phone boot normaly...

Cheers

Update: Beta 6 same problem (Samsung based Wont boot if Wipe Data/Factory Reset its done)
[Galaxy S II Q&A, Help & Troubleshooting] Ok_Kaleidoscope5109:
I noticed that joining Google hangouts is a problem on the SGS2 as the video seems to crash. I'm wondering if this is something to do with the 4.0.4 camera bug, but supposedly GM has fixed this?

I still can't join hangouts as of yesterday, but works flawlessly on my Nexus S, so either the App has SGS2 support issues or something on the SGS2 side is problematic
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Then use BBS to find out which apps are holding wakelocks & draining your battery. I don't think posting sad emoticons helps reduce your battery drain so be a bit proactive & stop moaning. What are you asking in the second question isn't clear.

Just google it & I'm pretty sure you'll get what zram is then based on your understanding you decide if it's good for you or not. I'll start you off by leading you to a bit of explanation over here but then your on your own.

Hint: If you aren't big on multitasking & have loads of free Ram available then don't use zram.

No deep sleep in bln period.

I thought I answered this before in the exact same manner before.

Use getRIL app & download a compatible modem & update to the latest kernel to see if the issue persists.

UV, UC, reduce screen brightness & stay on wifi whenever possible. Also use BBS to see if any apps are misbehaving & holding wakelocks.

No issues at all on CM9. See if there is enough space in the storage you want to make a backup on & if the issue still persists go back to a version where CWM worked for you.

Pegasusq has been made a bit aggressive in the sense that it will take more time to shut off the second core & it does after some time but that doesn't necessarily translate into worse battery drain as it will hardly make a difference.

Use SManager from the play store to set the script on boot. Don't really know why your are boot looping through.

CRT effects won't work for sometime until GM figures out how to switch the screen off without the flicker.

Adjust the auto brightness settings under display.

No one else seems to be facing the issue so it's just you. This is a shoot in the dark, maybe it could be a rom issue. Try another version of stock firmware.

Could be a problem with the app itself. Try wiping app data & then try again.
[Galaxy S II Q&A, Help & Troubleshooting] marcwkh:
The problem occured on stock 4.0.3 zslpg rom xxlpx modem, frequency on default (min:200, max 1200), governor on default therefore I don't think it is frequency related,now flashed back to 3.5.2, xxlq6 modem, matching ril as xwlpo (suggested by getril) and see how it goes
[Galaxy S II Q&A, Help & Troubleshooting] i1allz:
v4.1 beta3 is very good, with beta4 I got WIFI problem, trying beta6 now ....
[Galaxy S II Q&A, Help & Troubleshooting] tdamas:
Using beta 5 with 4 gpu steps and its ok for me (no crashes)
[Galaxy S II Q&A, Help & Troubleshooting] rakeshishere:
+1

Using Wanamlite (12.3) which is a XWLPT 4.0.4 ICS rom and facing same issue. This is definitely a kernel issue and hoping this gets fixed somehow.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Tried beta3 previously but my phone would hang on the samsung screen & wouldn't go any further. I wasn't even able to boot into recovery as it would just get stuck at the same place. Only solution was an odin flash of beta4 as download mode was fine. Did any of you'll that boot beta3 do anything other than just flash & reboot because I'm pretty sure that beta3 would wipe extweaks on its own so i wouldn't need to do it.
[Galaxy S II Q&A, Help & Troubleshooting] i1allz:
I flashed beta3 3 times with no problem, wipe dalvik cache and fix permission may help.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Can someone who knows the kmemhelper binary tell me what is wrong with this

LVL=`cat /proc/kallsyms|grep " level\."|awk '{print $3}'`;kmemhelper -n $LVL -t int 15

It worked perfectly well in beta4 &all the other previous versions but now I keep getting told "You can only provide one value" which is exactly what I'm doing:confused:.
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
Took a peak at GM's github at the script used by extweaks for these kind of actions ( /res/customconfig/actions/generickmem )

and saw this change for 4.0:

...	...

- kmemhelper -n $2 -o $3 -t $4 $5 > /dev/null 2>&1

+ kmemhelper -n $2 -o $3 -t $4 -- $5 > /dev/null 2>&1

...	...

I see a '--' appearing between the type parameter and it's value

Could be that for some reason the calling convention for kmemhelper has changed (and kmemhelper binary updated?) ; in your case this would become:

LVL=`cat /proc/kallsyms|grep " level\."|awk '{print $3}'`;kmemhelper -n $LVL -t int -- 15
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
No such luck as I'm still getting the same error. Could you confirm?
[Galaxy S II Q&A, Help & Troubleshooting] gokhanmoral:
actually that change was to prevent kmemhelper detect negative values as parameters. "--" means "I won't give you another command line option" and then negative numbers can be parsed correctly.

I don't have an s2 around and cannot check what the problem is but maybe the name of that variable is changed or it is not visible to kmemhelper.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
What I'm trying to do is I'm trying to set frequency on touch. It worked perfectly on beta4 so something must have changed. I hope you will look into it if & when possible. Thanks
[Galaxy S II Q&A, Help & Troubleshooting] SoLoR1:
i had problems with beta3 an 5 because i was trying to run gpu 54mhz step with 800mV... now that i have it on 850 i dont get any lockups anymore while screen is off...
[Galaxy S II Q&A, Help & Troubleshooting] karlesg:
I tried to make a comparison between 3.5.2 and latest v4-beta6 observing the governor's behavior using cpu usage monitor.

As I said I'm using the same parameters for pegasusq for hotplugging setting them with init.d scripts for both versions. To be more precise i'm using hotplug freq up/down 500000/400000 and hotplug rq up/down 350/350 for both versions.

What I noticed is that in 3.5.2 the pegasusq governor turns on the second core more easily compared to v4-b6 when needed and also turns off second core more easily when not needed. As the matter of fact in v4-b6 the second core never turns off onced turned on, while the screen is on. I have raised the screen on time out to 1 minute, and still the phone remains with both cores on at the lowest frequency for 1 minute doing nothing.

So I think the behavior of pegasusq in 3.5.2 is more consistent and logical. Quickly turn on the second core when needed and quickly turn off the second core when not needed. In latest beta pegasusq does the opposite. Slowly turn on second core when needed (the first core spends more time on max freq) and once turned on never turn off second core while screen is on.

I don't know if there is significant difference in battery life (I haven't tested it thorougly) but in theory the behavior of pegasusq in 3.5.2 is more logical.

I'm using a Sammy based XWLPG (4.0.3) rom with the old bootloader (i don't know if that has to do anything with hotplugging)

Those of you who use a XWLPT rom (4.0.4) do you see a difference in hotplugging behavior?
[Galaxy S II Q&A, Help & Troubleshooting] tuniel:
2 question

Hi All,

My configuration is as per my signature (stock LPG + Siyah 4.0.1, JKAY 14.1 and Vertumus Theme).

i have 2 questions:

- with the exact same configuration, but using stock kernel when i enable the sliding bar for adjusting the auto brightness it refreshes both when going up and down in brightness, but when i use siyah 4.0 or 4.1 it does only refresh when lowering the brightness and not when increasing it. anyone else?

- i tried to search for root or root installation, but no luck. I am rather new to Siyah for ICS (i used extensively for GB). When i install Siyah 4.0.1 (or 4.1 for that matter) and ExTweaks i do not get the chance to reinstall root without rebooting: in essence i only have remove root and the thick to toggle auto root installation but no chance to install root. Any ideas?

thanks in advance.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Test it throughly & then report back before you start worrying about battery life because I have & still am (tweaking pegasusq & comparing battery life) & its isn't a drainer. Pegasusq does turn off the second core & it does take a while, actually longer than its supposed to but that hardly effects battery life because I haven't noticed a big difference at all & secondly you aren't going to just watch your screen the entire day. Yes ideally the behaviour should be to switch off the second core when the phone isn't doing anything but this has changed maybe just for now since these are beta versions.

By the way for faster turn on & off of the second core you may want to change the prams you mentioned above to be a bit on the lower side.
[Galaxy S II Q&A, Help & Troubleshooting] tuniel:
Hi all,

I sorted the 1St issue by fixing permission. What about the 2ND?

Road
[Galaxy S II Q&A, Help & Troubleshooting] scme4:
Hello, I siyah 4.1 beta 6 as a dual boot on it ...

Now I have the following problem ...

when I start the secRom will get stuck in siyah logo ...

the priRom goes smoothly and the gestures work perfectly ...

I'm on it as priRom GoaTrip v5.1 and v4.4 ... secrom is Rush jellybean

I can help one with my problem-thanks in advance ....
[Galaxy S II Q&A, Help & Troubleshooting] eduardoroeder:
Your problem must be with jelly bean and gestures, it does the same here with CM10 and gestures on init.d folder.

;D
[Galaxy S II Q&A, Help & Troubleshooting] scme4:
I've done everything according to instructions ....

- Place the file in / system / etc / init.d /

- Change owner and group to "root"

- Change permissions to 755

- reboot

I want to flash siyah 4.1 alpha, I can not start the secrom
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Boot into recovery & then flash 4.1 alpha. Also clear the init.d. folder from recovery as people are having issues with the gesture control script.
[Galaxy S II Q&A, Help & Troubleshooting] Lonzo_SGS2_506:
back up 2nd rom

guys...

I wanna do this:

my primary rom is NeatRom ICS - I have CM10 as 2nd.. I´d like to try Paranoid 1.99 (jb) as second so.....

I back up my 2nd (CM10) via CMW on the 2nd rom option ok... and then I remove totally the the 2nd rom via CMW in order to have only 1 rom ....

So,

1. Should I back up my 2nd rom via CMW on the dual boot options settings for 2nd rom or just back it up normally when I´m using it ?

2. After backing it up, can I remove the 2nd rom on dual boot options for 2nd Rom in order to have space for a new 2nd Rom and then Install lets say Paranoid 1.99 ?

3. Doing this I should have NeatRom as primary rom and then Paranoid as 2nd rom and my back up of CM10 in case I want to restore it on dual boot options for second rom.

is this possible?? or what should be the correct procedure to do it?

please dont flame me if this has been answered yet... I didnt find anything related to this anywhere...

btw I´m on Siyah 3.5.2

thanks in advance for your answers.... cheers!
[Galaxy S II Q&A, Help & Troubleshooting] shirabiso:
If you have not yet found the solution, try this

TF=`cat /proc/kallsyms|grep " level\.2"|awk '{print $3}'`;kmemhelper -n $TF -t int 14

There are 2 return values with grep "level\." now.:eek:
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
How is it possible for it to return two values when the requirement for frequency on touch is just one? Has there been something modified in "level\."?

Anyway I am back on beta4 for now & that line works perfectly in it.
[Galaxy S II Q&A, Help & Troubleshooting] shirabiso:
cat /proc/kallsyms|grep " level\." returns level.22999 and level.13156 in my case (4.1b5). The 1st one is the parameter for the frequency to be given to kmemhelper. So I modified the arg of the grep to "level\.2".

Sorry for if this is not your case.
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
1. Back it up from CWM recovery from dual-boot options. BTW, how would you like to back up a rom while booted? Nandroid backups are always made in a custom recoveries.

2. Yes, you can ("Remove 2nd rom"), then before installing a new rom use options: "Wipe 2nd rom data and cache", "Wipe 2nd rom dalvik".

3. Yes, correct.