yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] crazyykw:
Thanks for your reply.. I looked at the dump file and i got that these things looked abnormal.. I signed out of latitude that may be using maps, removed fb sync, unisntalled BMW .. what i didnt get were the kernel wakelocks like multipdp and the secril_fd-interface. I know these are caused due to bad signal but what can i do for it??

---------- Post added at 05:46 PM ---------- Previous post was at 05:44 PM ----------

No problem.. Even i dont want to hamper the development by posting noob question so this thread works for me:D:D. I ll try to do this as you said... lets hope for the best:D
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
I suggest a full factory reset and restore. Am i assuming you are a beginner and daunted by this prospect? Don't be afraid follow the detailed guide in the second post and do some more research. It should take 1 hour MAX and return you to your exact setup. Almost certainly minus your problem.
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
Don't rush! Read it carefully and make sure you have a full backup from recovery.
[Galaxy S II Q&A, Help & Troubleshooting] Nerenye:
Possible Soluton on Slow motion

After i had the first two or three slowdowns

i reverted to "5 cpu steps + 1400"

and it fixed it for me

cm9 0511 updating to 0517 in a few minutes

Best regards Nerenye
[Galaxy S II Q&A, Help & Troubleshooting] Boat Traveller:
Hi,

I've got a small problem with my S2. When I turn the screen on it takes 1-2 seconds before the scrolling reacts properly.

My profile is set to battery but when I put the GPU values back to default it doesn't change anything.

Anyone has an idea of where this problem come from ?

thx
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
Yeah this seems to "help" too soon to call it a solution.

Can anyone report if they've had it happen using standard 5 step frequencies instead of the default extra non-standard setup?
[Galaxy S II Q&A, Help & Troubleshooting] dave6018:
I installed siyah 3.2.1 and had a few slowdowns then installed 3.2.2 and the issue went away!! The installed 3.2.3 and it happened while I was halfway through sending a SMS, I just held the power button down till the phone reset and that cured it and have tried everything to recreate it but with no success!! I'm using cm9 with no oc etc
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
This is the normal behaviour for all ICS roms 1 second delay. 2 sounds unusual which governor are you using?
[Galaxy S II Q&A, Help & Troubleshooting] Nerenye:
You need some Root explorer like "root explorer" or "ES Datei Explorer"

than you have to mount system as readable

and here we go you can copy the file to your SD
[Galaxy S II Q&A, Help & Troubleshooting] KennyLegend:
Ahh thanks. I was opening the file and then trying to output the text instead of copying over the while file. :o
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
Ive had heat ups near the camera from time to time myself its usually a GPU settings glitch or poor thresholds for GPU.

FROM my experience. You should remove root from exweaks after a flash check auto install reboot on next root and then wipe Super user app data.

In 3.2.4 I had weird GPU related stuttering with Pegasus especially in extweaks app. So I I switched to using setCPU instead of nstools so I could mess with Peg parameters. It's all a bit trippy... I'm starting to get it now. And recently have found settings with Peg governor and exteaks which together have given me my best UI experience so far.!! Nothing major:

up thresh 80 from 85,

Up freq 400000

Down 200000

Many tweaks i tried deteriorated performance. Currently have almost magical performance and low power consumption:

Amazing speed all round AND Great battery. I guess proper use of the 2nd core is a BIG step forward.

***[Q] Has anybody experienced the now infamous Slow-mo bug since switching to 3.2.4/Pegasus? Not me!***
[Galaxy S II Q&A, Help & Troubleshooting] rlorange:
Oops
[Galaxy S II Q&A, Help & Troubleshooting] vizdak:
Anyone experienced "Unfortunately, Camera has stopped." when you open up camera and choose video recording and then record a video and then stop recording and then choose camera again? I don't know if this is kernel related issues.
[Galaxy S II Q&A, Help & Troubleshooting] KennyLegend:
This is the wrong thread to be posting this buddy. Nothing at all to do with this kernel. Its a rom or flashing resulting problem.

However, ill answer ur question. Have u tried clearing camera data in settings/apps?

If this fails u could replace camera.apk with a known good camera app from a previous rom?
[Galaxy S II Q&A, Help & Troubleshooting] runedrune:
Maybe you shouldn't have quoted the entire thing either?
[Galaxy S II Q&A, Help & Troubleshooting] vizdak:
Yep tried it but still camera fc. Thanks for the help.
[Galaxy S II Q&A, Help & Troubleshooting] BrandoHD:
I quoted it so that he could see the difference in the actual size of the post when a code box is used, and if you had read the post properly, you would have seen where I said the code box does not work in Tapatalk, which is what you were using when you made your post, when you get on a PC, have a look at the posts then
[Galaxy S II Q&A, Help & Troubleshooting] runedrune:
I don't think you needed to quote it to prove your point.
[Galaxy S II Q&A, Help & Troubleshooting] viscocesco:
Problem with mouse (bluetooth & USB OTG)

I have a problem, I don't know if is kernel or Rom related.

Sometimes I connect my SGS2 to my TV and control it with Bluetooth mouse.

Search & find it, connect and point appear on my home screen.

Left button, pointer, scroll work very well.

Right button -the back button- has the some function of left.

So I can go back, close an application or open another apps.

I try also with USB mouse with USB OTG and the problem persist...

I try with Speedmod and Siyah kernel (always latest version), Omega From is v12 ICS.
[Galaxy S II Q&A, Help & Troubleshooting] bleuxeon:
cpu_up_freq and cpu_down_freq are actually not used by the governor.

...so I guess you have some kind of... placebo effect:D

---------- Post added at 09:28 AM ---------- Previous post was at 09:23 AM ----------

Pegasusq Governor
[Galaxy S II Q&A, Help & Troubleshooting] star-fate:
i used it in the o2 gs2 but it does not work
[Galaxy S II Q&A, Help & Troubleshooting] kehinde:
couldnt sign in to play store or gtalk;

can anyone pls help. for the past fews days i just couldnt not sign into play store or gtalk. i have literalily done everything... reinstall, full wipe, remove account, created a new account wipe cache etc. still i cant sign in.

the error shows connection timed out however am able to access internet via the browser.

thanks,
[Galaxy S II Q&A, Help & Troubleshooting] jack_p75:
You try to change the kernel ??

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Q&A, Help & Troubleshooting] kehinde:
yes, am dual booting CM and stock dxlp9. it is not working on either.
[Galaxy S II Q&A, Help & Troubleshooting] ShadowSkills:
Try enable airplane mode then connect using wifi. After that, should be back to normal

Cheers.

Sent from my GT-I9100
[Galaxy S II Q&A, Help & Troubleshooting] KennyLegend:
Did u try replace "camera.apk" with a root file explorer from your previous rom and reboot?
[Galaxy S II Q&A, Help & Troubleshooting] akira888:
The latest release is awesome with the new governor. But I don't really think it is battery friendly. But it is spectacularly smooth. Looks like the frequencies are not evenly spread and it tends to spend at higher frequencies when the phone is used.

Looking forward to the update to fix this issue.

Great work, GM
[Galaxy S II Q&A, Help & Troubleshooting] alex_Oncle_Bob:
Hi everyone.

Sorry for my english, i will try to do my best!

A few days ago i installed 3.2.4 (before i was using 3.2.1) and i tried pegasusq governor, but like others, 200Mhz step was not running.

This morning i tried it again and 200Mhz step was used. BUT no second core use !!

I tried other governors but impossible to use second core again.

I tried reset extweaks in recovery: no change.

I changed many settings in extweaks : no change.

Wipe dalvik : no change.

flashing 3.2.3 and no problem anymore, second core is back...

Pegasusq bug?

I think i will wait for 3.2.5, because pegasusq seems to be smoother than others and i want to use it !
[Galaxy S II Q&A, Help & Troubleshooting] robertobsc:
Yes, I were also studying this feature just 2 days ago. Didn't find any way to force the bus frequencies in Siyah. Although droidphile said that that in ICS the scale up / down is dynamic, the source code gave me the suspicious idea that some configuration is inside... busfreq.c is where all logic happens....

I know that is possible to change the threshold to scale up and down the bus freq, cause I have seen in Fluxi tweaker app.

And if u want to change internal voltages, see my post!

http://xdaforums.com/showthread.php?p=27517036
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Save power with /sys/class/lcd/panel/power_reduce ?

Hi everyone johnbeetee posted an interesting guide in this thread to save power and I really want to try the following tweak:

echo 1 > /sys/class/lcd/panel/power_reduce

However I cannot locate my Init.d folder running latest Siyah. As far as I understand (I am a complete noob with scripts) I need to make a file in the Init.d folder with the following code. Is this correct? If not please advice how I should do this!

#!/sbin/busybox sh
echo 1 > /sys/class/lcd/panel/power_reduce

On another thread I found:

Has anyone tried this? Is it dangerous to the screen? Thank you all for your help :)
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
Bus scaling is dynamic ; just had a quick glance at busfreq.c and the threshold is defined there as a static value (23), so not exposed to the outside in any interface, so I think if you would like to change that, you'll have to recompile the kernel with an adjusted value ; maybe fluxi made that variable and/or adressable somehow in his kernel?

Personally I'm not looking to undervolt the bus, although I'm familiar with it ; I think the gain is very marginal, energy-wise, compared to the higher risk of possible instability. (If I would freeze google maps app for a few hours, it will save more, I think...)
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
Yes, you are correct, just create folder init.d in /system/etc or /etc and locate in this folder your script (name of the script up to you).
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Thanks for your help and quick reply! Just one more thing: Should it start "#!/sbin/busybox sh" or "#!/system/xbin/busybox sh"? I think it should be the second and not the first as I thought as on my phone busybox (but not "busybox sh") is located in xbin.

So:

#!/system/xbin/busybox sh
echo 1 > /sys/class/lcd/panel/power_reduce

Thank you! Also no concern for damage to screen yeah? Have a nice day :)
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
..if you just want to try it out for a while, you can just edit the file using root explorer ; as long as you don't reboot, the value will stay

is it dangerous ? as far as I can tell, it just reduces the power a bit (resulting in a yellowish shift in color, but you can correct this with mdnie)

been using it quite some time now (on and off to compare)

I can't trace exactly what it does behind the screen, but if it's just underpowering of the screen what it does, the only danger I suspect, is that my screen is going to eventually die of a really really old age....

but I can't be 100% sure, but still I'm using it, because I feel it can't be more dangerous than flashing something new..

the only fact I can state is that I used to get a powerconsumption of the screen of about 12-15%/hr ...and using this setting I'm getting 9.6%/hr or less..
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
It should be were your busybox is located. You have detailed description here:

http://xdaforums.com/showthread.php?p=19846297 (IV. Guide to init.d script).BTW I am intrested about your results. Hope your screen will br fine :)
[Galaxy S II Q&A, Help & Troubleshooting] robertobsc:
Humm static... good. That must ho to changelog of gokhan. It would be easy to put in extweaks.

And for bus undervolting u are absolutely right. I undervolted it in my post. If you undervolt -50 it freezes the system sometimes, principally in playing video.

If you put -100 it freezes the system a lot. And doesn't save battery as I was expecting. Unfortunately.
[Galaxy S II Q&A, Help & Troubleshooting] SPBoss:
Seeing as gokhan is no longer working on this amazing kernel, is there anyone that will continue development of this kernel? (I hope so)
[Galaxy S II Q&A, Help & Troubleshooting] CamoGeko:
No. Gokhanmoral said previously that he's not gonna pass on his work to anyone.

He is still looking after this kernel, just not updating as often as he used to. Only important kernel changes will br merged.

... typed by a proud owner of HTC One X 32GB, the best HTC Android device so far!!
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Hi thanks for the help and results so far seem promising! I usually get around 1 hour screen on time for 25% battery but so far it seems that 10% battery usage is giving me 45 minutes which would be about 7+ hours all up compared to my 3-4 hours I get. This obviously needs further testing but I just wanted to post this for anyone who was curious! I would definitely recommend trying it!

Also, I spent most of that time on youtube and 10 minutes on facebook and 5 minutes gaming. Cpu settings are as per signature!

Cell radio and wifi both on (for youtube) and "gentle_fair_sleepers" enabled.

#!/system/xbin/busybox sh
echo 1 > /sys/class/lcd/panel/power_reduce

Give it a go and post results! Screen 'yellowing' seems very minimal and hard to notice and so far no signs of damage! Hopefully this will prolong the life of the screen.

I will post better results if I can but I am travelling soon and will be busy :)
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
Well...no harm in trying...all in the name of science and knowledge.

You never know something for sure unless you try it yourself....;)

Thanks for sharing !
[Galaxy S II Q&A, Help & Troubleshooting] carlos67:
Guys, there are 3 of us having this issue with gps toggle not working. Can someone please try their gps toggle from the statusbar to test if it's working i.e. is it switching on and off correctly when toggled?

Can anyone suggest why we have this issue? Perhaps offer some possible remedies? I have tried usual steps - wipe cache/dalvik + fix permissions.

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] Dick Gordon:
Hi. Am try. All works fine. :)
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Hi I have great news! The new stock ICS DXLPB version fixes the GPS issue for me and it even works across reboots! I have had this for at least 48 hours and not a single issue :) I didn't even need to wipe! You can try the DXLPA modem which comes with LPB as that might help although it might not.

Also, for those interested in the test I ran. The battery drain is consistent as I have now drained 20% battery with 1.5 hours screen on time compared to 10% and 45mins which I posted before!
[Galaxy S II Q&A, Help & Troubleshooting] tghandour:
Cool Tool mate.. :)
[Galaxy S II Q&A, Help & Troubleshooting] carlos67:
Thanks for your reply.

Hmmm. Good news and bad news. Good news that it fixes gps issue but bad news because JKay not yet available on this latest firmware.

What's a man to do?

Edit: Just a thought.........maybe JKay framework is breaking the GPS toggle? Because JKay not implemented in DXLPB yet.
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Yeah I know currently JKay is not available for LPB but I think he is skipping to LPI (despite lower change log). I hope not because I really liked Jkay but GPS is too important for me right now! Also, I don't believe Jkay was breaking GPS as I have had the GPS problem for ALL ics versions (and Siyah v3.x.x) until and including LPG weather or not I used Jkay. Nothing to lose trying the DXLPA modem, if it doesnt help just flash the old one back on while you wait for Jkay :)

http://xdaforums.com/showpost.php?p=28044965&postcount=931

What do user_cr and user_cb (mdnie) actually do?

The very knowledgeable johnbeetee suggested I use "echo 135 > /sys/class/mdnie/mdnie/user_cb" and I instead found 132 to be a good compromise over stock 128 but does anyone know what user_cr and user_cb actually do? I found that increasing user_cb by 4 points helped reduce the faint yellowing from "power_reduce" as he suggested.

Also, anyone who knows please post what changes "echo 1 > /sys/class/lcd/panel/power_reduce" makes to the screen! Almost seems to good to be true to get all this extra screen time for free! Not complaining though!
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
as for your first question : screen color balance is regulated by the proprortion of RGB (red,green,blue) light components ; mdnie corrections apparantly only uses the R and B components to change the balance, ergo

setting user_mode to 1 signals to use corrections and these are

user_cr for Red

user_cb for Blue, and yellow being the complementary color of blue, to compensate, you'll have to give more blue

( i agree: 132 is a more better compensation)

as for your second question : I'm curious about that too !..., and why nobody ever mentioned it before...:cool:
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Thank you again for your amazing quick reply! After spending the last 10 minutes searching through this thread I can confirm what you said!

I have another question for you (the only thing I have left that needs improving on my S2!) - do you have any colour banding on gradients?

1. Open dialler and enter:

2. *#0*#

3. Select 'dimming'

- This will show you three colour gradients as an example.

The level of banding differs slightly between firmware versions but it makes the phone feel a little cheap at times although I have almost gotten used to it! I think I heard that the problem was solved on early ICS betas? Or that maybe it was due to a poorly coded image sharpening process on the GPU? I have also heard that it is sometimes caused by apps (like smasung apps) using 16bit when the screen is capable of 24bit. Is it possible to add dithering to reduce this effect?

If you or anyone has any info about gradient banding on the S2 please feel free to let me know! Like I said this is the only issue I have left! Thanks in advance to everyone at XDA!

Edit: For anyone who is unfamiliar with colour banding check out this wiki article for an example:

http://en.wikipedia.org/wiki/Colour_banding
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
I've just faced a miracle!? Decided to enable by init.d script tweaks implemented already egps2 (power_reduce: 1, user_cb: 132) and before I prepared the script just checked my current settings (edited files). I can't belive it, but they were already set for me. I have never set them by myself. Do you have any ideas what could cause it. Maybe it's included to battery profile of ExTweaks which I am currently using with some modifications?
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
:confused::confused:

maybe user_cb is default 132. but power_reduce (default 0) ??

didn't you play around with test scripts accidentally and may have set it already?

(it doesn't nescesarily need to be set at boot (init.d phase))??

:confused:
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
:confused: Didn't play with any scripts, only mod I have is JKay Deluxe Framework (maybe this changed some screen settings)?
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
don't know really ..I don't use JKay, maybe someone can check and confirm ?

i.e. default value in: /sys/class/lcd/panel/power_reduce ???
[Galaxy S II Q&A, Help & Troubleshooting] Many40:
Just checked settings in my 2nd rom - AOSP F1GalaxyNexus (without JKay's Frmawerk installed and without init.d scripts with screen tweaks):

power_reduce=0 so most likely it's JKay Deluxe Framework helping me to save some juice :)
[Galaxy S II Q&A, Help & Troubleshooting] johnbeetee:
okay then..! That would explain the fact...maybe one of their best kept secrets uncovered ???

Doesn't matter anyway .... I'm just glad it's confirmed and working...:D

Thanks...
[Galaxy S II Q&A, Help & Troubleshooting] Oso Polar:
power_reduce=1 on Stock odexed LPG ROM + 3.2.7.1, no any additional scripts installed. No JKay. ICS Domination is installed but I believe it affects only GUI elements.
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Yes, you got what I was trying to say. It just didn't hit me that busfreq_static needs to be enabled first as there was no mention of it in droidphile's ics kernel thread so I though that gm didn't make it configurable in the ics kerenl. Will test & see if it works.
[Galaxy S II Q&A, Help & Troubleshooting] Mysterious99:
Silly Question here but does changing a kernal really help in improving battery life ?
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
If you know what you are doing then yes but there are presets as well for this kernel which you can select via CWM or through ex tweaks if you have purchased ex tweaks which can definitely make a difference to battery life depending on which one you select. Best way to know is by trying it.
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Hi is there a way to read the values from these scripts to see if they have echo'd properly? I get an error message with script manager for all of them except the blue mdnie setting and red doesn't work. It says "non existent directory/user_cr"!

I also get a non existent directory error for power_reduce! But what else could be causing this change in battery life?

Can someone please post the exact script they used? Thanks!

Edit: Here's mine! (In etc/init.d)

#!/system/xbin/busybox sh
echo 1 > /sys/class/lcd/panel/power_reduce
echo 1 > /sys/class/mdnie/mdnie/user_mode
echo 128 > /sys/class/mdnie/mdnie/user_cr
echo 135 > /sys/class/mdnie/mdnie/user_cb

So far only the blue doesn't return an error!
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Hope these posts merge but I couldn't attach an image with an edit!

Edit: Could an admin please merge these posts? I didn't want to double post sorry but usually it merges automatically!

Below is the screenshot with the error message from script manager using my above script!

#!/system/xbin/busybox sh

echo 1 > /sys/class/lcd/panel/power_reduce - error

echo 1 > /sys/class/mdnie/mdnie/user_mode - error

echo 128 > /sys/class/mdnie/mdnie/user_cr - error

echo 135 > /sys/class/mdnie/mdnie/user_cb - ok and will work when tested
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Could you go to the file paths listed using an file explorer like root explorer & see if the files are there & if so are they of the values that you set. It should be there without you having to do anything & the script looks fine.
[Galaxy S II Q&A, Help & Troubleshooting] egps2:
Thanks for the reply! All the files seem to be there and like I said the _cb value echo's but not the _cr so the path must be correct? is there a way I can read out the value? I can set cb as 240 and made the screen go VERY blue to test but I can't change cr like that! Do you recognise this error? If the LCD power thing isn't working I really recommend DXLPB as the battery life has been amazing!

Edit: I also can't open the actual files to see which value has been set. Is this normal? As I am leaving tomorrow I really appreciate everyone's help!
[Galaxy S II Q&A, Help & Troubleshooting] #illidan:
Wierd being able to change blue but not red. What happened when you tried to change the value of red manually? You should be able to open any file in there without any problems. The easiest way to read the value would be to open the file it self unless you use a script to find out the value. I have never had such an issue. I'm using cm9. Maybe you could try flashing the kernel again, or flash another kernel & then flash siyah again or if all else fails then maybe a full wipe or flashing a different firmware version.