yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] #illidan:
Ahh beautiful!! A friendly face:D. I'm sure I'll get up to speed pretty quick if I decide to stay thanks to you of course. Thanks for clarifying all my questions as always. Entering with an open mind so I hope I do get suprised.;)

As for the governor prams I had a feeling I would have to do something like your suggestion. Would wait_for_fb_wake/sleep with a sleep of 5 work or would there be a confict?

Since in Siyah the standard hotplugging logic is hidden in extweaks when pegasusq governor is used but since it doesn't happen in dorimanx it led me to ask that question but that's now cleared.

Thanks for cueing me in about mali touch boost. I knew that step1 would always be active but I just wasn't sure as to how it would work now with the new feature although it should have been pretty obvious to me.

Now as for the bug I would be more than glad to provide logs so as to help the developer's debug the issue but I'll only be able to do it after a couple of days as I'm right now trying to stabilise the phone with the new kernel.

It would be a logcat -b because it seems to be a radio issue right or a normal logcat would do?
[Galaxy S II Android Development] avinashadvani:
Hi further to my testing, my phone again switched itself off twice today yet again :(

couple of freezes again on lockscreen and had to reboot the phone, as it would not respond..

is there a problem on 5.69?

I think i will go back to Siyah 4.1

how can i help the developer by submitting log etc, I am not sure what to do to get this information out so that it can be checked.
[Galaxy S II Android Development] johnbeetee:
1. Frankly, I've never tried using two parallel processes using wait_for_fb_wake, but in theory it should work ; with tasker I'm using indeed using a delay of 5 sec., and it does the job nicely.

2. judging by the firewall tweaks, I can hardly believe it's a radio (hardware) issue, but one never can be 100% sure ; it's more likely to be on the protocol level, meaning maybe related to your providers network protocol, and/or apps used in conjunction giving the problems. So you can try looking at all these aspects, and to be safe do a normal logcat.
[Galaxy S II Android Development] avinashadvani:
@Krishnadusad

i got 2 freezes again today at lockscreen and two times my phone went off , another weird issue is after the first time when my phone went off and i removed battery and switched it back on, i found all my old SMS had disappeared from phone only the SMS received today is in the phone, this is really really strange now I lost all the old SMS some of which was important to me.:crying:

how can i help my giving debug/log ? where can I do this from, I will be glad to help if I can as I am really keen on better battery life.

any tips will be appreciated or if anyone else has any ideas.
[Galaxy S II Android Development] kantjer:
Hi guys,

Most of the sod's seem to happen with JB ROM's, and mostly after some days of use and/or when unlocking the screen.

I have been reading about a memory leak issue on JB ROM's, special the following triggered me:

Original thread

If you look at the first 2 suggested fixes, they are in line with what users here reported. Could this be the cause off our problems?
[Galaxy S II Android Development] johnbeetee:
We need to consider every possible cause, so ...great findings!

As for 1, I think even on ics I used to reboot after a few days just to get a crisp fressh working system, 2. can't imagine this to be a real problem, unless the lockscreen code has been really poorly programmed, but I never say 'never', and as for 3 :

that's best judged by dorimanx/voku :

suggested 'fix'

vm.oom_kill_allocating_task = 1

vm.dirty_ratio = 50 (currently is 20)

vm.dirty_background_ratio = 20

vm.drop_caches = 1 (not found in cortex, maybe set somewhere else...)

vm.vfs_cache_pressure = 20 (currently is 25)

vm.min_free_kbytes = 153600 (currently is 4096)
[Galaxy S II Android Development] aceman_76:
I get random freeze on lockscreen and slowdowns on RR 2.6.1with 5.66 and upwards, I use 5.65.1 with no problems.
[Galaxy S II Android Development] kantjer:
Unfortunately I can't test this, my employer is forcing me to use PIN lock :mad:. Without it I can't access my company mail and agenda.
[Galaxy S II Android Development] bjareboy:
To all of you with random freezes, try disabling the gestures switch...
[Galaxy S II Android Development] johnbeetee:
To be honest, I'm trying to get freezes/sod's however possible, so I'm keeping everything 'suspect' active ; but still none! (on RR305 JB)

I've disabled all my own tweaks, default profile, min freq's all 100, standard cortex, without mods, all options + gestures on, my (as far as I know stable but heavily) undervolts, so I'm just gonna wait and try and use it as much as possible, all possible uses, and see when (if) it freezes or sod's....

( I can't imagine what I'm doing wrong, in the right sense, that I'm not getting any problems....:confused:)

So unless anyone has any suggestions, how I can reproduce something, I'll just have to wait and see as time progesses.....:rolleyes:
[Galaxy S II Android Development] kantjer:
Same here, I had one freeze yesterday before the boot process was even finished, beside that one my phone has been stable since installing 5.69 last Friday.

But I installed a new ROM last Saturday, so I rebooted my phone at least once a day since then to make backups etc.

EDIT: What is your Free memory setting in Rom Control/Performance/Other Settings?

Mine is set to 80mb, could be that if the memory leak theory is correct, its set lower on devices having problems with sod's
[Galaxy S II Android Development] avinashadvani:
have disabled that gestures switch as suggested before, nothing else is touched in extweaks...

i am on RR rom 2.6.1

i have now installed 5.67 to try out, as phone going off and me missing calls/messages is tough
[Galaxy S II Android Development] johnbeetee:
..just checked: default 80 (I never tweak that setting....)

EDIT:...hmm....will try setting that lower and see ....:)....now on lowest (25)
[Galaxy S II Android Development] ambichetan:
sorry r ask this silly..

I am not able to find disabling gesture movement settings in ex tweaks.. pls help
[Galaxy S II Android Development] THE RED BLUR:
:confused:

Main ROM: RR ics 2.6.1 ONLINE

KERNEL : Dorimanx 5.69

MODEM : BVLP7

ROOT APP : SuperSu
[Galaxy S II Android Development] johnbeetee:
it's under the tab 'audio+swipes'....

(great teamwork @RED : you do illustrations, I'll provide the caption :laugh:)
[Galaxy S II Android Development] THE RED BLUR:
Lol;)

Main ROM: RR ics 2.6.1 ONLINE

KERNEL : Dorimanx 5.69

MODEM : BVLP7

ROOT APP : SuperSu
[Galaxy S II Android Development] xanthrax:
i`ve been using this since my old HTC HD2 with a small RAM build it in and it was very helpfull
[Galaxy S II Android Development] kantjer:
And do have any sod's or freezes while using the app?
[Galaxy S II Android Development] johnbeetee:
Thanx for the suggestion! There are a lot of apps for reporting free ram...I try to stick to whatever is built in like in the rom Task Manager (stock and RR). Besides the sgs2 has in my opinion a 'huge' amount of ram and android (linux) is normally very efficient and diligent in managing the ram, even when it's very limited.

In this respect, I have a little bit of doubt whether this might be the problem, but it's been mentioned elsewhere, so there just might be a bug in Jellybean sources, in which some jellybean specific processess aren't clearing their used memory in a orderly fashion.

But still, up to now, no problems at all...I'm still trying to get it to crash or freeze somehow......no luck so far....will keep trying :)
[Galaxy S II Android Development] yeeahnick:
Try LD3 (bell`s latest ICS modem), its the best for canada IMO
[Galaxy S II Android Development] xanthrax:
Aha !!! That's might cause the better stability on my mobile, I had one or two freezes but only before activating the app. It was installed but not started.

Now I'm on bologna new ROM since morning and no freezing at all

Thanx
[Galaxy S II Android Development] Krishnadusad:
Just had my first freeze and that too on ics ! :eek: . I think lockscreens the culprit.

Device : GT-I9100

Kernel : DORIMANX 5.68

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] THE RED BLUR:
I have been getting fantastic battery and performance and most importantly stability out of latest 5.69 on ics 2.6.1. :

I have doing all the normal stuff I do and reported before including using the xda app and keeping everything default with gestures turned off cause apex does a better job.

No freeze or sods thus far as I suffered on all jb roms I have used.

I still have 45% battery left with with screen on time of 3 hours.

I have not rebooted phone once in this test round and will keep it that way for how long the battery will last most likely by tomorrow. :)

UPDATE : ****. This is embarrassing. I just had my first screen freeze. :( I thought before this happened I would use the debug feature in extweaks and upload it via dropbox and share it.

I then decided to try upload it via pc web browser as an attachment which it wouldn't let me do.

In the mean time my phone when to to screen off and when I tried to awaken the screen was frozen on the lockscreen.

I had to restart the phone in order for it to work.

Should I upload both debugs one before the freeze and one after the freeze.?

Link to before and after debugs

https://www.dropbox.com/sh/vnprrh1mej9hpfb/oJ_cHznMqd

Main ROM: RR ics 2.6.1 ONLINE

KERNEL : Dorimanx 5.69

MODEM : BVLP7

ROOT APP : SuperSu

---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------

U still on 5.68?

Main ROM: RR ics 2.6.1 ONLINE

KERNEL : Dorimanx 5.69

MODEM : BVLP7

ROOT APP : SuperSu
[Galaxy S II Android Development] Krishnadusad:
Nope . On 5.69 since 25 and have had the best battery life since the birth of my device ! Have been getting 4+ hours of screen time in almost 4 cycles now ! :D the one freeze spoiled my awesome stats .

Device : GT-I9100

Kernel : DORIMANX 5.68

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1

---------- Post added at 04:36 PM ---------- Previous post was at 04:35 PM ----------

EDIT: Just noticed I hadn't updated my sig. :p

Device : GT-I9100

Kernel : DORIMANX 5.69

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] THE RED BLUR:
Lol! Yeah same here. I was on track without rebooting to get 6 hours screen on time. Stangely though normally when I get a freeze and have to force reboot I normally lose like 20 % or more battery. This time I only lost 1%.

Main ROM : RR 2.6.1. (ONLINE)

2nd Rom : Openkang jb1

KERNEL : Dorimanx 5.69

Modem : BVLP7

Root app: SuperSu
[Galaxy S II Android Development] Krishnadusad:
6 hours :eek:. Btw even i didnt loose much battery on rebooting after that freeze only about 2% . I think our phones like doris kernel now.

Device : GT-I9100

Kernel : DORIMANX 5.69

Primary Rom : RR 2.6.1

Secondary Rom : RR 3.0.1
[Galaxy S II Android Development] xanthrax:
Stay calm guys , I've got an SOD also with that app installed as well ... JB farting machine :rolleyes: gestures disabled but average memory free 250 mb
[Galaxy S II Android Development] yeeahnick:
Aight fellaz, 4th day of testing 5.69 and so far no freezes/sod like i had with the previous version. I think people who are still having freezes is because they are running JB and not ICS. So if you want no problems i suggest to install RR 2.6.1 and see what happens =)

The only tiny issue i have is that my lockscreen wallpaper disappears after a reboot. Is there a fix i am unaware of for this type of issue?
[Galaxy S II Android Development] Pigmachine:
2d 19h

40% battery left Really moderate use!

Noticed one thing thou.. when answering a call.. the first ½-1½ seconds, they don't hear me? Never happened before? Something I need to tweak up to get immediate 'talkability' ?
[Galaxy S II Android Development] MDE_86:
Wow...3 pages of changes on github just today. Nice work Dori :)

Tapatalk / SGS2 / Cyanogenmod 9 Nightly / DorimanX Kernel.

---------- Post added at 09:31 PM ---------- Previous post was at 09:30 PM ----------

Don't have that issue...hmmm

Running 5.69

Tapatalk / SGS2 / Cyanogenmod 9 Nightly / DorimanX Kernel.
[Galaxy S II Android Development] :
Does this Kernel have the Brickbug on 4.0.4 with the Full Wipe?

My english is too bad to unterstand what the dev says in first post with mmc cap erase
[Galaxy S II Android Development] It_ler:
No, no brickbug in this kernel.
[Galaxy S II Android Development] skymera:
Seems using zipalign feature from extweaks has broken CM10. Everything force closing.

Any way to fix besides wiping?

EDIT - seem to have fixed it.

Manually zipaligned /data/app/*.apk, /system/app/*.apk and /system/framework/*.apk
[Galaxy S II Android Development] kamiar1:
im sure that the best kerenel for S2 is this kernel, I love it, specially the gesture setting.

but DORI can you please add SLIDE2WAKE to your kernel? like flux I kernel. that would make your kernel greater!

thank you for your great kernel. keep going!
[Galaxy S II Android Development] Crazy-Silver:
Guys what are the gestures? How can i use them?
[Galaxy S II Android Development] Flint2:
Read this

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

[Ref][Kernel]Triggering actions with touch gestures

Sent from my GT-I9100 powered by Dorimanx kernel and Resurrection Remix Jelly Bean
[Galaxy S II Android Development] cybernetus:
Relax, this kernel doesn't have the brick bug.

The dev says this kernel isn't have this brick ... but if you comes from a ROM with this bug, take care :)
[Galaxy S II Android Development] FileFixer:
I have a phone with brick bug and work perfect with Dorimanx kernel (MMC_CAP_ERASE). It is full safe to use.
[Galaxy S II Android Development] #illidan:
There is a general RAM management issue with all exynos based devices on JB. There is nothing wrong with JB except that it doesn't play well without devices. Codeworkx the CM maintainer for our device said that memory leaks happens mostly when using system apps & the lock screen strangely enough & that the RAM used up is being released when you exit the app. He is working on some fixes but he says he needs Samsung’s kernel sources for JB

to fix it completely. The only workaround now is a reboot once the phone starts to lag. Can't can comment on the freezes though.

If I may provide a little info as to why the above happened to both of you'll it would be attributed to the fuel gauge in our phones. Our fuel gauge is kind of funny & whenever you do a reboot with the battery percentage below 40 the fuel gauge goes wack a doodle & shows you a random figure but if you just leave the phone by itself the percentage climbs back up to the actual percentage its supposed to be or if you use the phone after the reboot you would notice that the percentage drops takes more time than normal & that's because the fuel gauge is messed up.
[Galaxy S II Android Development] avinashadvani:
I envy you guys who have 5.69 working fine and with such great battery life!! it just didnt work fine on my phone on RR rom 2.6.1 and i have no other apps on my phone very vanilla so dont know what causes the random shutdowns and freezes

i have put 5.65 last night and so far no freezes yet will keep monitoring

else i go back to Siyah 4.1.1 which worked fine for several months for me except not the great battery life dorimanx users have :(
[Galaxy S II Android Development] #illidan:
Well I've tried using wait_for_fb & it doesn't work. I've just glanced through the cortexbrain script so I don't really know the reason why although with a sleep of 5 their isn't any reason why it shouldn't. Now I would need to go through the script line by line which is tedious to say the least. John could you let me know very basically how you implemented this through Tasker? Is it just screen on/off > 5 second delay > run script via Tasker?
[Galaxy S II Android Development] pSyCh¤_O_O:
+1000000000000.....

Edit. With an on/off switch in ExTweaks:p

OT....Im also getting best battery/performance and low heating on my phone since looong time:thumbup::D

I also had 1 freeze but I didnt do the usuall battery pull and few proper charge cycles before it happend so its probably juuust fine as usuall.....just got to settle a little more

Thanks Dori;)

- 1st ROM: PARANOIDANDROID 1.992

- 2nd ROM: SlimBean 2.1

- Kernel: Dorimanx Kernel V5.69

- Next 2nd ROM: cMIUI JB 2.8.24
[Galaxy S II Android Development] johnbeetee:
Yep...that is basically it. With tasker you can go a lot of ways. You can run a script directly, you can run commands through a locale plug-in or you can do individual lines with echo commands...it a matter of choice really.

The cortex script looks huge at first, but it's really very straightforward. Just have a look at the structure. It's mostly function definitions and a conditional run section right afterwards. Look for the function CPU_tweaks, and you'll see an if statement with three sections depending on the profile, and within each section all the prams for the gov's.

Did you also choose the right gov's in extweaks 1st tab (awake gov. and sleep gov.)?. These are the ones cortex keeps using for awake/sleep state, unless you program your script to change the gov aswell...

EDIT: I assume your using tasker nowadays? I can provide you with some profiles/tasks for this if you want....
[Galaxy S II Android Development] #illidan:
I went through the script & I did see the CPU_tweaks part but I didn't see the screen state evaluation condition over there or maybe I missed but I did see that condition at the end of script. Yes at first due to the size of the script is a bit overwhelming but since it's structured very well I'm sure when I have a bit of free time I'll get to it. As for the governor selection in ExTweaks I've maintained the same governor for both screen states.

I have purchased Tasker & I'm still learning the ropes but I haven't had much time to spend on the learning process so it's going a bit slow. I would really appreciate it if you could send me that profile cause it would really save my time.
[Galaxy S II Android Development] kantjer:
I tried zipalign once a few weeks back, and had the same problem, everything was fc'ing. Restored a backup to get everything working again.
[Galaxy S II Android Development] inu629:
I want to use this kernel but here is my problem:

I've used Resurrection Remix with kernel since CM9 then CM10 and now Siyah Kernel, Touch sensitive are smooth and I love it.

But I have tried many other kernel including this Dorimanx 5.69 but I don't know why the touch sensitive is not the same as CM and Siyah.

I feel like the scrolling is not comfortable. Then I try change some screen settings (extweak) as siyah but didn't help anything.

Tested on RR 2.6.1 and RR 3.0.5 (same problem)

I don't mean it's not smooth but I want it same as what I've been using :)

Anyone have same problem?
[Galaxy S II Android Development] voku1987:
I think "fix permissions" via extweaks + reboot after the work is done, can also fix the fc'ing
[Galaxy S II Android Development] johnbeetee:
This should do it....these are 5 tasks, a main one and for 4 governors I'm using atm...you'd want to put the 'Set_govs' task in a profile for screen on or off after a delay for cortex to have completed. You can import them by longpressing on tasks in the tasks tab.

It checks which governor is active and calls the respective GOV_xxx task for the settings. With these as examples you can expand it any way you like and tweak the gov,prams to your preferences.
[Galaxy S II Android Development] kantjer:
I tried wipe cache, dalvik and fix permissions in recovery but it didn't work. But I haven't tried it since this test a few weeks back.
[Galaxy S II Android Development] voku1987:
... here the min. version of screen state detection ->

(while [ 1 ]; do
# AWAKE State!
STATE=`$(cat /sys/power/wait_for_fb_wake)`;
AWAKE_MODE;
sleep 15;

# SLEEP state!
STATE=`$(cat /sys/power/wait_for_fb_sleep)`;
CHARGING=`cat /sys/class/power_supply/battery/charging_source`;
if [ ! "$CHARGING" -ge "1" ]; then
SLEEP_MODE;
fi;
done &);
[Galaxy S II Android Development] kantjer:
Thanks for the profiles, I never new you could do these things with Tasker (leaning all the time).

I have 2 questions:

what delay did you set before Set_Govs is executed? I have set them at 5sec. for both screen on and off, but I have no idea if that is enough or to much.

did you use the screen on/of state or event context to trigger Set_Govs, atm I use the event context.

Overall the phone seems snappier now I'm using yours scripts, but that could also be the placebo effect :o
[Galaxy S II Android Development] johnbeetee:
As a sidenote OT, tasker is the best app I ever bought. You can do about anything you can imagine with it. (..even make standalone apps :) )

With some creativity, you can program anything you like instead of using (another) app for it.....

I think a delay of 5 sec. should be enough (maybe even less). You can check, if it has been applied with Nstools for some of the governors (not all, as Nstools doesn't support all of them). If you have Setcpu, you can also use that for checking...just make sure that if you use setcpu, you don''t have it set to use a profile of its own, which will ineterfere at a given point....

And yes I use a context trigger (profile) for screen on, one for screen off, and under these I put whatever needs to be done when those are active. I also have one for on device boot. (and a lot of others....but that;s the beauty of tasker :))

You can also choose to put it in a profile for 'screen on and unlocked' if you prefer. The parameters are individual lines in the respective tasks, and can be tuned to your own preference (more performance or less for batterylife...)
[Galaxy S II Android Development] Spacemonkie4207:
Well this work with Slimbean?

DEVICE: 9100m

ROM: Slimbean 2.1

KERNEL: DREAM latest
[Galaxy S II Android Development] xanthrax:
Well I've got a Mazda 2 sport in my signature, can I drive a Mazda 6 ?

thank you! :banghead:

Seriously, why don't you try and be nice to tell us if it works, it's easier for you than for us to try another rom ...
[Galaxy S II Android Development] HLG.:
Just install the kernel a few days ago and it's running all right, i like the touch recovery :D

I have an question, I am currently running LPG and I wanna install a JB rom as a secondary rom, will I have to do a wipe data, cache and dalvik before I install the new rom?

If I do a wipe, will any of my apps from the LPG rom will be wiped?

Thanks.
[Galaxy S II Android Development] kantjer:
Have a look here for information about dual booting.

Good news is you won't lose any of your current set-up.
[Galaxy S II Android Development] jsujendro:
Your secondary ROMinstallation will not affect your primary ROM - that is the whole purpose of the multiboot option.

You will do wipe data, cache and dalvik on the second ROM, while leaving your primary ROM intact.
[Galaxy S II Android Development] yeeahnick:
Unfortunately i had my first freeze on my 5th day of testing 5.69 =( It happened when i had facebook opened and then i locked my phone, when i tried to unlock it the phone froze and i had to hard reset =(+

Let me know if i did the logcat right as this is the 1st time i export them.
[Galaxy S II Android Development] Flint2:
lockscreen bug

I disabled lockscreen and now i having 1 battery cicle and 1 day 1 hour uptime.

Maybe is a ROM bug, I don't know is kernel related.

I will report if SOD or Freeze (I hope never, but with Murphy's law around i'm never sure)

Thank you very much for bringing this up!