Go Back   Android Forums > Android Phones > LG Optimus Elite > Elite - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By HallOfPromise

test: Reply
 
LinkBack Thread Tools
Old October 5th, 2012, 10:08 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default Symbolically Linking Internal SD to External SD

To give a little background on my experience with the android platform, I have toyed around with the sdk quite a bit, and am somewhat familiar with the structure of the platform. I had heard rumblings about using symlinks and some sort of script to link the two sd card portions on each reboot. I have done some preliminary testing with this, and would like to know if this has been done before? If not, is this something that others would like to have a guide on?

5paceManSpiff is offline  
Reply With Quote
The Following User Says Thank You to 5paceManSpiff For This Useful Post:
fknntzintexas (November 14th, 2012)
sponsored links
Old October 5th, 2012, 11:12 PM   #2 (permalink)
AF Contributor
 
Dark One's Avatar
 
Join Date: Jan 2012
Posts: 774
 
Device(s): LG Optimus Elite
Carrier: Helio

Thanks: 348
Thanked 189 Times in 152 Posts
Default

There is an app called link2sd that does what you're talking about i think.
Dark One is offline  
Reply With Quote
Old October 5th, 2012, 11:34 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Dark One View Post
There is an app called link2sd that does what you're talking about i think.
There have been varying reports on its success.
5paceManSpiff is offline  
Reply With Quote
Old October 6th, 2012, 05:15 AM   #4 (permalink)
AF Contributor
 
Join Date: Mar 2012
Posts: 1,119
 
Device(s): Samsung Galaxy Victory 4G
Carrier: Virgin Mobile USA

Thanks: 209
Thanked 363 Times in 264 Posts
Default

On this phone there hasn't been luck with app to sd linking. I think the kernel needs to be modified to support an sd-ext partition for this to work.

The few times I trird a couple app to sd apps they couldn't properly detect the 2nd sd partition
kwknott is offline  
Reply With Quote
Old October 6th, 2012, 09:12 AM   #5 (permalink)
Junior Member
 
Join Date: Sep 2012
Location: Minnesota
Gender: Female
Posts: 25
 
Device(s): Nexus 7, LG Optimus Elite, UG802
Carrier: Not Provided

Thanks: 1
Thanked 4 Times in 4 Posts
Default

I use a program called directory bind that works for data directories. It takes some work to setup but then it runs automatically. The XDA thread is at http://forum.xda-developers.com/showthread.php?t=1410262
DroidMello is offline  
Reply With Quote
The Following User Says Thank You to DroidMello For This Useful Post:
5paceManSpiff (October 6th, 2012)
Old October 7th, 2012, 03:45 AM   #6 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Sonoma County, CA
Posts: 83
 
Device(s): LG Optimus F6
Carrier: T-Mobile

Thanks: 20
Thanked 12 Times in 10 Posts
Default

That looks like just what I was looking for. However, the skeptic in me wants to wait until I hear from a few more noble souls who have given it a go at using it first. But so far it looks great!
bll7 likes this.
HallOfPromise is offline  
Reply With Quote
Old October 24th, 2012, 12:04 PM   #7 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Sonoma County, CA
Posts: 83
 
Device(s): LG Optimus F6
Carrier: T-Mobile

Thanks: 20
Thanked 12 Times in 10 Posts
Default

So I gave DirectoryBind a try last night and ran into a weird situation. I tested out a bind to see if it worked but rather rerouting the data to the external SD, it seems to just be copying the data from internal SD to external, creating the bind on the external but also leaving and storing the same data in its original place in internal sd. Any help in getting this to work properly would be greatly appreciated.:-)

Edit: Okay after binding larger folders and keeping an eye on used and free space it looks as this app works! I think I got confused earlier in thinking the app was just copying data because in file explorers the data can be seen in both the original file and new location. I think even the file explorers get tricked in leading us to the new location. Does that make sense?
HallOfPromise is offline  
Last edited by HallOfPromise; October 25th, 2012 at 12:35 AM.
Reply With Quote
Old October 25th, 2012, 01:41 PM   #8 (permalink)
Junior Member
 
Join Date: Sep 2012
Location: Minnesota
Gender: Female
Posts: 25
 
Device(s): Nexus 7, LG Optimus Elite, UG802
Carrier: Not Provided

Thanks: 1
Thanked 4 Times in 4 Posts
Default

I was going to respond but you figured it out already. With symlinks it will always look that way (appearing both in the original location and the new location) when linking is successful. This is how they function. Because the system will not allow things to be moved to the external sd card the only way to do so without MAJOR modification is to trick it into believing that the items are still in the original spot. That is exactly what a properly executed symlink does.
DroidMello is offline  
Reply With Quote
The Following User Says Thank You to DroidMello For This Useful Post:
HallOfPromise (October 25th, 2012)
Old October 25th, 2012, 03:23 PM   #9 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Sonoma County, CA
Posts: 83
 
Device(s): LG Optimus F6
Carrier: T-Mobile

Thanks: 20
Thanked 12 Times in 10 Posts
Default

Well that is pretty cool. Thank you!

So far I have played around with the small stuff, like map cache and Play Music cache, just to see if it works. I had to change a few settings to get it to keep after rebooting, which is explained. However, I was hoping to use it for larger, bigger and better things.

Has anyone tried using this on the entire Android and/or .android_secure folders? I personally wouldn't mind keeping the apps (.android_secure) within internal sd for speed and booting reasons, but simply linking the Android folder to the external sd would save A LOT of space within internal sd. Is this a smart and safe thing to do?
HallOfPromise is offline  
Reply With Quote
Old October 26th, 2012, 01:50 AM   #10 (permalink)
Senior Member
 
HaTrEd360's Avatar
 
Join Date: Aug 2012
Gender: Male
Posts: 1,337
 
Device(s): Evo V 4g - PacROM.
Carrier: Virgin Mobile

Thanks: 44
Thanked 162 Times in 132 Posts
Default

I use GL To Sd which links Gameloft games to Sd card. I have Asphalt 7 which is 1.3gb's and it links it to SD card successfully. And that comes from the Android folder on Internal. I can imagine it having to run and use a lot of Ram to keep things mounted correctly for it to fo so tho but I'm not certain. I'm sure it's safe to do so since you're not really linking anything from the system itself. Make a backup of the data in your apps tho using Titanium Backup, just to make sure in case it crashes and you lose all your app data.
HaTrEd360 is online now  
Reply With Quote
sponsored links
Reply
Tags
external sd, internal sd, memory, optimus elite, symlink


Go Back   Android Forums > Android Phones > LG Optimus Elite > Elite - All Things Root
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.