yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Flint2:
In which app you had the freeze?

What happens when you connect this 'ui freezed' device to adb, you can get shell?

Sadly in the 3 freezes i had in apex beta , I was away from my computer with adb

Sent from my GT-I9100 powered by Dorimanx kernel and Resurrection Remix Jelly Bean
[Galaxy S II Android Development] Krishnadusad:
I too have had 2 freezes uptill now :/

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] Pigmachine:
sadly no app at all just 'unlocked' with homebutton,, and it was a complete freeze :confused:

wish I weren't too lazy to have logcat running.. but I'm a trusting guy. and didn't think it were needed now! :angel:
[Galaxy S II Android Development] MDE_86:
Looks like your phone is struggling to find signal in the middle and the end. Maybe try a different modem. What are you currently on?

Tapatalk / SGS2 / Cyanogenmod 9 Nightly / DorimanX Kernel.
[Galaxy S II Android Development] Seyaru:
im back to 5.65.1 is the best version with other have problems with gps and signal drops and lost and a lot problems with data. i try other modem but dont work i use sammy rom 4.0.3 and 4.0.4 but same thing.
[Galaxy S II Android Development] johnbeetee:
I had one freeze too yesterday (after deep sleep and trying to wake up the phone) , but first thought it was becuase of my testing and tweaking, but after reading other posts about this, I got the impression that maybe the system (CFS scheduler) is running a bit 'choked' . I tried looking for the default parameters in the source code, but couldn't find them ( where they are usually put...)...

Anyhow, I'm doing a test run with the old (not present anymore) cfs_tweaks script and using the samsung default option ( cfs_tweaks 0 ) to see if this helps in any way.

Maybe others having freezes, and capable of using scripts, can also try this option and see if it helps....

Time will tell, as I'm not sure what's causing these and can't reproduce them at will.

#!/sbin/busybox sh

if [ "a$2" == "a" ]; then
echo $cfs_tweaks
else
cfs_tweaks=$2
echo $cfs_tweaks
fi

mount -o remount,rw /

case "${cfs_tweaks}" in
0)
sysctl -w kernel.sched_min_granularity_ns=750000 > /dev/null
sysctl -w kernel.sched_latency_ns=10000000 > /dev/null
sysctl -w kernel.sched_wakeup_granularity_ns=2000000 > /dev/null
;;
1)
sysctl -w kernel.sched_min_granularity_ns=750000 > /dev/null
sysctl -w kernel.sched_latency_ns=6000000 > /dev/null
sysctl -w kernel.sched_wakeup_granularity_ns=1000000 > /dev/null
;;
2)
sysctl -w kernel.sched_latency_ns=10000000 > /dev/null
sysctl -w kernel.sched_wakeup_granularity_ns=2000000 > /dev/null
sysctl -w kernel.sched_min_granularity_ns=4000000 > /dev/null
;;
*)
cfs_tweaks=0
;;
esac;
[Galaxy S II Android Development] kantjer:
Thanks, I ran the script and set my deep sleep freg back to 100mhz.

Normally with this setting I would have a freeze within 1-2 hours, I will report back later today.

I just Ran ran the script using SManager giving it su right and a run. Is that the right procedure?
[Galaxy S II Android Development] johnbeetee:
I'm not so familiar SManager (I use Tasker, or terminal emulator or adb), but it should be ok, as long as you gave it the right parameter along, so it should be called like this :

cfs_tweaks 0

to get the '0' option settings, which is the samsung default settings for these tweaks.

( I can modify it, to include just this option and not needing any parameter, if your more comfortable with that...)
[Galaxy S II Android Development] kantjer:
I just executed your script, there was no error coming back so I guess it went OK.

Is there a command I can run to check?

---------- Post added at 09:12 AM ---------- Previous post was at 09:07 AM ----------

Please make it as idiot proof as possible :o

EDIT: I think I've got it. Ran it again using SManager only this time with "cfs_tweaks 0" in the argument field. I got a "0" back as response, that seems to look OK to me.

Sorry for all the noob questions, until now I haven't done much with scripts.
[Galaxy S II Android Development] voku1987:
Hi, can someone please test this preview kernel ... please test also the new function (tab) for bug-reports via extweaks :)

Download:

Kernel_Dorimanx-SGII-ICS-V5.67-T-11-01-D-21-08.zip -> http://samdroid.voku-online.de/index.php?action=list&dir=SGS2&order=mod&srt=yes

Sources:

- https://github.com/voku/siyahkernel3

- https://github.com/voku/initramfs3
[Galaxy S II Android Development] johnbeetee:
...been checking just now to see how you can check if settings are applied with adb :

sysctl -a | grep granularity

and

sysctl -a | grep latency

...but here's just the samsung settings ( I've taken out the case statement and left just those, and given it a .sh extension so you can run it

EDIT: I see Voku has just posted a test kernel, so that might also be interesting....
[Galaxy S II Android Development] kantjer:
What I can do is first run Voku's test kernel, and if that doesn't bring a solution test your script. What do you guys think?
[Galaxy S II Android Development] johnbeetee:
Good idea!... I'm thinking the same...it includes all the new additions (SLUB) worked on the last few days...so I'm tempted :)
[Galaxy S II Android Development] kantjer:
Ok I have the test kernel running. I left all the cpu settings in ExTweaks at default.

Now wait and see.
[Galaxy S II Android Development] johnbeetee:
me 2....but with all my usual settings...:D

EDIT : debug tab working.....

see attached samples (no bugs yet....:))

(see post below : on ICS RR261 rectangle dissappears normally...)
[Galaxy S II Android Development] kantjer:
I have the test kernel up and running all OK so far.

Tried the new bug report function, see attached log file.

Only small issue after running the bug reports I have a black rectangular on my screen. I needed to reboot to get rid off it.

@ Voku: I noticed that using the default profile the smooth scaling is set very high, 1500MHz. Can I set set that back to my default 800 or is this set intentionally that high?
[Galaxy S II Android Development] kantjer:
I see in your attachment you also have a "dorimanx_debug_logcat"

So I ran app-bug again, this time got the "dorimanx_debug_logcat" and also the black rectangle disappeared.
[Galaxy S II Android Development] johnbeetee:
ok...good ...could have been just a one-time glitch...maybe extweaks related...the black rectangle is the from extweaks, I think, and gives the return value/message of whatever has been executed...not a big issue, if it keeps behaving.....
[Galaxy S II Android Development] THE RED BLUR:
Fixed my my micro usb slot

Hi Guys

I thought will update and mention that I have successfully replaced my usb flex cable :).

I mentioned a while back the problems I was having with my micro usb on my phone and the negative effects it can have here. http://xdaforums.com/showpost.php?p=30290884&postcount=3619

I temporarily fixed the issue by putting my usb cable into my phone usb slot and shaking it left right up and down gently and it worked for a while but never at 100 percent as was before and not really a good thing to do in general.

I got the replacement usb flex cable and decided to replace anyway and it is pretty straight foward.

Rather then send ur phone away for 2 to 3 weeks to Samsung it took me only 25 minutes in total to fix.

I also when fixing used 99% Isoprophyl alcohol to clean the inside sections where the usb flex cable connects to circuit board as it cleans any corrosion.

I don't why Dreamextreme broke of parts of his board when replacing when he did it.:eek:

I followed this video guide if anyone else is interested. You dont need to follow all of it to be honest with you just up to the part of replacing the usb flex.

http://www.youtube.com/watch?v=aChzv3IzxsU&feature=channel&list=UL

Here is the picture of the removed usb flex cable and all the tools I used to fix this.

I have run some tests and did some transfers between pc to phone and it is back to 100% working order like when I first got the phone.
[Galaxy S II Android Development] kantjer:
congratulations with this. You are now the "geek of the week"
[Galaxy S II Android Development] THE RED BLUR:
Cheers mate. :thumbup:;)

Looks like both u and Johnny will be joining me with all this script stuff u guys I doing which is beyond my knowledge base at the moment.

1st ROM: RR ics 2.6.1 ONLINE

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] kantjer:
I'm running Voku's test kernel atm (without Johnny's scripts} with default cpu settings. Its running great so far.

No sod's or freezes, even with min. speed set at 100MHz. Its early days but battery life seems great too.
[Galaxy S II Android Development] johnbeetee:
Geeks Rulez!!! :laugh::laugh: (just try my best not to look like one....:cool::cowboy:

---------- Post added at 11:53 AM ---------- Previous post was at 11:53 AM ----------

+1
[Galaxy S II Android Development] THE RED BLUR:
Yeah me to i try to not look like one too;)

I'm testing new voku test kernel too.

It's working great. I need to check if the permission problem from prior kernel is fixed.

Check if in rom control u can change cpu to max 1400 and if it sticks on reboot.

UPDATE : the change in CPU didn't stick after reboot for me.

Also I got to boot into jb rom as that's where I had the sods and fc.

1st ROM: RR ics 2.6.1 ONLINE

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] johnbeetee:
...just a bit curious about that (I don't personally use it...), but are you setting the 1400 max freq. also in extweaks (else one of both will override the other....but maybe I'm reading your problem wrong.....
[Galaxy S II Android Development] THE RED BLUR:
Nah but i never used to before and it worked . It's like using an app like voltage control to set max cpu on boot but i never needed to because rom control has it built in in 2.6.1 .

So if i change in performance it would save at that setting on boot.

Maybe changes in recovery have given extweaks the priority and made rom control performance redundant. :o

Main ROM : RR AOKP 2.6.1

2nd Rom : RR JB 3.04

KERNEL : Dorimanx 5.67 voku

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] johnbeetee:
Yep...the problem is extweaks values are always applied (especially using cortexbrain which switches them all the time), even if you don't have extweaks installed ( the working functionalities are all scripts, and extweaks is just a front-end app).

So maybe in the past the timing was different and they got applied by the rom after the extweaks settings and now they don't, but using cortex on will certainly set them back to the extweaks values....
[Galaxy S II Android Development] Krishnadusad:
Wow ! So you finally did it ! :D keep us posted on the results too. Just gotta find where to find all this stuff in India :/

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 12:11 PM ---------- Previous post was at 12:08 PM ----------

Btw to me you guys ( john ,REDBLUR and kantjir ) are like geek gurus :cool: . I wish i become like you guys too :p

All hail the geeks ! :thumbup:

Device : GT-I9100

Kernel : DORIMANX 5.67 new

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] dorimanx:
you can always go back :)

this kernel will grow more every day!

so dont miss the train :)
[Galaxy S II Android Development] Vaedryn:
Thank you for the Kernel , will give it a try :)

Best Regards
[Galaxy S II Android Development] XDA mark:
AOKP is CM9 based. I'm also on AOKP, so maybe you should look into that, many people here use AOKP based ROMs. I'm on Hydrogen ICS :)

edit: he wrote AOSP. Sorry, my mistake, totally didn't focus while reading. Barca - Chelsea :P
[Galaxy S II Android Development] Ibsonic:
Should i wait with using this kernel, or are the differences between siyah and this one big allready..?

So this one is better with performance and batterylife..
[Galaxy S II Android Development] deckio007:
Loved dorimanx on my htc hd2!! looking forward to SGS dorimanx goodness :D
[Galaxy S II Android Development] sahidmiah:
Does this work on hydrogen ics.4.04 aokp rom
[Galaxy S II Android Development] dead0:
im using 89luca's cbr rom: http://xdaforums.com/showthread.php?t=1604366
[Galaxy S II Android Development] Harthouse:
So far, this is the best kernel, there is no doubt!!! The BEAST!!! Thx, dorimanx. :D
[Galaxy S II Android Development] zantekk:
PLEASE!

Read the fu**ing first post !

It makes me crazy, everyone is asking the same questions over and over again..

learn to read.

btt:

very nice kernel :)#

well done.
[Galaxy S II Android Development] Smackdog:
Unfortunately disabling debugfs also disables support for Voodoo Louder. Which is an essential app for me. Shame, I really wanted to try this kernel too!
[Galaxy S II Android Development] dorimanx:
Strange, this should work...

I need one more user to test this..
[Galaxy S II Android Development] dorimanx:
what is this app, and why it's important to waste performance on it?

i can activate debugfs is it's really needed!
[Galaxy S II Android Development] Smackdog:
It's an amplifier for the headphones. I find that the default volume isn't quite loud enough, so I use this amp to boost it up. By all means, don't neuter your kernel just because I need my music too loud! :)
[Galaxy S II Android Development] dorimanx:
i have it enabled now in test kernel.

i dont see any regression in performance.

so you get your app running soon.

i need to test some new stuff, and ver 1.1 will be up.

Sent from my GT-I9100
[Galaxy S II Android Development] mir2006:
You're the boss Dori!
[Galaxy S II Android Development] apeiron6:
Great kernel, everything works great. I hope that battery life will be good. Congratulations!
[Galaxy S II Android Development] rlorange:
Just flashed your kernel very nice so far.

Yes please do allow voodoo louder to run as it's essential!

My keyboard has never been this snappy. 1500mhz is perfect as my phone doesn't do 1600.
[Galaxy S II Android Development] Prouden:
Great kernel i test this kernel @ Resurrection Remix ICS AOKP
[Galaxy S II Android Development] chandler240:
Dorimanx!!!!!!!
[Galaxy S II Android Development] dorimanx:
yes many phones dont like 1.6ghz

and not much to do.

so i added 1.5ghz tuned close to 1.6ghz

all fast as hell, and no hangs :)

ver 1.1 with all that needed will be up today evening my time :)

Sent from my GT-I9100
[Galaxy S II Android Development] azulgranas:
Hi. I've just installed siyah via recovery and it's fine. Then I flashed this kernel again and the same problem still happens. Maybe it's just me so that i can't use this kernel :D. I assumed that this kernel has a secret password but seems it doesn't.
[Galaxy S II Android Development] Hannibal226:
Maybe to warn other guys and help the dev u should tell us which rom u use ;-)

Sent from my Galaxy S2 - I9100 with SensatioN Rom!
[Galaxy S II Android Development] dorimanx:
DELETED
[Galaxy S II Android Development] LNJ:
I get the encryption password thing too even though encryption is not set up.
[Galaxy S II Android Development] dorimanx:
Hmm.. ok i will remove the added lines in init scripts for encryption...

probable not good for use for now..

thanks for report...
[Galaxy S II Android Development] Arnadel:
I installed the kernel and reboot but I saw a screen. -- > enter password to decrypt device storage ?

What is this ??
[Galaxy S II Android Development] freewind29:
I am using paranoidandroid 0.6 with your 2.4 kernel, and seems no problem yet. Thanks and keep up!
[Galaxy S II Android Development] pulser_g2:
Pfffft...

dominarix, do you always talk crap?

ODIN flash this kernel, and I await your apologies to all concerned, including myself for wasting my time. If you want to throw around accusations about it checking for the kernel name, then by all means do so. WHEN YOU CAN PROVE IT.

Heard of the command "grep"? I suggest you use it. There's no such code... Flash the attached kernel, and look at the about screen. Now go test out BLN.

Instructions to replicate this:

git clone https://github.com/gokhanmoral/siyahkernel3.git

git clone https://github.com/gokhanmoral/initramfs3

run "make siyah_defconfig"

Edit .config inside siyahkernel3 folder with nano or another editor.

Find line beginning CONFIG_LOCALVERSION

Change whatever it is to

CONFIG_LOCALVERSION="-Pulser@XDA-v13.37"

./build_kernel.sh

Then open ExTweaks, and test out BLN.
[Galaxy S II Android Development] pulser_g2:
I have confirmed BLN functions both in test mode, and in regular "operating" mode when an email is received. Settings were at 1 minute "timeout", breath BLN mode. ROM used was CM9 18/5 nightly.

This information is posted for repeatibility of the test.
[Galaxy S II Android Development] pulser_g2:
You made an allegation that gokhanmoral was either breaking the GPL or somehow trying to hinder the use of BLN on kernels with names other than yours.

I believe this has pointed out there is no such code in place. If you cannot see that the following shows this, please re-read this:

- I have taken a clean source tree, and built the kernel using a different name

- I have then flashed this kernel, and demonstrated BLN works (I would post a photo of the kernel name AND bln lights on, if it were possible to have BLN show while screen is on)

You made the allegation he was breaking the GPL or otherwise being dishonest. Do you feel this is appropriate? Words are powerful, you've said them and now you can't take them back. Was it justified to accuse him of the GPL "violations" you cited, when in fact you had no evidence of this?

There is such a thing as good practice. It's where open source developers do not go about accusing each other of things, they instead work together. Your behaviour here clearly was not reflecting this general approach (which is one to take throughout the open source community, not just on XDA-Developers).

Feel free to contact one of the other admins if you wish to discuss this further. I'd suggest egzthunder1 (http://xdaforums.com/member.php?u=252661) since this would probably be the line of enquiry he'd deal with.
[Galaxy S II Android Development] pulser_g2:
OK...

First post on the topic can be seen in http://xdaforums.com/showpost.php?p=26291178&postcount=385. Here, gokhan replied in a fair manner.

http://xdaforums.com/showpost.php?p=26295411&postcount=387 makes the accusation of the source differing from the binary. This is a serious accusation and not one to make lightly.

http://xdaforums.com/showpost.php?p=26297242&postcount=390 calmly responds, asking for justification to points made.

http://xdaforums.com/showpost.php?p=26300203&postcount=392 attacks and states GPL violation.

I'm going to finish with http://xdaforums.com/showpost.php?p=26300870&postcount=393 before I lose patience, refer to the link there, and note this is a "developer" who didn't know how to initialise a variable.

Having pointed out that dorimanx started this dispute, I believe that can be put to rest.

Please explain how the charge against dorimanx is naive or otherwise incorrect, I would be glad to investigate that in the same level of detail as was done here in ascertaining the veracity of his (now proven false) claims.

You then go on to say he's suffered from public pillory. What about the equal treatment he subjected his victim (gm) to? He chose to take the dispute into a public thread, so it will be resolved here in an objective manner.

XDA is a developer community. It is one where one does not simply make accusations without solid grounding in evidence and facts.
[Galaxy S II Android Development] tghandour:
What exactly you do for living?! And what does that have to do with the subject in place.. Dorimanx you are really pathetic as you started all of this by wrongfully accusing other developer like Gokhan who truly spends endless hours of developing and innovating for people he does not know and a simple thank you is just what gives him the motivation and momentum to go on..

Linux Open source code and licensing although it abides developers to share their source code and hard work with others to use like you, but that does not deprive them from a simple thank u and to be grateful to them for using their hard work..

But it seems that u took that for granted and that such great developers have to be under your command at any point of time you need help because u don't know how to do it. Also to be rude enough to flame and accuse if u just didn't get what u want from ur point of view..

Please stop making from your self an idiot by posting more crap... :mad::thumbdown:
[Galaxy S II Android Development] pulser_g2:
You neglected to mention the part where you flamed him and accused him of breaking his code on git so that it didn't work.

I have no certificates in developing linux or security, I know what I do, yet it appears that there are some fundamentals needing reviewed here.

Would you behave like this on the kernel.org mailing list? Would you email one of the contributors and accuse him of doing something within his GPL'd code (which is on git by definition) to stop BLN working?

XDA is a developer community. This is where facts speak louder than words. Present facts rather than words. Don't accuse someone of "doing something to stop it working". If you think there is something, git pull, then grep the commit logs for bln, and start looking through the commits. That's what open source is about! Then come here and say

"this line saying:

if (!isCalledSiyah) { disableBLN(); };

is causing issues, would you care to remove it"

Rather than come and shout that he's doing it, then be unable to provide any kind of evidence. I provided a kernel, and instructions to build it (as I did) to disprove the claims you made. You were unable to even provide a single line of code to suggest that BLN was somehow being disabled due to the kernel name.

It's facts and evidence that developers work around. One of the first things you learn as a developer is to not trust something unless you can justify it, and prove it. Justifying it means to explain how it works in this context, and proving it means a repeatable test which shows the issue. You claimed BLN was being prevented from working on a kernel not called "siyah". I have disproven that, provided the files needed to, and the build instructions to repeat it.
[Galaxy S II Android Development] Arnadel:
Dorimanx ! Please Help Me !!
[Galaxy S II Android Development] tghandour:
This is a good starting point Dorimanx. Admitting the truth is a virtue as they say and one has to be honest to himself as well as to others and be courageous enough to admit his fault and apologize.

Pulser has proven in a scientific, systematic and professional way that u were wrong about accusing Gokhan that he is intentionally hiding part of his source code and that needs a simple apology and keep going on as far as some people do appreciate what u r doing.

Showing a sense of appreciation to others for using their source code is required as well as far as a someone like Gokhan was never reluctant to help users and developers all the time doing his best to make us all enjoy our state of the art handsets .
[Galaxy S II Android Development] dorimanx:
uploaded kernel 2.5, please see if it's resolved, also now it's possible to use it as odin tar, all modules are back to kernel image.

added more voltage to be gained when charging.

700mv on charger 650 on misc (car charger) and 500 on usb.

Also charging in power off state is working again.

thanks.
[Galaxy S II Android Development] LNJ:
Still getting the encryption error. I'm on Sensation 3.4 which is Samsung based.
[Galaxy S II Android Development] dorimanx:
o wait, if its samsung based then i made the change in the wrong place, i will correct it and upload again, thanks for testing.

Sent from my GT-I9100
[Galaxy S II Android Development] MrR0ck:
Same.Dorimanx, please, add function to off this option.