SD Card(script) enabling swap by default





Hi friends

I created this tutorial especially for noobs who would like to enable swap in their mobile

#include
/*
* I am not responsible for bricked devices, dead SD cards or
* thermonuclear war.
* do some research if you have any concerns.
* YOU are choosing to make these modifications.
* yes, i copied this disclaimer from FXP because it is cool and i am lazy!
*/
INSTRUCTION:

1.extract and copy file swap to etc/init.d IMPORTANT: etc/init.d is outside system dont copy the file swap to system/etc/init.d
for example:
copy swap to ------> etc/init.d
dont copy swap to ------> system/etc/init.d
2.reboot phone reboot takes sometime because of enabling swap
3. to check swap is working open terminal type


PHP Code:
su 
then
PHP Code:
free 
if u want to change the swap size open swap file with text editor and change 20 to something

set permission as read and write for the script which we talking about

[CREDITS]: #karthick_most wanted@fireion_developers

Download :- swap.zip 


SHARE

About Unknown

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment