Increase RAM using Swap File and Swap PartitionNOTE:
I spent hours updating my guides and I don't ask you to press that THANKS button, be kind enough not to copy my guides to other forums. I know some noobs want to make a name on other forum boards... but hey, that's not an excuse! Thread featured on XDA Portal
POSTED MAY 29, 2012 AT 4:00 AM BY POORCOLLEGEGUYWARNING: This mod may degrade SD card life.What you need:
MiniTool Partition Wizard for SD Card Partitioning
A MicroSD HC 4GB or higher class 6 or class 10
MicroSD HC Card Adapter
A card reader (if your pc doesn't have card reader built in | USB Mount is not adviseable)
Swapper2 from Google Play Store [DOWNLOAD]
ADB Shell or terminal Emulator (to check if swap is activated)
Make sure you have BusyBox installed
Before we start, lets do some reading . . .
RAM
What is RAMRandom Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device. SWAP
What is SWAPSwap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap. Step by Step GuideHow to create Swap PartitionUsing MiniTool Partition Wizard
Plug in you MicroSD HC Card to your computer using the card adapter. (Do not use USB Mount)
Open MiniTool Partition Wizard and look for the card
Right Click on it and select Delete Partition
Click on Apply to Delete the Partition
Right Click on it again and select Create Partition
Set the partitions as follows:1st partition:
Label: Android-SD
Create as: Primary
File System: Fat32
Partition size: as much as you want! 2nd partition:
Label: Android-EXT3 (2nd partition is for EXT which you can use for A2SD or Link2SD)
Create as: Primary
File System: EXT3 (be it a custom kernel or ROM with EXT4 support, use EXT3 still -play safe! )
Partition size: MIN: 256 MB MAX: 1024MB (1GB)3rd partition:
Label: (do not put anything)
Create as: Primary
File System: Linux Swap
Partition size: MIN: 32MB MAX: 1024MB(1GB) RECOMMENDED: 256MB
After creating partitions, click Apply to apply changes.
Using ClockWorkMod
Reboot to Recovery
Go to Advanced and Debugging
Select partition SD card and select the partition size that delights you
How to use Swap
For us to be able to use swap file or swap partition, we need to use Swapper2 which you can get from Google Play.
Download and Install Swapper2 (of course)
After installing, open Swapper2 and navigate to Menu > Settings
Swapper preferences: (for kernels that doesn't have swap partition support)
Run swapper at startup (put a check)
Swap place: /sd card/swapfile.swp (you can place it in a folder if you don't like a messy sd card structure )
Swap size: MIN: 10 MB MAX: 256MB RECOMMENDED: 32MB (choose any)
Swapiness: RECOMMENDED: 10MB SYSTEM DEFAULT: 60MB MAX: 100MB (choose any)
Safe unmount (put a check)
Safe remount (put a check)
Advanced preferences: (for Kernels that supports swap partition only)
Use swap partition (put a check)
Swap partition: /dev/block/mmcblk1p2
After setting preferences, press back and tap on "ON" to turn on swap. Reboot afterwards
How can I tell if swap is running?Go to the terminal emulator - or open adb shell - and run 'free'.
If it looks like this (with zeros in the swap line), you do not have swap:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If it looks like this (with anything other than zeros in the swap line), you do have swap:
NOTE:
You need to turn off swap before you mount SD via USB, if you don't you will not be able to mount sd as swapfile is active and set to read only which will deny request to mount USB Storage.Get Swapper2 here:
Thanks to kalhimeo who attached the the apk file on this POST or click this ATTACHMENT LINK to download. Confirmed Working:
explodeaamir : great it works on my sgy with hybrid4.0
itz awesome
junior_montain : It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks
screens?
Is it works with stock kernel! or with creed 3.2 rom with its default kernel!
very nice.... step by step tutorial.......it wirk with stock kernel/firmware ...............
Sent from my GT-S6102 using xda premium
wow great tip i like that
By Using this can we able to run gta3
Sent from my GT-S5360 using xda premium
Swapper 2 (for Root users)
Elviss Kuštans
This app is incompatible with your TATA DOCOMO Samsung GT-S5360.
Now What??
i don't like swap,
used it before,
made my phone lag and i have a 8GB class 6 card
sheksbear said:
Swapper 2 (for Root users)
Elviss Kuštans
This app is incompatible with your TATA DOCOMO Samsung GT-S5360.
Now What??
Click to expand...
Click to collapse
Google for the apk file. I'll try to upload later.
abhijitro said:
By Using this can we able to run gta3
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes.
sidsaxena0 said:
Is it works with stock kernel! or with creed 3.2 rom with its default kernel!
Click to expand...
Click to collapse
Yes it works on both stock and custom kernel. Swap file for stock and custom kernel. Swap partition only works with kernels that supports swap partition.
And since swapper handles swap file, the. It should also work for stock rom with super user access.
Sent from my GT-S5360 using xda premium
It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks
junior_montain said:
It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks
Click to expand...
Click to collapse
That's great
BTW, what kernel are you using?
CarlDeanCatabay said:
Google for the apk file. I'll try to upload later.
Yes.
Yes it works on both stock and custom kernel. Swap file for stock and custom kernel. Swap partition only works with kernels that supports swap partition.
And since swapper handles swap file, the. It should also work for stock rom with super user access.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
sorry bro but i think i am not understanding because as i know creed roms kernel and stock kernel have not swap support so how it will work with that!
sidsaxena0 said:
sorry bro but i think i am not understanding because as i know creed roms kernel and stock kernel have not swap support so how it will work with that!
Click to expand...
Click to collapse
It works even with STOCK ROM and KERNEL because
Theoretically,
Swapper creates a swap file. Swapper then runs on on boot with superuser permissions. Since swapper can run on both stock and custom roms and kernels, then swapper can manage the swap file. If swap file can be managed, then sgy can use it.
The dev of swapper said swapper 2 needs root access so it can run and use swap. So as long as you can give super user permissions for swapper then it can use swap file.
great it works on my sgy with hybrid4.0
itz awesome
explodeaamir said:
great it works on my sgy with hybrid4.0
itz awesome
Click to expand...
Click to collapse
Great! Thanks for confirming.
explodeaamir said:
great it works on my sgy with hybrid4.0
itz awesome
Click to expand...
Click to collapse
Can u give screen shot?
Good work, very useful.
T3RM|NATOR said:
Good work, very useful.
Click to expand...
Click to collapse
screenshot plz
chamatht said:
Best and easy method for swap is using app called Swapper for root.
Do not need to create partions, format sd card, etc.
Only need a kernel support for swap like new merruk technology kernel.
°Download Swapper for Root app by GPlay.(its free)
°Run app.
°Tick Activate swap on boot.
°Set swap amount that you want.
°Save and wait for progress.
Goto terminal emulator and type
Code:
free
Check the Swap.
Click to expand...
Click to collapse
did that but no change and the swap feild iin emulator shows zero values
stock kernel do not support swap and there's no way to make swap work without kernel support. make your memory bigger with swap will not make your android faster, it will be slower even if you have fast sdcard. android by design is not depend on concept of swap. it have own memory manager which will not working optimal if you enable swap.
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
m1ndh4x8r GB2.3.5|OCKernel|Stable|Apps2SD|DATA2SD|Premium Features
PREMIUM FEATURES:
Based on RUU Marvel S HTC Europe 2.13.401.2
806-120Mhz Ondemand default
included tun cifs utf8 modules
add new sio scheduler
Deodexed and Odex ROM
Support Swap Ext4. init.d Scripts
Added different governors
Stock SenseUI
DATA2SD or APPS2SD
Extended Quick Settings by elf2009
Modified HTC Wallpapers
Added Herring Skin by slobo2712
Sense 3.0 Lockscreen And MMS
Added V6 Supercharger thanks to zeppelinrox
Auto Battery Calibration after newly flashed
SD Card read speed Increased
Auto zipalign during boot
VM Heap size Changed to 32M
Removed HTC and Android Spyware
Newest Busybox
Newest adfree hosts
Zipaligned
Advance Power Menu
CRT On Off Animatiom
Removed Bootsound
New Bootscreen Downanimation
Sense 3.5 Font
Sensation and ICS sounds only on deodexed rom
4x5 App Drawer
Fast GPS fix by d33ps1x
added beats mod - by fuss132 - on deodexed rom, for odex please flash add-on.
Updated Apps:
Google Search Box
Gmail
Market with Navigation
Youtube
Superuser and su
Maps
Preinstalled Apps: Note will be erased if Hard reset is applied if you want to reset phone to default settings factory just reflash ROM.
Adfree
ES File Explorer
Link2SD
No frills CPU control
WifiKill
Gingerbread keyboard
Flash Player 11
Click to expand...
Click to collapse
Click to expand...
Click to collapse
APPS2SD
I:
Copy ROM to SDCARD
Use Minitool Partition Wizard to resize SDcard in Following format: NOTE: use card reader not in phone usb.
1st-FAT32 - size any
2nd-Ext4 - Not more than 2GB
3rd-Linux Swap - mine is 512MB
All primary
II:
In CWM recovery
Wipe Factory, Data, Cache and Wipe Dalvik Cache
Install Zip from SD Card
After finish reboot
Configure settings
Run link2sd app choose Ext 4
then in Nofrills CPU change to whatever mine is Smartass with noop
Then Reboot again.
Click to expand...
Click to collapse
DATA2SD
I.
Follow no I. Apps2sd Instructions on top
Wipe Factory, Data, Cache and Wipe Dalvik Cache
Install ROM, after finished
Reboot to Sense Android wait for 30 secs. to fully boot
turn off fast boot in settings, power off
go to recovery install zip data2sd installer, when finished
reboot, uninstall link2sd cause you won't be needing it
anymore.
Click to expand...
Click to collapse
ODEX
DEODEXED
MISC:
Data2sd Installer - flashable zip
Data2sd Installer V2 - Use this version if you experience sd card unmounts during call
Data2sd Reinstaller - flash this if you upgrade ROM using wipe cache and dalvik cache method
Splashscreen - replaces white HTC on first boot
600Mhz Default - for phones having OC, and booting problems
Beats audio - by fuss132
DEODEXED ADD-ONS
Custom theme - by MegaFisshy
Custom theme - by Mazer.one
Custom black theme - by Mazer.one
Custom theme - by meanmug
UOT Kitchen - Your own customization just select m1ndh4x8r ROM from kitchen list
Repo Extended Quick Settings - by efl2009 GB2.3.3 Ported for 2.3.5
Extended Quick Settings - my mod de and compileable
4X4 App Drawer - unmodded stock files
4X5 Non Paged App Drawer - Smooth scroll Froyo style
4x5 Transparent Appdrawer - Transparent Drawers
Apps Add On:
Gallery 3D
Google Music 4.1.511
Click to expand...
Click to collapse
Benefits of Premium ROM
Fast Stable
More Memory
No Lags
Updated
Free
Rooted
Adfree
Extended Features
Click to expand...
Click to collapse
BUGS:
Unstable multitouch in some games like first person shooter etc. gameloft games - Affected All HTC 2.14 GB2.3.5 marvel updates - please report to HTC cause its official ROM problem not by me.
Click to expand...
Click to collapse
SCREENSHOTS:
Custom ROM for HTC WILDFIRE S
Marvel a510e GSM
Click to expand...
Click to collapse
Cooked by m1ndh4x8r in DSIXDA's Kitchen
OC Kernel source code by Alquez and CM7
Latest Sibere and Droidzone Data2sd
Supported by UOT Kitchen
Tutorial on Link2SD and SD Card Prep...
Click here for a tutorial on using Link2SD and prepping your SD card for it for ROM's like this one.
This tutorial is for Windows, using all freeware and does not kill the contents of your current first partition on your SD card.
Add in an additional third Swap partition if you wish of course.
d33ps1x said:
Click here for a tutorial on using Link2SD and prepping your SD card for it for ROM's like this one.
This tutorial is for Windows, using all freeware and does not kill the contents of your current first partition on your SD card.
Add in an additional third Swap partition if you wish of course.
Click to expand...
Click to collapse
To follow your tutorial is it really mandatory to have perm root???
joaojp1 said:
To follow your tutorial is it really mandatory to have perm root???
Click to expand...
Click to collapse
Do you really have to ask when it's in the title?
Yes. Link2SD will ask for SU permissions everytime it performs an action, every time it mounts the second partition at boot, etc.
Are this rom de-odexed??
kasra_Qeshm said:
Are this rom de-odexed??
Click to expand...
Click to collapse
I dont think its deodexed, I would prefer a deodexed rom I dont mind the long boots. This will be my rom anyway.
This is a GREAT ROM! I'm with it and I really thank you m1ndh4x8r!! I don't have any problems with it
Hey m1ndh4x8r, I've found that this ROM is a very nice sense ROM so thank you
There are only a couple of things that I don't understand.
Firstly for some reason MiniTool Partion never worked for me on Ext4 as when I first started up link2sd there was no option to mount and the second partion couldn't be found. However I tried the ClockWorkRecovery Partion tool and that worked whilst using Ext3: Just thought I would share that chunk of info hehe
Secondly a very bizzare thing happens in which I can't actually install any market apps. Every time I go to install and app my WFS just automatically reboots. I've tried reinstalling the ROM making sure to format and wipe all the cahce's, I've fixed permissions and tried without partioning the sd card. Please could you look into this as I can't find anything at all helpful on the web
If you read and my instructions step by step, you won't get any problems. In minitool why wont it work? unless your a mac user, use an sdcard reader that looks like a flash drive where you insert the memory card and to the computer then partition it.
Edit: you can also use this rom without any partition but just htc built in apps2d. Also in market it wont reboot unless you did something strange thats not included in my instructions.
I'm not part of the rabble who just posts rubbish after not reading and complaining
I did read your instructions perfectly, yes I did use a card reader in fact and link2sd didn't pick up the partion, no I'm not a mac user (ew). So yeah also like I said in my first post link2sd is 'basically' fixed just I'm stuck with installing apps and auto reboot..
Edit: I know mate but that's the fact that I didn't do anything strange and this is happening. Well I might just go use a different ROM then haha...
Ok, try this Format sd card copy rom to it then wipe all then use cwm make 2nd partition to ext4 install rom. reboot, run link2sd choose ext4 reboot. then all is fine.
ADDED option for anybody likes data2sd in this
ROM. check first page for info. You need a clean
install if you want this.
EDIT: Please report if it works or not. also why no feedback does no one have problems or likes this rom?
Please answer.
m1ndh4x8r said:
Ok, try this Format sd card copy rom to it then wipe all then use cwm make 2nd partition to ext4 install rom. reboot, run link2sd choose ext4 reboot. then all is fine.
Click to expand...
Click to collapse
Cheers dude it's working now, I have no idea what actually made it screw up.
Sweet rom though
Very good. Thanks
thanks for making this rom.. flashed it today with the newly added data2sd zip and everything is working fine uptil now... now my internal memory has included my ext2 partition and is showing up as 1.6GB..
I hope we see many more sense based roms for this phone now that it is unlocked....
also is it possible to fix the notification bar graphics glitches in this rom? Its a glitch present in the stock rom too... in the screenshot the gmail and market and skype icons in notification bar look weird..
its a small glitch which doesnt affect any functionality but its quite annoying... it would be good if it gets fixed in this rom..
(This screenshot was taken by someone else on this forum)
Great work
Woow
The best Rom for my Wildfire S.
Ich jused GPardet for my 4 GB SD Card.
1. - 1,5 GB FAT32
2. - 2 GB Ext4
3. - 512 MB Ext4 Swap
Link2SD works fine
Wildfire runs at 806 Mhz
I also found a nasty bug in playing games, unresponsive view. But I think its also in stock unmodded rom so it's an htc problem.
I tried it with nova and some soldier game I forgot.
Install Instructions:
1:
Use Minitool Partition Wizard to resize SDcard in Following format:
1st-FAT32 - size any
2nd-Ext4 - Not more than 2GB
3rd-Linux Swap - mine is 512MB
All primary
Click to expand...
Click to collapse
Is it really necessary to make all these partition? What benefits it gives or, on the contrary, what I lose if I just use a whole (32)FAT microSD?
My SD Card is 2GB and I made two partitions:
1st - FAT32 (1,5GB)
2nd - Ext2 (0,5GB)
And everything works fine
Hello
i want to expand the memory a little bit
so tried to use
Swapper - https://play.google.com/store/apps/details?id=org.azasoft.free.swapper&hl=en
Swapper 2 (for root users) - https://play.google.com/store/apps/details?id=lv.n3o.swapper2
then testing with free command on the Terminal Emulator
but it's still showing me that the swap equals to zero
so my question is "does CM9 support swap file"
and if yes "how can i create a working swap files"
__
ahmedelhofy said:
Hello
i want to expand the memory a little bit
so tried to use
Swapper - https://play.google.com/store/apps/details?id=org.azasoft.free.swapper&hl=en
Swapper 2 (for root users) - https://play.google.com/store/apps/details?id=lv.n3o.swapper2
then testing with free command on the Terminal Emulator
but it's still showing me that the swap equals to zero
so my question is "does CM9 support swap file"
and if yes "how can i create a working swap files"
__
Click to expand...
Click to collapse
If you're using Arco's CM9, then I can say: Yes, it supports swap files. See below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As for "how to create one" ... here's how:
1. Creating a Swap File
Determine where you will place your swapfile* . For purposes of illustration, I will use /xxx/yyy. Remember to change this to the actual directory!
Open Terminal
Enter these commands; do not type the numbers, remember to replace /xxx/yyy with an actual path, and replace zzz with the size of swapfile you want (in MiB)
Code:
su
cd /xxx/yyy
touch .SWAP
dd if=/dev/zero of=/xxx/yyy/.SWAP bs=1048576 count=zzz
mkswap .SWAP
Test the swapfile with the following code, again in Terminal:
Code:
swapon /xxx/yyy/.SWAP
free
Once you see that the swapfile is working, turn it off again.
Code:
swapoff /xxx/yyy/.SWAP
2. Activating Swap File on Boot
Download the attached 99swap.txt
EDIT the downloaded 99swap.txt !! You must replace /xxx/yyy with the actual directory.
Optionally, replace the SWAPNESS value (range between 0 ~ 100)
Make sure you have a working init.d! If your ROM does not support a working init.d, then stop; see next section
Rename the file to 99swap
Copy the file to /system/etc/init.d (remember to mount /system rw first)
Open terminal, and enter the following commands:
Code:
cd /system/etc/init.d
chown root.shell 99swap
chmod 4755 99swap
ls -l 99swap
Reboot your phone, and check the logfile, which should be /data/local/99swap.log
3. Activating Swap File on Boot using Script Manager
Download Script Manager here
From within SManager, find your edited 99swap.txt file, and tap on it
Activate "Root" and "Boot" buttons, then tap on "Save"
Reboot your phone, and check the logfile, which should be /data/local/99swap.log
Thanks dude
U R Awesome
Now am playing Gangstar Rio
It was freezing before
ahmedelhofy said:
Thanks dude
U R Awesome
Now am playing Gangstar Rio
It was freezing before
Click to expand...
Click to collapse
Cool
One tip : Change the SWAPNESS value to 40. After extensive testing, I think 40 is better than the current value of 20.
-- Galaxy W + DXKL1 + CM9 + xda --
can u give me the link to the original thread ?!
ahmedelhofy said:
can u give me the link to the original thread ?!
Click to expand...
Click to collapse
What thread?
-- Galaxy W + DXKL1 + CM9 + xda --
Original thread where you get these swap steps ?!
ahmedelhofy said:
Original thread where you get these swap steps ?!
Click to expand...
Click to collapse
Oh, I made them myself. I'm a Linux geek
-- Galaxy W + DXKL1 + CM9 + xda --
pepoluan said:
Oh, I made them myself. I'm a Linux geek
-- Galaxy W + DXKL1 + CM9 + xda --
Click to expand...
Click to collapse
thanks for your method, it works very well and I solved the problem with the ram of my I8150 and some related freezing.
I have only a problem with the activation on boot, I followall the steps but in the log file is always explained that "the directory ttt/ttt was not found. Is it mounted ? " (ttt/ttt is the correct folder of the .SWAP file).
I have this problem either on internal and external sdcard (I prefer the internal because it's too quick without lagging).
Can you help me understandig the problem ?
Thanks a lot and sorry for my English.
I run on Samsung I8150 + Cyanogenmod9 rc8 - fully working with 350 mb of swap file on internal sd (reserved for cwm backup and swap, I used the CM9 option for cross the internal and external sd.
regards
Torment0 said:
thanks for your method, it works very well and I solved the problem with the ram of my I8150 and some related freezing.
I have only a problem with the activation on boot, I followall the steps but in the log file is always explained that "the directory ttt/ttt was not found. Is it mounted ? " (ttt/ttt is the correct folder of the .SWAP file).
I have this problem either on internal and external sdcard (I prefer the internal because it's too quick without lagging).
Can you help me understandig the problem ?
Thanks a lot and sorry for my English.
I run on Samsung I8150 + Cyanogenmod9 rc8 - fully working with 350 mb of swap file on internal sd (reserved for cwm backup and swap, I used the CM9 option for cross the internal and external sd.
regards
Click to expand...
Click to collapse
Yeah, it seems some ROMs mount the directories late; when the script triggers, the SD cards (internal/external) are not there already.
I have been playing with nohup command, but I just can't get it to run reliably on such ROMs.
So, I suggest going the SManager route instead. It's much more reliable. Besides, you really *don't* want to use a Swapfile during Boot; it slows down things because when the kernel sees that swapfile is available... it starts swapping (almost) right away. You'll need Swapfile during normal usage, so activating the Swapfile after the phone finishes booting actually makes more sense...
(BTW, I'm sorry I can't maintain this anymore... I no longer have my W; it's been handed over to my little-brother-in-law, and I've moved on to a new phone...)
pepoluan said:
Yeah, it seems some ROMs mount the directories late; when the script triggers, the SD cards (internal/external) are not there already.
I have been playing with nohup command, but I just can't get it to run reliably on such ROMs.
So, I suggest going the SManager route instead. It's much more reliable. Besides, you really *don't* want to use a Swapfile during Boot; it slows down things because when the kernel sees that swapfile is available... it starts swapping (almost) right away. You'll need Swapfile during normal usage, so activating the Swapfile after the phone finishes booting actually makes more sense...
(BTW, I'm sorry I can't maintain this anymore... I no longer have my W; it's been handed over to my little-brother-in-law, and I've moved on to a new phone...)
Click to expand...
Click to collapse
thank you very much for your reply, I understand that is not mine mystake if it'sn run
I will continue to launch the swap file using the terminal emulator and swapon command but...
as the folder addre is too much long and write it anytime manually in the terminal emulator is possible to create some script or anything else to be launched manually without writing anytime all the command line (similar to an .bat file,sorry I don't known linux and on , I'm still a winzozz slave..) ?
sorry for my bad english explaination, and in any case thank you for your interesting and support.
best regards
+++updated+++ I solved in the terminal emulator - left touch for setup - initial command - I wrote
'su' - "press enter"
'swapon /xxx/yyy/.SWAP' - "press enter"
now everytine I open the terminal emulator the swap file starts automatically, so I need only to tap the app and after exit.
too easy,too quick
thanks a lot, you solved my situation. now I link2sd finally check the ext3 secondary primary partition on the sd I solved everything (but it's difficult, I create the ext3 partition resizing the existant fat 32 primary partitionand thisi is a trouble, I suppose...
bye
kindly
how i can add data2sd to my stock rom? or any add on?
kh34d said:
kindly
how i can add data2sd to my stock rom? or any add on?
Click to expand...
Click to collapse
That's a question for the Q & A section and if you would have used the search funcion this was you would have found:
http://forum.xda-developers.com/showthread.php?t=1715983&highlight=data2sd+stock+rom
Joop
joopdroid said:
That's a question for the Q & A section and if you would have used the search funcion this was you would have found:
http://forum.xda-developers.com/showthread.php?t=1715983&highlight=data2sd+stock+rom
Joop
Click to expand...
Click to collapse
i c this post...but didn't work??
Use a program like Partition Wizard Home Edition (free) http://www.partitionwizard.com/free-partition-manager.html (Windows)
Use Gparted for Mac OS X (can also be used for Windows but I prefer Partition Wizard Home Edition) http://gparted.sourceforge.net
to partition the SD-card. (ALL DATA WILL BE DELETED!!)
Here's an example of a 8 GB SD card
FIRST Partition --> Primary FAT32 cluster size 8192 kb. SIZE: Between 5000 MB and 5632 MB (8192 MB - 2048 MB for EXT4 and 512 MB for Linux SWAP)
SECOND Partition --> Primary EXT4 default cluster size, SIZE: 2048 MB
THIRD Partition --> Primary LINUX SWAP default cluster size, SIZE: 512 MB
Keep in mind that the second and third are RECOMMENDED sized. So please follow those partition sizes. You can change the first partition size (FAT32) to your liking. But keep in mind that you leave enough space to create the Second and Third partition. Please create the partitions in the above order.
Now copy your favorite rom to your FAT32 partition (via Windows Explorer/ or Finder in Mac) because that is the only visible partition for Windows and used by CWM.
And copy Data2SDInstallerES.zip (see my attachment) to your FAT32 partition.
Install the ROM. Let it boot. Then BEFORE the setup of your ROM (language input, create gmail account etc. etc) you have to turn the phone off.
Then install Data2SDInstallerES.zip via CWM and after the install do a wipe cache and dalvik cache and after that do a fix permissions.
Then boot into the ROM again and presto you have more 'internal storage'.
Confirmed this is working with a unlocked bootloader (via HTC-DEV) and with S-ON.
You can also use Link2SD but for that you need to be S-OFF. But this method also works with S-OFF ofcourse
thatrunks said:
Use a program like Partition Wizard Home Edition (free) http://www.partitionwizard.com/free-partition-manager.html (Windows)
Use Gparted for Mac OS X (can also be used for Windows but I prefer Partition Wizard Home Edition) http://gparted.sourceforge.net
to partition the SD-card. (ALL DATA WILL BE DELETED!!)
Here's an example of a 8 GB SD card
FIRST Partition --> Primary FAT32 cluster size 8192 kb. SIZE: Between 5000 MB and 5632 MB (8192 MB - 2048 MB for EXT4 and 512 MB for Linux SWAP)
SECOND Partition --> Primary EXT4 default cluster size, SIZE: 2048 MB
THIRD Partition --> Primary LINUX SWAP default cluster size, SIZE: 512 MB
Keep in mind that the second and third are RECOMMENDED sized. So please follow those partition sizes. You can change the first partition size (FAT32) to your liking. But keep in mind that you leave enough space to create the Second and Third partition. Please create the partitions in the above order.
Now copy your favorite rom to your FAT32 partition (via Windows Explorer/ or Finder in Mac) because that is the only visible partition for Windows and used by CWM.
And copy Data2SDInstallerES.zip (see my attachment) to your FAT32 partition.
Install the ROM. Let it boot. Then BEFORE the setup of your ROM (language input, create gmail account etc. etc) you have to turn the phone off.
Then install Data2SDInstallerES.zip via CWM and after the install do a wipe cache and dalvik cache and after that do a fix permissions.
Then boot into the ROM again and presto you have more 'internal storage'.
Confirmed this is working with a unlocked bootloader (via HTC-DEV) and with S-ON.
You can also use Link2SD but for that you need to be S-OFF. But this method also works with S-OFF ofcourse
Click to expand...
Click to collapse
i tried it and dosn"t work
I found it !
hey guys .. I finally found it ..
I found the way in this thread :
http://forum.xda-developers.com/showthread.php?t=1442689
and it work like a charm for me
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for all who participate in this thread, thanks for there caring and answers :good:
kh34d said:
hey guys .. I finally found it ..
I found the way in this thread :
http://forum.xda-developers.com/showthread.php?t=1442689
and it work like a charm for me
Thanks for all who participate in this thread, thanks for there caring and answers :good:
Click to expand...
Click to collapse
Thank you for sorting it out!
Q: the script says it's data2sd EXT3 but in the how to its says make a ext2?? what did you make?
And the busybox v1.17.1 , or did you try the latest V8.9.6?
Joop
joopdroid said:
Thank you for sorting it out!
Q: the script says it's data2sd EXT3 but in the how to its says make a ext2?? what did you make?
And the busybox v1.17.1 , or did you try the latest V8.9.6?
Joop
Click to expand...
Click to collapse
http://www.busybox.net/downloads/
busybox-1.20.2 - is the latest version v 8.9.6 doesnt exist
sorry for late answer
becoz there is a Problem with data2sd EXT3 !!
and I try to solve it
i tried busybox-1.20.2 but its no difference
Does any1 know what different between Q&A and Dev?
Sent from MARVEL JellyScream
Ehm Ehm .. sorry for that Boss ..
May please the OP move this thread to Q&A department
Thanks in advance
Yes, I also saw this.
The Dev section is NOT for asking questions.....
The Dev section is NOT for general topics..........
All threads posted MUST be prefixed with a description of the thread, [ROM] / [Kernel] etc etc.....*
Click to expand...
Click to collapse
Updated Rules Of The Development Section **Please Read, Then Read Again**
In general it is weird that there are [Q] threads in the Dev section because there is clearly a subforum for questions.
Even without reading the rules something like this should be obvious?
But glad to see you managed to find a solution :good:
Dev means anything developed if abt developing or somthing perfectly Dev like s-off thread.
Q&A -it can be anything abt our phone....
By keep the Dev thread clean coz its our heart...
Sent from my HTC Wildfire S A510e using Tapatalk 2
kh34d said:
kindly
how i can add data2sd to my stock rom? Or any add on?
Click to expand...
Click to collapse
completely wrong section!!!
The issue has been resolved and any question can pursue this Thread
http://forum.xda-developers.com/showthread.php?t=1442689&page=9
hiii:good:
finaly i found that DATA2SD has problems with stock rom.
i found LINK2SD is better and easy try it
NOTE:
This Wont Increase Your Real Ram Because RAM is a Hardware . So It wont show u as 512 MB or 256MB in Task manager.
READ STUFF:
RAM
What is RAM
Random Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device.
SWAP
What is SWAP
Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
INCREASE RAM USING SWAP FILE .
Many New bees told me the method by Sir CarlDeanCatabay is tougher .
Hi Guys , our Galaxy y is Cursed with a 289MB Ram which is poor for Multitasking and gaming.
Here we are going to see about Creating a swap which will move background running pages to swap file and gives the fore ground running apps a free space to work smoothly.
I have searched the Play Store and found the exact app for this process.
ROEHSOFT RAM Expander (SWAP) APP
To get the app Google as "ROEHSOFT RAM Expander (SWAP) APP"
This is not Warez.
Click to expand...
Click to collapse
Advantages of this app:
- Free SD card memory as a RAM use (SWAP RAM / SWAP MEMORY)
- Swapfile RAM expansion up to 4.0 GB (file system limit)
- No limit on SWAP partition!
- The usual performance degradation when paged not occur with sd card from class-8
- Widget for PNP swap (swap on / off swap)
- Detailed Memory Information & Analysis
- Autorun
- Swappiness kernel parameter set
- Easy foolproof use
(1 click optimization and automatic calculation)
- Supporting Tung all Android devices (root access and Kernelswap support)
Click to expand...
Click to collapse
Things needed:
Root permission
A Custom kernel with Swap support. (Check the XDA post of your kernel)
No Partition required
A Sd card of minimum class 4 ( Tweaked ) [Recommended:For best results , use a higher class Sd card}
Before asking doubt's please read the FAQ's section.
Procedure:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install The App (ROEHSOFT RAM Expander (SWAP) )
Give Root Permission and Select your language.
Use the SWAP FILE Slider and select the amount of partition you want. (may be 100-250 MB)
Use SWAPPINESS Slider : By setting the swappiness value, you can control the behavior of the kernel, the higher the value the more is outsourced.(Rec:60)
Final step: Tick AUTO RUN and SWAP ACTIVE and it take some time creatin SWAP file according to size you selected (only for the first time)
That's it....
FAQ's
1.Where wil be the Swap file Created ?
A Swap file will be present in your SD card after creating the Swap. ( Do not Delete it)
2.My SD card Class is low , any solutions ?
*Actually we only tried this app with Class 6 and got good results
*Do me a favour by testing with Class 4 sd card and make a comment here
*soln: Use SD booster app |APK link | Play store link|
3.Whether this method support my kernel ?
*SWAP support is must for this method . Check your kernel thread whether it supports swap or not.
4.Whether my Swap is active or it's fake one ?
Need: Terminal Emulator
Go to the terminal emulator
type "free" and enter
A] If it looks like this (with zeros in the swap line), you do not have swap:
B] If it looks like this (with anything other than zeros in the swap line), you have swap active:
TroubleShooting:
Take a backup of App ( You can use it any time , u want)
Uninstall the App
Check The Sd card whether the Swap file deleted, if not delete it.
A Reboot
You are good to go now...
Caution:
Dont delete the Swap file before uninstalling the app.
Conclusion
Comparing with partion method, this method is quiet easy and Simple.
This will help you in Multi tasking.
For better Ram management use Tweaks
MUST READ (Senior Members):
U Can try this app but THIS POST IS MAINLY MEANT FOR USERS WHO HAD SUCCESS or TRIED , Sir Carl Dean Cantabay's Method.
So Dont give your bad views on it. CarlDean Catabay's post is a PORTAL thread[popular}
thread link
Credits:
Jesus Christ for All
ROEHSOFT devs for Ram Expander App
Sir CarlDeanCatabay for Idea,OriginalThread
Daniel Mehrmann (Akusari) for SD Booster
IF U GO ANY WHERE WRONG , ANY DOUBTS , ANY SUGGESTIONS , IDEAS DON'T HESITATE TO TELL US
Give credits to the devs who work hard to make our life easier by thanking and donating.
KINDLY PRESS 'THANKS' BUTTON IN THE LEFT BOTTOM OF THIS POST
IT WILL ENCOURAGE ME IN FURTHER POSTS
Click to expand...
Click to collapse
I got this in a Facebook group where i shared it. Proof : Here
Will try and report
-Reserved- For Report
Check This a succesful User
http://forum.xda-developers.com/showthread.php?p=42499606#post42499606
Check the above post for advanced Settings of the app to get more speed and perform better
Exactly What i needed.
First of all I'm not new bee....
I tried this app before in my Galaxy S2 but i had good enough ram in my mobile.
Now i tried it in my galaxy y according to your instruction and whao !!! my Galaxy Y is laggless and Multitasking is great
What i did is
Swap 300MB and swappiness to 60
and my phone was like butter smooth !
I can open 5 apps multitasking at a time without killed
Those 5 apps r opera mobile,Pes12,office suite,Youtube,Music etc..,
Thanks fella for your Guide :highfive:
___________________________________________________________________________________
Phone : Samsung galaxy Y
Rom : Stock Rom [DXMA1 Indonesian]
Kerne : Savie #2 kernel
No Tweaks only Xperia Nxt Mod v2
Nyc...
It works sem as guied by CarlDeanCatabay.......
Sent from my GT-S5360
LetJect said:
Nyc...
It works sem as guied by CarlDeanCatabay.......
Sent from my GT-S5360
Click to expand...
Click to collapse
Thank You for your Positive Reply .
Suggestion.
Things needed:
Root permission
No Partition required
A Sd card of minimum class 4 ( Tweaked may be) [For best results , use a higher class Sd card}
Click to expand...
Click to collapse
good work :good:
Carl Dean cantabay's method stated we need a Custom kernel Which Supports swap.
But u didnt mention about that.
Paul Jeyaraj said:
good work :good:
Carl Dean cantabay's method stated we need a Custom kernel Which Supports swap.
But u didnt mention about that.
Click to expand...
Click to collapse
Sorry Sir my Mistake.
A kernel with swap support is a must . (Merruk, Savie etc..,)
I will add it.
Samuel IP said:
NOTE:
This Wont Increase Your Real Ram Because RAM is a Hardware . So It wont show u as 512 MB or 256MB in Task manager.
READ STUFF:
RAM
What is RAM
Random Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device.
SWAP
What is SWAP
Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
INCREASE RAM USING SWAP FILE .
Many New bees told me the method by Sir CarlDeanCatabay is tougher .
Hi Guys , our Galaxy y is Cursed with a 289MB Ram which is poor for Multitasking and gaming.
Here we are going to see about Creating a swap which will move background running pages to swap file and gives the fore ground running apps a free space to work smoothly.
I have searched the Play Store and found the exact app for this process.
ROEHSOFT RAM Expander (SWAP) APP
Things needed:
Root permission
A Custom kernel with Swap support. (Check the XDA post of your kernel)
No Partition required
A Sd card of minimum class 6 ( Tweaked may be) [For best results , use a higher class Sd card}
Procedure:
Install The App (ROEHSOFT RAM Expander (SWAP) )
Give Root Permission and Select your language.
Use the SWAP FILE Slider and select the amount of partition you want. (may be 50-250 MB)
Use SWAPPINESS Slider : By setting the swappiness value, you can control the behavior of the kernel, the higher the value the more is outsourced.
Final step: Tick AUTO RUN and SWAP ACTIVE and it take some time creatin SWAP file according to size you selected (only for the first time)
That's it....
FAQ's
1.Where wil be the Swap file Created ?
A Swap file will be present in your SD card after creating the Swap. ( Do not Delete it)
2.Whether my Swap is active or it's fake one ?
Need: Terminal Emulator
Go to the terminal emulator
type "run" and enter
A] If it looks like this (with zeros in the swap line), you do not have swap:
B] If it looks like this (with anything other than zeros in the swap line), you do have swap:
TroubleShooting:
Take a backup of App ( You can use it any time , u want)
Uninstall the App
Check The Sd card whether the Swap file deleted, if not delete it.
A Reboot
You are good to go now...
Caution:
Dont delete the Swap file before uninstalling the app.
Conclusion
Comparing with partion method, this method is quiet easy and Simple.
This will help you in Multi tasking.
For better Ram management use Tweaks
MUST READ (Senior Members):
U Can try this app but THIS POST IS MAINLY MEANT FOR USERS WHO HAD SUCCESS or TRIED , Sir Carl Dean Cantabay's Method.
So Dont give your bad views on it. CarlDean Catabay's post is a PORTAL thread[popular}
thread link
Credits:
Jesus Christ
ROEHSOFT devs
Sir CarlDeanCatabay
IF U GO ANY WHERE WRONG , ANY DOUBTS , ANY SUGGESTIONS , IDEAS DON'T HESITATE TO TELL US
Give credits to the devs who work hard to make our life easier by thanking and donating.
Click to expand...
Click to collapse
can't use this as i have class 4 card
Hey you there...
abhishekr700 said:
can't use this as i have class 4 card
Click to expand...
Click to collapse
1.Dont Quote the whole post
2.U can try with Class 4 Sd :good:
3.Please make a post here after using with Class 4 Sd card
Thanks
Update: Read The Faq's Column again.
abhishekr700 said:
can't use this as i have class 4 card
Click to expand...
Click to collapse
sir dont quote whole post modz will edit your post.
i have try this and...........WOW!!!! my device ran soooo smooooth..even my PC,my second device, my brother and sister device and all electric device in my home ran sooo smoooth...thanks a lot OP! :good::good::good:
Asmy Yuh said:
i have try this and...........WOW!!!! my device ran soooo smooooth..even my PC,my second device, my brother and sister device and all electric device in my home ran sooo smoooth...thanks a lot OP! :good::good::good:
Click to expand...
Click to collapse
Thanks For your positive reply
Working in Kuro, Merruk, Repencis, Savie and White
Tried it with Hell's Fusion #50 and it didn't worked, don't know why
But thanks to Samuel Ip who discovered this
KenEmerenciana said:
Working in Kuro, Merruk, Repencis, Savie and White
Tried it with Hell's Fusion #50 and it didn't worked, don't know why
But thanks to Samuel Ip who discovered this
Click to expand...
Click to collapse
tHANKS FOR THE INFO BRO , WELL I'LL ADD IT IN THE POST.
this software works with class4 also. i have been using this software for about 4-5 months and no bug or problem at all.
i want to ask that my kernel supports multi slot feature and if i switch rom or slots and install this app will it be able to catch my previous partitioned swap file which had been created by slot 1 rom. any way to enable it?
Ankurcul said:
this software works with class4 also. i have been using this software for about 4-5 months and no bug or problem at all.
i want to ask that my kernel supports multi slot feature and if i switch rom or slots and install this app will it be able to catch my previous partitioned swap file which had been created by slot 1 rom. any way to enable it?
Click to expand...
Click to collapse
If u change your sd card... The app will take some time to create new swap file.
Sent from my GT-S5360 using xda app-developers app
question
will it affect the life of my sdcard??
No
Justinesarno said:
will it affect the life of my sdcard??
Click to expand...
Click to collapse
I'm using my sd card for 2 years , No problems .
Increase REAL Internal Memory of Galaxy Y using Amarullz script
hey everybody
Mounts2SD - Storage & Memory Management
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mounts2SD started out as a simple sd-ext script which only difference between it an others like it, was that it did not use symlinks to create links between /data and /sd-ext. To day it has grown to be so much more. It now comes packed with an Application for controlling the script, viewing current states and more. The script itself has grown to become a large storage and management script with features that controlls SWAP, ZRAM, mount optimization, storage thresholds, different external and internal MMC configurations, cache and more. The content management is able to move a lot more different content between /data and /sd-ext, including the new internal storage, which on some devices, is placed in /data/media, and it also contains more than one option for storing system content on both /data and /sd-ext.
Mounts2SD is no longer just a script for devices with low storage capabilities. It can be used for a lot of things and is useful on almost any device, even those without external sdcard
● SWAP Support (Needs kernel support)
● ZRAM Support (Needs kernel support)
● Move and Revert content between /data and /sd-ext
● /data/dalvik-cache
● /data/app and /data/app-private
● /data/app-asec (Used by Android 4.1+)
● /data/app-lib (Used by Android 4.2+)
● /data/data and /data/user (Android 4.2+)
● /data/media (Used by some Samsung devices as internal storage)
● Optimizing internal partitions
● Checks/Fixes the sd-ext partition during boot (Needs e2fsck)
● Auto Clean /sd-ext/Lost+Found to avoid having it take up to much disk space
● Disable/Enable Ext4 Journal (Needs tune2fs) on sd-ext
● Let's you use whatever linux file system for sd-ext which is supported by the kernel
● Change Storage Threshold to fix Market issue 'Not enough space'
● Comparing destination partition to folder sizes before moving content
● Change Internal and External Readahead and Scheduler
original thread http://forum.xda-developers.com/showthread.php?t=2432479
i've tried this script on many androids devices on many releases ,,,, and by my own effort i tried it on galaxy grand after so many failed attempts
steps for our grand ( tested by me )
Requirements :
● rooted device
● busybox
● init.d support
● second partition on your external sdcard
● MiniTool Partition Wizard Home Edition download from here: http://www.minitool-partitionrecovery.com/download.html
● Mounts2SD download from end of threads
● A lot of concentration and patience
Explanation
●repartition SDcard
do backup for your sdcard and open MiniTool Partition Wizard Home Edition and delete all Partition on sdcard
Trace Pictures
we want 2 Partition 1 fat32 and 1 ext2 or ext3 or ext4
primary partition must be fat 32
and other partition can be any ext look in picture :
i select 4g.b cuz i install a lot of apps and and we move apps and data and cache and media etc so we need a big partition size
and when we end reparation it must be like this
25 + 4G.b
now restore all your data to sdcard and put sdcard in your grand
sure sure make backup
now install Mounts2SD and open it and trace photos
go to applications setting and instal startup script look photos
after install startup script go to content and setup setting like in photos down :
if you want move media and all content please make xposed installer as a system app if you don't make it as a system app you will get some error
then go to driver and select ext partition
now restart and when system reboot it can take a hour or more to move all to ext partition don't turn off phone
and the result is
over 200 apps on my phone and have free space 3.7g.b
used space 342 mb only
downloads:
now good bye and sorry for bad English
credits:
@dk_zero-cool for this big script and app
@thanks to all xda member
@Modather mohamed for encouraged me to move forward
@mostafa 7osny for Gets me frustrated lol
resrved
reserved
Is this apps more powerful than link2sd?
I can see it done the same function of link2sd
Sent from my GT-I9082 using xda app-developers app
wiryawang said:
Is this apps more powerful than link2sd?
I can see it done the same function of link2sd
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
link2sd move app with data
Mounts2Sd move app with data and media and cache and delvack cache move all you want and get a big space
Nice share.
But there is nothing related to Development in this thread, please have it moved to Themes and App section.
iceyhotguy said:
Nice share.
But there is nothing related to Development in this thread, please have it moved to Themes and App section.
Click to expand...
Click to collapse
ok man and thanks for your replay
can any one of moder move thread to app and them
nice tuts bro..
Keep Sharing your knowledge .. :angel:
very Nice thanks
تاباتوك 2
hi, it can take more then 5 hours?
i got error like.."there is no sd-ext partition on sd-ext..."
but i do exactly same as yours...
Manthan Gohil said:
i got error like.."there is no sd-ext partition on sd-ext..."
but i do exactly same as yours...
Click to expand...
Click to collapse
are you have 2 partition ?
hi, i did like tuto, but dosent work, or i dont know what i did worng...
i did it 3 times.
when i restart android my bootsplash running for hours, the last time i tried i start at 6 pm at saturday and i remove the batery about 7 am sunday...
did anyone knows what i did worng?
sorry my english.
i dnt think so that much time can take this process...iin my phone there is stilll no sd-ext partition error....i still cant know what error is occured
if medozse7s can post a video..im so thanxfull to him....
anothers screens is like tuto...
are you active script from application setting ?
if any one need help please post ext partition size and number of apps installed in rom thanks
medozse7s said:
are you active script from application setting ?
Click to expand...
Click to collapse
yes when activated i restart and than after more 5 hours i remove battery bc is a lot of time running...
medozse7s said:
if any one need help please post ext partition size and number of apps installed in rom thanks
Click to expand...
Click to collapse
i tried whit 4gb and 3,8gb partition ext4, and i tried with something like 100 apps and i tried too after a format wipe data, partition, cache (new install of pyramid k3 rom...
any more information?
sorry my english i hope you understand me...
ok i will try to make video to you but now am busy to build new rom
cant use this software
Which kernel should use for this app if i use init.d support kernel it dosent show 2nd partition