yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] voku1987:
have you access to you device via "adb shell"?

free

-> shows your memory (physical + swap)

# For on the fly changes we need to shutdown ZRAM first.
swapoff /dev/block/zram0 >/dev/null 2>&1;
swapoff /dev/block/zram1 >/dev/null 2>&1;
swapoff /dev/block/zram2 >/dev/null 2>&1;
echo "1" > /sys/block/zram0/reset
echo "1" > /sys/block/zram1/reset
echo "1" > /sys/block/zram2/reset
# Setting size of each ZRAM swap drives
echo "51204000" > /sys/block/zram0/disksize;
echo "51204000" > /sys/block/zram1/disksize;
echo "51204000" > /sys/block/zram2/disksize;
# Creating SWAPS from ZRAM drives
mkswap /dev/block/zram0 >/dev/null;
mkswap /dev/block/zram1 >/dev/null;
mkswap /dev/block/zram2 >/dev/null;
# Activating ZRAM swaps with the same priority to load balance ram swapping.
swapon /dev/block/zram0 -p 20 >/dev/null 2>&1;
swapon /dev/block/zram1 -p 20 >/dev/null 2>&1;
swapon /dev/block/zram2 -p 20 >/dev/null 2>&1;
# Setting swappines
echo "30" > /proc/sys/vm/swappiness;

-> this will active swap ... (you can also enable it via "ExTweaks"-App [same code]) so please test it :)

---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------

please test it ... I need feedback!!! :D
[Galaxy S II Android Development] dorimanx:
zram will gain used swap only if you load lots of things to ram, if you have lots of free ram (cached by linux) swap will not start to rise.

but you see that size is 300MB and free 300!

about free RAM, kernel use more then others, + i have excluded more ram for kernel and for video, so user RAM is lower, but you have zram to compensate.

so no problem. bigger the engine more fuel it's needs :)
[Galaxy S II Android Development] yahyoh:
why hehe :D

btw i really like how u tried to reply to all users and help them u r amazing developer :good::good:

now the only problem is dsp manger :o
[Galaxy S II Android Development] big_bum:
Can't install 7.29. It says "Cannot open dori*.zip (bad)". I've downloaded it 3 times.

Redownloaded fot the 5th time, now it works.
[Galaxy S II Android Development] Christiancs1969:
Worked fine for me;)

[COLOR="#black"]galaxys2 [/COLOR] dori7.28 rootbox nightly enzo
[Galaxy S II Android Development] dorimanx:
just uploaded more updated version of 7.29!

download again.

and next time just check the MD5 and size from site and in your PC.
[Galaxy S II Android Development] JulianXhokaxhiu:
I can confirm it just works :) Pretty much fluid than 7.26. Thanks!
[Galaxy S II Android Development] bleuxeon:
7.29 solved the problem with pegasusq keeping both cores always ON.

But I don't see anything in the changelog regarding this...magic:confused:

EDIT : sorry but this "bug" (if it's one) is still here :(
[Galaxy S II Android Development] ZeNiXxX:
hey

the best way to install a kernel is to wipe cache, dalvil cache install the the kernel and then again to wipe dalvik cache (or you use cleaning script ). BUT now everytime when i hit wipe cach my STweak backup file is deleted to and I have to do all my settings again. So is there a way to backup it up on a other path or to protect it somehow from removing it ?
[Galaxy S II Android Development] dorimanx:
install kernel, REBOOT, and be happy, forget all the rest, FOREVER,
[Galaxy S II Android Development] dorimanx:
i will restore the pegasysq back to as was in next kernel.

for now switch to HYPER, allot better gov.
[Galaxy S II Android Development] bleuxeon:
Will do a full battery cycle with HYPER/ondemand to see...

But I have always find HYPER less responsive than pegasusq.

Anyway I will give it an other try.
[Galaxy S II Android Development] ZeNiXxX:
ok will do it as you say. Can remember that someone says that it's better for deepsleep when you wipe dalvik cache. But i will trust you Dori
[Galaxy S II Android Development] lakicamm:
@Dori

I wonder why you still use v0.9 of stweaks since v1.0 is out for some time now... is there something wrong with v1.0?
[Galaxy S II Android Development] Unexist6969:
You flashed the latest kernel ? Or if you come from previous update through playst
[Galaxy S II Android Development] lakicamm:
I came from 7.27 with updated stweaks to v1.0, and after installing 7.29 stweaks went to v0.9
[Galaxy S II Android Development] THE RED BLUR:
That's a first. Delvik is normally needed to be cleaned if a mod is flashed or when you first install rom.

You don't need to do it on Dorimanx kernel on each update as kernel doesn't effect the Delvik part as Dorimanx has stated.

He has a built in script in kernel that already cleans specific parts if necessary.

Cache, Delvik is done as a last resort if you are debugging a issue.

And kernel clean scripts like the one I posted on Dorimanx support thread are only needed to be used if coming from another brand of kernel or you have issues with current kernel, profile or something so used as a first step maybe to trouble shoot.

If problem occurs still then revert to previous kernel to see if problem occurs there too.

Too read more on this and other useful information read the support thread.

:)

http://xdaforums.com/showthread.php?p=34879811

http://xdaforums.com/showthread.php?p=34868267

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: NeatROM Lite 4.0 (ONLINE)

KERNEL : Phil

(DEFAULT PROFILE AND SETTINGS)

MODEM :

GAPPS :

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] johnbeetee:
I'm familiar with the effect you described, and it's not a bug, but just an effect of the used pegasus parameters. Changing these will return the behaviour you would want. But this is only possible if you disable cortexbrain, or edit the cortex script. Personaly I override the cotrex governor parameters using Tasker.

So strictly speaking, I don't see any need for reverting the new pegasusq changes (at least for now....), unless some other bug comes drifting to the surface... :)
[Galaxy S II Android Development] lakicamm:
I came from 7.27 with updated stweaks to v1.0, and after installing 7.29 stweaks went to v0.9

I just noticed, its not that i complain about it :)
[Galaxy S II Android Development] bleuxeon:
Well in nearly all previous Dorimanx's kernels pegasusq wasn't that affected by cortexbrain, and second core was sleeping when needed.
[Galaxy S II Android Development] johnbeetee:
I didn't pay a lot of attention and track of all previous version, but I'm sure I did notice that effect before ; but using nearly always my own parameter settings it was never a problem for me.

I can agree with you, that maybe the pegasus parameter in cortex may need some tuning due to the changes in the governor logic/code changes.

edit: my secondcore is turning off as expected, with pegasus and my custom parameters... (i'm on 7.29...)
[Galaxy S II Android Development] Breece:
Have to report with PA 2.54 & 7.29 my internal card is gone... This happened prior to 7.29 (with 7.27 for example) but I could fix it by shutting the phone completely off and taking the battery out. Now that does not work.

Connecting the phone to the PC via USB shows the internal storage.

[edit]

Found the fix:

Had to go to settings --> storage and remount the sd card.. Worked :)
[Galaxy S II Android Development] dorimanx:
new STweaks is in 7.29
[Galaxy S II Android Development] big_bum:
Stweaks profile wasn't reseted on flashing new kernel.
[Galaxy S II Android Development] Scarface1991:
Holy cow, 7.29 is soooooo smoooth. It`s really enjoyable to just swipe through the homescreens and to see no lag at all. You are a true Kernel master :D

I can confirm however the little music stuttering when turning off the screen. I am on Hyper governor (screen on and off) and latest JellyBam ROM.
[Galaxy S II Android Development] Crescendo Xenomorph:
Idk why always JellyBam that got the problem... Not attacking/flaming... But I tried it myself and got the issue you described... So strange with that build...

But on PA latest, the v7.29 is buttery oily smooth, no problem whatsoever and the phone remain cool while gaming and doing so many things...

Batt life is great, but I think I need another battery, its begin to puff/balloon due to age... :p

And, WHOA GUYS, 2 days didn't follow the thread due to office's journey to other city and there's 2 version of kernel and bunch of post... :eek:

About the intSD gone, do you use auto-reset TriangleAway? Its the issue for me here, got nothing to do with kernel btw...

ZRAM usage is maximized now, and its fast as hell..... Happy now... ;)
[Galaxy S II Android Development] #illidan:
Dori please don't revert the changes made to pegasusq. I'm tune my own kernel param & everything is fine (second core turns off when not needed as per my requirement). Johnbeetee has also been able to confirm this below so it maybe the governor parm in cortexbrain that needs to be tuned. I'd suggest to tune the script first instead of taking a step back.

I can agree with johnbeetee that I'm not having any issues with pegasusq on custom kernel param & that there is no need to revert the changes. s

Since pegasusq has hotplugging logic built in even the slightest error in setting the param can cause problems.

SwiftKey'ed from my PAC'ed GT - I9100 powered by Dorimanx

PHONE : SGSII

Primary ROM: PAC ROM V17

Secondary ROM: -

KERNEL : Dorimanx 7.22 (modified settings)

MODEM : LPS

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : SanDisk Class 4 8 GB
[Galaxy S II Android Development] manan001:
ya dori i completely agree ... better to tune the script rather reverting back.... and thanks for wonderful work. keep rocking ...
[Galaxy S II Android Development] tonysac:
Should we have triangle Away ticked or not? I'm facing the same problem with intSD and I went to settings storage to remount but after every reboot I have to remount it again

Keep walking Greece
[Galaxy S II Android Development] Mario1968:
Flashed 7.29 now boot ok with ICS, first impressions are good as 7.27 I had before.

Thank you Dori :thumbup:

Signature

Phone: Galaxy S2 I9100

Sent by: Tapatalk2

Firmware: XWLPF Stock

No 2nd Rom installed

Kernel: Dorimanx 7.29

no UV/OC

Modem: XWLPX (Stock)

Battery: Stock 1650mAh

SD: SanDisk 16Gb Class 4

Mod: Jkay V14.1
[Galaxy S II Android Development] Nos_20:
Flashed v7.29 now my wifi will not turn on??

Sent from my GT-I9100
[Galaxy S II Android Development] fjkum:
What the...? Log plz.
[Galaxy S II Android Development] kantjer:
First of all you're using the wrong thread, this is a development tread please use the Dorimanx Q&A / Discussion thread | Non-development thread for these kind of questions.

Secondly even the most basic information like ROM type, log and steps taken are missing. How do expect help without this information, we are not clairvoyant.

Have a look at "How to report bugs" and do so in the right tread.
[Galaxy S II Android Development] jootanen:
Now dualboot to ICS works. Great work dori

Sent from my GT-I9100 using 2nd ROM
[Galaxy S II Android Development] dorimanx:
i will check that...
[Galaxy S II Android Development] dorimanx:
care to share the pegasysq tuning, i will then use in in cortex.

thanks.
[Galaxy S II Android Development] Christiancs1969:
On 29 my steaks is v1.0

[COLOR="#black"]galaxys2 [/COLOR] dori7.28 rootbox nightly enzo
[Galaxy S II Android Development] kantjer:
Mine is still at 1.0 after installing 7.29
[Galaxy S II Android Development] Nos_20:
The version on the Play store is version 1. Anyways surely this should be in the discussion thread

Sent from my GT-I9100
[Galaxy S II Android Development] SnOoPy_8:
My too

29 it's amazing ;)
[Galaxy S II Android Development] mansoordk:
guys if you want to tune govs like pegasusq or ondemand use franco app it has option for that you can totally control pegasusq sampling rate_cpu up freq and........
[Galaxy S II Android Development] m1trand1r:
@DorimanX

Can you maybe add "advanced backup" feature into CWM?....

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] Breece:
I am not using triangle away and the phone lost the intSD over night (no reboot). Had to remount again.
[Galaxy S II Android Development] -earth-:
My steaks are medium. :D
[Galaxy S II Android Development] m1trand1r:
mine are vegan:p:D...lol:p

sorry for OT...i had to:p

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] nogo8888:
Sir have you resolved ntfs mounting issue? In previous dorimanx kernel i have mounted 1.5TB and 500GB altogether in a powered hub. I used paragon but now i cannot mount my external hdd. Im using 7.26 also tried 7.29 but to no avail.

Can please anybody share a resolution?

Thanks

Edit: it works on 7.29 and 7.20 but didn't tried on other releases. My bad. My apology to the good dev
[Galaxy S II Android Development] johnbeetee:
combinations are endless... :) , but here's a sample set, that targets a balance between battery savings and still some responsivness (hotplugging at high loads on low freq.and quick load handling using both core's, and as soon as possible realease of second core):

sampling_rate 40000

cpu_up_rate 10

freq_step 10

cpu_down_rate 1

up_threshold 90

down_differential 5

sampling_down_factor 2

up_threshold_at_min_freq 95

freq_for_responsiveness 100000

hotplug_rq_1_1 150

hotplug_rq_2_0 140

hotplug_freq_1_1 300000

hotplug_freq_2_0 200000

defaults needed for hot-plugging:

max_cpu_lock 0

hotplug_lock 0

less important param's:

ignore_nice_load 0

io_is_busy 0

dvfs_debug 0

Using these as reference, they can be tuned for more responsiveness, more agressive scaling....

I also noticed a few more new parameters introduced by GM, but I still haven't got around to investigating their effect yet....

EDIT: above settings works best with smooth_scaling set to 500Mhz...
[Galaxy S II Android Development] Thijssie909:
Hi Dori, when using DropBear SSH server it tells me that root privileges are not OK (it states: get busybox). I am not having this problem on Siyah. Do you by chance have a clue why this is or what could be causing this problem? Thnx.
[Galaxy S II Android Development] j1gga84:
Will the newest CWM also work with Dorimanx?

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

Regards
[Galaxy S II Android Development] :
Guys I'm using latest kernel version and I'm getting an error about insufficient storage space when updating apps from the market. I have 250mb free and some gigs in both internal and external sd card... Any suggestions please? I have been using the same rom (slim) for weeks now, but I'm having this issue only since a couple of days.

Apps not updating are more or less 11 12 Mb...others have updated fine.

Sent from my SGS2 - SlimBean & Siyah Kernel
[Galaxy S II Android Development] dorimanx:
this is wrong thread, rom problem

free more data space

Sent from my GT-I9100
[Galaxy S II Android Development] THE RED BLUR:
To add to this as I agree with what Dorimanx said.

The insufficient storage error is linked to and associated with what I have witnessed in xda the use of Lucky Patcher app cracking software app.

This is not supported anywhere On xda Rom or Kernel. And should not be used.

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: NeatROM Lite 4.0 (ONLINE)

KERNEL : Phil

(DEFAULT PROFILE AND SETTINGS)

MODEM :

GAPPS :

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] nogo8888:
Hi @dorimanx, I think this has been posted few pages back. This with regards to mounting of external hdd with ntfs. Previously(i just dont remember what kernel version it was), i was able mount 1.5TB nfts and 500GB altogether using powered hub. But at v7.26 I cannot anymore mount any of my HDD. I just tried to install siyah v.5.0.1, now it successfully mount my 1.5TB HDD. Please see attached screenshot. I will try your older release which works on ntfs. Will report once I'll have it.

i9100

Siyah-DorimanX v7.26

NeatRom Lite 3.5 XWPLY

Edit: ops my bad. I got it working on v7.29. Now successfully mounted my 1.5TB G3 station.
[Galaxy S II Android Development] cdzo72:
Yes you just threw yourself in hot water for lack of iniciative to do some research. When you use LuckyPatcher it places an xxx.odex file in the /data/app folder for the cracked app. Even if you uninstall it then it remains there until you manually remove it or run LuckyPatcher again and it will remove it. Coming here and trying to front like you were trying to update from the Play Store was not a smart move my friend. When I was a noob I figured this stuff out on my own before making a dunce of myself in open forum and started buying apps instead of using hacked apps
[Galaxy S II Android Development] m1trand1r:
wow....wtf??...stay on topic please....or just pm the guy to give him a "How to step by step guide" for what u2're talking about...btw: @dori replied to his post before so....isn't that enough?

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] karlesg:
Since you are talking about the pegasusq parameters which are set from cortexbrain.sh maybe something to consider. Cortexbrain is executed from /sbin/ext so after each reboot it returns to the preset kernel default.

Is it possible to be moved and executed from /data just like the gestures script, so that we can edit it more easily and someone can set his own preferred settings for governors etc, and the changes can remain after each reboot?

Sent from my GT-I9100
[Galaxy S II Android Development] voku1987:
we have already moved many function-options for this script to the "STweaks"app and we can add more, if it make sense! We have already added different cpu scheduler options (parameter) for screen on/off ...
[Galaxy S II Android Development] karlesg:
Cortexbrain now sets a lot of parameters which are not available in stweaks. Adding all these options to stweaks maybe it's too much!

But if someone is more "advanced" and knows about scripts, it would be nice to have the option to easily edit cortexbrain and change some parameters and values to his own favorite ones.

This way the end user will be able to tune almost everything!

Anyway as i said just consider it and you can decide what is the best option :)

Sent from my GT-I9100
[Galaxy S II Android Development] BlackRainX:
Cant wait to try it .. lets see
[Galaxy S II Android Development] :
I confused browser's tabs and wrote in the wrong thread,sorry for that . Thanks so lot for your advice,will ask in rom thread then!

Cheers

Sent from my SGS2 - SlimBean & Siyah Kernel

---------- Post added at 09:10 PM ---------- Previous post was at 09:03 PM ----------

Guys thanks for your answers, but the apps giving me this problem are facebook app (which is free) and beautiful widgets that I regularly purchased long time ago. I never used lucky patcher even though I know what it is. So thanks for your advice and prompt reply, but it's not my case.

A friend of mine is having the same problem on cm 10 and he neither has never used lucky patcher nor cracked apps or anything.

I wrote my reply to both under the first quote, sorry for that :)

Sent from my SGS2 - SlimBean & Siyah Kernel
[Galaxy S II Android Development] Shahrokh.KING:
God bless you Dorimanx and voku

great kernel, great effort, nobody else updated a kernel like you guys doing

using XWLQ3 (Stock) + Dorimanx v7.29 (lulzactivq + bfq) , its just awesome in smoothness and battery use

you 2 are just Great...
[Galaxy S II Android Development] Mario1968:
Can you make a init.d script that replace the kernel cortexbrain.sh with your tweaked copy (saved elsewhere)?

Mario

Signature

Phone: Galaxy S2 I9100

Sent by: Tapatalk2

Firmware: XWLPF Stock

No 2nd Rom installed

Kernel: Dorimanx 7.29

no UV/OC

Modem: XWLPX (Stock)

Battery: Stock 1650mAh

SD: SanDisk 16Gb Class 4

Mod: Jkay V14.1
[Galaxy S II Android Development] bleuxeon:
"tweaking" a kernel as Dorimanx sounds a litle bit pretentious...
[Galaxy S II Android Development] m1trand1r:
guys...don't attack me because i don't have logs etc.

but i want to ask if anyone running this awesome kernel is facing "Android is upgrading" screen on startup ? & after lockscreen appears when i try to unlock phone just freezes for about 20 secs and does nothing while i'm tapping/swiping screen...and then at some point it just goes wild and repeats what i did before and i can watch the show:confused:....and it takes a pretty much long time to mount sdcard, grant su permission for certain apps, load widgets...etc... comparing to kernel that comes with the rom itself(I'm using mcm's 12/6/2012 build)...but it doesnt really matter which build i use...it's the same thing every time....

thx for all upcoming answers:)

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] peterlimonade:
Try wiping cache and dalvik cache and fix permissions

SGS2 // RootBox 3.2 // Dorimanx 7.29
[Galaxy S II Android Development] big_bum:
I noticed that too. Altough everything works fine after that.
[Galaxy S II Android Development] Computoncio:
For that issue i only have 3 solutions.

1 in recovery wipe cache and dalvik and fix permissions.

2 if the above doesn't work, flash your rom again.

3 if the above didn't work, backup your apps and do a full wipe and install the rom again.

I only can fix that issue using option 3, that issue is caused by a corrupt system, if you check the logcat you will see what app is causing that issue.

Example:When a flash [AROMA]AC!DAudioEngine[v5.0]_signed.zip i get that issue with the rom I'm using, fix, I'm not using that anymore :p

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v7.29 JB MALI

1st ROM : RR JB v3.1.2 (Online)

2nd ROM : Empty

MODEM: Modem+RIL - XXLPS

ROOT APP: SuperSu v0.99

MODS: My mods, ASUL v4.2 and JusTunBeam v5.1
[Galaxy S II Android Development] m1trand1r:
i did:p...

yup...later on it is just fine:D

thanks a lot for tips....will try 3rd one as it worked this way b4....

EDIT: I've found a buggy app in my data/data/app/* and deleted a few...the i've optimized db's with Stweaks...and bootup time is inly 41secs...whoohoo:D

>Sent from my S-II powered by DorimanX
[Galaxy S II Android Development] Dani01c:
My phone is getting very hot while doing calls since I upgraded to 7.28 and it does it too in v7.29. Am I alone in this?
[Galaxy S II Android Development] m1trand1r:
hm....mine gets slightly warm......but hot....how much temperature are u talking about? over 60°C....more?

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] Dani01c:
Haven't measured the temperature but pretty hot. More or less as if I was playing grand theft auto 3 or watch an hd movie in the phone for some time.
[Galaxy S II Android Development] xolera:
Maybe something is running behind which uses a lot the cpu m8

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S II Android Development] bogdan1980:
80c with any kernel here with default clocks and undervolted.

S2 is hot.

Use Android tuner widget to test

Now I'm on dor 5.92, it's seems super stable for me.
[Galaxy S II Android Development] Mario1968:
Hi, I don't want to be pretentious but if this solution work for him is certainly better than ask Dori to change his (awesome) kernel for all of us.

Only my two cents

Mario

Signature

Phone: Galaxy S2 I9100

Sent by: Tapatalk2

Firmware: XWLPF Stock

No 2nd Rom installed

Kernel: Dorimanx 7.29

no UV/OC

Modem: XWLPX (Stock)

Battery: Stock 1650mAh

SD: SanDisk 16Gb Class 4

Mod: Jkay V14.1
[Galaxy S II Android Development] SPBoss:
Which app to measure the temp? I can only find battery temperature apps.
[Galaxy S II Android Development] Sun90:
use 'System Tuner' app from stores, it will give u real time CPU temp for u:)
[Galaxy S II Android Development] Markox89:
First CyanogenMOD 10.1 build is out:

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

Someone has tried if works with this kernel?

Thank you :)
[Galaxy S II Android Development] m1trand1r:
it's not worth of flashing it...it's ugly buggy and stuff....for now...;)

>Sent from my S-II powered by DorimanX<
[Galaxy S II Android Development] big_bum:
It works, but...com.android.phone has stopped.
[Galaxy S II Android Development] milan188:
I have very little available ram left like 20mb... Never goes so low.. I'm on RR 3.1.2 not sure if it's rom or kernel related
[Galaxy S II Android Development] cybernetus:
I believe this is Rom related because I am paranoid and have more than 150 mb.