How To enable Swap file ?

buhor

Senior Member
Jul 6, 2012
134
11
0
Help enabiling swap file with ram manager pro or with a script

Sent from my Inspire 4G using xda premium
 

Cfhappy

Member
Sep 21, 2012
15
6
0
Help enabiling swap file with ram manager pro or with a script
At first: experimenting with swap, system settings and further can cause immense damage to your phone and/or sd-card. I am just trying to help and I am not a pro. Read as much about the topic as you can find, and wait for someone more experienced to answear!

I don't know what you exactly want to do, but if you want to use a swap file, I think you must have a swap partition (don't know if it works without it)on your sd-card (that will decrease the sd's lifetime!!!). If you ensured this, you can search your Roms settings for some features about swapping. If you found nothing, you can try an App like Swapper2 or ram manager. But I don't know the exact steps for the apps!

Good luck
 
  • Like
Reactions: buhor

buhor

Senior Member
Jul 6, 2012
134
11
0
Thanks I m no pro either but I know how To do it with partition....I want To know how To set or run the script to do it with a swap "file"..ty

Sent from my Inspire 4G using xda premium
 

Cfhappy

Member
Sep 21, 2012
15
6
0
Thanks I m no pro either but I know how To do it with partition....I want To know how To set or run the script to do it with a swap "file"..ty

Sent from my Inspire 4G using xda premium
If you have that script already, it could be run with "script manager - smanager" (sorry, couldn't post links to market). You start the app, search for the script and choose "run" (i think you have to set button "run as root"). The Script Manager starts the script and you have to follow the on screen hints.
Again, ATTENTION on what you're doing! :)
 
  • Like
Reactions: buhor

buhor

Senior Member
Jul 6, 2012
134
11
0
Thanks alot bro but yeah its more how To create the script cause when I open the terminal it says swap function is not implemented

Sent from my Inspire 4G using xda premium
 

Cfhappy

Member
Sep 21, 2012
15
6
0
Thanks alot bro but yeah its more how To create the script cause when I open the terminal it says swap function is not implemented

Sent from my Inspire 4G using xda premium
By googling for "swap file script" the first link shows you how to enable swap within in the well-known Cyanogenmod with a script. You could have a close look on this or serach for something similiar working with your Rom (the script in this Link seems to enable some more terminal commands, maybe thats what you looking for). Or you can try to adept it on your own (Nandroid Backup!).
 
  • Like
Reactions: buhor