Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,254 Members 36,133 Now Online
XDA Developers Android and Mobile Development Forum

Running Apps from flash drive

Tip us?
 
ztdroider25
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 16
Join Date: Jun 2013
Location: Dallas
Default Running Apps from flash drive

I now regret not buying the 32gb nexus 7, but i have seen that you can "bind" game data on the tablet and run it on a USB drive. I have used Directory Bind, GsScript, Foldermount etc. but none of them have worked for me. A few of the games i play take up 1-2 gb of storage space that i don't want to waste, so i would like to know if there is a way to mount these game folders to my USB drive. My OS is 4.4.2.
Any help would be appriciated.

Thankyou
 
ztdroider25
Old
#2  
Junior Member - OP
Thanks Meter 1
Posts: 16
Join Date: Jun 2013
Location: Dallas
I can't seem to get Folder-mount to work. Has anyone been able to do this on their Nexus?
 
userdelroot
Old
#3  
Senior Member
Thanks Meter 155
Posts: 331
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by ztdroider25 View Post
I can't seem to get Folder-mount to work. Has anyone been able to do this on their Nexus?
are you using a USB OTG cable?
if you are try to get it to mount using apps on the market.
of you can get it to mount, and can read / write to it you could, in theory could move you game data to the usb, then create a sym link to it.
for example:
game data stored at /sdcard/thegame
your external for example is mounted at /storage/usbotg
mkdir /storage/usbotg/thegame
mv /sdcard/thegame /storage/usbotg/
ln -s /storage/usbotg/thegame /sdcard/thegame

You should backup game data first. I have not tried this myself
 
ztdroider25
Old
#4  
Junior Member - OP
Thanks Meter 1
Posts: 16
Join Date: Jun 2013
Location: Dallas
Quote:
Originally Posted by userdelroot View Post
are you using a USB OTG cable?
if you are try to get it to mount using apps on the market.
of you can get it to mount, and can read / write to it you could, in theory could move you game data to the usb, then create a sym link to it.
for example:
game data stored at /sdcard/thegame
your external for example is mounted at /storage/usbotg
mkdir /storage/usbotg/thegame
mv /sdcard/thegame /storage/usbotg/
ln -s /storage/usbotg/thegame /sdcard/thegame

You should backup game data first. I have not tried this myself
I am using an OTG cable. I will try this method fore mounting the folders and let you know how it works.
Thankyou
 
ztdroider25
Old
#5  
Junior Member - OP
Thanks Meter 1
Posts: 16
Join Date: Jun 2013
Location: Dallas
Quote:
Originally Posted by userdelroot View Post
are you using a USB OTG cable?
if you are try to get it to mount using apps on the market.
of you can get it to mount, and can read / write to it you could, in theory could move you game data to the usb, then create a sym link to it.
for example:
game data stored at /sdcard/thegame
your external for example is mounted at /storage/usbotg
mkdir /storage/usbotg/thegame
mv /sdcard/thegame /storage/usbotg/
ln -s /storage/usbotg/thegame /sdcard/thegame

You should backup game data first. I have not tried this myself
I tried to execute this command: ln -s /storage/usbotg/thegame /sdcard/thegame, but when i did the tablet came back with: link failed File exists. The busybox drivers are installed on my Nexus.
 
userdelroot
Old
#6  
Senior Member
Thanks Meter 155
Posts: 331
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by ztdroider25 View Post
I tried to execute this command: ln -s /storage/usbotg/thegame /sdcard/thegame, but when i did the tablet came back with: link failed File exists. The busybox drivers are installed on my Nexus.
After getting the files from /sdcard/thegame and copying or moving them to /storage/usbotg/thegame
type
Code:
mv /sdcard/thegame   /sdcard/thegame.bak
that is making a backup right now of your files in case stuff breaks.

then type
Code:
ln -s /storage/usbotg/thegame /sdcard/thegame
Then it should link.

Launch game and if all settings are present it worked. as long as /storage/usbotg/thegame has all your files.
The Following User Says Thank You to userdelroot For This Useful Post: [ Click to Expand ]
 
ztdroider25
Old
#7  
Junior Member - OP
Thanks Meter 1
Posts: 16
Join Date: Jun 2013
Location: Dallas
Quote:
Originally Posted by userdelroot View Post
After getting the files from /sdcard/thegame and copying or moving them to /storage/usbotg/thegame
type
Code:
mv /sdcard/thegame   /sdcard/thegame.bak
that is making a backup right now of your files in case stuff breaks.

then type
Code:
ln -s /storage/usbotg/thegame /sdcard/thegame
Then it should link.

Launch game and if all settings are present it worked. as long as /storage/usbotg/thegame has all your files.
Thankyou,

This worked for me.
 
userdelroot
Old
#8  
Senior Member
Thanks Meter 155
Posts: 331
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by ztdroider25 View Post
Thankyou,

This worked for me.
Welcome, glad to help, and thank you for clicking the thank you....


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes