Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ShimmerX
Old
#1  
Junior Member - OP
Thanks Meter 5
Posts: 23
Join Date: Dec 2010
Default [Q] Swap internal and external SD

In older versions of Android the external SD would be mounted as /mnt/sdcard but now that is used for the internal memory and the external SD is now /mnt/sdcard/external_sd. This is a bit of a problem as some apps can only save to /mnt/sdcard and it quickly takes up our phone's internal memory. I have offline GPS maps and a few Gameloft games which can only save their data to /mnt/sdcard and as you can imagine free space is very limited.

What I would like is to switch this around. Basically I have a 32GB SD card that I would like to use a storage for some of my apps as it is not being fully utilized. I've searched around and it doesn't seem like there is an easy way to do this. I'm not completely sure but it seems like there are methods that might be specific to different phones which requires modifying a file in /system/etc.

Will this safely work for our phone?
 
VinayS
Old
#2  
VinayS's Avatar
Senior Member
Thanks Meter 37
Posts: 206
Join Date: Jan 2011
Location: Bangalore
check this topic
http://forum.xda-developers.com/show...1458153&page=3

posts 21 to 25 and 33 & 34..
For Recovery swapping has been tried..

You may get some idea..
Samsung Captivate Glide i927 - CAMERA NOT WORKING ON ANY ROM
Sony Ericsson K660i
Retired: Spice QT44, Motorola Razr V3, Nokia 1100 > ---- < Lost: Samsung S3310 Metro
 
EMegamanu
Old
#3  
EMegamanu's Avatar
Junior Member
Thanks Meter 2
Posts: 26
Join Date: Aug 2009
Location: Lyon
Maybe the use of symbolic links could help, but I never tried it on an Android device.
Samsung Captivate Glide i927 Gingerbread 2.3.5 AT&T ROM rooted + unlocked
HTC Desire Z with fried M4G2DE chip ✝
HTC Dream CM5
HP Touchpad WebOS 3.0.5
 
dudejb
Old
#4  
dudejb's Avatar
Senior Member
Thanks Meter 94
Posts: 548
Join Date: Feb 2007
Location: Montreal
I had read people Mapping the External under a directory for example the Games directory and therefore all games would in theory be on the External. I think this is what you mentioned as symbolic links.
 
irimiadan
Old
#5  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Mar 2013
How can you do that. I tryed a million things. Last time i installed literom with added swap internal memory to sd mod. And after i copy something in phone i loose the mobile signal. I guess the card is getting corrupted or something. How can i make it so the sd card wont be unmounted when i plug the phone in pc ?
 
spyke555
Old
#6  
Senior Member
Thanks Meter 151
Posts: 113
Join Date: Oct 2007
Location: Montreal

 
DONATE TO ME
Might want to consider this:

Root External 2 Internal SD

I've not used this specific one myself but I have used similar apps in the past.
 
irimiadan
Old
(Last edited by irimiadan; 20th April 2013 at 03:27 PM.)
#7  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Mar 2013
I didn't use that yet.

But what i found untill now

1. Using Directory Bind wich makes a link between actual place of the files and where they should be. Example You put com.xxx.xxx in your SD card and set the progam to tell android when is looking into sdcard/android/data/com.xxx.xxx go for files in sdcard/external_sd/com.xxx.xxx
This method is good for games and files for them
2. Another thing is modifing vold.fstab and swapping the way adroid mounts those partitions. (this option is buggy somehow)
Attached Files
File Type: apk DirectoryBind_0.2.0o.apk - [Click for QR Code] (74.5 KB, 4 views)

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more