/mnt/sdcard and /mnt/sdcard/_ExternalSD - T-Mobile LG G2x

The internal memory in the G2x is treated as an SD card in many apps (because it's mounted on stock at /mnt/sdcard). This can pose a problem with applications that store lots of data. Users have large external micro SD cards for this purpose, but many applications just blindly choose to install to /mnt/sdcard. The user has no option of saving to the external card.
Has anyone figured out a way to 'fool' applications into thinking the "External SD" card is actually at /mnt/sdcard?
As an example, if each file system supported symlinks, the amazon mp3 player app could be fooled by:
ln -s /mnt/sdcard/_ExternalSD/amazonmp3 /mnt/sdcard/amazonmp3
Of course, this won't work when working with SD cards, as they use FAT partitioning which does not support symlinks.
Anyone mess with this and have a 'suggested' way to 'fool' apps into using the external SD card for more storage?
Edit: I have tried swapping mount locations of the two cards in /etc/vold.fstab. This worked, kinda. USB storage mode just hangs when enabled and the computer sees a drive it can't read (and asks you to format it).

Ive been trying to figure out a solution for this since I got my G2x, cause I just have too many gameloft games LOL
Came up w/ the same syslink idea but FAT doesnt support such a simple idea. We can link between an EXT and FAT, but not FAT to FAT, it seems.
This probably requires edits to the kernel init files for a true solution
The vold method would work if there were edits to the kernel, so you had half the solution. Ran into the same mounting bug. Wonder if one if those dual mount apps would work. hmmm

Cm7 fixes this.
Sent from my LG-P999 using Tapatalk

r4d14n7 said:
Cm7 fixes this.
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
I noticed this when I ran CM7 for a while. If I remember correctly, it mounts the internal to /mnt/emmc and external to /mnt/sdcard.
Unfortunately, there are a few issues that CM7 has that prevent me from keeping it as my daily driver OS (bluetooth issues, worse camera app, slow to no GPS locking, G2/3/4 data does not enable after wifi disconnect, and a few more). As it matures it could become the solution for me.
Thanks

zimphishmonger said:
Ive been trying to figure out a solution for this since I got my G2x, cause I just have too many gameloft games LOL
Came up w/ the same syslink idea but FAT doesnt support such a simple idea. We can link between an EXT and FAT, but not FAT to FAT, it seems.
This probably requires edits to the kernel init files for a true solution
The vold method would work if there were edits to the kernel, so you had half the solution. Ran into the same mounting bug. Wonder if one if those dual mount apps would work. hmmm
Click to expand...
Click to collapse
Thanks for the info. At least I now know there is not a simple solution that was escaping me

Why not, then, just reformat the microSD card to a file system that supports symlinks? Backup your data off it first, of course lol.

Can you do that? Will it still be treated as an internal SD card then (for example, able to be accessed via USB on my computer)?
I did some reading about partitioning both the external and internal SD cards to ext3/4, but people didn't seem to have a "flawless" experience. This wasn't specific to the G2x however.

AustinPowersISU said:
I noticed this when I ran CM7 for a while. If I remember correctly, it mounts the internal to /mnt/emmc and external to /mnt/sdcard.
Unfortunately, there are a few issues that CM7 has that prevent me from keeping it as my daily driver OS (bluetooth issues, worse camera app, slow to no GPS locking, G2/3/4 data does not enable after wifi disconnect, and a few more). As it matures it could become the solution for me.
Thanks
Click to expand...
Click to collapse
I'll be more specific. There was a fix for CM7 users to reverse the roles of internal and external storage somewhere in the monster CM7 threads. You could try this fix in reverse to the ROM of your choice. Just search the CM7 thread for information on how to swap internal for external. May or may not work.

r4d14n7 said:
I'll be more specific. There was a fix for CM7 users to reverse the roles of internal and external storage somewhere in the monster CM7 threads. You could try this fix in reverse to the ROM of your choice. Just search the CM7 thread for information on how to swap internal for external. May or may not work.
Click to expand...
Click to collapse
Thanks,
I decided that the lack of being able to do this on stock was enough to go to CM7 again. The issues I described before are less annoying (to me) than not being able to save stuff to my external SD. Plus CM7 will always be getting updated as well.
Thanks for the help everyone.

Thread moved to proper forum.

phburks said:
Why not, then, just reformat the microSD card to a file system that supports symlinks? Backup your data off it first, of course lol.
Click to expand...
Click to collapse
Cause I still mount to a Win7 machine sometimes

zimphishmonger said:
Cause I still mount to a Win7 machine sometimes
Click to expand...
Click to collapse
I used to use this with XP.
http://www.fs-driver.org/index.html
Haven't tried it with Windows 7. Maybe I'll do that tonight lol. There are some other standalone utilities for windows 7 that let you access ext2/3 file systems but I like this one because it lets windows access them as native file systems so you can access them through windows explorer, etc.
Sent from my LG-P999 using XDA App

AustinPowersISU said:
Can you do that? Will it still be treated as an internal SD card then (for example, able to be accessed via USB on my computer)?
I did some reading about partitioning both the external and internal SD cards to ext3/4, but people didn't seem to have a "flawless" experience. This wasn't specific to the G2x however.
Click to expand...
Click to collapse
I'll do some experimenting around. Not really sure.
Sent from my LG-P999 using XDA App

Related

[Q] Ext. SDcard Defualt

I am wondering if anyone knows how to set the external sdcard to default so when I connect it to my computer it opens the external one instead of the internal one?
I'd like to know as well. On the Samsung Galaxy phones, the internal sd card is /sdcard and the external card is /sdcard/sd. Is it possible to mount the external sd card in the gtablet so that it appears under the sdcard?
I found an app call multi-mount. Has anyone tried this with the gtablet?
http://www.androidzoom.com/android_applications/tools/multi-mount-sdcard_jvzi.html
The /sdcard/sd seems like a reasonable solution. I wonder, is the gtablet the only device using /sdcard2/ ? It'd be nice if there were some standard for multiple sdcards. Then app developers could follow suite and start building apps that browse multiple sdcards.
LostDogWA said:
The /sdcard/sd seems like a reasonable solution. I wonder, is the gtablet the only device using /sdcard2/ ? It'd be nice if there were some standard for multiple sdcards. Then app developers could follow suite and start building apps that browse multiple sdcards.
Click to expand...
Click to collapse
I tried something like that awhile ago, creating a mount point under /sdcard, but it doesn't work.
Jim
dschach said:
I'd like to know as well. On the Samsung Galaxy phones, the internal sd card is /sdcard and the external card is /sdcard/sd. Is it possible to mount the external sd card in the gtablet so that it appears under the sdcard?
I found an app call multi-mount. Has anyone tried this with the gtablet?
http://www.androidzoom.com/android_applications/tools/multi-mount-sdcard_jvzi.html
Click to expand...
Click to collapse
I have used this app on my GTab VEGAN and it works great. The only minor hiccup is that to further the nomenclature confusion is that the external microSD (aka SDCARD2) is actually "SD-Card One" in this particular app and the internal memory is known to this app as "SD-Card Two".

SD Card problem

I installed a 32 gb sd card and my phone recognized it without any problems but as I iinstalled apps to the card the amount of space in card never changed. I changed the sd card to 8 gb and I'm having the same problem. Anyone else having this problem, I am rooted and have su permission.
Thanks
vinnyjr said:
I installed a 32 gb sd card and my phone recognized it without any problems but as I iinstalled apps to the card the amount of space in card never changed. I changed the sd card to 8 gb and I'm having the same problem. Anyone else having this problem, I am rooted and have su permission.
Thanks
Click to expand...
Click to collapse
I am just guessing here, but perhaps those apps are going to the extended internal memory? The G2x (like most Androids now with large internal memory) treats 5GB of your internal memory as an SD card at the directory /sdcard. The external card you put in is found at /sdcard/_ExternalSD
My best guess is that your apps are going to the /sdcard which is actually part of your internal memory.
jimbo831 said:
I am just guessing here, but perhaps those apps are going to the extended internal memory? The G2x (like most Androids now with large internal memory) treats 5GB of your internal memory as an SD card at the directory /sdcard. The external card you put in is found at /sdcard/_ExternalSD
My best guess is that your apps are going to the /sdcard which is actually part of your internal memory.
Click to expand...
Click to collapse
You are right, how do I put them on the ext sd card? Do I have to partition the sd card or is there another way, seems the people that don't root there phones must be able to use the ext sd card as well??
Thanks
vinnyjr said:
You are right, how do I put them on the ext sd card? Do I have to partition the sd card or is there another way, seems the people that don't root there phones must be able to use the ext sd card as well??
Thanks
Click to expand...
Click to collapse
Sorry, but I can't answer that one yet, I haven't even ordered my G2x yet. I just read about this issue from another thread on this forum because apparently it was the same setup on the Vibrant. Perhaps some Vibrant owners can chime in with a suggestion? Not sure if it's possible to put apps to SD or if they just automatically go to the internal storage. However, if I were you, I'd rather have the apps on internal storage and save the SD for videos, pictures, music, etc. The internal storage will be more reliable (not fail later) and faster than the SD. 5GB should be more than enough space for app storage.
App2sd works. As long as the app supports it. But there really is no need to put them on the external sd right? 5gigs should be plenty. Put your music and vids on the external. Sounds exactly Like my vibrant.
Sent from my SGH-T959 using Tapatalk
tsquire99 said:
App2sd works. As long as the app supports it. But there really is no need to put them on the external sd right? 5gigs should be plenty. Put your music and vids on the external. Sounds exactly Like my vibrant.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
Yeah, that's what I meant but I think I used the wrong term. When you use what Froyo calls "Apps to SD" it goes to what the phone calls SD but is actually internal memory. Do you know if there is any way (without root or hacks) to have those Apps to SD actually go to your SD card (/sdcard/_ExternalSD) instead of the internal memory the phone calls the SD?
I agree that the 5GB internal should be more than enough anyway, but I am curious for sure.
jimbo831 said:
Yeah, that's what I meant but I think I used the wrong term. When you use what Froyo calls "Apps to SD" it goes to what the phone calls SD but is actually internal memory. Do you know if there is any way (without root or hacks) to have those Apps to SD actually go to your SD card (/sdcard/_ExternalSD) instead of the internal memory the phone calls the SD?
I agree that the 5GB internal should be more than enough anyway, but I am curious for sure.
Click to expand...
Click to collapse
I just never had that set up before with any of my android phones. I just didn't know how to put any files to the ext sd card, I foolled around with it and basicly I just went into my file manager and long pressed the app of file, copy, went into the extsd card and paste.
Thanks for the help.
I have had the MyTouch 4G and the Nexus One, neither had that set up.
PS this phone flies.
hey guys future g2x owner here, what sd card size does it come with?
bguzmanz2 said:
hey guys future g2x owner here, what sd card size does it come with?
Click to expand...
Click to collapse
It doesn't come with any sd card. Supply your own.
i thought the 5 gigs was for storage and the 1.5 was for apps? i'm confused
wow, sweet phone with no sd card or headphones. lame!!
ps, still gonna get it tho =)
crazythunder said:
i thought the 5 gigs was for storage and the 1.5 was for apps? i'm confused
Click to expand...
Click to collapse
Yes, this is true. However, from 2.2 up, Android allows you to move apps to the "SD card" (or in this case the 5GB extended internal storage) as long as the developer enabled this feature. This way large games and other such apps don't use up all the storage.
bguzmanz2 said:
wow, sweet phone with no sd card or headphones. lame!!
ps, still gonna get it tho =)
Click to expand...
Click to collapse
Not many phones come with an sd card and besides why use their ear buds when you can get a pair of zipbuds from amazon?
http://www.amazon.com/Zipbuds-DGA-T...8N9G/ref=sr_1_1?ie=UTF8&qid=1303274745&sr=8-1
Furthermore it's none of my business and you're free to do as you choose but who sticks their apps on the external sd card? Why do that?
aironeous said:
Not many phones come with an sd card and besides why use their ear buds when you can get a pair of zipbuds from amazon?
http://www.amazon.com/Zipbuds-DGA-T...8N9G/ref=sr_1_1?ie=UTF8&qid=1303274745&sr=8-1
Furthermore it's none of my business and you're free to do as you choose but who sticks their apps on the external sd card? Why do that?
Click to expand...
Click to collapse
Having a Nexus One I put most of my Apps on ext 3. Worked great and always had over 140 mb of free memory space which kept my phone very fast.
Sent from my LG-P999 using XDA Premium App
vinnyjr said:
I installed a 32 gb sd card and my phone recognized it without any problems but as I iinstalled apps to the card the amount of space in card never changed. I changed the sd card to 8 gb and I'm having the same problem. Anyone else having this problem, I am rooted and have su permission.
Thanks
Click to expand...
Click to collapse
I think the idea is your apps/data go into internal 5GB (which is mounted as SDCARD) and then you use your SDCARD for media (mounted as /SDCARD/_ExternalSD)
yup.. that is right mobilehavoc.
The phone has no "sdcard" when you get it new, but it's got basically 5.35GB internal SD already built in.. So you have plenty of storage, plus you have 1.3GB for apps, and can move them to that 5GB if needed.
Although I just put in my 16GB and tried to titanium restore and it doesn't find anything cuz it's looking in /sdcard and my file is on my sd card, and the g2x has that as /external_sd
that is irritating, will I need to move all the important stuff over, and downloads and pictures n such will all from now on go to the internal 5GB. so move everything over and use actual SD for rest
Hey there, so I'm having a different sd card problem, but I can't find any threads directly related to it so I'm just going to post it here because it seems just as good a place as any.
So yesterday morning, about 3am or so, cause I'm weird like that, I finished the movie I was watching, so I went to go move it off my phone and put another one on, so I hooked up my USB and connected to Ubuntu, the sdcard popped up and I deleted the file, then deleted the trash file but when I delete the trash file I get an error message saying Error removing file: Directory not empty, and no matter what way I try to edit my sd, it won't change, it won't save any new data or delete the old, I've tried reformating with the phone, reformating with ubuntu, I've tried file managers, using a micro to sd conversion chip and putting it in my card reader, but no matter what I try my sd won't change, somebody please help me out, I just got the 16gb card like a month ago, but I bought it in Austria so I can't really return it, because I'm living in Italy.
Thanks in advanced.
Never mind my last post, I did a wipe of my sd card from the phone, pluged it back into ubuntu, and then magically, I could erase all the files.
This setup of this phone's memory is frustrating. I have an app called DroidTV which normally uses the SD card to save videos to, but due to the internal SD card it's getting saved there instead. Is the only way to change this to hope the app developer fixes/changes the way the app behaves? I wish there was an option to make the phone treat the internal SD as the external so you could more easily use your larger card as the default
Dragon509 said:
This setup of this phone's memory is frustrating. I have an app called DroidTV which normally uses the SD card to save videos to, but due to the internal SD card it's getting saved there instead. Is the only way to change this to hope the app developer fixes/changes the way the app behaves? I wish there was an option to make the phone treat the internal SD as the external so you could more easily use your larger card as the default
Click to expand...
Click to collapse
See it's really a hard problem to solve. I'm coming from an Incredible which had 8GB of internal storage but it was mounted as /emmc. This meant no app except the custom camera and music apps and maybe one or two apps specially designed by devs could use the internal storage.
The way the G2X does it, all apps can see the internal storage and use it. All media apps can see the external SD as well. But you are right, the dev would need to update the app. Although I don't see why it is so difficult - they could give the user the option to a path so you could put in /sdcard/_ExternalSD/
And that would work.

[Q] installling apps to sd card

I'm getting my microsd in this week. I'm wondering how I set the phone to automagically install apps to the sd vs the phone's memory? and how do ya move current apps off of the phone to the sd.
Just curious why you want to do this. You have almost 1.5gb if space for apps on this phone. That is way more than I ever used for apps when I used apps to sd. I have 200 apps and don't come close.
But I guess you could see if darktremors app will support this phone or go old school and create symlinks.
jsapp said:
Just curious why you want to do this. You have almost 1.5gb if space for apps on this phone. That is way more than I ever used for apps when I used apps to sd. I have 200 apps and don't come close.
But I guess you could see if darktremors app will support this phone or go old school and create symlinks.
Click to expand...
Click to collapse
I read a cpl of posts whereas people recommended this for better peformance, including battery life. hmmph.. idk. I read it a cpl of times so figured I'd ask.
i asked the same question in another form and this is the answer i got:
"It is a known issue w the g2x...atrix...and samsung s2....
The move2sd for apps is NOT the external sd but the internal....the primary default storage is the phones internal storage.....there is no way to fix this...
As for music...you must manually move files to the sd card on the computer BUT make sure uu are choosing the correct memory...when mounted to the computer it will mount both the internal and xd card...."
mikea3000 said:
i asked the same question in another form and this is the answer i got:
"It is a known issue w the g2x...atrix...and samsung s2....
The move2sd for apps is NOT the external sd but the internal....the primary default storage is the phones internal storage.....there is no way to fix this...
As for music...you must manually move files to the sd card on the computer BUT make sure uu are choosing the correct memory...when mounted to the computer it will mount both the internal and xd card...."
Click to expand...
Click to collapse
thanks mike..

pPossible solutions to the limited space on internal card...

Seems like the only downfall of this phone is the lack of an external SD card slot. Is any one oiy there working on an app similar to link to SD but utilizing a micro USB.card reader like the Meenova? What about a script that would swap the internal memory with the externally mounted micro SD reader? Anybody?
How about connecting our brain by spinal cord lol.... Yes there are some otg device which can help you as a external storage and no need of swap internal memory since moto G is best working at this moment
Sent from my XT1033 using Tapatalk
All solutions are for media only none of them provide app apk or app data support. I have been scouring the internet for days. There is no way as of yet to implement link2sd, app2sd, data2sd support for within app usage. But thanks for your sarcastic remark!
joeatheist said:
All solutions are for media only none of them provide app apk or app data support. I have been scouring the internet for days. There is no way as of yet to implement link2sd, app2sd, data2sd support for within app usage. But thanks for your sarcastic remark!
Click to expand...
Click to collapse
There are apps to link apps to external sd (both apk and data) via otg. You can do it manually via busybox+mount -bind or all automatic via some apps that are in this forum (I swear they are in moto-g/general, so give it a try). If I see the link again I will come back and link it to you, but I remember at least two apps available in the play store to do it.
you can try folder mount or directory bind for moving big data games to usb otg
I wouldn't see a problem with mounting your external sd card wherever you want in the filesystem.
However I would suggest to just mount the external sd card to /sdcard
Filling the 8gb with apps seems pretty impossible to me. Data stored by the app is stored in /sdcard, so that's where you actually would need more space.
joeatheist said:
Seems like the only downfall of this phone is the lack of an external SD card slot. Is any one oiy there working on an app similar to link to SD but utilizing a micro USB.card reader like the Meenova? What about a script that would swap the internal memory with the externally mounted micro SD reader? Anybody?
Click to expand...
Click to collapse
Just out of curiosity, which apps do you plan to install that require more than 12.5 gb?? I do agree though that the space restriction makes it difficult to keep multiple cwm backups..
Sent from my XT1033 using Tapatalk
zazzy24 said:
Just out of curiosity, which apps do you plan to install that require more than 12.5 gb?? I do agree though that the space restriction makes it difficult to keep multiple cwm backups..
Sent from my XT1033 using Tapatalk
Click to expand...
Click to collapse
Multiple CWM backups are always annoying, no matter if you have sd card or not.
This thread on the other hand makes no sense, there are apps that do the job out there, but if you can't mange your space, then probably you ain't for Nexus-like device.
liveroy said:
Multiple CWM backups are always annoying, no matter if you have sd card or not.
This thread on the other hand makes no sense, there are apps that do the job out there, but if you can't mange your space, then probably you ain't for Nexus-like device.
Click to expand...
Click to collapse
Well i like to keep a couple of backups while moving from rom to rom.. but not an option on this device!
Sent from my XT1033 using Tapatalk
I was wondering if it's possible do something like this one http://forum.xda-developers.com/showthread.php?t=2046178

Expanding storage

Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: does not work
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Edit: updated state of ext2
I suspect these may be problems with the app being used. To extend beyond this, it appears I may need root. The end result is if you want a volume larger than 128gb, you're going to be read-only. If you want read/write on a large volume (larger than, say, 32gb) you're going to have poor storage efficiency.
So now we wait for the hacking to get better storage support!
nimdae said:
Right now I'm playing with expanding the storage for stuff not necessarily related to apps. While I can get the majority of my media through streaming (via a media server), there are some things that I need more space for.
I have a USB hub connected via a USB OTG cable as I also plan to use my Logitech F710 (maybe multiple if it works). I have confirmed my USB flash drives work fine. Note that I'm referring to USB flash drives, not USB card readers (they work a bit differently).
exFAT: so far, no go (some Android devices support this, apparently not the NPlayer)
FAT32: works great, but the larger the drive, the less storage efficiency (I'm working with a 64gb drive), and it has a hard limit on storage size (128gb) and file size (2gb)
NTFS: read only
EXT2: still formatting the drive, will update with results
So it looks like if you are using a large storage device, and if it works, ext2 will be the best option. For you Windows users, this can bring complications due to lack of native support. There's ext2fsd but you can't format a drive with it, only read/write.
If EXT2 works as I've seen with my past usage with Android, this gives you the option to get some pretty large storage expansion with decent efficiency. FAT32 has some pretty harsh limitations. With 512gb USB flash drives in existence, if you want to go large, FAT32 may not be an option.
Click to expand...
Click to collapse
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Thanks for the info, mate.
If it reads NTFS does it means I can load my HDD via windows and just plug and play on nexus player?
Has anyone tried Towelroot
Elrondolio said:
Thanks for testing the formats. Once we have root, we'll be able to have the NP recognize the external storage everywhere with StickMount and, with something like the Xposed module "OBB on SD" (or any number of other methods of mounting android space to external) you'll be able to install a ton of games/etc to the external drive where you have unlimited space. The 8gb limit in the NP still sucks, but once we have root that'll be largely mitigated if not moot for most users.
http://forum.xda-developers.com/xposed/modules/mod-obb-sd-v0-1-t2884004
Click to expand...
Click to collapse
Ordered last week should in my hands on the first week of December. I have a 2T drive that would great if that works. I will hold on to my FireTv which it has been rooted using the 2T drive.
Keep in mind that if you have a bus powered hard drive, it will likely require a powered USB hub to work. I doubt the OTG port will provide enough power, but I could be wrong. I have a USB 3 drive I could test later.
Yes, if you have a NTFS formatted drive, you can put stuff on it with your computer and read it with the NP. As long as reading that something doesn't try to modify something there, it should work fine.
Note to self: Use a linux machine to format ext2. Seems these windows programs are really really slow at it.
So I'm thinking I need to re-assess the above results as I suspect ES File Explorer is to blame for things expected to work, but not working. It will not work with EXT2 and requests to use either FAT32 or NTFS.
I'll have to do more digging.
Edit: Tested several file managers and was unable to get any further. To get EXT2 I suspect it needs to be mountable somewhere in /, which is what I believe stickmount takes care of for us (I could be wrong). But this requires root.
I'm assuming that scenario would work just fine, however I can't test it to be certain.
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Anyone test this. .
Elrondolio said:
Drewg over in the kodi forums posted a manual way of correctly mounting usb storage into the / filesystem. Here's a bit of that and a link:
Code:
mknod /dev/sda1 b 8 1
mkdir /mnt/obb/mnt
mount -t vfat /dev/sda1 /mnt/obb/mnt
You could, of course, choose what dir you mount the storage in, its the mknod that is key. This also assumes your usb storage is being recognized as sda1 already.
http://forum.kodi.tv/showthread.php?tid=206515&pid=1832231#pid1832231
Click to expand...
Click to collapse
I'll have to see if I can do this with ext2. vfat has the same limitations as fat32 as that is the spec it implements.
Rooted & Installed Stickmount.. still unable to access USB files
Before I was rooted, I tried exFAT, NTFS, and FAT32.. but the USB would show in ES File explorer but won't open. Now I've rooted and installed Stickmount. When I connect the USB, it mounts it ("/sdcard/UsbStorage/sda"). But I'm still not able to access it. Any suggestions or solutions if you guys have rooted your device?
EDIT: I tried again using a 32GB USB Drive (exFAT) and StickMount mounted and I was able to access its contents using ES File Explorer and it also showed up in MX Player. I was able to play HD movies through it with no problem. Working perfectly. (I had to sideload stickmount, as it can't be installed through web play store).
I'm planning to experiment with this today. I just need to get the stickmount apk transferred over as the play store lists it as incompatible. Ext2 might work best for this method as I'm not sure the stock kernel has exfat nor ntfs support and I'm biased against using fat32.
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
volwrath said:
It appears root, stickmount + foldermount 2.7 works fine and lets you move games to OTG-USB. I moved MC4 easily enough and it worked although it couldnt create the mc4 directory on the stick so it stuck it directly in an obb dir I created, so you might want to create your directories first.
But MC4 definitely appears to be working. Im going to try bards tale next.
Edit Bards Tale doesnt seem to work and I attempted to move MC4 into a cleaner directory and I cant get it to work again, so I am going to download its data and try again...
Edit2: now MC4will not work. Pin turns green showing everything to be linked properly but its not working now
Click to expand...
Click to collapse
What filesystem did you use?
nimdae said:
What filesystem did you use?
Click to expand...
Click to collapse
I kept it simple and used a 32gig flash drive fat32
I can confirm stickmount works with fat32. I'm working out how to get ext2 or ext4 working. ext2 would be preferred for a flash drive but I've not had luck yet. I plan to try ext4, but given the fact ext2 didn't work, I don't have high hopes. I think It's an issue with permissions and I might have to futz with that to make it work.
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Elrondolio said:
Thanks for your updates. I am away on business but am very interested in this aspect of the NP. Hopefully you can get it working and others can help troubleshoot. There are a few different apps that enable this functionality once rooted, but I'm sure all of them have some teething issues under the new Lollipop. Good luck.
Click to expand...
Click to collapse
I might switch to another app tomorrow, but I sent the foldermount author an email describing the problem. I feel pretty confident it is simply teething issues as it did work for a small amount of time.
Elrondolio said:
Good to know stickmount is working well. Have either of you attempted foldermount, obb on sd, etc and had success yet? Thanks for the updates.
Click to expand...
Click to collapse
I had some issues with stickmount. It works, but I wouldn't say "well". At one point it kept freezing and getting into a bad state but since reinstalling it I haven't had any further trouble. Caveat emptor.

Categories

Resources