SwapSD: beta testers needed - Samsung Galaxy W I8150

http://forum.xda-developers.com/showpost.php?p=28419837&postcount=1
I think this app will work on the W, but I don't have one to test with.
Thanks!
Note: Not for CyangenMod or RebelROM. Stock-based ROMs only.

Work fine .

bangprovn said:
Work fine .
Click to expand...
Click to collapse
Thanks for testing!

What does SwapSD do ?

Dwama said:
What does SwapSD do ?
Click to expand...
Click to collapse
Full detail in the OP's link, but it switches sdcard & external_sd.

jocala said:
Full detail in the OP's link, but it switches sdcard & external_sd.
Click to expand...
Click to collapse
I already applied old "manual" method.. is this reversible?
I mean, can swap between memories multiple times?
thanx!

spino1970 said:
I already applied old "manual" method.. is this reversible?
I mean, can swap between memories multiple times?
thanx!
Click to expand...
Click to collapse
Yep. Going back and forth is np.

This is not optimized for ics I guess? My CM9 wonder soft bricked when I tried it!
Sent from my GT-I8150 using xda app-developers app

Gary122 said:
This is not optimized for ics I guess? My CM9 wonder soft bricked when I tried it!
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
I was just about to post this LOL!.
I also got soft-bricked

cyyong95 said:
I was just about to post this LOL!.
I also got soft-bricked
Click to expand...
Click to collapse
Sorry you guys got bit. Cyanogenmod has a built-in routine to manage storage, so this is for stock roms. But what do you mean by soft-brick?
I've added a note to the link's OP warning about cm9. Below you'll see cm9's vold.fstab; it's quite different from a stock Samsung. From the instructions:
If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
Click to expand...
Click to collapse
Code:
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# externel sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
Your original vold.fstab was saved when the app first runs. You can rename the backup and reboot to recover from any problem.

I tried this and it says that my 32gb sd card is usb storage. Is there a way to make it system memory? When i did this it gave me less system memory and made my usb storage huge. I would rather have more system memory than usb storage.

PSG4m3r said:
I tried this and it says that my 32gb sd card is usb storage. Is there a way to make it system memory? When i did this it gave me less system memory and made my usb storage huge. I would rather have more system memory than usb storage.
Click to expand...
Click to collapse
This app will not make your external_sd system memory. It swaps sdcard and external_sd as mount points.

jocala said:
This app will not make your external_sd system memory. It swaps sdcard and external_sd as mount points.
Click to expand...
Click to collapse
So will all my downloads and apps go onto the external sd rather than system memory?

worked fine on my stock rooted 2.3.6. thanks. if I chose to swap manually I presume I could simply over write my existing vold.fstab with your vold.fstab.swap (renamed to vold.fstab)?

jamesg302 said:
worked fine on my stock rooted 2.3.6. thanks. if I chose to swap manually I presume I could simply over write my existing vold.fstab with your vold.fstab.swap (renamed to vold.fstab)?
Click to expand...
Click to collapse
Yep.

PSG4m3r said:
So will all my downloads and apps go onto the external sd rather than system memory?
Click to expand...
Click to collapse
Anything that installs to /sdcard/ will instead go to external_sd if you do the swap.

Related

Swap ext SD to internal SD

Since we are so limited in memory 5gb left for apps and its data. Is there a way to swap these 2. I'm a gamer and love the size but I would like to be able download my game data apps to ext sd and have the games look in there when they open. I was thinking just renaming them would work but it's not allowable and maybe more to it than that. I've seen some modify the VOLD file in /system/etc to accomplish this on froyo or gingerbread. I'm thinking thats the solution or perhaps a kernel mod?
This is the script inside the vold file
## Vold 2.0 fstab
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
dev_mount external_sdcard /mnt/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount external_usb_disk /mnt/usb_storage auto /devices/platform/tegra-ehci.2/usb1
Here is what I found for SGS
http://www.darkyrom.com/community/i...l-internal-sd-gingerbread-version.5457/page-2
There's an app called GLtoSD which will move the larger data files from games to the external SD card. Seems to work well and is simple to set up.
ED2O9 said:
There's an app called GLtoSD which will move the larger data files from games to the external SD card. Seems to work well and is simple to set up.
Click to expand...
Click to collapse
Thank you. Going to try it now.
EDIT: Thank you this works for me
You could use a adb to symlink the internal memory to the external if you wish.
For those who don't know, symlink means a "shortcut" to another location in Linux.
As an example, if you try to go to /mnt/sdcard/music, you could make a symlink to /external_sd/music, then whenever some app try to access the music folder in the internal memory, it would take them to the one in the external SD. The same could be done with the whole internal partition, leaving all of the internal memory for apps, and all the extra content would be sent to the external SD, saving you space. As I only have a single SD that I use with with my evo shift, I haven't tried this, but it should work in theory. I know we had to do some symlinking to root the shift awhile back, so it can't be too difficult. I can't remember how to make them at the moment, but if that sounds like something you would want to do, just reply to this.
linuxman008 said:
You could use a adb to symlink the internal memory to the external if you wish.
For those who don't know, symlink means a "shortcut" to another location in Linux.
As an example, if you try to go to /mnt/sdcard/music, you could make a symlink to /external_sd/music, then whenever some app try to access the music folder in the internal memory, it would take them to the one in the external SD. The same could be done with the whole internal partition, leaving all of the internal memory for apps, and all the extra content would be sent to the external SD, saving you space. As I only have a single SD that I use with with my evo shift, I haven't tried this, but it should work in theory. I know we had to do some symlinking to root the shift awhile back, so it can't be too difficult. I can't remember how to make them at the moment, but if that sounds like something you would want to do, just reply to this.
Click to expand...
Click to collapse
I'm game, where would you suggest I find the "symlink" method for any device, I can apply the difference in device myself.
ummmmm............ could you repeat that?
thanks ED2O9
i couldn't find the GLtoSD app in the market, is there a link for that please?
aboodyksa said:
thanks ED2O9
i couldn't find the GLtoSD app in the market, is there a link for that please?
Click to expand...
Click to collapse
Try searching for GL to SD. not GLtoSD
this just in.....
http://forum.xda-developers.com/showpost.php?p=20884096&postcount=26
linuxman008 said:
You could use a adb to symlink the internal memory to the external if you wish.
For those who don't know, symlink means a "shortcut" to another location in Linux.
As an example, if you try to go to /mnt/sdcard/music, you could make a symlink to /external_sd/music, then whenever some app try to access the music folder in the internal memory, it would take them to the one in the external SD. The same could be done with the whole internal partition, leaving all of the internal memory for apps, and all the extra content would be sent to the external SD, saving you space. As I only have a single SD that I use with with my evo shift, I haven't tried this, but it should work in theory. I know we had to do some symlinking to root the shift awhile back, so it can't be too difficult. I can't remember how to make them at the moment, but if that sounds like something you would want to do, just reply to this.
Click to expand...
Click to collapse
hi can u guide me how to create a symlink, for example i wanted to create one
to repoint /sdcard/Android to /sdcard/external_sd/Android
also one that repoints /sdcard/NaviSEA to /sdcard/external_sd/SD/NaviSEA
I've rooted my phone (samsung galaxy w gt i 8150)
however when i run terminal editor with "su" rights
doing the following command resulted in "Operation not permitted"
ln -s /sdcard/external_sd/NaviSEA /sdcard/NaviSEA
how should I do it instead?
You cant symlink folders, its not possible since your microsd card is formatted in fat32.

External SD CWM backup?

Hi guys,
I have my clockwork mod folder on my external SanDisk 16gb sdhc...does anyone know how to be able to restore this way? Does the backup have to be on internal storage? I don't see a "mount ext sd" option in mounts...
While I'm asking this..
When you move apps to external do they no longer show up in your app drawer...? I'm using go launcher but it seems they disappear when I move them to external sd card.
Sent from my SAMSUNG-SGH-I927R using xda premium
I would like to know about using the external sd card for cwm instead of internal as well....
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
dudejb said:
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
Click to expand...
Click to collapse
Ive looked through every kernel thread and just about every rom thread and dont see anything about being able to switch it over to using your external sd card for backups....it sux but guess its not possible yet
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
romanr said:
Can you please mount external sdcard instead of internal one.
/etc/fstab:
Code:
#/dev/block/mmcblk0p4 /sdcard vfat rw
/dev/block/mmcblk1p1 /sdcard vfat rw
Click to expand...
Click to collapse
then he says he did it like this below:
romanr said:
Thanks, but not needed. I swapped my internal/external storage and this recovery now perfectly fits for me - my .android_secure is backed up by backup tool now - that's only why I asked.
How about adding
Code:
/dev/block/mmcblk1p1 /sdcard/external_sd vfat rw
/dev/block/mmcblk1p2 /sd-ext ext4 rw
to the fstab ?
Click to expand...
Click to collapse
This may do what you want?
dudejb said:
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
then he says he did it like this below:
This may do what you want?
Click to expand...
Click to collapse
Ill have to give it a try, kinda scared too cuz im a noob at that kinda stuff but i appreciate the help!
ok so im using root explorer, opened up the fstab file to edit and am stuck there, not really sure where to add those commands at...i think it would just be easier to leave it on internal storage lol
Yes it would be easier to leave it as it is. Lol. I have modified the fstab in Linux but not on my phone. If it is the same type of file you need to make sure you are opening it as root and there should already be a line with your current file system being mapped and simply replace it with the new line.

Combining internal and external sdcards as one storage unit? Android LVM?

Basically what im getting at is would it be possible to combine both storage units to where the os can mount them as one? In traditional Linux I would use LVM2.
Anybody? You think something like this would've been done already but I haven't found any directions on Google just a project page.
dude, desktop computers require an entire card in order to do this kind of stuff, it's called raid, and android isn't programmed to support it
Sent from my SPH-L900 using xda app-developers app
That is incorrect. Try looking into what an LVM actually is before attempting to answer. RAID is something completely different.
Edit: not trying to be a **** but your post had a condescending tone to it.
schnowdapowda is correct, LVM would be able to do this just fine if Android supported it, but as far as I can tell the Android system doesn't have the kernel modules or systems in place sadly. Otherwise it'd be no problem making a physical volume from the two SD partitions, then a volume group and logical volumes.
One down side is you would run into system overhead while the slower SD card is keeping LVM from writing to faster on-board "SD card" partition space.
I just run the following at boot time, and it swaps the internal and external cards... Note this is with the Perseus kernel.
Code:
busybox mount -o remount,rw /
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:49 /mnt/sdcard
if busybox mount | busybox grep vold/179:49; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
I saw this on a website and it works perfectly, just need to verify your dev/block/vold/NNN:NN mount point and make this change after the SDCard is initialized.
aramova said:
schnowdapowda is correct, LVM would be able to do this just fine if Android supported it, but as far as I can tell the Android system doesn't have the kernel modules or systems in place sadly. Otherwise it'd be no problem making a physical volume from the two SD partitions, then a volume group and logical volumes.
One down side is you would run into system overhead while the slower SD card is keeping LVM from writing to faster on-board "SD card" partition space.
I just run the following at boot time, and it swaps the internal and external cards... Note this is with the Perseus kernel.
Code:
busybox mount -o remount,rw /
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:49 /mnt/sdcard
if busybox mount | busybox grep vold/179:49; then
busybox mount -o bind /data/media /mnt/extSdCard
fi
I saw this on a website and it works perfectly, just need to verify your dev/block/vold/NNN:NN mount point and make this change after the SDCard is initialized.
Click to expand...
Click to collapse
How well does this work for you? And do you do this at every boot or only when you want to swap? Also when running apps after you swap the two and all of your other apps are already installed on internal then you swap the two, can you still just open the app drawer click and run? Or do they no longer run after the switch.
Also after the switch how does that all work when going into recovery and wiping directory's/folders etc and flashing ROM's what will it wipe since the directories are switched?
What is the benefit of swapping?
Sent from my SPH-L900 using xda app-developers app
Tw1sted247 said:
How well does this work for you? And do you do this at every boot or only when you want to swap? Also when running apps after you swap the two and all of your other apps are already installed on internal then you swap the two, can you still just open the app drawer click and run? Or do they no longer run after the switch.
Also after the switch how does that all work when going into recovery and wiping directory's/folders etc and flashing ROM's what will it wipe since the directories are switched?
Click to expand...
Click to collapse
Sorry i had forgotten about this thread. This shouldn't effect app storage. Only SD storage and the mock SD storage partition on your internal memory. I believe it might screw up any apps you have installed on your external unless there is some mechanism that changes where the system thinks they're installed. And this wouldn't effect recovery as you cant run that script till startup.
Devi0124 said:
What is the benefit of swapping?
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
Being able to save stuff automatically to your external without in app configuration.
Anyway.. this isn't what I'm really looking for. As far as I'd be concerned.. the system overhead wouldn't be an issue as I would gladly take a slowdown in read and writes to my storage for the convenience of having it accesible like that. I guess its just a matter of some genius dev compiling LVM into their kernel.
Devi0124 said:
What is the benefit of swapping?
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
More space
Sent from my SPH-L900 using xda app-developers app

[TUT]change internal to external micromax a68

GIVE A SMALL THANKS INSTATED OF REPLYING ME
JOIN OUR FACEBOOK GROUP
OUR BLOG
SO LETS START
I AM NOT RESPONSIBLE FOR ANYTHING
REQUIREMENT : ROOT EXPLORER & DOWNLOAD THIS & ROOT EXPLORER & ROOT
NOW OPEN ROOT EXPLORER AND GO TO SYSTEM/ETC/[PASTE HERE THE DOWNLOADED FILE]
GIVE PERMISSION rw-r-r
RESTART INSTANTLY....
NOW YOUR INTERNAL SD CARD CHANGED TO EXTERNAL SD CARD...
NJOY.
GIVE A BIG SMALL THANKS INSTATED OF REPLYING ME
​
rajit said:
GIVE A BIG SMALL THANKS INSTATED OF REPLYING ME
SO LETS START
I AM NOT RESPONSIBLE FOR ANYTHING
REQUIREMENT : ROOT EXPLORER & DOWNLOAD THIS & ROOT EXPLORER & ROOT
NOW OPEN ROOT EXPLORER AND GO TO SYSTEM/ETC/[PASTE HERE THE DOWNLOADED FILE]
RESTART INSTANTLY....
NOW YOUR INTERNAL SD CARD CHANGED TO EXTERNAL SD CARD...
NJOY.
GIVE A BIG SMALL THANKS INSTATED OF REPLYING ME
​
Click to expand...
Click to collapse
Join here:
Click "Micromax A68" in my signature
hmm
Borken Link....
download link broken..
rajit said:
hmm
Click to expand...
Click to collapse
fixed ...
Sent from my Micromax A68 using xda premium
thnx for inform... :thumbup:
Sent from my Micromax A68 using xda premium
i have an unrooted micromax a68.....will this work on my device????
reply asap....please
prashantboriwal said:
i have an unrooted micromax a68.....will this work on my device????
reply asap....please
Click to expand...
Click to collapse
No
please help!!!!!!!
i have bought an android phone for the 1st time.....please help me rooting my micromax a68.....as i said i am a newbie i don't know anything about rooting.....please help me.....
prashantboriwal said:
i have bought an android phone for the 1st time.....please help me rooting my micromax a68.....as i said i am a newbie i don't know anything about rooting.....please help me.....
Click to expand...
Click to collapse
Follow the MMX A68 link in my signature
??????
rajit said:
GIVE A SMALL THANKS INSTATED OF REPLYING ME
JOIN OUR FACEBOOK GROUP
OUR BLOG
SO LETS START
I AM NOT RESPONSIBLE FOR ANYTHING
REQUIREMENT : ROOT EXPLORER & DOWNLOAD THIS & ROOT EXPLORER & ROOT
NOW OPEN ROOT EXPLORER AND GO TO SYSTEM/ETC/[PASTE HERE THE DOWNLOADED FILE]
RESTART INSTANTLY....
NOW YOUR INTERNAL SD CARD CHANGED TO EXTERNAL SD CARD...
NJOY.
GIVE A BIG SMALL THANKS INSTATED OF REPLYING ME
​
Click to expand...
Click to collapse
what is the use of it
aarish7 said:
what is the use of it
Click to expand...
Click to collapse
what
change internal to external card memory
i am using this trick i am download root explorer also download vold-1.fstab file but pasting on path “SYSTEM/ETC/” file not pasting file getting errer Warning! You cannot paste here because the file is read -only…. so please help me my mobile model name micromax A68
makvardhan said:
i am using this trick i am download root explorer also download vold-1.fstab file but pasting on path “SYSTEM/ETC/” file not pasting file getting errer Warning! You cannot paste here because the file is read -only…. so please help me my mobile model name micromax A68
Click to expand...
Click to collapse
change system to read write then you able to do !
After Swapping memory and then Factory Data Reset memory not Recognised
I changed external memory of 4 GB to internal memory and it worked perfectly . But after factory data reset, [Setting > Backup & Reset > Factory Data Reset] my Qmobile NOIR A6 phone is neither mounting internal memory 2GB, nor external memory (SD card) of 4GB. I have reverted changes made in vold.fstab file but the problem persists. my vold.fstab file exactly as it was befor change. My phone is only showing total space 503 MB when checked through SETTINGS>STORAGE.
I can not use camera or other application that use phone memory or SD card. what is solution please.
Here are contents of vold.fstab file.
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
I finally found the root of problem. I erroneously renamed the file "vold.fstab" as "vold .fstab" which made it useless for mounting the memory. by correcting the file name problem is solved.
izkhan said:
I changed external memory of 4 GB to internal memory and it worked perfectly . But after factory data reset, [Setting > Backup & Reset > Factory Data Reset] my Qmobile NOIR A6 phone is neither mounting internal memory 2GB, nor external memory (SD card) of 4GB. I have reverted changes made in vold.fstab file but the problem persists. my vold.fstab file exactly as it was befor change. My phone is only showing total space 503 MB when checked through SETTINGS>STORAGE.
I can not use camera or other application that use phone memory or SD card. what is solution please.
Click to expand...
Click to collapse
Problem!!
Can you get me the orginal file of vold.fstab ?? i deleted the fiel by mistake.plz get me a file
I clicked the thanked button for ur great work. Please, keep it up with such nice tricks/tips.
Kindly, upload more custom roms for Noir A6 except lewa. Plz
Thanks
Sent from my A6 using xda premium
HI,
Is there any way to merge internal SD card to phone memory ?

problems with big games

I can not play the games from sd_external (sdcard 32gb), put the data in android/data/ but the game does not recognize, please help me, thanks
same here
victor0888 said:
I can not play the games from sd_external (sdcard 32gb), put the data in android/data/ but the game does not recognize, please help me, thanks
Click to expand...
Click to collapse
im curious also if anyone knows how to put apps on the sd card and the apps work, can anyone help?
anthonyp2123 said:
im curious also if anyone knows how to put apps on the sd card and the apps work, can anyone help?
Click to expand...
Click to collapse
mount SDCard2 as /SDCard
look file vold.fstab in system/etc
change:
dev_mount sdcard /mnt/sdcard emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host
to
dev_mount sdcard2 /mnt/sdcard/ext_sd emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
reboot
update: if you use JmzTotemJBSense 4.1.2 change lines to:
dev_mount sdcard2 /storage/sdcard0/ext_sd emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host
victor0888 said:
mount SDCard2 as /SDCard
look file vold.fstab in system/etc
change:
dev_mount sdcard /mnt/sdcard emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host
to
dev_mount sdcard2 /mnt/sdcard/ext_sd emmc /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host
reboot
Click to expand...
Click to collapse
thanx, does this require root?
anthonyp2123 said:
thanx, does this require root?
Click to expand...
Click to collapse
yes
tried it
victor0888 said:
yes
Click to expand...
Click to collapse
I Tried it but it didnt work and yes im rooted and put it in exactly, but thank you anyways
anthonyp2123 said:
I Tried it but it didnt work and yes im rooted and put it in exactly, but thank you anyways
Click to expand...
Click to collapse
i have unlock hboot and s-off
I have tried this without success. Not even app2sd works.
Sent from my HTC One VX using xda premium
another option
el_venga said:
I have tried this without success. Not even app2sd works.
Sent from my HTC One VX using xda premium
Click to expand...
Click to collapse
since this didnt work i downloaded an app called gl to sd , in the play store and th app basicly put all the data on the sd card, so far it works great , but u must be rooted for it to work
anthonyp2123 said:
since this didnt work i downloaded an app called gl to sd , in the play store and th app basicly put all the data on the sd card, so far it works great , but u must be rooted for it to work
Click to expand...
Click to collapse
ill give it a shot and will give feedback about its behaviour.

Categories

Resources