[Galaxy S III Android Development] mattiadj:
Hello to all.

I'm here again :)

STOP! THIS MOD IS ONLY FOR SAMMY JB AND ICS BASED ROM! IT DOESEN'T WORK ON CM10, ASOP, AOKP, MIUI OR OTHER ROM!

THE PROBLEM

Our gs3 has a very bad memory managment. Ram decrease, lags, memory leak and a lot of problem with multitasking are present on this wonderful device. We have a very important hardware but 1gb of ram and a bad software optimization make our gs3 not give a good feeling in heavy usage.

THE SOLUTION

bestMultiTaskingFix is a set of tweaks that allows to solve bugs management of memory and no possibility of mulitasking the galaxy s3.

Through this zip you can solve these problems and eliminate lags and manage a very large number of applications at the same time without having problems of slowness of poor memory.

In addition app phone, contacts and camera are locked in memory to make these faster to run.

I can play 2games togheter and navigate on internet with firefox and send messages with gosms without lags. Of course more apps are opened more is the risk of lags and leak of memory so be carefull.

What do you need

Galaxy s3 :), root and custom recovery

Kernel with swap support

If you have Supercharger disable it!!

If you have Zram enabled, disable it!!

If you have HardSwap enabled disable it!!

Donwload the zip attached

Buil prop editor installed (https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor)

Remove all memory app, task killer with oom or minfree settings like AutoKiller Memory Optimizer, System turner, rom toolbox or similar. You can use these but not for set up memory stuffs!!!

THE GUIDE

Download latest bestMultiTaskingFix

1)Edit your build.prop file

Open Built prop editor and change these value:

- davilk.vm.heapsize must be setted to 192m

- davilk.vm.heapstartsize must be setted to 8m

- davilk.vm.heapgrowthlimit must be setted to 64m

Then reboot

2)Go into recovery and flash file

a) Flash bestMultiTaskingFix.zip

b) Reboot your phone

Notes

Not use any memory app, task killer with oom or minfree settings like AutoKiller Memory Optimizer, System turner, rom toolbox or similar. You can use these but not for set up memory stuffs!!!

Not use supercharger!!

You can check if swap is working installing terminal emulator and writing free. If values of space in Swap line are different from 0 value, you are ok.

If you have lags, kill all process with a task killer like advanced task manager(https://play.google.com/store/apps/details?id=mobi.infolife.taskmanager)

Changelog

8.0
Removed lock app script. Is not necessary anymore and may cause lags
[B]New parallels and prioprity swap method for incredible performace[/B]
Tweaked and fixed busybox included
New kernel tweaks
Minfree values optimized
------
7.0
ALL OPENED APPS IN LATEST 4 SECONDS ARE LOCKED IN MEMORY EVERY 4 SECONDS so the possibility of killed apps is now ridicolous! (0 battery drain!!)
Better performance without any lags up to 12 apps running in same time (MAX 20 APPS RUNNING IN SAME TIME WITH A 301 APPS INSTALLED IN MY SCENARIO!)
Optimized for multiwindow use!
Minfree changed for best performaced and quick app load!
Adj values restored to stock (not need to
Random reboot problem fixed
New kernel tweaks and tweaked values
Bigger swap size
------
6.0
[SIZE="4"][B]NO LAGS WITH UP TO 18APPS![/B][/SIZE] (please report now!)
Phone app, contacts app, camera app and the android core are locked in memory for fast access and better performace
Vm HeapSize changed (see build.prop edit and chage it in your configuration)
[B]Minfree changed for best performance![/B]
Big swap size
New kernel tweaks and tweaked values
Adj values changed
New prop values added directly in the script!
No need to wipe dalivk cache so first flash is quick now
Random reboot finally fixed
------
5.0
Random reboot problem fixed
Small Lags are fixed (please report)
Vm HeapSize changed (see build.prop edit and chage it in your configuration)
Minfree changed
Swap size decreased
Kernel tweaks
Adj values changed
------
4.5
[B]Lags completely gone[/B]
[B]Compatibile with SAMMY ICS[/B]
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Swap size adjustament
Minfree values tweaked
Kernel tweaks and optimization
Adj value tweaks
------
4.0
[B]Mod of zeppelinrox is removed.It's not really necessary anymore[/B]
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
kernel tweaks and optimization
------
3.5
[B]Now system can swap more without lags with 18 apps opened![/B]
Swap size tweaked
A lot of kernel tweaks and optimization
Minfree tweaked according to new swap size
------
3.1
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
------
3.0
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
[COLOR="Red"]Service.jar includes Maximum MultiTasking Mods[/COLOR] (thanks to zeppelinrox)
Swap size tweaked
A lot of kernel tweaks and optimization
Minfree tweaked according to new swap size
[B]Smooth as a baby's ass :) with 15 application running at same time!![/B]
------
2.5a
Fixed no swap bug (need feedback)
------
2.5
[B]Build.prop values tweaked. Be sure to use the latest one in firt step of guide[/B]
Little swap size adjustament
Minfree values tweaked
Nova launcher add widget bug fixed
------
2.1
Swap size adjustament
Make upgrade system more easy: just flash and reboot
------
2.0
New minfree values to avoid small lags here and here
Bigger swap size to avoid small lags
Faster speed on boot since swap file is not always created but only started if present
Completely fixed no swap bug on some devices (need feedback to test)
------
1.4
FIxed not swap on some devices
-------
1.0
Initial relase

********************************************************************

Credits

Big thanks to gokhanmoral for his wonderful Siyah Kernel (http://xdaforums.com/showthread.php?t=1709686)

Big thanks to Yank555 for swap idea

Big thanks to foxhound team for testing

Big thanks to rlorange for busybox and parallels swap with priority idea

********************************************************************

IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD

If you want to use the bestMultiTaskingFix in your ROM, give proper credit and a HTML link to this thread.

Do not modify it, do not rebrand it: the name is bestMultiTaskingFix

Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member

This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.

WARNING for USERS: If you use or encounter a ROM with the bestMultiTaskingFix without proper credit given and no bestMultiTaskingFix source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.

Personal Use: You may tweak the bestMultiTaskingFix (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.

If you like my job, buy me a beer

Now....feedback, feedback and feedback! :)