My nexus 7 is a 8GB wifi version, so I want to mount usb storage for huge games like ASPHALT 8 or Modern Combat 4.
The rom was cm10.0 stable, which was android 4.1.2. Both foldermount and stickmount working well.
However, when I updated the rom to cm10.1.3 which was android 4.2.2, there were some problems popping up.
Someone says that the problem is because of adding the multiple users and the emulated storage.
There are three situations (Here use DeadTrigger for example)
#1.FolderMount with no Stickmount:
System will automatically mount the usb storage and the path is: /storage/usbdisk/n7game/obb/dt/
Then I used FolderMount and set the path as target, started to transfer files, lighted up the pin in green. Everything seems to be good.
However, when I started the game, it said that I had to download 90mb of files that I had already done.
So #1 doesn't work.
#2.FolderMount with Stickmount, the path is in the emulated storage:
Setting the target path in FolderMount as: /storage/emulated/0/usbStorage/sda1/n7game/obb/dt/ which is the path Stickmount sets.
After transferring files to usb, I pressed the pin but didn't turn to be green.Then I started DT, still asking for downloading datas.
#2 failed again.
#3..FolderMount with Stickmount, using the path as /storage/usbdisk/
This time I set the target path as /storage/usbdisk
After transferring files and lighting up the pin in green, I started DT and it worked!!
And I have tested using the format of NTFS, it is no problem with Stickmount, can be fix with ntfs-3g and display well. However, the FolderMount seems not support it. I tried to transfer with FM but failed. So I format the usb storage as fat32, and working well till now.
I don't know why, but this is my experience, so I shared it. :cyclops:
And sorry for the poor English
Thank you for sharing this. I have been considering trying something similar.
Dude thanks a bunch!
I gave my nexus 7 (2012) a new look and more. Thanks for the information, it gave me an idea of what route to take to finally be able to extend my storage.
a note about foldermount
lobe14 said:
I gave my nexus 7 (2012) a new look and more. Thanks for the information, it gave me an idea of what route to take to finally be able to extend my storage.
Click to expand...
Click to collapse
To actually be able to transfer multiple files, I had to select the path with foldermount but move the files manually. The app kept overwriting my previous file transfer. So far it's working. :victory:
Related
Hello,
With the issues I was having with the CM 10.1 nightlies, much as I would like to stay, I decided to install the Minimoto 1.7 ROM into the second ROM slot (created with Safestrap 3.05). First, let me say "wow!" I never thought I would see this much speed and available RAM on my Droid 3. Thank you very much, thingonaspring.
For the most part, everything is working great *except* access to both the sdcard (internal) and sdcard-ext (external) storage areas. I read many posts in the Minimoto thread and searched around but nobody else appears to have encountered this which I find rather odd.
After the initial install and after reboots, these areas were still not accessible. I finally ran the terminal emulator and found that, for some unknown reason, they were *not* mounted. I *did* find the internal storage (/dev/block/emstorage) mounted at /ss but not at /mnt/sdcard. I became root using "su" and did the following:
# mount /dev/block/emstorage /mnt/sdcard
# mount /dev/block/mmcblk0p1 /mnt/sdcard-ext
Now I can access them along with all of the files I previously had there. The included file manager, when started, presents buttons for "Internal Storage" and "SD", but it still complains that internal storage is not mounted. It will allow me to access the SD card, though.
Under Settings->Storage Settings, everything under "Internal storage" and "SD card" says "unavailable" and both the mount and format buttons are grayed out. Yet, under the "Windows Media Sync" heading, I *can* choose between internal and SD *and* it even shows the correct available/total space values.
Why were these not mounted to begin with? Is mounting them manually an acceptable solution? If it is, where do I put this information so that it occurs at boot like it should (there is no /etc/fstab on Android)? Did I perhaps do something wrong when installing this ROM, maybe because I used ROM slot 2 instead of 1 (which still contains the most current CM 10.1 nightly)?
I really want to get this resolved because, so far, everything else appears to work wonderfully. Even 3g access, which I still haven't gotten working with CM 10.1.
--John Gruenenfelder
I've been running Minimoto for months and both /sdcard and /sdcard-ext are mounted at bootup for me, always, just like stock.
So, I wish I could tell you why, but I cannot.
I guess what I would do is start over. Reboot into Safestrap, remove that second slot and recreate it. Flash the ROM and restart the phone. Do not wipe data/factory reset after flashing the ROM or you will be missing some files (basically, some files required by the customized initial setup application.)
It seems to be fixed! See below for (perhaps) how...
Okay, I gave this a try. Rather than wiping ROM-slot-2, I had enough free space to create slot-3 and I reinstalled Minimoto 1.7 there. Also, this time I downloaded the zip file on my PC and transferred it over rather than downloading it directly onto the phone. Using the UNIX "cmp" tool told me the two files were identical, but I still used the "new" one. It installed fine and I did *not* perform a data wipe.
Unfortunately, same issue. When the device starts I can see the "Preparing XXX storage" messages appear in the notification bar for both internal and SD storage. There are no error messages, but it also did not actually do anything. Then, using the terminal emulator, I gave a long read through the dmesg output. I am more familiar with the kernel messages one sees when booting Linux on a PC, but I still did not see anything unusual.
So, back into Safestrap recovery. This time I tried something different. First, I noticed that the Safestrap file manager *can* see both storage areas and in the locations where they ought to be. This is not new, actually, it has always been the case. Second, I uplugged the USB cable. I have been using it for charging (of course), but at present it was plugged into my laptop and not into the wall charger. Depending on how the mounting occurrs and the exact mount order, I thought this might interfere. Thirrd, and finally, I used the "Fix Permissions" button available in Safestrap on ROM-slot-2 where I had first intalled Minimoto.
After doing these two changes I rebooted the device back into ROM-slot-2. Surprise! I once again saw the "Preparing" messages in the status bar except this time it really worked. The two storage locations are available where they should be and I an access the data just fine. Even the "Storage properties" screen in Settings shows both as mounted with the correct available/total space values given.
Since a plain reboot did not work previously, I have to assume one of the two changes I made fixed the problem, though, since I did both at the same time, I cannot be sure which fixed it.
Now I can get back to enjoying the impressivee speed from Minimoto while I wait to see if (or perhaps when) either the 3g or HW keyboard ALT-key issues are fixed in CM 10.1. Of course, given how much slower CM 10.1 operates (by virtue of using *much* more RAM than Minimoto), I think I might find it very difficult to switch.
--John Gruenenfelder
If you've been trying to hoot while plugged into your laptop I can see it causing issues as when usb mass storage is active, the device can no longer see the sd cards. That is why we have a separate data partition for apps and app data. So if the computer is trying to mount them and denies the phone the ability to mount then I could see issues arising
Sent from my XT860 using xda premium
Ok I've gotten a few PMs so I figured I'd make a thread about how to use foldermount with link2sd.
1. download foldermount from google play here.
2. download link2sd from google play here.
3. to use link2sd you'll need to create a 2nd partition (and make it primary. ext4 is recommended) on your sdcard. ***Note I've made my second partition 10gb you can make it smaller according to your taste. this guide shows how to do this nicely.
4. once you've done this you now need to move over all the apk files you can to the sdcard. open link2sd, select menu > multiselect > select all > actions > create link. This will move all the apk files it can to the ext4 partition you just made.
5. now lets focus on the data. this is the biggest culprit of space. open foldermount. click the + sign to create a new entry.
6. name the new entry something you'll recognize. I'll use GTA3 for example. I named my entry GTA3.
7. Select the source destination. This is the folder you wish to move data FROM. using the example of gta3 this translates to /emulated/0/android/obb/com.rockstar.gta3.
8. Now select the destination. This is the folder on the sdcard we wish to move the huge data file to. using the example of GTA3 it translates to: /storage/extSDcard/gta3. press the check mark. it will ask you if you wish to move the files. say yes.
9. select the "pin icon" to the right of the entry you just made. this will activate the mount point for the data. fooling the system into thinking you still have that data on the internal sdcard.
10. That's it. Rinse repeat for all apps or games you have installed. typically huge game data is stored in the /storage/sdcard0/android directory. either the /obb or the /data directories beneath that.
The result? Typically if you haven't implemented this proceedure after the Android OS, Samsung bloatware, sprint bloatware, you'll have about 9gb of free space to use for installing apps. I have full use of my micro sdcard now. I have about 10gb of data used on it and 39gb free on the main partition. I used about 830mb of data moving the apk files to the second partition using link2sd. "internal sdcard" is nearly empty and I retain full use of all my apps and games on my sdcard. Please see my attached screenshot that confirms this.
I hope this helps some people.
*** Warning!!!!! creating a 2nd partition on your sdcard will wipe the contents from it!!!! Please back up the contents of your sdcard prior to doing this!!!!!!!!!!!!!
*** FORCE CLOSE ERRORS
Are you getting force close errors after linking an app to your 2nd partition? I have a solution that worked for me.
When I upgraded to MJA I lost the ability to link apps to my ext4 partition. After linking them they would force close when I tried to open them. Strangely no one else was reporting this problem. I Googled high and low. I found no solutions. I then thought about it and wondered if it would work if I changed the file system from ext4 to something else. Well ext2 didn't work. neither did ext3. So I tried FAT32. Bingo! It worked! So I'm now functioning fully again on MJA.
What could be causing this problem? I'm thinking the custom kernel I use isn't configured to read ext2,3,or 4. I think that's the reason other's aren't reporting this as a problem. They aren't using the kernel I'm using with MJA and link2sd.
In short, if apps are force closing after linking them to your sdcard, then delete your second partition and redefine it with FAT32. It should solve your problem.
NOTE: Please don't PM me for support. (1) It's rude. (2) Posting an issue or problem in this thread allows many users to look at it and offer advice on a possible solution. (3) Sending a PM does not allow other members of XDA to search for whatever problem and/or solution is derived from the post in the thread.
If you PM me for support I will automatically ignore you. Thank you and I hope you understand.
Good guide!
Just a reminder to all that creating a partition will wipe your entire sdcard. ll
Sent from my SPH-L720 using Tapatalk 2
mjs2011 said:
Good guide!
Just a reminder to all that creating a partition will wipe your entire sdcard. ll
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
in fact I'll add this to the OP so no one misses it.
Nice work
Sent from my SPH-L720 using xda premium
Clarification Needed OP
Looking for some advice but let me make sure I understand everything...
So I DLed Zombiewood by Gameloft - 325MB. I run FolderMount and find a data file in /Android/obb for 286.4MB. FolderMount moves that portion of the 325MB successfully to my external SD card on it's own without having to create a separate partition on my external SD card. Basically for that game there is still 38.6MB of data still on my internal memory.
This isn't 100% clear to me but I believe the OP is saying that to also move the 38.6MB to the external sd card in my example above...we must use link2SD...FolderMount wont do it. Am I correct?!?!?
If I am correct, it seems like a lot of work with the partitioning and running link2sd to just save 38.6MB. Seems like I could live with just FolderMount since in my example it migrated 88% of the data to the external SD card...or am I missing something here?
Zhal696 said:
Looking for some advice but let me make sure I understand everything...
So I DLed Zombiewood by Gameloft - 325MB. I run FolderMount and find a data file in /Android/obb for 286.4MB. FolderMount moves that portion of the 325MB successfully to my external SD card on it's own without having to create a separate partition on my external SD card. Basically for that game there is still 38.6MB of data still on my internal memory.
This isn't 100% clear to me but I believe the OP is saying that to also move the 38.6MB to the external sd card in my example above...we must use link2SD...FolderMount wont do it. Am I correct?!?!?
If I am correct, it seems like a lot of work with the partitioning and running link2sd to just save 38.6MB. Seems like I could live with just FolderMount since in my example it migrated 88% of the data to the external SD card...or am I missing something here?
Click to expand...
Click to collapse
If you can live with it that's fine. however once you set up link2sd it can automagically move the apk files to the sdcard upon install and remove them when you uninstall. It's a set it and forget it type of deal. And you're only saving 38gb if that's the ONLY app you're installing. Which I doubt it is. I have 61 user apps on my phone so far. I'm sure you don't have that many and maybe you don't plan to. But your mileage will certainly vary from everyone else.
And as I noted in my OP I'm up to 830+ mb of data on my 2nd partition. My internal storage is nearly bare. Again it's all about what YOU want with YOUR phone. Many people like myself would love to save as much space as possible.
I'm certainly not forcing anyone to use link2sd. As for it being a lot of work? It literally took me 4 minutes to create that 2nd partition.
One final thing to consider: You only have so many writes and rewrites to your internal storage. While I'm sure you won't see the average life span of 10,000 writes to your internal card, why not write to the SDCARD when you can? If that dies you can buy a new card. If your internal storage dies you're taking it to the sprint store for repair/replacement.
Just_s said:
Nice work
Sent from my SPH-L720 using xda premium
Click to expand...
Click to collapse
Thanks! :good:
rawintellect said:
If you can live with it that's fine. however once you set up link2sd it can automagically move the apk files to the sdcard upon install and remove them when you uninstall. It's a set it and forget it type of deal. And you're only saving 38gb if that's the ONLY app you're installing. Which I doubt it is. I have 61 user apps on my phone so far. I'm sure you don't have that many and maybe you don't plan to. But your mileage will certainly vary from everyone else.
And as I noted in my OP I'm up to 830+ mb of data on my 2nd partition. My internal storage is nearly bare. Again it's all about what YOU want with YOUR phone. Many people like myself would love to save as much space as possible.
I'm certainly not forcing anyone to use link2sd. As for it being a lot of work? It literally took me 4 minutes to create that 2nd partition.
One final thing to consider: You only have so many writes and rewrites to your internal storage. While I'm sure you won't see the average life span of 10,000 writes to your internal card, why not write to the SDCARD when you can? If that dies you can buy a new card. If your internal storage dies you're taking it to the sprint store for repair/replacement.
Click to expand...
Click to collapse
Great just wanted to make sure I wasn't missing anything. Appreciate you figuring this out and posting for the community!
Doenst make things run slower on Ext SD comparing to internal sd
btemtd said:
Doenst make things run slower on Ext SD comparing to internal sd
Click to expand...
Click to collapse
Incorrect sir. There is no noticable lag associated with it. SSD storage is SSD storage. whether it's coming from your internal card or your external card.
I play GTA3, the dark night rises and the bard's tale with no lag whatsoever. if you have doubts benchmark your internal card with android tuner. (yes you can do this with android tuner) and note the difference.
EDIT: I added screenshots of my internal vs external transfer rates. Note the external is more than DOUBLE the internal transfer rate. So I highly doubt you'll see any lag. Granted I have a class 10 64gb and your milage may vary but I sincerely doubt you'll see any lag. This mod isn't anything new. I'm sure someone would have complained if they noticed any lag by now.
2 quick questions:
My foldermount app does not show the size of files just keeps saying "calculating..." whats up with that? is that the same for everyone?
Also lets say i have all of this data on my sd card. what happens when i want to change rom... am i able to link back to the destination directory? and not loose the game data so i wont have to download game again or what is the correct process?
Thanks!
Tfast500 said:
2 quick questions:
My foldermount app does not show the size of files just keeps saying "calculating..." whats up with that? is that the same for everyone?
Also lets say i have all of this data on my sd card. what happens when i want to change rom... am i able to link back to the destination directory? and not loose the game data so i wont have to download game again or what is the correct process?
Thanks!
Click to expand...
Click to collapse
1) I'm not having this issue. So I'm not sure what the problem is. What exactly are you doing to display the size?
2) Yes exactly that. You should be able to relink those files with no problem. The game just verifies whether the files are there or not. If not it redownloads them. The game should not know the difference when you link them again.
The only tool that has made Link2SD work again
Link2SD got broken for one reason for another. Foldermount solved this in two reboots. Plus following your method, there is some additional space saved as well.
Thanks for the guide. I'm having a bit of a problem with my AT&T Samsung Galaxy S4. I'm using a 64GB card. I made the first partition about 40GB and the ext2 partition about 20GB. When I open Link2SD, after I select the appropriate file system type, it just sits there saying "Please Wait" for a long time with a circle going round and round to the point where I feel the need to stop it. Is this normal? Is my ext2 partition too big? Should it be ext3 or ext4? Please help!! Thanks!!
EDIT:
I reduced the 20GB ext2 partition to a 10GB partition, and I made it ext4 instead of ext2, and all seems to be working fine now.
mrtopdog2000 said:
Thanks for the guide. I'm having a bit of a problem with my AT&T Samsung Galaxy S4. I'm using a 64GB card. I made the first partition about 40GB and the ext2 partition about 20GB. When I open Link2SD, after I select the appropriate file system type, it just sits there saying "Please Wait" for a long time with a circle going round and round to the point where I feel the need to stop it. Is this normal? Is my ext2 partition too big? Should it be ext3 or ext4? Please help!! Thanks!!
EDIT:
I reduced the 20GB ext2 partition to a 10GB partition, and I made it ext4 instead of ext2, and all seems to be working fine now.
Click to expand...
Click to collapse
Yep I had the same issue with ext2. I used ext4 also and it works fine. I didn't want to put it in the OP as I wanted you guys to have a choice. I'm pretty sure it was that causing the issue and not the actual size of your pattition.
Good news!!!! There has been an update to foldermount to correct the size calculation problems you spoke of. Try and update the app and see if this fixes the problem!
Thank you OP! Tried this out and it works perfectly! I followed your instruction of making the extX partition a decent size unlike the tutorial which only sets it at 512 MB. I set mine at around 5GB and working pretty well.
My main concern was with the game Horn which is both very large and encrypted (according to link2SD). Even with the considerable size (around 3GB) from the SD card, it runs pretty well and smoothly.
thehelios said:
Thank you OP! Tried this out and it works perfectly! I followed your instruction of making the extX partition a decent size unlike the tutorial which only sets it at 512 MB. I set mine at around 5GB and working pretty well.
My main concern was with the game Horn which is both very large and encrypted (according to link2SD). Even with the considerable size (around 3GB) from the SD card, it runs pretty well and smoothly.
Click to expand...
Click to collapse
Awesome sir!
Hello,
I am wanting to try this, so, I got the link2sd and foldermount apps.
I am rooted via the excellent CF Auto Root method.
Just poking around right now, link2sd app comes up no errors.
FolderMount app comes up with the following error:
FolderMount has detected a faulty module in your Samsung Galaxy phone
FolderMount will NOT work properly with it.
Would you like me to attempt to repair that fault?
(You must reboot your device after I am done to complete the repair)
Cancel OK
Anyone else seen this?
buggz2k said:
Hello,
I am wanting to try this, so, I got the link2sd and foldermount apps.
I am rooted via the excellent CF Auto Root method.
Just poking around right now, link2sd app comes up no errors.
FolderMount app comes up with the following error:
FolderMount has detected a faulty module in your Samsung Galaxy phone
FolderMount will NOT work properly with it.
Would you like me to attempt to repair that fault?
(You must reboot your device after I am done to complete the repair)
Cancel OK
Anyone else seen this?
Click to expand...
Click to collapse
Yes. Click ok. It's fine.
Hi guys,
I recently bought a HTC One, I rooted it cause I wanted to change the htc icon to being operational so then flashed the kernel teaMSeven-sense-4.2.2-kernel-v2.1.4.zip. All appeared to be fine but now I am being told that I have no SD card installed so I can't access my photos, use my camera or access the Dropbox app properly. I presume there are some other issues but can't be sure yet. When I connect my computer to my laptop I can access the internal storage without a problem. When I go to recovery mode and go to Advanced - File Manager - sdcard I can see all the folders. Also when I go to mount and try it first gave an error that usb-otg couldn't mount and now it hangs at updating partition details.
Please help!
your sd card is there. there are some fixes in the development section. Take a look there
osmosizzz said:
your sd card is there. there are some fixes in the development section. Take a look there
Click to expand...
Click to collapse
Thanks osmosizz but is there any chance you can be more specific please? I have spent 2 hours seaching and it is like trying to find a needle in a haystack.......prob easy to find but sorry it ain't working out for me at the moment!
leesider said:
Thanks osmosizz but is there any chance you can be more specific please? I have spent 2 hours seaching and it is like trying to find a needle in a haystack.......prob easy to find but sorry it ain't working out for me at the moment!
Click to expand...
Click to collapse
try this http://www.youtube.com/watch?v=f1YiI-ZZGBs
USB OTG is not your internal storage.
I had the same issue and that video is far too complicated for what you actually need to do.
This is what I did when I upgraded from 4.1.2 to 4.2.2 on my HTC One.
Issue: You will have a new place for your data now. The default under 4.2.2 is now /data/media/0. Under 4.1.2 it was /data/media. Notice the extra /0 - that's for a multi-user environment.
Resolution: Needs root access, of course.
1. Install ES File Explorer
2. Enable ES File Explorer to have root under it's settings.
3. Navigate to /data/media
4. Ta-da! All your old files are there! NOW...
5. Select and move your files that you want to keep from /media/data to /media/data/0
This worked for me 100%. My free storage was only 2.58Gb with a fresh 4.2.2 install. Because I moved all my wanted files across and deleted all the other legacy items, it's now about 13Gb free.
Used the youtube vid so thanks for that osmosizz, worked well and thought me a bit in the process like getting your java paths right!!
Will try your method Joe if this happens again, cheers
having problems getting ouya using chickcharney update to mount usb to internal has anyone got a way i can do that please, tried the chupcabra method on youtube but I don't think it works?
PHYSC-1 said:
having problems getting ouya using chickcharney update to mount usb to internal has anyone got a way i can do that please, tried the chupcabra method on youtube but I don't think it works?
Click to expand...
Click to collapse
send me an email and I will answer
do you have xposed installed on your device?
I used the Xposed Mod - XInternalSD to mount my external storage as internal.
You can specify the path to the external storage and define which apps should use it.
Worked for me though. But not for every app. Some games from play store want to download additional data during the first start, i had to exclude them from using the external storage.
Thanks will try this, nothing seems to work as before chickcharney, it's [email protected] in a nut shell with it's a-hole overbearing attitude like for instance no controller present message and intermittent reloading of the desktop launcher when backing out using a keyboard or the controller sometimes, this device needs a full android 6.0 build with writing usb hdd and sd card as adoted storage. The built in move to hard drive option never once works for 3rd party apps from play store etc what a surprise lol, but will try that option thanks.
Installed it and it's better than foldermount, it's allowind me to use things more fluidly and installing and using dead trigger 2 works miles better than foldermount used to do. Thanks for this.
I've had a Chromecast with Google TV for about a week. I added a usb stick for added memory . I'm in developer mode and have unknown sources on. Using the X-plore file manager, I sideloaded games with obb files onto the drive with no problem. However, a few days later, the Chromecast got laggy (unrelated I hope) and I had to do a factory reset. Since then, X-plore will not show the USB drive if I'm using the USB stick as device storage. I'm pretty sure that was the way I had the stick formatted before. When the stick is formatted for external storage, I can't transfer data to it. When it's formatted as device storage, it's not recognized on the file manager. Also, the file manager won't allow for an obb folder. I get a msg saying it's not allowed.
How did I screw this up? Please help :fingers-crossed:
Thanks from a confused noob
is it fat32?
drchip42 said:
is it fat32?
Click to expand...
Click to collapse
Yup.
I think I figured it out last night. After I factory rebooted it, I didn't change some of the storage permissions on the apps .
Can't seem to get passed read only error with x-plore. Do I need to format to fat32 and how. PC is old and only gives me option for exfat and ntsf. Thanks in advance