HOW TO: Run games from USB drive

wallerius

Member
Dec 20, 2008
7
0
0
Almost there - I think

Hello all

Hope that some one can help me. I'm om Nexus 7 rooted with 4.2.1 and Stickmount + GScript Lite

The mounting works perfect, I can see the content on usbStorage/sdc1/(etc etc) and I can play/watch all the files there. So my N7 can access and read the info.

The problem I have is mounting so I can play my games on my USB as well. I click on GScript and run my script (I don't get any error about directory doesn't exist). But when I try to launch game it says I have to download game data?

I have tried both Amazing Spiderman and Bards Tale. I have the directory on my unit (ie /sdcard/Android/data/com.inxile:BardTale) and that is empty. Then I have a full copy of the game on mu usb (/sdcard/usbStorage/sdc1/Android/data/com.inxile.BardTale)

And the scipt is

mount -o bind /sdcard/usbStorage/sdc1/Android/data/com.inixile.BardTale /sdcard/Adroid/data/com.inxile.BardTale

So - no errors about directories, I have tried to clear cache....

Any ideas? Please help so I can start to play this wonderfull game ;)

Cheers
/W
 

Accorat

Member
Oct 30, 2012
37
7
0
Hello all

Hope that some one can help me. I'm om Nexus 7 rooted with 4.2.1 and Stickmount + GScript Lite

The mounting works perfect, I can see the content on usbStorage/sdc1/(etc etc) and I can play/watch all the files there. So my N7 can access and read the info.

The problem I have is mounting so I can play my games on my USB as well. I click on GScript and run my script (I don't get any error about directory doesn't exist). But when I try to launch game it says I have to download game data?

I have tried both Amazing Spiderman and Bards Tale. I have the directory on my unit (ie /sdcard/Android/data/com.inxile:BardTale) and that is empty. Then I have a full copy of the game on mu usb (/sdcard/usbStorage/sdc1/Android/data/com.inxile.BardTale)

And the scipt is

mount -o bind /sdcard/usbStorage/sdc1/Android/data/com.inixile.BardTale /sdcard/Adroid/data/com.inxile.BardTale

So - no errors about directories, I have tried to clear cache....

Any ideas? Please help so I can start to play this wonderfull game ;)

Cheers
/W
Same problem here.. Either wait for a fix for 4.2+ or downgrade. Unfortunately, no one seems to be working on a fix atm :-\

Sent from my Nexus 7 using xda app-developers app
 

wallerius

Member
Dec 20, 2008
7
0
0
Well I wonder if it's really stickmount that's making the trouble? Or is it gscript? I can read and access the files, and but I can't run games from the usb
 

VanillaG0rilla

Senior Member
Mar 15, 2012
534
117
73
Pittsburgh
Well I wonder if it's really stickmount that's making the trouble? Or is it gscript? I can read and access the files, and but I can't run games from the usb
I think the issue is mounting the game to a certain folder. I tried running the commands manually through a terminal emulator and it still didn't work.

Stickmount isn't the issue since we're able to read/write to the usb drive.

Sent from my Nexus 7 using xda app-developers app
 

VanillaG0rilla

Senior Member
Mar 15, 2012
534
117
73
Pittsburgh
So i downgraded to 4.1.2 so i can get this to work.

Does anyone have issues with games force closing? I've only tried Horn so far. It force closes shortly after loading my save game.

I'm gonna try with a few other games to see if its an issue with them.

Sent from my Nexus 7 using xda app-developers app
 

Rcoil73

Senior Member
Aug 16, 2012
93
10
0
I'll see about moving dead trigger over. I haven't purchased horn yet due to lack of space but may consider buying it now.

(BTW the Bard's Tale is pretty graphics intensive and it runs fine)
So this doesn't work on android 4.2.1?
I can't get it to work on my Nexus 7 8gb running smoothrom android 4.2.1
 

Rody2k6

Senior Member
Feb 11, 2012
230
10
0
Rio de Janeiro
I am on the latest android, but I tried this guide on older versions, but I never got the unmount/mount options in my Nexus 7 (like shown in the video) - Storage page. I run stock room, stock kernel.

What I don't undestand, is that it tells me to create the folder com.inxile.BardTale
on the data folder, but there is that folder already there with the game content.

Help
 
Last edited:

Rcoil73

Senior Member
Aug 16, 2012
93
10
0
Use directory bind

I am on the latest android, but I tried this guide on older versions, but I never got the unmount/mount options in my Nexus 7 (like shown in the video) - Storage page. I run stock room, stock kernel.

What I don't undestand, is that it tells me to create the folder com.inxile.BardTale
on the data folder, but there is that folder already there with the game content.

Help
Forget about using this,this is more troublesome.
Use directory bind.I downgraded to android 4.1.2 smoothrom 4.1 and it nova 3 working with directory bind.
 

ilegales

Senior Member
Jun 6, 2012
109
15
0
Directory Bind does not seem to be working with 4.2.1

and does not look like the dev will ever update it as he has not been seen for almost a year on xda..

a real shame as i use directory bind on my gnote
 

life02

Senior Member
Jan 17, 2006
525
88
28
DFW
Directory Bind does not seem to be working with 4.2.1

and does not look like the dev will ever update it as he has not been seen for almost a year on xda..

a real shame as i use directory bind on my gnote
Guys sorry I haven't been updating this guide since 4.2.1. Both my USB OTG cables have shorts in them so I haven't even attempted to find a workaround yet. I just ordered two more cables and will look into getting things working again on 4.2.1.
 

Rcoil73

Senior Member
Aug 16, 2012
93
10
0
Guys sorry I haven't been updating this guide since 4.2.1. Both my USB OTG cables have shorts in them so I haven't even attempted to find a workaround yet. I just ordered two more cables and will look into getting things working again on 4.2.1.
Mine keeps disconnecting once I plug the usb drive into the female connector. Is the female connector too loose?
Should I get a new one or is there a way to fix it.
I think its because of the weight of the usb drive hanging off of the female connector.
 

Sharpen3d

Senior Member
Apr 11, 2011
70
21
0
I really hope that new otg cable arrives soon, I've got an 8gb that's dying to utilize the external storage so I can play more games. Godspeed!

Sent from my Nexus 7 using Tapatalk 2
 

Rcoil73

Senior Member
Aug 16, 2012
93
10
0
Sorry but I have to say this, directory bind has a much simpler interface and is less troublesome as it can bind on startup.This can be an alternative though :) Thanks for sharing it.BTW both methods don't work with android 4.2.1. Not sure if me using a cyanogen based rom ( smooth ROM 4.2) caused any interference. Most likely its the firmware.Working on android 4.1.2 smoothrom 4.1 with m kernel

---------- Post added at 12:54 PM ---------- Previous post was at 12:52 PM ----------

Be mindful guys since you are connected to an external USB drive,more electricity is going to be used,don't expect 7 hours of battery life on gaming through the USB drive.

---------- Post added at 12:55 PM ---------- Previous post was at 12:54 PM ----------

Directory Bind does not seem to be working with 4.2.1

and does not look like the dev will ever update it as he has not been seen for almost a year on xda..

a real shame as i use directory bind on my gnote
Maybe you can seek help from other devs, if this gets enough attention they will be more than wiling to help :)
 

Sharpen3d

Senior Member
Apr 11, 2011
70
21
0
I think this particular topic has lost a bit of attention due to Multirom making it possible to turn any spare flash drive/SD card into a whole new rom. However, I really think this needs a bit of love, as it's essential to those of us who might have the 8GB model and feel a bit...limited.
 

life02

Senior Member
Jan 17, 2006
525
88
28
DFW
I think this particular topic has lost a bit of attention due to Multirom making it possible to turn any spare flash drive/SD card into a whole new rom. However, I really think this needs a bit of love, as it's essential to those of us who might have the 8GB model and feel a bit...limited.
Here is why it doesn't work in 4.2.1 and a possible fix that will have to be added to a custom ROM to make it work again:

http://forum.xda-developers.com/showthread.php?p=36889027

Well maybe not... the fix should work for directory bind but only outside of /storage, /mnt/sdard, /sdcard.

This of course does us no good. Thanks brainbeatuk for the update.
 
Last edited:

brainbeatuk

Senior Member
Oct 13, 2012
176
28
0
Hi I quick read through this. I don't think directory bind is fixed though hope I'm wrong. This fixes cifs mounting outside of storage or sdcard folder so same problem remains I think

Sent from my Nexus 4 using XDA Premium HD app
 
  • Like
Reactions: life02

brainbeatuk

Senior Member
Oct 13, 2012
176
28
0
Sorry guys I was wrong haha. Not 100 percent yet
This is for cifs but USB will be same just change to point to USB,

I ve realised that the obb folder in android won't bind maybe its piracy protected now. Everything else binds, still installs obb internally
There is a kernel for 4.2 thread
http://forum.xda-developers.com/showthread.php?t=2107224

Use cifsmanager in options

After mounting cif to /mounts

Use script or whatever floats ya boat.
Make this script

mount -o remount rw /
mount -o bind /mounts /data/media/0


For some reason it gets mounted read only, I can delete cif files from in data/media/o but not thru /sdcard /storage,
So if doing from fresh it may be a bit of shuffling files around till this can be fixed, can play GTA 3 not tried saving game yet though but shadow gun the that was half downloaded starts downloading to internal I think



Sent from my Nexus 7 using XDA Premium HD app
 
Last edited:

brainbeatuk

Senior Member
Oct 13, 2012
176
28
0
Confirmed working on USB too.

This is for cifs but should work on USB too (use script in kernel thread) or eg /usbdisk instead of mounts

mount -o bind /mounts/Android/obb /data/media/obb

Have to do this script first then

mount -o bind /mounts/Android/data /data/media/0/Android/data

Managed to save game too, if you get permissions error try this script before mounting in cifs manager

Mount -o remount rw / (not needed)
Eek sorry about typo
I can't download from store games that have obb file for some reason however I have backup of apps so just restored and it reads data and obb file fine, its because I not bind mounted whole card and I have over 20gig of data on a reported 5x gig. Whereas before in storage it showed 1.00 tb on 4.1.2.
Workaround install to internal and cut and paste to smb server then reboot mount up.

Sent from my Nexus 7 using XDA Premium HD app
 
Last edited: