yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] sachilleas:
Ok, this is insane! It works perfectly! I didn't believe it before i installed it. A simple thank you is not enough for a mod of this caliber!

I have two questions though:

1)What are the disadvantages of this mod compared to stock Android ram management? (it still seems to be soo good to be true! )

2) Can you make messaging app stick to ram like you did with phone and camera app?
[Galaxy S III Android Development] mattiadj:
All apps opened in last 4 seconds are automatically locked in memory so all apps are locked in memory but android can kill them when needs ram :)
[Galaxy S III Android Development] sachilleas:
So as i can understand , the only drawback of this method is that swap space is generally slower than ram . I am very curious why samsung or android itself do not use such a technique.
[Galaxy S III Android Development] mattiadj:
Yes is slower but this mod use internal sd of gs3 which is more faster than every class 10 external sd card so the speed issue is fixed :)

Also all tweaks included are calibrated to make the user experience wonderful and smooth as a baby ass :)
[Galaxy S III Android Development] erto90:
can you make the uninstallation zip? i haven't yet installed the mod, but in case something goes wrong..

Thanks
[Galaxy S III Android Development] mattiadj:
Remover zip added to first post guys
[Galaxy S III Android Development] abelle_abelle:
dont know why sometimes just stucks up my phone

cant even unlock screen

remoed :(
[Galaxy S III Android Development] erto90:
please post more details. rom and kernel
[Galaxy S III Android Development] abelle_abelle:
Omega rom v32.1

with Jkay firmware + Siyah kernel
[Galaxy S III Android Development] erto90:
seems all matching good, don't know if jkay mod got some incompatibility cause it white list.. don't know sorry
[Galaxy S III Android Development] Beerukoff:
What's the best kernel for this mod?
[Galaxy S III Android Development] mbharath003:
use siyah....no probs at all !! and thankss alot mattiadj !!!! works great til now !!!
[Galaxy S III Android Development] faddys123:
How do I know if it is working or not?
[Galaxy S III Android Development] erto90:
type "free" in android terminal and see if you got values in swap section:good:
[Galaxy S III Android Development] s_o_r_e_n:
Hmmm is it possible to lock apps in memory for a longer time? Despite It's very good now it would be great if apps would stay in memory for a bit longer:)

Wysyłane z mojego GT-I9300 za pomocą Tapatalk 2
[Galaxy S III Android Development] mattiadj:
Depends on phone usage. Theorically all apps processed by script will be never killed but... Of course android when needs ram kill the oldest app

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] LRC1710:
Man this works flawlessly, i can switch from app to app without this thing reloading them like it used to do, however, if I leave an app untouched for quite some time, when i go back to it, it will reload, other than that this is awesome
[Galaxy S III Android Development] fivef:
Thank you! I love you!

I have just installed the mod on UltimaRom 6.0.2 with latest Siyah Kernel.

Finally my phone is useable!

I even thought about selling my S3 and going back to my Desire HD with CM10 before I tried this mod ;)

How could Samsung mess up this phone that much?

Donation on it's way!!!
[Galaxy S III Android Development] mattiadj:
Lock app script its designed to reduce to minium the possibility of killing app.

Thanks for your feedback!

Wow mate! First of all thank you for your effort! It's very much appreciated!

About your consideration I think the same thing! Samsung has done a wonderful phone but... I have lost Some features of my old desire hd such as multitasking!

Now the situation is better!

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] zuluman:
Any one has crash problem when run camera, gallery and folder manager apps?

I use omega v34 with siyah kernel
[Galaxy S III Android Development] faddys123:
Does this mean it's working? (screen shot) the and also I experienced some lag and then the phone rebooted so I had to take the battery out
[Galaxy S III Android Development] mattiadj:
No its not working as it should!

Try to start from clean installation or use Siyah kernel

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] faddys123:
Is siyah kernel good? The last time I used it my phone used to get very hot and battery wasn't the best
[Galaxy S III Android Development] fivef:
I have a question related to the "Time Killer Killer" and "Maximum Overdrive" features advertised in this thread:

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

Does your script do the stuff explained there? Can a app stay active for longer than 30 minutes? And is the max hidden app limit deleted?

Or should I use the script from that thread in combination with yours?
[Galaxy S III Android Development] mattiadj:
I don't use these hacks mate. Are proprietary of zep and I can't use that.

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] valerio.tosti:
Hi guys i have just installed this mod but i dont know why, seems laggy to me. If i use chrome, xda app, go sms and play store at the same time it lags. I have omega v34 with siyah 1.8.4.deleted supercharger changed heapsize and no task killer installedView attachment 1569028
[Galaxy S III Android Development] mattiadj:
Same as my configuration and no lag. Try to reboot

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] faddys123:
I flashed siyah kernel and now it's like this
[Galaxy S III Android Development] sachilleas:
Did you reflash the mod after siyah?
[Galaxy S III Android Development] kerbiii:
Buttery smooth the stuttering before was gone

- SIII GT-I9300
[Galaxy S III Android Development] csutikisx:
Does anyone use it with Perseus kernel?
[Galaxy S III Android Development] agam1308:
I do, and works fine.

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] tczhang:
Hi, after installed the mod, I found that there is only one or none app in Jobmanager-Active apps. However, I found in OP that there should be quite some apps available. Does anyone know the reason?

Omega v34 & Siyah v1.8.4 without task manager etc
[Galaxy S III Android Development] mattiadj:
Since all apps are excluded :)

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] wednesday13:
Thanks for this!! It should solve the browser problems refreshing when opened again right?
[Galaxy S III Android Development] mattiadj:
Yes!

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] svs57:
I don't understand the idea.

/etc/init.d/99lockapp make all applications oom_adj = -17.

What will be when no enough memory with swap?

May be better have a list application (Phone, Contacts, SMS and some others) with oom_adj = -17?
[Galaxy S III Android Development] mattiadj:
No since this way is more automatic and all apps are locked in memory buy if needed android can free memory.

It's impossible to absolutely lock an app in memory

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] LRC1710:
What is that lock app script, where can i find it and how do I use it? Sorry I'm such a noob haha
[Galaxy S III Android Development] sachinaik:
Hi mattiadj,

Can you please modify your mod to create swap in external sdcard pls ?

I've a 64GB class 10 card, its fast enough I believe.
[Galaxy S III Android Development] valerio.tosti:
hmmm really strange, i don't know why but its not working.
[Galaxy S III Android Development] mattiadj:
It's automatic. You have to do nothing.

No mate. It's not enough. If you want use external sd use yank mod :)

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] Pard0ned:
Is there anyway I can remove this mod for testing purposes? Is there a zip to flash or something?

---------- Post added at 04:42 PM ---------- Previous post was at 04:40 PM ----------

My bad. Didn't see this.

---------- Post added at 04:47 PM ---------- Previous post was at 04:42 PM ----------

One last question, does anyone use this in ARHD V14? Or any other rom based on DLJ4? Just wondering what people thought of it.
[Galaxy S III Android Development] Kasmott:
Its works. My current memory used gone down to 435mb:rolleyes:

sent from Debloaterized Jelly bean Andoid 4.1.2
[Galaxy S III Android Development] valerio.tosti:
ok downloaded a ram manager pro app, posted from this user http://xdaforums.com/showthread.php?t=2051633

in the settings of the app you can use different options of Multitasking methods, i have chosed hard multitasking and the phone works great now.
[Galaxy S III Android Development] Kassim.d:
Does this work well with yank kernel? Or siyah is better?
[Galaxy S III Android Development] mattiadj:
And so?

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] Kassim.d:
Sorry to bother but can i use yank kernel with this mod?

Thank you
[Galaxy S III Android Development] Musko:
For me is Yank's kernel best, but this mod is not working. I have only 600kb of swap :( with Yank's kernel.

Now I must use Siyah kernel.
[Galaxy S III Android Development] valerio.tosti:
just for people who have problems with this mod
[Galaxy S III Android Development] aguadilu:
Can I use this in the Temasek 4.2.1 with its stock kernel?

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Android Development] mattiadj:
If has swap support yes

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] Kassim.d:
I have asked you a question why arent you answering? Does yank work on this mod? I dont know if it has swap.

Not cool being ignored
[Galaxy S III Android Development] atomic339:
Is there any influence on performance in games?
[Galaxy S III Android Development] mattiadj:
Take it easy mate. I didn't read you. I think yes. The best way is to try...no?
[Galaxy S III Android Development] JB-007:
Hi

I would like to use your mod but afraid for my internal memory as swap has a lot of i/o. Is is possible to use others features without swap or move swap to external sd (even if it's slower than internal mem)

Cheers
[Galaxy S III Android Development] mattiadj:
Yes mate. Use yank mod instead

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] fivef:
Yes I understand that but does your script achieve the same results?

Does it alter the app limit? Or disable the auto kill after 30 minutes?
[Galaxy S III Android Development] mattiadj:
I haven't worked on this limitation but I have fixed the problem at base!

All apps are excluded from killing every 4 seconds so... No limit time no other limits but only android when needs memory can kill app only for ram recruiting

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] svs57:
Sorry for stupid question

What is Yank mod you talking about? Can anybody give me the URL?

I want to look at this mod. I also think that is not good idea have swap on internal SD.

I have swap partition on ext SD. Now I use only applock part of the mod.

Also I ask to change

davilk.vm.heapsize

to

dalvik.vm.heapsize

in first page.
[Galaxy S III Android Development] anbushinobi:
just tried it

wow guys u should really try this, it's as if the device should've been like this from the beginning....

How sad it is that we need to mod our devices in order to make them work properly.

Great work, Why can't i click on the "Thank you" button ? can't find it :-/
[Galaxy S III Android Development] faddys123:
Does this mean it's working now?
[Galaxy S III Android Development] benc88:
Thank you for your mod. Works very well. Much better than stock. Was a bit unstable at first. But after a couple reboots and a few long runs I have found minimal lags. Stall micro lag remain only occasionally. Again much better than stock. Im on wanam 5.1 using siyah 1.8.4 stock kernel settings. Single rom.
[Galaxy S III Android Development] erto90:
I have edited build.prop and now it hangs on samsung logo.. Any solution?
[Galaxy S III Android Development] mattiadj:
Surely you have done some mistakes.

Flash your rom without wipe and all process more carefully

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] petrifyre:
Hi,

I've followed all the steps but swap reading 0..
[Galaxy S III Android Development] mattiadj:
Try the latest 1.1 just uploaded
[Galaxy S III Android Development] petrifyre:
Not working.. still 0..
[Galaxy S III Android Development] SETdown:
mattiadj what other kernel i can use with this mod?

Siyah not working well for me really.

Thanks for support.
[Galaxy S III Android Development] Chillz88:
perseus supports swap??
[Galaxy S III Android Development] mattiadj:
Not possible mate.

Try to delete from /system/etc/init.d the file called S91bestMultiTaskingFix then reboot then flash the latest one.

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] mattiadj:
I don't know mate. Ask to your kernel devs if their kernel support swap then if yes you can use it. I think perseus supports swap but I'm not sure... I never used it

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] petrifyre:
Ok, let me try, no need to make extra swap partition right?
[Galaxy S III Android Development] mattiadj:
No mate. You have to not partition your sd for swap or have other swap script

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] petrifyre:
Naa.. Not working, still zero.. There's no other script beside yours in int.d folder.. Using Siyah 1.6.8..
[Galaxy S III Android Development] SETdown:
Same here.

OMEGA 27, Siyah 1.6.8, Script 1.1 and the swap is 0
[Galaxy S III Android Development] manager77:
same here too...:(
[Galaxy S III Android Development] mattiadj:
Ok guys give me some times I'll try to understand why

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] mattiadj:
Ok guys, sorry. New version in op.

Now all is fixed (i hope!!) tell me!

Flash the newest version directly
[Galaxy S III Android Development] petrifyre:
Nope.. Not working.. still 0..
[Galaxy S III Android Development] manager77:
not working....
[Galaxy S III Android Development] mattiadj:
Delete previous version if you have flashed the previous mate removing the file from /system/etc/init.d

Then which kernel do u have?

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] petrifyre:
Ok, I tried to run your script in terminal and until this command "mkswap /cache/swapfile.swp" it returns mkswap: image is too small

maybe, you could look on this..

Thanks..
[Galaxy S III Android Development] petrifyre:
Already remove the previous version and using siyah 1.6.8..
[Galaxy S III Android Development] mattiadj:
Which rom do you have?

If you see in /cache directory is present the file swapfile.swp? And if yes what is the size of this file?

Also please post the result of df command in terminal emulator

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] erto90:
i only changed davilk.vm.heapsize to 192m.. i will try to reflash only the build prop.. hoep it works :(
[Galaxy S III Android Development] faddys123:
Thank god for that haha thanks very much :)
[Galaxy S III Android Development] Pard0ned:
I'm not too sure about this mod. Flashed it on a brand new installation of ARHD V14 (DLJ4 firmware), along with latest perseus kernel, and have started to notice slight lags here and there. Don't know if they were there before since this is the first time back on ARHD since trying out some new 4.1.2 roms. Made the changes you mentioned in op concerning the build.prop file. Then read the the heapsize should be kept at 256mb, or whatever it is stock. So I changed that back.

That's the only change I made personally. I can see, after typing free into terminal, that swap is enabled. All seems to be as you said it should be, unfortunately, I'm still seeing lags as I said. Disappointing really.

Will keep trying for the next day to see if they get better. Downloaded the removal zip anyway - to be on the safe-side.
[Galaxy S III Android Development] Amritttt:
Please tell me that its working thanks
[Galaxy S III Android Development] erto90:
someone with ARHD 17 can upload me his build.prorp? i need it fast and absolutely! thanks in advance
[Galaxy S III Android Development] mattiadj:
Yes it is working

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] eden1988:
Give it a day or two, or perhaps try rebooting and clear dalvik cache and cache partition. On the first run it lagged for me too, keyboard took like a sec to pop up, lagged terribly when multiview is enabled and took 4 secs for the first time. But after a while it settled down, I play games like subway surfer and it used to lag when I played it for some time, now I can play for like 20 mins or more without it lagging. Best is I can leave my game and can still resume it (which I can't before I apply this tweak), let your phone run a bit more and you should see results :)
[Galaxy S III Android Development] sachilleas:
No lags here. I have multiview enabled. It laged once, when the ram i used was nearly 800 mb. Cleared memory with task manager (as the dev suggests) and problem solved.
[Galaxy S III Android Development] bur_c:
Why the dalvik must set to 192m?

I have ms team hd rom 6.5 and its set to 256m something like that...

I can leave it or I must change it?

And if I change it to 256m after I installed the mod its still ok?

Thanks!
[Galaxy S III Android Development] wednesday13:
I'm still getting a refresh on stock browser somehow, maybe android kills it every 30mins?

Could you implement a feature that the app just stays even after 30mins or something like that?

Thanks, but overall it's so fast and apps switching got better. Only my problem is the browser issues
[Galaxy S III Android Development] mattiadj:
Lags can only appairs when a lot of apps or some heavy apps are loaded simultaneously.

The best way to remove lags is to kill apps with a task manage or reboot the phone.

Phone needs a bit time to cache all apps and manage correctly the ram so give to phone about 5 min after the first boot to make all.

About 30 minutes... As I have said before this problem not exists anymore! If your browser is killed the only reason is that android needs more ram!

Thanks to all for your feedback guys!

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] atomic339:
I feel more laggy in Need For Speed MW on Omega v34 and Siyah.

Anyone have this problem? Do you try other kernel with this mod?
[Galaxy S III Android Development] JB-007:
Hi

Finally i modified your script to use external sd. It seems to run without any lag (may be because i use a class 10 sdcard). Anyway, Thanks a lot for your good job.

Cheers
[Galaxy S III Android Development] valerio.tosti:
Is it possible to send me a copy of your script?
[Galaxy S III Android Development] JB-007:
Sorry, i'm not able to join the file for this reason i attached just the part i changed in the file, just copy it and paste to the original file with root explorer for example:

#swap commands

if [ ! -f /storage/extSdCard/swapfile.swp ]

then

dd if=/dev/zero of=/storage/extSdCard/swapfile.swp bs=1024k count=600

mkswap /storage/extSdCard/swapfile.swp

fi

swapon /storage/extSdCard/swapfile.swp
[Galaxy S III Android Development] valerio.tosti:
Thank you very much it works
[Galaxy S III Android Development] mattiadj:
Remember to wipe cache after that.

And take in mind that if you have my external2internal sd mod... You are using internal sd instead of external.

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] soulzero:
Only problem i notice is : the phone can get extremely laggy. I see myself clearing the ram like every 10 minutes basicly.
[Galaxy S III Android Development] sachilleas:
This surely does not happen to me. Rom/kernel?
[Galaxy S III Android Development] soulzero:
Foxhound 1.6 + overclocked gpu + cpu siyah. good combination i would think..
[Galaxy S III Android Development] exjc1986:
Hi, Thank for the mod, I flashed it a few days back, at first it used to run fast, but now it seems to lag a lot. As soon as I switch on my Wi-Fi or mobile data, I get micro lags, apps take longer to open up.. Music starts to skip. I on stock rooted JB wtih Siyah 1.8.4. Any ideas what might be the issue...

Also, the music skips when unlocking the phone with ripple effect, I had no such problems earlier. :(

Also, I have frozen most of the unnecessary Samsung apps, still I get lags. Also, it only happens when I switch on mobile data or wi-fi. Otherwise the phone runs smooth and also launcher redraws have increased even though the free memory is always around 150-200 MB.
[Galaxy S III Android Development] mattiadj:
To avoid lags when appairs, reboot the phone.

I'm using a lot my phone without any type of lags in every conditions

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] exjc1986:
Well mate this is happening even with a freshly booted phone, Also, the boot time has increased in terms of widgets and home screen loading properly. Also, I have had atleast 3-4 random reboots with only music playing on my phone.

Any way to remove the mod ??
[Galaxy S III Android Development] erto90:
in first page, you can find the remover:)
[Galaxy S III Android Development] exjc1986:
Thanks a lot mate. :)
[Galaxy S III Android Development] sachilleas:
Do i need to flash this mod again in cwm after updating / dirty flashing a ROM?
[Galaxy S III Android Development] Pard0ned:
Yep.
[Galaxy S III Android Development] kp.nikhil:
View attachment 1576837

when i type free I'm getting this... I'm using siyah 1.8.4 anono rom 18...is it working?
[Galaxy S III Android Development] valerio.tosti:
Yes i am using the internaltoexternel mod. Its for this reason i asked to have the mod. Now i am sure im using the internal memory. That was the reason because it was laggy before. It was using the external memory. I think i would be good to inform the people about this in the first post
[Galaxy S III Android Development] mattiadj:
If you have my mod flashed and use the regular version in op you use internal sd. If you use the modified version with my mod you continue to use internal sd.

If you don't have my mod and use this mod modified you will use external sd

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] fastcx:
what I get is only less than 600kb as swap..am I doing something wrong? running version 7

EDIT: nevermind,changed to dd if=/dev/zero of=/cache/swapfile.swp bs=1024 count=614400 and a cache wipe to recreate the file make it back to 600mb
[Galaxy S III Android Development] kp.nikhil:
what is this?
[Galaxy S III Android Development] NaylinnMaung:
Can anybody tell me in details how to test that this mod is working or not?

THx...
[Galaxy S III Android Development] sachilleas:
Check the first post. Write free in terminal.

I have a different question. Do i have to flash the script (the whole procedure) again after changing kernels?
[Galaxy S III Android Development] mattiadj:
No

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] vegeta1:
my friend...i hope v7 is ready for the hell down under :D

sorry bit late in trying the latest version , broke my phone so finally have it back :D
[Galaxy S III Android Development] kp.nikhil:
not working for me
[Galaxy S III Android Development] sirusu:
Running CrDroid v9 , Siyah 1.8.5 . This fix is included within the ROM, checked the build.prop value is correct as first post.

Type "free" in terminal and give me 0 value for swap
[Galaxy S III Android Development] erto90:
the mod is not only a change of build.prop.. for sure the dev have pushed these values.. but the mod is not installed or active..
[Galaxy S III Android Development] sirusu:
Manage to get the mod working, all I have to do is reflash the mod in CWM.

Yet I dont feel significant improvement, dialer lag and stuff still persist. Will monitor it
[Galaxy S III Android Development] fastcx:
Type free in terminal and tell me the swap size
[Galaxy S III Android Development] khro1:
works for me.

for example: dialer opens much faster