Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,250 Members 41,593 Now Online
XDA Developers Android and Mobile Development Forum

[APP] swapsd beta: Samsung

Tip us?
 
jocala
Old
(Last edited by jocala; 8th August 2012 at 11:52 PM.)
#1  
jocala's Avatar
Senior Member - OP
Thanks Meter 2004
Posts: 2,179
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Default [APP] swapsd beta: Samsung

Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well. Note: This app is not compatible with CyanogenMod. Root is required.

A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".

This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".

This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required. Easy install: copy the apk file to your SD card and open with a file manager.

Please nandroid backup before testing!

If you get "Unknown Error, Contact Developer" you are more than likely not properly rooted! This app requires Superuser and Busybox to properly function!

Please note that if you've already moved existing apps to SD or existing apps have placed support files on SD, swapping mount points is not a good idea. Uninstall these apps, then reinstall after swapping.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-07-12-22-25-14.jpg
Views:	5481
Size:	18.2 KB
ID:	1194552  
Attached Files
File Type: txt vold.fstab.txt - [Click for QR Code] (955 Bytes, 5097 views)
File Type: apk swapsd.apk - [Click for QR Code] (200.0 KB, 26727 views)
The Following 20 Users Say Thank You to jocala For This Useful Post: [ Click to Expand ]
 
willynatedgreat
Old
(Last edited by willynatedgreat; 8th July 2012 at 06:58 AM.) Reason: Changing information
#2  
willynatedgreat's Avatar
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Jun 2012
Quote:
Originally Posted by jocala View Post
Tested on the Samsung Galaxy Exhibit only. If your device's /system/etc/vold.fstab file matches the attached fstab file, it may work for you as well.

Please nandroid backup before testing!
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?

I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
 
mosta_9741
Old
#3  
Senior Member
Thanks Meter 115
Posts: 380
Join Date: Mar 2012
Location: Cairo
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
 
Karmalot
Old
#4  
Karmalot's Avatar
Senior Member
Thanks Meter 83
Posts: 413
Join Date: May 2012
Works on any rom?

Sent from my GT-I8150 using xda premium
 
jocala
Old
#5  
jocala's Avatar
Senior Member - OP
Thanks Meter 2004
Posts: 2,179
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by willynatedgreat View Post
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?

I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
The Galaxy Exhibit 4G was formerly known as the Exhibit II 4G
 
jocala
Old
#6  
jocala's Avatar
Senior Member - OP
Thanks Meter 2004
Posts: 2,179
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by mosta_9741 View Post
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
The fstab.txt is the original from the Galaxy Exhibit. It's attached so you can compare it to the /system/etc/vold.fstab on your phone. If the two match, this app may work for you.
 
jocala
Old
#7  
jocala's Avatar
Senior Member - OP
Thanks Meter 2004
Posts: 2,179
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by Karmalot View Post
Works on any rom?

Sent from my GT-I8150 using xda premium
So far.
 
Pkt_Lnt
Old
#8  
Pkt_Lnt's Avatar
Senior Member
Thanks Meter 1679
Posts: 2,879
Join Date: Dec 2011
Location: SLO
Ok, a question as I learn more and more about the Galaxy Exhibit.

I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.

Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.

I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.

Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Remember - XDA is trying to teach you to fish, not just give you a fish.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
Samsung Galaxy S4 Active i9295 GSM /// [ROM][WIP/Experimental][AOSP][4.3.1] Google Edition for SGS4A (Int'l) /// Gravity Box [JB]
Google Galaxy Nexus i9250 GSM /// [ROM] [AOSP] Shiny ROM: OTA-Like, Stock Android [4.4.4] [KTU84P] /// Gravity Box [KK]
Google Nexus 7.2013 /// 4.4.4 [KTU84P] Stock KitKat (unlocked & rooted) /// Gravity Box [KK]
 
jocala
Old
#9  
jocala's Avatar
Senior Member - OP
Thanks Meter 2004
Posts: 2,179
Join Date: Jul 2010
Location: Ocala

 
DONATE TO ME
Quote:
Originally Posted by Pkt_Lnt View Post
Ok, a question as I learn more and more about the Galaxy Exhibit.

I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.

Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.

I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.

Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
 
Pkt_Lnt
Old
#10  
Pkt_Lnt's Avatar
Senior Member
Thanks Meter 1679
Posts: 2,879
Join Date: Dec 2011
Location: SLO
Quote:
Originally Posted by jocala View Post
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?

I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
Remember - XDA is trying to teach you to fish, not just give you a fish.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
Samsung Galaxy S4 Active i9295 GSM /// [ROM][WIP/Experimental][AOSP][4.3.1] Google Edition for SGS4A (Int'l) /// Gravity Box [JB]
Google Galaxy Nexus i9250 GSM /// [ROM] [AOSP] Shiny ROM: OTA-Like, Stock Android [4.4.4] [KTU84P] /// Gravity Box [KK]
Google Nexus 7.2013 /// 4.4.4 [KTU84P] Stock KitKat (unlocked & rooted) /// Gravity Box [KK]

The Following User Says Thank You to Pkt_Lnt For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes