Defiant07 Swap Init.d Script - Improve RAM Performance on Your Android Device

Now i will share a tutorial to imrove your Android device performance by tweaking the memory (RAM) using swap, and we will use init.d script called (and you may notice the creator by the script name) "Defiant07 swap script".

Personally i use swap RAM and disable the zram to increase performance on my mid-entry smartphone Samsung Galaxy V. It is proven (at last to me) can reduce lag and imrove multitasking ability. Before, i use RAM Manager Pro to did it. But recently since i found Defiant07 Swap script, later i switch using it, as it can send the swap RAM command directly to system without any additional app running so it won't use RAM and CPU for it. I use it on my Android smartphone running CyanogenMod 13 (6.0 Marshmallow) and the results is satisfied to me.

There are 2 methods to do swap RAM on our Android device using Defiant07 script. Both of them will require us running the script command to set and create an init.d scripts. One option via script manager app, and the other one is via terminal emulator. Choose the one suits you.

Requirements:


defiant07 swap script command terminal emulator

screenshot ram and swap diskinfo app

Installation Defiant07 swap script


Via Terminal Emulator (Flashable)


Tools:

Steps:
  1. Flash the Defiant07 swap it on zip file through recovery, reboot your Android device.
  2. Open Terminal Emulator app, type: su, enter, then type: swapit, enter.
  3. Follow the instruction to create setup for your swap and RAM setting preferences.

Via Script Manager (Non flashable)


Tools:

Steps:
  1. Download and extract the Defiant07 swap for Script Manager method zip file, inside it you will find the script file which you must run using Script Manager application.
  2. Open the Script Manager app, locate the script you just extracted before, and be sure to run it on root mode.
  3. Follow the instruction to create setup for your swap and RAM setting preferences.

Optional steps, disable the zram


Download and place the init.d script disable zram on /system/etc/init.d/. This is just based on my experience that if the zram is not disabled, the swap RAM is likely untouched and useless. Also by disabling the zram, it will reduce lag on your Android device as zram working by compressing block of ram, it will consume cpu resource.

Now after all is done, you can reboot your Android device.



Check out the original thread by Defiant07 at XDA Forum

Share this

Daryadi

Just a simple man with simple hobbies like playing games, listening music, and read about new things. Enjoying blogging as hobby since 2014 and later caught interest playing with his first Android smartphone since 2015, he then combined the two hobbies on this blog and it is a great time killer for him.

Related Posts

Previous
Next Post »

2 komentar

komentar
March 21, 2017 at 1:00 AM delete

Where do you swap? system, chace, data or custom? sorry for my bad english

Reply
avatar

Good reader make a good comment! If there is a mistake or broken link, please add a comment...