Use a NAs as a storage for ROMs

ricardo85x

Senior Member
Aug 30, 2013
75
26
0
Sao Paulo
Hi.

My nvidia shield is great and run a lot of emulator very well.
On my home I have a NAS with all roms from n64, psx, psp, dreamcast, nds,etc.

I would like to play this game without having to copy it to my sdcard or memory card.

My router is very fast so I think if there was a way to mount my NAS as a standard folder on my Shield it will do the job.

Do you guys know if it is possible to 'mount' a SAMBA or FTP or NFS on my shield as a folder?
In that way I will configure my emulators to find the roms in this mounted folder.

thanks
 

ricardo85x

Senior Member
Aug 30, 2013
75
26
0
Sao Paulo
Hi

I found the solution with NFS Shares!


Now I can play all my roms from SAS without using my sdcard to copy files.

And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now :D

It is like GRID but for emulation.

Follow the tutorial:

0 - You need a rooted android, superSU 1.9.3, busybox.

1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).

2- follow this guide:

Here's my recepie for mounting NFS shares on my Galaxy S3, running NeatRom 2.8 (Derived from SlimKat 2.8) and with Boeffla-Kernel:

Code:
#remount the root filesystem rw so that we can create the mountpoint
/sbin/busybox mount -o remount,rw /
#create the mountpoint
/sbin/busybox mkdir -p /mnt/nfs/Download
#make the mountpoint world readable so that all user apps can access it
/sbin/busybox chmod 777 /mnt/nfs
/sbin/busybox chmod 777 /mnt/nfs/Download
#remount / as ro
/sbin/busybox mount -o remount,ro /
#mount the actual NFS share (on 192.168.1.1:/overlay/Storage
su --mount-master -c "/system/xbin/mount -o nolock,ro,hard,intr -t nfs 192.168.1.1:/overlay/Storage on /mnt/nfs/Download"
#check that it was mounted
mount | grep /mnt/nfs/Download
Using this method (and having world readable permissions on my shared files) I am able to access the files both with a root explorer (ES File Manager) and with non-root apps (MXPlayer, QuickPic). Without running the chmod on the created folders I am only able to access them with a root explorer.

Let me know if you need additional help, and a million thanks to @brotbuexe for pointing out the mount-master trick (I was actually looking into injecting commands into adb before finding out of this switch).

3 - done
 
Last edited:
  • Like
Reactions: MadZiontist

psycho1200

Senior Member
Jun 20, 2012
158
29
0
Ecatepec
Hi

I found the solution with NFS Shares!


Now I can play all my roms from SAS without using my sdcard to copy files.

And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now :D

It is like GRID but for emulation.

Follow the tutorial:

0 - You need a rooted android, superSU 1.9.3, busybox.

1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).

2- follow this guide:




3 - done
Thanks man i need that, i will try it at my home and let you know if i can do it or i need help thanks again :good:
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone