[Q] SD Card Directory - Xperia Z3 Q&A, Help & Troubleshooting

On my Sony Xperia Z3 I have an application that stores its data on "/storage/emulated/0/Voxx". I would like to move the "Voxx" folder onto the SD Card (to save space on the phone's memory). To do that, I need to change the directory within the application itself.
The thing is that I don't know what would be the righ path to the sd card. Could anyone suggest me how should the new directory look like?
Thank you.

Info
Sui Generis said:
On my Sony Xperia Z3 I have an application that stores its data on "/storage/emulated/0/Voxx". I would like to move the "Voxx" folder onto the SD Card (to save space on the phone's memory). To do that, I need to change the directory within the application itself.
The thing is that I don't know what would be the righ path to the sd card. Could anyone suggest me how should the new directory look like?
Thank you.
Click to expand...
Click to collapse
the 3rd party app cannot store data in external memory card.
unless root your phone and use some merge folder app or app2sdcard to do that.
:good:

Sui Generis said:
On my Sony Xperia Z3 I have an application that stores its data on "/storage/emulated/0/Voxx". I would like to move the "Voxx" folder onto the SD Card (to save space on the phone's memory). To do that, I need to change the directory within the application itself.
The thing is that I don't know what would be the righ path to the sd card. Could anyone suggest me how should the new directory look like?
Thank you.
Click to expand...
Click to collapse
Not sure how you're going to make the App change the directory (if there's no option), but the path would be /storage/sdcard1/Android/data/%APP_NAME%, where %APP_NAME%, well, is the name of your App.

I think you need to create simlinks like some apps do to allow what you want, it requires root. Just wait for Lollipop as Google allows it to do what you asked.

Thank you, sxtester!
I copied the application's "voxx" folder from internal memory onto the sdcard and, within the application, I changed the directory from "/storage/emulated/0/voxx" to "/storage/sdcard1/voxx".
I am posting a new, interesting task...you may want to take a look...
sxtester said:
Not sure how you're going to make the App change the directory (if there's no option), but the path would be /storage/sdcard1/Android/data/%APP_NAME%, where %APP_NAME%, well, is the name of your App.
Click to expand...
Click to collapse

Related

[Q] My apps won't load after switching SD card

I just got a legit sandisk 32gb class 4 off of newegg and before swapping I transferred everything from the external SD folder to my internal, did the swap, formatted in the phone then swapped the contents of my old external SD to the new one. Rebooted a few times but my apps will not load. All my apps are saved to phone or internal SD card as well.
Does anyone know why?
Sent from my SAMSUNG-SGH-I997 using XDA App
copying from external to internal would not have copied hidden files.. and many of the apps may have had their own direcdtories on external sd with hidden files..
i always do this is pc by backing up old sd to a directory on the pc (make sure to have view hidden and system files on)
they copy back to a new sd card..
double check what was copied by doing a check disk on the old and new cards and comparing number of files and directories including hidden.. should be the same.
Even if show hidden files was checked off within the phone options itself?
Sent from my SAMSUNG-SGH-I997 using XDA App
I keep all the .apk files in a seperate folder on my PC ,as I switch phones to the newest thing once or twice a month,I swap my SD card to new phone,then reinstall the programs from the .apk folder using Astro or whatever your choice of software ,the saved files will find the newly installed progs with hidden files and all,you dont even have to reinstall key codes,passwords or nada,If you are a SICK phone Junkie like me,it will save you lots of stress...Vegas
Sorry, is there a way to move this to the Q and A section? my XDA app doesn't show the Q&A area.
lgkahn said:
copying from external to internal would not have copied hidden files.. and many of the apps may have had their own direcdtories on external sd with hidden files..
i always do this is pc by backing up old sd to a directory on the pc (make sure to have view hidden and system files on)
they copy back to a new sd card..
double check what was copied by doing a check disk on the old and new cards and comparing number of files and directories including hidden.. should be the same.
Click to expand...
Click to collapse
That worked, thank you!
Vegaslightsss said:
I keep all the .apk files in a seperate folder on my PC ,as I switch phones to the newest thing once or twice a month,I swap my SD card to new phone,then reinstall the programs from the .apk folder using Astro or whatever your choice of software ,the saved files will find the newly installed progs with hidden files and all,you dont even have to reinstall key codes,passwords or nada,If you are a SICK phone Junkie like me,it will save you lots of stress...Vegas
Click to expand...
Click to collapse
Thanks, I will keep this in mind as well.

[Q] Possible to create a folder shortcut in another folder?

So I'm sure many of you have run into this problem...
Newer phones tend to come with their own disk partition that shows up as "sdcard". They also have an external sd slot which shows as "sdcard-ext" or some variation.
Many older apps assume the built in one is the ONLY sdcard, not realizing that they need to offer the option to browse for other sd cards. They often don't give the option to go up directory to get to it either. So you have to copy the files you need manually from your external to your internal.. it's a big pain in the ass.
So is it possible to create a folder shortcut or symbolic link to the sd-ext from within the internal sd card?
Kinda like in windows, you can create a folder shortcut to c:\windows from c:\program files\
Then you could just open that "shortcut" as if you were opening that folder. That would make things much easier
Sure
http://www.cyberciti.biz/faq/creating-soft-link-or-symbolic-link/

Failed to write to sdcard1 after ota kitkat

Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?
thesavo said:
Has any one else lost the ability to write to their socketed sdcard since the 4.4.2?
Click to expand...
Click to collapse
Thats a "feature" of kitkat. Can't be changed unless you have root.
Seriously?
Yes, see here for fix(if your rooted):
https://play.google.com/store/apps/details?id=nextapp.sdfix
thesavo said:
Seriously?
Click to expand...
Click to collapse
It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.
Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.
Time to move the podcasts. So my older shows that I worked hard to keep to keep the ext sdcard1 as a target, will have to be copied to sdcard0.too bad.thanks @iBolski
No wonder BeyondPod kept 'accidently' putting shows on SDcard0 for the last year. Even though I "pinned" it to SDcard1 in the advanced settings.
Even with the application that patches the /etc/permissions/platform.xml, I have found certain apps still do not work correctly. Dolphin Browser, for example, cannot switch to /storage/sdcard1. It keeps saying it can't find it and I need to ensure I don't have "USB Mode" enabled, which I don't even have as an option when connected to a PC.
I also have init.d installed on my machine and I had startup scripts that mounted various directories from my external to the internal SD card to "fool" the device so that apps that wouldn't save to the external but the internal would save across a mount. Well, that no longer works. For example, Amazon MP3 will not save downloaded music anywhere except to the internal sd card. I had my startup scripts mount an amazonmp3 directory on my external SD card to the internal amazonmp3 directory on the internal memory card. When I proceeded to download music, it didn't show up in the external directory. However, I noticed that the internal sd card's memory did decrease. I then unmounted the directory and saw that the Amazon MP3 app was ignoring the mount under KitKat and directory saved the files into the /storage/sdcard0/amazonmp3 directory, even though it was mounted to the directory on the external SD card. It did work under JB and ICS, but apparently, with KitKat, some apps will still write directly to the native directory on the internal SD card, ignoring the fact that I've mounted a different directory to it.
The stock Moto camera will write to the external SD card if you go and change the setting for it. However, the Google Camera does not give you any option to store your pictures anywhere except on the internal SD card memory. :crying:
Remember, apps can write to the external card, if you don't apply the "patch", but only to what is considered a protected are (the /storage/sdcard1/Android directory structure) and then, they can only write to a directory that the app created. They can read other directories, but they cannot modify them.
iBolski said:
It's a security issue. Before KK, the SD card was wide open to any other process to be able to request read/write to any directory and file, regardless of whether or not they created that file or directory.
Now, under KK, a program can create a file or folder in a "protected" area and only that program has the ability to modify the contents in that folder. It cannot modify other folders or files that it didn't create.
Click to expand...
Click to collapse
That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.
https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn
Zeljko1234 said:
That's official explanation (bull****) as you described above with non stock camera. Basically KK made external storage almost useless. I found this nice description quite long time ago.
https://plus.google.com/+TodLiebeck/posts/gjnmuaDM8sn
Click to expand...
Click to collapse
I know at this point, Root Explorer still works with it, after setting the correct permissions into the /etc/permissions/platform.xml file. That works for a lot of apps. The only one that I know that is currently broken is Dolphin browser. I cannot navigate to the /storage/sdcard1/ area anymore. It keeps telling me it can't find the file or directrory and that I should make sure the SD card is ready and USB Mass Storage (haven't seen this option since my Droid X2) is not on.
So definitely, Dolphin Browser is doing something differently that even the patch isn't working for it.
Problem is that without root user cannot edit platform.xml and even after that some applications refuse to write to sd card. Another example is OfficeSuite 7 Pro which I bought and now cannot edit file if it's needed. Workaround is to save to internal then overwrite to sd card.
Basically stock Android becoming more and more limited, harder and harder to get root... That's so bad that I wouldn't update to official kk in the case that my phone has locked bootloader.
Read this article http://www.xda-developers.com/andro...use-even-more-issues-for-root-app-developers/

[GUIDE]Install games bigger than your free internal memory

First of all, clarification:
1.There's a lot of guides showing how to bind large games' .obb files and their respective folders/directories to external sd card. This guide will show you how to install these games even if they are bigger than your internal memory. For example, you got 4 Gb internal SD, on ROM goes 2.5 Gb, and for all your apps, pictures and videos goes 1.5 Gb. It fills really fast, so if you want some HD game, say FIFA 14, you can't install it. Here my guide jumps in.​2.When a program binds game's .obb data directory (if you have enough memory free on internal SD for the game to install in the first place), its .obb file is indeed transfered on external SD card, but often in memory status there's a bug which still shows it on your internal memory and it is full, but it is not case here.​
You need:
1.Rooted phone, Install from unknown sources allowed
2.FolderMount installed (didn't try with Directory Bind yet)
3.Root file manager like Root explorer installed
4.Game you want to install with .apk +data folder downloaded on your PC
5.Write down or somehow mark names of game's data folder and it's .obb file
So, let's start..
1.Find out where should be game's data folder (in most cases it's Android/obb folder)
2.Copy apk on SD root and folder with .obb files on external SD where it should be installed by default
* make Android/obb folder on external SD if you didn't already​* for real if it was to be installed on internal memory the path would be: storage/emulated/0/Android/obb/yourgamefolderwithobb​3.Once copying is done, navigate with your root browser on INTERNAL SD, and make folder named exactly as your game, the one that you wrote down, on exact location,for example storage/emulated/0/Android/obb/ and inthere you make this yourgamefolderwithobb folder (case sensitive!)
4.Now, you get inside this folder that you made with your root file manager, here it is ˝yourgamefolderwithobb˝ without quotes and inthere you make new file named exactly as your game's .obb file, with .obb extension, and save it, for example ˝main.128yourgame.obb˝ without quotes - case sensitive
* if for any reason you can't save your new file, then you make it on your external SD's root and copy where it belongs on internal SD, and if even this isn't possible, then make this file on your pc - new .txt document> save as>all files>exactly named as your .obb and then copy it via USB on your internal SD on the right place, in the right folder.​5.When all previous steps are done, navigate to external SD root and install your game's .apk . When instalation is done, exit your root file manager.
* DO NOT OPEN GAME ONCE INSTALLED, FOR IT'S NOT OVER YET! Just exit​6.Go to your MountFolder. On the upper left corner next to ˝List of pairs˝ headline touch menu icon.
7.Once menu open, touch ˝Apps analyzer˝ option. After short scaning, a list of your apps will appear. Search this list for app you just installed. If it's on the list, so far everything is OK, but if it isn't... you probably messed something up, see if you skipped a step or two click back button.
8.Open FolderMount again if it exits. Click ˝+˝ option at the top
9.Give name to your game (gta, tenis...) by filling ˝name˝ gap
10.Click ˝Source˝ gap and navigate to internal SD in the game's directory that you made in step 3! By clicking ˝Source˝ you should already be in /storage/emulated/0, it will say at the top the name and the path of your current directory. Once you're in directory you made, click ✓ option at the upper right
11.A pop-up will appear saying ˝Would you like me to create the destination folder automatically? You can choose a custom destination by clicking no˝ Click NO
12.Click ˝Destination˝ gap and navigate in directory that you copied from your PC on EXTERNAL SD in step 2! Once there click ✓ option again
13.You're back in menu with Name,Source and Destination gaps which you filled. Touch ✓ again.
*I didn't try to tick ˝exclude from media scanning˝, you shouldn't too 'till you check if everything is working as it should. Try experimenting later.​14.New pop-up will appear asking ˝Your source directory is not empty. Would you like me to move files to the destination(and overwrite existing files)?˝ Click NO again
15.You're in main menu in FolderMount, there's your game's name that you gave it earlier, next to it is grey pin. Touch that pin once and it will turn green.
* in FolderMount after every reboot a pin will turn grey. Just click it before trying to play game because it will not see .obb files and will try to download them again.​16.Exit FolderMount and PLAY YOUR GAME!!!
EDIT:
There is a lot of devices, every of them has different internal and external SD paths, be sure to know them well. The best way to find this out is to go in FolderMount, try to create new bind, and by tapping Source and Destination gap see the path for each SD in the upper part of the screen.
Some SD card locations on various devices:
/mnt/sdcard0 - internal and /mnt/sdcard1 - external;
/mnt/sdcard - internal and /mnt/extSD - external
Also, if this guide helped you feel free to let me know that by pressing THANKS button
Thanks Man You Saved My life
iDuc said:
Thanks Man You Saved My life
Click to expand...
Click to collapse
Glad to help man
Thanks Alot i Realy Needed This Method Because i Love To Play Games But My internal is only 4 gigs and user 1.35 and searched the whole internet for any way but i didn't find
Thanks again
---------- Post added at 02:02 AM ---------- Previous post was at 02:01 AM ----------
Thanks Alot i Realy Needed This Method Because i Love To Play Games But My internal is only 4 gigs and user 1.35 and searched the whole internet for any way but i didn't find
Thanks again
I will most certainly have to try this on my tablet! Thank you very much

Moto G 3 2015- How To I Set SD-Card To Be Default Storage?

need heelp
Hello guys
i am Nikhil and recently purchased a new moto g3 (2015)
i am unable to get my main storage to be my sd card like it was in my Lumia 535 as all my media from wats app is getting saved in my phone memory
i have tried removing the cad and puting it back in to see if it detects but no use
could anyone please assist me/ explain what i am doing wrong
Thanks and Regards
Nikhil Rebello
There is a reason why phone memory is called so. You cannot move like the whole whatsapp folder to the sdCard. However, you may use apps like App2SD to move some data onto the sdCard.
sid.OafTobark said:
There is a reason why phone memory is called so. You cannot move like the whole whatsapp folder to the sdCard. However, you may use apps like App2SD to move some data onto the sdCard.
Click to expand...
Click to collapse
Ohh I see
Thanks sir
u may try this http://forum.xda-developers.com/2015-moto-g/general/tutorial-link2sd-make-space-internal-t3195770
Android M will allow this.
if android m can allow than it is great news
Try xCD it helps me with large games from gameloft, it might help you too.
It's an Xposed Module
It allows you to move folders from your internal storage and place them on your external storage
I use it to move my obb game data from sdcard0/android/obb to sdcard1/android/obb and its been working like a charm.
Just install, pick the apps or games you want to move folders for, then move the folder to the same directory on your sdcard, if the folder isn't there, make it.
Copy the data to it, delete it from the internal storage (sdcard0), and reboot or soft reboot, and watch the magic happen
Sent from my MotoG3 using Tapatalk

Categories

Resources