Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
PlumSauc3
Old
#1  
Member - OP
Thanks Meter 15
Posts: 93
Join Date: Mar 2012
Default [Video] [Guide] How to Create a Swap Partition for Android

http://www.youtube.com/watch?v=OWAbpWWwJ9Y

Commands: fdisk -l dev/block/mmcblk_

swapon /dev/block/mmcblk_p_

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

vi /system/etc/init.d/05userinit

#Activate swap at boot
#!/system/bin/sh
swapon -a

chmod 750 /system/etc/init.d/05userinit

vi /system/etc/fstab

/dev/block/mmcblk_p_ swap swap
echo vm.swappiness=60 >> /system/etc/sysctl.conf
My YouTube

Devices: Samsung Galaxy 3 (Apollo), Sony Walkman Z, Samsung Galaxy Tab 10.1
 
Jason-EX
Old
#2  
Jason-EX's Avatar
Senior Member
Thanks Meter 973
Posts: 1,062
Join Date: Sep 2011

 
DONATE TO ME
Thanks for the guide! I'm a noob in this kind of thing (partition, hd2sd, and etc)
 
DoR2
Old
#3  
DoR2's Avatar
Senior Member
Thanks Meter 102
Posts: 298
Join Date: Mar 2012
Location: Snezhinsk
Quite interesting... Maybe try to add to my ROM
 
gedster314
Old
(Last edited by gedster314; 20th June 2012 at 08:06 PM.)
#4  
gedster314's Avatar
Senior Member
Thanks Meter 105
Posts: 813
Join Date: Sep 2007
Location: Oxnard, Ca
Deleted by me
 
rkoby13
Old
#5  
rkoby13's Avatar
Recognized Contributor
Thanks Meter 2202
Posts: 4,567
Join Date: Mar 2011
Location: Howering above your head!!!Beware!!

 
DONATE TO ME
well....i didn't take a look at vid.....but i must say this.....swap partition is sort of uselles on our phone because phone gets veeery lagy if we use it...at least i had huge lags until i deleted swap script & partition aswell....
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...