Skip to content

Instantly share code, notes, and snippets.

@chenshaoju
Created April 14, 2017 15:22
Show Gist options
  • Save chenshaoju/4d838ca5a27df844d6fd5283deeaf62f to your computer and use it in GitHub Desktop.
Save chenshaoju/4d838ca5a27df844d6fd5283deeaf62f to your computer and use it in GitHub Desktop.
#!/system/bin/sh
#
swapon /cache/pagefile.sys
#!/system/bin/sh
#
echo 20 >/proc/sys/vm/swappiness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment