yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] Ryryoku:
Hello.

My davilk.vm.heapsize is set to 256, and when I try to modify it to 192 it return to 256.

Where is the problem ?

I flashed the file in the CWM, aand when I write "free" in terminal emulator it says :

"sh: free: not found

127Iu0_a192@android:/#"

What is it meaning ?

Thanks for your answer.
[Galaxy S III Android Development] NaylinnMaung:
I can't run any terminal emulator application, all force close if I try to type something.Can someone guide me what's my problem?

I'm using Turkbey Rom XXELKC.
[Galaxy S III Android Development] kenb00:
May I flash it on Omega 35?? I have used it on wanam 5.1 and...i lose my serial number..its changed to 0000000000 and drain my batetry..
[Galaxy S III Android Development] nearlygod:
Is there any other Rom than Crdroid where this tweak is included?

thanks
[Galaxy S III Android Development] kerbiii:
I incorporate it with seeder and the slight lag before is gone, my phone can handle almost everything without lag, even when im on POWERSAVE mode it runs so smooth

Does the bestmultitaskingfix mod make 600mb on cache?

- SIII GT-I9300
[Galaxy S III Android Development] Pard0ned:
Do you mean you imei number? If so restore your backed up efs folder. ;)

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

Try reinstalling busybox. There's an app in play store by stericsson to do that. ;)
[Galaxy S III Android Development] kerbiii:
Will there be a new update? :)

- SIII GT-I9300
[Galaxy S III Android Development] sachilleas:
Why do you need an update? Do you have any issues?
[Galaxy S III Android Development] andreasy:
Is this Rom or build related or can we flash it on any jb build?
[Galaxy S III Android Development] Tokarin:
I have been using this mod and it does work very well, however there are often reload with chrome webpages after returning to home and run other apps. Though this is no problem.

Now I wonder if there is anyway to lock apps like phone and Google search in memory. For quicker start of course. I know this is possible with jkay mod but I think it will interferes with the 23 toggles mod so I did not use it. If I am wrong please advice me.
[Galaxy S III Android Development] kerbiii:
Definitely a good idea, locking apps that u use the most.

- SIII GT-I9300

---------- Post added at 09:17 PM ---------- Previous post was at 09:14 PM ----------

Nah, maybe additional features

- SIII GT-I9300
[Galaxy S III Android Development] 0asis:
Download Link seems down

Sent by an anonymous flashaholic
[Galaxy S III Android Development] ahac85:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Where's the link in op
[Galaxy S III Android Development] shaharsta:
Is that mod change anything in my sd/extsd card?
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Nothing mate

From universe with my gs3
[Galaxy S III Android Development] sachilleas:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

After a month using your mod I have to tell you that it is sick! It has transformed my phone. The best mod for the SGS3 for me. I can't thank you enough.
[Galaxy S III Android Development] shaharsta:
In the guide you wrote not use any task manager, but in the notes you wrote to use advanced task manager.. So i am little bit confuse..
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

You have to not use any task manager which controls the memory behavior. You can use task manager only to kill all apps at once to fix some lags. Use it only to kill apps not for other purposes.

From universe with my gs3
[Galaxy S III Android Development] Alexdream:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I have winamlite.Stock.I9300ZSEMA1 and I flashed Siyah Kernel 1.8.9, I did the change on build.prop and then Flashed this mod but when I write "Free" the value of swap is 0. What am I doing wrong?

EDIT: I feel like stupid now, without know I downloaded the remover file and I was flashing the file remover.
[Galaxy S III Android Development] aadil7:
I am running s3 with null rom and siyah 1.8.8

since flashing this file and making the build.prop changes as instructed I have noticed my wifi to lose connection and then regain connection continuously.. this is quite strange and I was just wondering how can i get around this as its a little annoying

thanks in advance
[Galaxy S III Android Development] ahac85:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Hi if I use this script with your external to internal script. Will this mod then do the swap partition on sdcard or the actual internal sd?
[Galaxy S III Android Development] gsw5700:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Sorry, error
[Galaxy S III Android Development] andreasy:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I have tested this mod for a week. My findings are not positive:

It solved my problem of dialer and contacts lag and I noticed significant speed improvement. However, all this was at cost of the rest of my phone performance. All other processes became extremely slow. I uninstalled it and everything came back to normal.

My only difference is that I also modified build.prop to preload dialer and contacts in memory. Don't know if that counts but that was my experience.

I believe that the only possible solution is more ram.
[Galaxy S III Android Development] aadil7:
funnily enough I have had not the best of experience with this..

i have had a couple restarts when multi tasking and seem to find battery drains much more

the advantages are good but not substantial enough in my case..

thanks for the mod but how do i remove it? do I have to reflash a rom?
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

You can use the remover in op.

However stay tuned guys, I'm testing new version with better compromise.

From universe with my gs3
[Galaxy S III Android Development] aadil7:
thanks for the reply and sorry for not searching for the remover file

I guess your hard work is worth another go so im just going to wait it out and see how the new version goes

thank you
[Galaxy S III Android Development] deom2i:
thanks mate,

Your MOD is very good, im having more free ram.:D

Few issues:

I had 2 auto shutdown in 3 days.

Browser seams to reload pages from Tab already opened instead of keeping the Tab.

Other than that, its awesome!! :good:
[Galaxy S III Android Development] deom2i:
Hello,

Any news for v.8 yet!!

Thread is too silent!! :eek:
[Galaxy S III Android Development] iiiadoableiii:
I am on Omega v40.

I am not using any external to internal mod.

If I flash your Multi-tasking mod, will it use internal sd?

I have a 32 gb Class 10 external Sd, and I wish to use it as swap.
[Galaxy S III Android Development] jonathan_337:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

While this worked well, it slowed down my phone horrible after a certain amount of apps used almost all the RAM causing a lot of random reboots and freezes. Very good concept though, hope to see further development on this.
[Galaxy S III Android Development] alberber:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I can't use this mod with yank's kernel or I don't know what I have to tick or untick in aroma. I've been reading some posts something about choosing this or yank mod, but I don't know what to do to make this mod to work.

What should I select in yank kernel aroma to use this mod?

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] Yank555:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Select :

Lmk = don't set

Zram = disabled

Haedswap = disabled

Swappiness = don't set

Init.d = probably enabled (kernel handles init.d)

Flash this mod.

JP.

Sent from my custom Sotmax V13 / Yank555.lu SGS3 U7 kernel v3.2 Aroma (Linux 3.0.62) powered Galaxy S3 i9300 using Tapatalk 2
[Galaxy S III Android Development] alberber:
When I do that and later type "free" in terminal emulator, it shows 596 in "total swap" and in "free swap" shows 0 (used shows 596). Using siyah it shows 614396 in "total swap" and not all is used. In fact, multitasking doesn't work at all when using your kernel and this mod, don't know why :crying:
[Galaxy S III Android Development] Yank555:
That may be due to the fact that this MOD, if it hasn't been changed, uses an endless loop in init.d which impeeds any following init.d script to be run, plus it will impeed the kernel settings to be set afterwards.

I will anyway make a change to the way I handle init.d because of such script behaviour.

In fact such behavior is not as should for an init.d script.

The looping script should be installed somewhere else in the system (up to the discretion of the dev where he wants to put it, /system/etc might be ok) and to call the looping script as a background task from an init.d script.

JP.
[Galaxy S III Android Development] alberber:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

If that new way to handle init.d allows this mod to work together with your kernel, then I will be happy :D

Thank you for your answer, it's very pleasant to receive help from others even when one's nearly a noob ;)

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] Yank555:
Well let's put it like this, that would make it work, would set kernel settings as well, but any script behind this one still would not be run.

Ideally, mattiadj, should change the way his mod is run, that would be the best and proper fix ;)

JP.

EDIT :

The problem is "99lockapp" :

[COLOR="Blue"][B]mount -o remount,rw /
mount -o remount,rw /system[/B][/COLOR]
[COLOR="Red"][B]x=1[/B][/COLOR]
while [ [COLOR="Red"][B]$x -le 5[/B][/COLOR] ]
do
for i in `find /proc -maxdepth 1 -type d`; do
if [ -f $i/oom_score ]; then
echo "-17" > $i/oom_adj;
echo "0" > $i/oom_score;
fi;
done | sort -n -k2
sleep 4
done

It does an endless loop (x will always be less than 5), so this script will never end, and init.d execution is "suspended" for all time, whatever follows will never be run (red).

Now I look at this, I don't know why "/" and "/system" are remonted read-write as that's pretty dangerous :( (blue).

This script should be put in /system/etc and let's say called "lockapp.sh" and be called from "91bestMultiTaskingFix" like this at the end of that script :

/system/etc/lockapp.sh &

So "91bestMultiTaskingFix" would end, init.d execution could go on and lockapp will continue to be run in the background.

JP.
[Galaxy S III Android Development] vegeta1:
great stuff !!
[Galaxy S III Android Development] alberber:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I've done it and it happens the same when typing free in terminal emulator.

Perhaps multitasking is a bit better but it doesn't work properly yet :( I can just use 3 or 4 apps at the same time. More and they will be killed...

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Wait for the fix mate. Now your swap size is not correct.

I'm working on.

The solution is simple but need some advanced skills.

So wait for new version expected for next days. Stay tuned

From universe with my gs3
[Galaxy S III Android Development] Leicxan:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

the values for swap size in 91bestmultitaskmod is incorrect , you can set it to 592000... it will create a 592MB swap file in /cache , i think that bug due to busybox..

sorry for my poor english
[Galaxy S III Android Development] Yank555:
I have sent a corrected version to mattiadj, it's a quick fix, so no big deal ;)

What I wrote here was about adressing the endless loop in an init.d script, not about creating the swap file. I've adressed both in what I sent him.

JP.

---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------

Correct, but it's not a bug, it's how "dd" is implemented, the "bs" operand takes bytes, normally, but on some, it can take something like "1024kb" to say 1 Mb.

Just remove the "kb" and add "000" behind the "count" operand and it will work on any implementation.

JP.
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Yes yank and very thank you for your help! I'm working to merge latest beta with your fixes. New system make system more smooth. It's possible?

From universe with my gs3
[Galaxy S III Android Development] Yank555:
Maybe, you don't have the "busybox run-parts /system/etc/init.d" task stuck in memory waiting for the end the execution of your loop, which never happens, so it can't quit either and stays there waiting.

That is why an init.d script never should be an endless loop :)

JP.
[Galaxy S III Android Development] tazzz811:
you can re-write it something like this
[Galaxy S III Android Development] asdf20:
bestMultitaskingFix + JKay ?

@mattiadj,

Can we use your fix along with JKay deluxe mode? will there be any problem?
[Galaxy S III Android Development] faddys123:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Can you use this on 4.2.1 Samsung rom
[Galaxy S III Android Development] Yank555:
No really, there is no custom kernel, and stock kernel, as of today, never had swap support.

JP.
[Galaxy S III Android Development] aydink_1903:
Ynt: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Leaked 4.2.1 has got 200MB swap size.

Regards

GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Leaked has built in swap???

From universe with my gs3
[Galaxy S III Android Development] aydink_1903:
Ynt: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Yep :)

GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S III Android Development] Yank555:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Now that's a new one, first time I'd see a stock kernel with swap support...

JP.

Sent from my Sotmax V15 / Yank555.lu SGS3 U7 kernel v3.2a-beta Aroma (Linux 3.0.66) powered Galaxy S3 i9300 using Tapatalk 2
[Galaxy S III Android Development] Erahgon:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I don't think that's swap. I believe that it's zRam.
[Galaxy S III Android Development] Yank555:
Even more suprising ?!

Can you redo this and add a "uname -a" commande before you take the screenshot ?

Thanx, JP.
[Galaxy S III Android Development] alberber:
Perhaps Samsung did it to reduce the problems with the bad multitasking management of the S3?
[Galaxy S III Android Development] Erahgon:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Here you go:View attachment 1762006
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Yank i can confirm that latest kernel has swap support or zram support!

How we can find it? If there is a swap file or swap partition or it simply zram?

Also I have noticed that with 4.1.2 we have 833 mb di ram, with 4.2.1 828mb!

From universe with my gs3
[Galaxy S III Android Development] Yank555:
Just type "cat /proc/swaps" and you will see what device it is using.

I'm rather stunned to see a stock combo use any kind of swap, even if it's zram :eek:

JP.
[Galaxy S III Android Development] aydink_1903:
Ynt: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Dev/block/zram0

I think Zram is right answer

GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S III Android Development] Yank555:
Indeed, zram it is. Quite surprising, though I muse add... Thanx for confirming that.

JP.
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

So in your opinion will be possible to disable it and use swap file as this mod does?

Or its better to use this new samsung implementation?

From universe with my gs3
[Galaxy S III Android Development] Yank555:
Of course it can be disabled, but you'd need to change the ramfs (init.rc) probably, so zram isn't auto-enabled on boot.

I never liked zram, but well ... it's safe and needs no prerequisites, so I do understand Sammy going there...

JP.
[Galaxy S III Android Development] jeromechrome1:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I partitioned my 32gb external sd card using cwm(im not sure if the swapping was successful because it was done rather quickly after selecting options in cwm. About 0.5 secs.) and flashed your swap mod and it said no swap partition found. I checked terminal emulator and results returned 0. Please help me get swap.
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

You haven't to make any partition on sd.

You need only a kernel with swap support and flash the zip! That's all

From universe with my gs3
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

New version with wonderful performance incoming....

Take a look... About 7 apps opened together with real racing 3 running!

From universe with my gs3
[Galaxy S III Android Development] Erahgon:
That's great news!

Just wanted to know whether this is optimized only to stock based ROMs or whether it can be used with AOSP based ROMs keeping full functionality (keeping apps in memory and so on)?
[Galaxy S III Android Development] asdf20:
Where is the latest version?

I believe you meant new version means 8.0. I couldn't find the latest version in the first post. From where can I download the latest version?
[Galaxy S III Android Development] alberber:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Awesome. Very glad to hear new version is incoming :)

Will this work now with kernels different to siyah, like Yank's or Boeffla?

Thank you for your hard work mate

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Is in the first post mate! Check again... Is there!

Yes the new one will be version 8.

Yes. Was always compatibile with all kernel but from version 8 I have optimized compatibility with all kernels.

Now I'm on perseus and I'll post some configuration that I use as tip for best performance. Not needed but I have discovered that perseus with this mod and some settings can make a good job!

I have made it for Samsung roms. Never tested on aosp or cm but I think aosp or cm don't needed it

From universe with my gs3
[Galaxy S III Android Development] shakathesaint:
Maybe it's my fault.. but I can't find v8 in the first post! Only link to the well known v7 :)
[Galaxy S III Android Development] mattiadj:
I haven't relase it yet. INCOMING version :)
[Galaxy S III Android Development] shakathesaint:
Aaah ok, sorry! Just a little misunderstanding! :good: ;)
[Galaxy S III Android Development] Musko:
Any news about new version?
[Galaxy S III Android Development] cosmoskymaster:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I'd would love to know what configurations are you people using to get the best of this fix. I use it with última rom 10.1 and siyah kernel 1.8.9 but it's super sluggish and my phone gets quite hot and also whenever i lock it it gets unlocked by itself. It's so frustrating :mad:
[Galaxy S III Android Development] FeyoMx:
Re: [Modem][CSC] [RIL]telcel csc with hd voice working and Modem

Habemus v8?

Waiting to see white smoke from this thread

Enviado desde mi GT-I9300
[Galaxy S III Android Development] shakathesaint:
Any news? :)
[Galaxy S III Android Development] Erahgon:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

I think after the amount of eagerness and teasers on this thread, white smoke seems to be a rather tame analogy than what comes to my mind! :P
[Galaxy S III Android Development] mattiadj:
R: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Hello guys.

I think an update is needed :)

I have made a lot of tests (and when I say a lot... I say a very big number of tests!) and now I have I abandoned the idea of swap.

This due to the lags and the intensive use of internal sd which may result in degradation of it.

So now I'm testing zram with latest yank kernel (not longer available on xda....) and my tweaks about zram size and lmk values.

Result is impressive: zero lag and up to 17app running together.

But before claim victory... I want to make other tests and only after add new version here.

Patience is a virtue so... Stay tuned and finger crossed

From universe with my gs3
[Galaxy S III Android Development] erto90:
Ok,saw that zram is a "new thing" for most, can you also explain what to set during the installation of the kernel?

Thanks:silly:

Will avoid useless questions:angel:
[Galaxy S III Android Development] Product F(RED):
This is the best performance tweak ever!

I'm running Omega ROM 42.1 with Siyah 1.8.9 and the latest version of this mod (7.0). Initially I had a lot of lag, but I went into recovery and wiped Dalvik Cache and Cache together (the mod installer zip only does Cache). Now everything is SUPER smooth. I'm also running Seeder (with ON at boot) set to Aggressive. This thing is seriously like butter.

Need For Speed: Most Wanted usually hogs all the RAM on my device, and only runs smoothly when closing all other tasks. Now, if I pause the game and hit the home button, the launcher and everything will run super smooth while the game is still in memory. And I can go back into the game and it'll still run super smooth.

Out of curiosity, since this isn't a swap, does this utilize internal or external storage at all?
[Galaxy S III Android Development] rlorange:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

It is a swap. It uses internal memory in the cache partition
[Galaxy S III Android Development] Product F(RED):
Wouldn't it be safer to use the memory card? I mean, as far as wear on the internal memory goes.
[Galaxy S III Android Development] Erahgon:
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Yes true, but it's way slower.

Anyway, we're now moving into zRam, so that won't be much of an issue.

@Matt: I find that zRam + hard swap (i.e. swap on extSdCard) is a good combo. Just the right settings need to be found, and the right balance needs to be kept. Give that a try too!

Also, someone on the Perseus thread mentioned that setting zRam to a big amount - such as 830 MB - would make it automatically adjust zRam size based on requirement. Haven't tried this myself, but thought you should know!
[Galaxy S III Android Development] Product F(RED):
Re: [MOD][JB/ICS][15DEC] bestMultiTaskingFix 7 - Multitasking with no lags!

Oh awesome, thanks. I guess I'll wait for version 8 then. Because although everything is nice and smooth with 7, music playback stutters on any music player if I'm doing something else on the phone. The music is stored on the external card too and I don't have SDS/internal memory corruption (I tested). I guess maybe it has to do with I/O overload somehow? Or possibly Samsung's update that fixed SDS by rebooting the eMMC to prevent it?

EDIT: Phone completely froze while sending a text and playing music. It got stuck on the same second of music and stuttered until I did a hard reboot.