****WORKAROUND*****Share internal sd memory between sammy and CM10.1 roms - Galaxy S III General

Hello friends,
Now that the amazing Gokhan has found a way to successfully have cm10.1 as second rom the main hurdle in daily usage for me was that all the data was on my internal sd root and cm looks for files in sdcard/0 folder hence I have found a small workaround which is working perfect for me and everything is awesome :
STEPS :
1) This is assuming that you have a sammy rom as 1st and cm10.1 as second rom already installed and while performing this step your SIII should be booted in samsung rom
NOW PLEASE DELETE ALL FOLDERS FROM 0 FOLDER AND MOVE ALL YOUR INTERNAL SD DATA TO THE 0 FOLDER please ensure that the data in 0 folder i backed up
2) Install directory bind from here http://forum.xda-developers.com/showthread.php?t=1410262 credits to the dev
3) go to directory bind preferences by hitting the menu button and tick alternate database management
4) go to the main screen of directorybind -> add new entery -> long press where it asks the source and select sdcard/0/Android and press select
similarly long press path area in target and select sdcard/Android and save and then highlight the floppy icon and it should turn green. In the same manner folders like games and whats app can be linked and by doing this you will have all the files in both the roms
I understand the above steps are little difficult and confusing but for now this is the best work around I have thanks

I was searching something like this for a while, im looking for a way to have whatsapp on my sammy stock rom and tamasek cm 10.1 i know you cant have 1 whatsapp account on 2 different phones but i have a dualboot and thats with the same sim offcourse......
Im trying to find a way to create an symlink or mount sammy stock from cm 10.1 to have a working whatsapp on both roms with dualboot.
The problem is that i have cm 10.1 as first rom and sammy stock second.
Maybe anyone else knows how to have whatsapp working on those 2 roms on dualboot?

R: ****WORKAROUND*****Share internal sd memory between sammy and CM10.1 roms
hypergamer1231 said:
Hello friends,
Now that the amazing Gokhan has found a way to successfully have cm10.1 as second rom the main hurdle in daily usage for me was that all the data was on my internal sd root and cm looks for files in sdcard/0 folder hence I have found a small workaround which is working perfect for me and everything is awesome :
STEPS :
1) This is assuming that you have a sammy rom as 1st and cm10.1 as second rom already installed and while performing this step your SIII should be booted in samsung rom
NOW PLEASE DELETE ALL FOLDERS FROM 0 FOLDER AND MOVE ALL YOUR INTERNAL SD DATA TO THE 0 FOLDER please ensure that the data in 0 folder i backed up
2) Install directory bind from here http://forum.xda-developers.com/showthread.php?t=1410262 credits to the dev
3) go to directory bind preferences by hitting the menu button and tick alternate database management
4) go to the main screen of directorybind -> add new entery -> long press where it asks the source and select sdcard/0/Android and press select
similarly long press path area in target and select sdcard/Android and save and then highlight the floppy icon and it should turn green. In the same manner folders like games and whats app can be linked and by doing this you will have all the files in both the roms
I understand the above steps are little difficult and confusing but for now this is the best work around I have thanks
Click to expand...
Click to collapse
I'm not sure I understood the first step. Should I
1. Backup all my files in the sdcard/0/ folder
2. Delete all my files in the sdcard/0/ folder
3. Move all data from sdcard/ to sdcard/0/ (excluding the sdcard/0/ folder, of course)
???
If I've to do so when will I restore my sdcard/0/ files?
Thank you anyway for the idea, really helpful
Sent from my GT-I9300 using xda app-developers app

cheers ang good luck

http://forum.xda-developers.com/showthread.php?t=1931711
OP, this looks like its achieving the same thing. I'm yet to test

R: ****WORKAROUND*****Share internal sd memory between sammy and CM10.1 roms
23Six said:
http://forum.xda-developers.com/showthread.php?t=1931711
OP, this looks like its achieving the same thing. I'm yet to test
Click to expand...
Click to collapse
That's about remove sharing... we're trying to get to it...
Sent from my GT-I9300 using xda app-developers app

got this done and working... thanks
.... but doesn't allow WhatsApp to work across roms, still need to re-verify each boot to dual rom
Sent from my GT-I9300 using Tapatalk 2

Thanks for this! I tried to do this using the external SD card with a different method and directory bind but failed.
Sent from my GT-I9300 using Tapatalk 2

Related

storage/emulated/0/

can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
I think this has been added as part of the multi-user feature and is where the data/content is stored for other users. It has been mentioned on the forum somewhere else, cant remember where I seen it though.
I also wondered this but then thought logically.
Two users using the same SD card wouldn't be a good idea.
So they sort of virtualise the SD card, and then when a new user is created a sort of partition is created for the user.
I was wondering what that was in ASTRO I thought it was something I did wrong and yes if you delete one file it will end up deleting both of them so be careful luckily I deleted some old downloads I didn't need anymore GOD BLESS YOU GUYS
Sent from my Nexus 7 using xda app-developers app
thats all fine, thanks guys,
but now, if I download a new pic from dolphin browser to the /emulated/0/pictures folder, the gallery sees my SD/pictures as well as the /emulated/0/pictures folder, the original has 99 files in, and the new one 1 file in, both are called "pictures".
the "save picture as" action opens up its own file explorer, and it wont let me go back far enough in the file tree to access the SD/pictures folder so I can only save in the new /emulated/0 folder and its sub folders?
cheers.
I can't find the folder on my pc. I am trying to run a backup app and it stores it there. I try to replace the backup location to downloads for example and it won't work. It's driving me mad.
The linked directories are linked to look like separate directories but they link to what is called a mount point that the actual physical storage and the actual file. What you do in any of folders will be done in all the folders.
I'm still wrapping my mind and this and my Linux knowledge it's weak. So I'm not going to try to suggest how to deal with these folders. As much as possible I'm letting the app handle the files.
Sent from my Nexus 7 using xda premium
CarsnGadgets said:
can someone please explain to me why, since updating to 4.2, I have what looks like a duplicate of my SD card contents in a sub folder called storage/emulated/0/?
all my gallery apps, Gallery, DroidIris etc. see duplicates of all my pictures now?
And If I save a pic from a browser It points to the folders in storage/emulated/0/, not the SD card ones?
deleting any file in one folder effects the other, so it is probably not a true duplicate thats taking up space is it?
I assume this has to do with the multi user addition to 4.2, but I have not set up a second user at all.
Does this just occur to people upgrading, or to people who installed a fresh version as well?
Cheers.
Click to expand...
Click to collapse
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
algus said:
Same for me. Music player, gallery and other apps now show two copies of files. Any solution to fix this yet?
Click to expand...
Click to collapse
I think you are confusing a symlink'd directory with a second copy.
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
rmm200 said:
No one - so far - has reported a real problem related to duplicate file - so don't be expecting a fix.
Spend the time reading up on Linux directory structures instead.
Click to expand...
Click to collapse
This.
It's not broken do don't expect a fix. It only 'looks' like you have duplicate files. A change you make in any single place will show up in all locations. Delete a file in one place it will be gone everywhere. The whole file system is an optical illusion. Layers on layers of naming parts of the file system.
For instance /sdcard is actually /data/media/0 if you created another user on your tab they would get /data/media/1 but they would find their files under /sdcard in a file manager.
Sent from my Nexus 7 using xda premium
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
algus said:
I understand that it is a link. As I said problem is that applications show two copies of all files put in /sdcard folder. Because applications treat each link as a separate file. This is exactly what the original poster and I wrote in our posts.
So far I fixed this problem for myself by deleting all files from /sdcard (they disappeared from other linked locations as well) and saving them back straight to /storage/emulation/0 (they appeared in other linked locations, including /sdcard, but this time the gallery and other apps show single copy of each file in their collections).
This is not confortable for a typical user to learn about all these linked folders and I consider it as a drawback of Jelly Bean.
Click to expand...
Click to collapse
I am trying to understand what you are seeing.
On my device, the gallery app only shows pictures in my user: emulated/0. This is from selecting a picture and then asking for info on it.
What apps are showing duplicates, other than a file explorer that you would expect to show symlinks?
I should add - are you copying pictures directly to /sdcard from somewhere else?
Well I had a problem...because of all the multiuser crap I was unable to restore a titanium backup cause of all the emulated directories that another user makes...I had to delete every /0 directory that it made cause if you install another Rom it makes a new /0 directory inside the other /0 directory so after flashing CM10, MIUI and slim bean I finished with a directory like this: sdcard0/0/0/0.
Sent from my GT-I9300 using xda app-developers app
restoring backups seems to be a problem too in cwm. Hmm how to fix it
Sent from my Nexus 4 using xda app-developers app
I ran into this problem with Titanium Backup and my Nexus 7. I was trying to copy the titanium backup folder on the Nexus 7 to my windows PC (also tried mac too) as it was taking up a lot of space on the Nexus but Windows and Mac wouldn't have any of it. It just copied the folder and not the contents. Android file Transfer manager on mac just keeped crashing. I did not try adb pull folder with WugFresh toolkit, so that may work. I ended up copying from the nexus 7 to a USB drive using an OTG cable.
I been looking into this too, this is what I find so far I did a fresh install after I installed my Rom I wipe storage on my N7 so I have a clean storage nothing on it about 27.80gb after I installed one game that is 2gb and its show on both storage emulated and 0 n after my available space is 23.72gb. So I think its does create a duplicate that take space. But Im not sure.I going to run some more tests. If this is true this kinda suck cus then my 32gb n7 is only 16gb then.
Ps. Also if u reboot ur n7 and u go to storage there is another folder under emulated with 0 with the same files you can deleted this folder is save you won't loose anything but if you reboot and go back to storage the file reappear and you can delete but once u reebot again it will reappear again and over again.
Sent from my EVO using xda premium
No way are there 2 copies of files (unless you are auto backing up, which I do). My free space was 3.9gb before and after 4.2. Have all the extra meaningless folders.
You could think of the emulated storage locations like a shortcut. You could place multiple shortcuts to your 'My Documents' folder on your desktop without creating multiple copies of 'My Documents'.
Same problem with Galaxy Nexus
I have the same problem with my Galaxy Nexus and Android 4.2.1
In my Windows Explorer i dont see the same files like in my Phone with Total Commander on my Storage.
This is not funny.

[Guide][NoteII] Move data (games,etc) to external SD card [Directory Bind]

Intro
This is a summary of bala_gamer's guide for using Directory Bind on Galaxy SIII but with my own additions and tips.
I'm using Galaxy Note II (N7100) but should work on other models too.
You need ROOT and this app called Directory Bind.
All credits go to original guide author and the app creator.
What does this app do?
Directory Bind lets you move big (or small, your choice) data files/folders from games, apps, navi software to your external SD card. If you use 16GB variant of the Note 2 you can quickly use up the space with a few big games, so what is the solution?
Directory Bind will take care of this. It will move the folders containing big files you choose to the external SD card. Read on for instructions.
What you need?
- ROOT (guide here)
- Directory Bind (get the app here)
- External SD Card mounted (I used SanDisk Class 4 32GB formatted to FAT32)
1) Setting things up
When you install Directory Bind you need to set up a few things first. You only do this once but you better do it right. If you don't, things might not work as they should. These settings work best.
Open Directory Bind and give it ROOT access
Press the (softkey) Menu key -> Preferences
Check Bind on boot, Alert on unbind fail, Alternate dbase mgmt, Persistent service
Leave the rest unchecked
Select Default data path and set it to:
Code:
/mnt/extSdCard/
Select Default target path and set it to:
Code:
/sdcard/
Make sure those target paths are EXACTLY like ones I wrote. These WORK, others probobly WON'T.
This is it. You now have everything ready to move stuff from internal to external sd card.
2) Step by step guide to moving things
OK, we are ready to move things now. I will give step by step guide with pictures and an example. (click on image to view)1) First install the app/game you want, open it and download all files you need. For this example I will use the game BackStab.
Screenshot of Storage before installing the game:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) Screenshot after the game downloaded it's data. You can see it used about 1,3 GB on internal storage:
​3) Open the game check it works and it downloaded all it needs. Now exit the game. Go to task manager and kill it if it's running (if it's not, proceed). Go to Settings -> Application Manager search for your game, select it and Force Stop (if it's greyed out, proceed).
4) Open Directory Bind (your list will be empty at first, so just ignore my list) and hit Menu softkey, select Add new entry:
5) Now hit Menu softkey again and select Data transfer Assistant (if your keboard pops up ignore it or press back):
6) Now you will select your source. Source for games is usually within Android folder and subfolders data or obb. Sometimes it's directly on /sdcard/appname. For some gameloft games it's under /gameloft/games. You must find where the game stored it's data. In my case it's under /sdcard/gameloft/games/GloftSDHM.
So I will tap on gameloft -> games -> GloftSDHM: *** DON'T hit Select just yet!!! ***
And now when we are within the folder which we want to move we tap on Select:
8) Now the mount (target) path is set to the internal sd card folder, where game stored it's files. In my case this is
Code:
/sdcard/gameloft/games/GloftSDHM
Check that you have indeed selected the correct folder!
The source (data) path is external SD card folder where files will be moved. As pictured, I created an extra, optional, folder just to make it easier identifying the game later. You don't need to do this, leaving default will be just fine.
Make sure Transfer files from target to data is checked and hit Add
8) If you see "Data directory not exist, create now?" select "Create". It will say Copying files... I recommend you leave the phone until it finishes. It usually takes a few minutes.
9) Once it's done make sure there is a checkmark on the right and tap on the grey diskette icon:
It will now turn green:
10) DONE! This is it. Exit Directory Bind and reboot the device. It's not mandatory to reboot, but I recommend you do. When the phone turns on, you will see a notification that Directory Bind is performing binding. Wait a minute or two. Now go into Settings -> Storage aaaaaaaaaaaaaaaaaand:
There you have it. Available space on internal card is back and the files are now moved to external SD card. You can now fire the game up and it should work the same as before. I didn't notice any lag or longer load times, runs just as smooth as before moving.
​3) Tips & Tricks
Use the same method as described above for each individual game/app.
I don't recommend binding the complete Android/data or Android/obb folder. For me, it broke some games, and some games that use /obb didn't work. Individually binding each game worked every time.
I can confirm that Class 4 microSDHC 32GB works perfect. No lag, no longer load times, everything the same as from internal. So Class 4 or above is recommended, can't say for Class 2. I formatted to FAT32 and works just fine.
You don't NEED to reboot after each binding, but I recommend it, just to be sure everything is working. I always install the game, play it a minute, exit, perform binding, reboot. Then try the game again for a minute, and check storage before and after. For me it worked every time.
If there is an option within the game/app to download extra data to external SD card I recommend using that option directly. Only bind those games/apps that do not support this on their own. Example would be The Bard's Tale there you can select to download that huge HD 3,5GB file straight to external SD.
Make sure you set source (data) and mount (target) as instructed. Just do it.
On last picture of storage you can also see the color graph which represents internal SD card and how full it is. Don't panic as the grey (free) space will eventually disappear when you move a lot of files. It seems the graph can't "read" what we done and thinks internal SD is full. Just ignore it, only check the Available Space number and there you will se how much free space is left on internal SD.
Also important, if you use a file explorer and navigate to the original folder on SD internal, where data was before (in my case sdcard/gameloft/games) the original folder will still exist, and also checking Properties you will see it has the same size. It will seem as this was only copied to external SD and the original folder still exist. This is not the case! On internal SD this folder is actually kind of a "shortcut" or a "link" and does NOT infact use space. So if you delete anything from there, it will actually delete stuff from external SD. This one is hard to understand, but you will get it eventually.
The End
Thanks for reading, I hope it helps some of you. Bye :victory:
In My Case.
l success for binding android/data/com.xxxx.xxx
But when im binding android/obb/com.xxx.xxx
Its still asking donlod file..
How to fix it?
I would advise that first when you install a game that has obb file, run it first and let it download data. Then go play it a few minutes.
Then exit the game, best reboot phone. Then go perform binding of the folder inside obb. Then reboot AGAIN.
Then go try game. This method has worked for me, for the following games requiring obb files:
Six Guns
Great Big War Game
Total War Battles
Also make sure your settings are EXACTLY like mine on beginning of post 1.
Could you write which game is causing you trouble? Maybe I can test it out to see if it works for me.
I was trying that too.
Game example NBA 2k13,iron fist,sonic 4,sonic cd,the avenger,
Almost game that data in android/obb cannot run well.
For Binding succes with the green disket,but when the game run,still asking donlot data.
Then i delete binding(transfer file back) it run smothly without donloding data.
Thank you for the guide. I had tried everything I could to get this to work with no success. With your guide, worked first try.
@uchox: sorry I don't have those games so I can't test. But it's weird, for me every game I tried works. I would recommend maybe unbinding everything, uninstalling directory bind, installing latest version from thread and going fresh. Follow my guide to the letter, it really should work. If it doesn't, it must be game specific, as for me every game even which use obb worked.
@serpa4: No problem. I had same issues, made the mistake of binding entire /obb and /Android subfolders. It broke my games and had me in all sorts of trouble. So with a little experimenting I found the solutions described in post 1 best to use. So I also wrote a guide, so that people new to this don't have to go through "testing phase" just follow my guide and done.
On my Note 2 should i start target path as /sdcard/ even tho on my note 2 it starts with /sdcard0??
@ruffryder281: if you open up a file manager like ES File Explorer or Root Explorer and navigate to root/mnt/ what folders do you see? Except asec, obb and those starting with Usb...
Do you see sdcard and extSdCard? Or sdcard0 and extSdCard? or all 3?
If you have sdcard and extSdCard set those.
If you have sdcard0 and extSdCard set those.
If you have all 3 check whats inside sdcard/ and what inside sdcard0/ and use the one that open internal SD.
friend could help me? will start at the part where the transfer of the file the notice that there is the directory you want to create, I put YES, but he asks again, and is in the loop, I'm putting it back to YES and ask the same thing again, checked the mnt paths in the names are right. Will I need to create the directory on my sdcardext manually.
@marvelspires: Well this is weird, I never had that problem. For me it always asks to create folder I say yes and that's that. You could try creating a folder.. Are you using the latest version of DirectoryBind? Did you set everything as I said in the settings? Paths are set as described? (triple check). Have you managed to bind anything, or does this happen with everything, or better said, have you tried to bind only one specific thing, or did you try multiple?
Thanks tipsek. I've just moved my first three games successfully and now I'm about to try my sat nav maps
Can we continue to use Titanium backup normally, or do we have to unbind first? (I don't use Titanium to backup a game's data files, just the app itself). Sorry if that's a dumb question but I thought I better plan ahead.
Sorry, I just found the answer to my question here:
http://forum.xda-developers.com/showthread.php?p=34693332&highlight=titanium#post34693332
Use Titanium as normal
nevermind, works ok now!
bu
directory bind doesnt work fine...
tatschke89 said:
directory bind doesnt work fine...
Click to expand...
Click to collapse
what phone do you have and are you rooted? i got it working now with my note 10.1 :highfive:
Okay so I did what you said and moved the data for gta 3 to my ext sd, however the files I moved still exist on my phone. Do I delete them or what?
Sent from my SGH-T889 using xda app-developers app
tatschke89 said:
directory bind doesnt work fine...
Click to expand...
Click to collapse
@tatschke89: Could you be more specific? What doesn't work? Give some details like what phone you have, ROM, are you rooted, which app/game (or everything) doesn't work and what exactly you mean by that. For me, it works for every game/app I tried and I have been using it for over a month now.
---
Note_2 said:
Okay so I did what you said and moved the data for gta 3 to my ext sd, however the files I moved still exist on my phone. Do I delete them or what?
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
@Note_2: The answer to your question is in the Tips & Tricks section of the guide, last bullet says:
Also important, if you use a file explorer and navigate to the original folder on SD internal, where data was before (in my case sdcard/gameloft/games) the original folder will still exist, and also checking Properties you will see it has the same size. It will seem as this was only copied to external SD and the original folder still exist. This is not the case! On internal SD this folder is actually kind of a "shortcut" or a "link" and does NOT infact use space. So if you delete anything from there, it will actually delete stuff from external SD. This one is hard to understand, but you will get it eventually.
Click to expand...
Click to collapse
God why did they ever remove the option to send stuff to the memory card *_____*
Sent from my GT-N7100 using xda premium
Works for AmazonPlayer too, but after all binding and moving are done, you don't see albums in device, even after reboot. You must use use "download" from cloud tab, it's very quick, AmazonPlayer won't download the entire album, but just update something, and you can now see the album in the device tab.
I ended up binding the entire /sdcard/Android directory to /exSdCard/Android after a factory reset (clean slate - there was no data on that folder). Although the OP states it causes issues it never did for me. Probably the incompatibilities are created when moving the files from one card folder to the other: I suspect permissions / ownerships are set incorrectly / not carried over? I don't know, but at least for me it's not causing any issues whatsoever. My card is a SanDisk 64GB class 10 formatted as ExFat (in Mac OS X as it wouldn't read if I formatted it on the device).
Well, I remember when moving entire Android/data and Android/obb folders that I had trouble with a few games that used Android/obb folder. They gave me errors and wanted to download their files again. Once I binded each seperately those issues were gone, that's why I recommended binding each directory seperately. If it works for you to bind entire Android directory without problems that's great. Also you started fresh maybe that's key here. I do wonder, have you tried installing for example one game that uses Android/data and Android/obb folders to store their extra files AFTER you binded the entire Android/ folder? What happens, do the files automatically download to externalSD and links are created on internal, or do the files download on internal and stay there, or do they move to externalSD?

what is /storage/emulated/legacy etc. and /storage/emulated/0 etc.

I am not rooted.
I have researched and every time someone talks about this topic they start refering to doing things in root. I am a Linux user specifically a Linux Mint 13 KDE. However! I don't work with the terminal and have not since my DOS days, nor do I want to. IMO I'm too old to bother with it.
Now I use ES File Explorer as my file browser and I see there seems to be a duplication of almost everything on my device yet there is not enough room on the Nexus 4 16GB to hold 2 of everything I have loaded onto it.
So I assume the extra stuff I see are sym-links (I don't realy understand what they are just that they are not real). Am I correct?
Why when an app looks for duplicates does it show the stuff in /storage/emulated/legacy etc. and in /storage/emulated/0 etc. and report them as the same size?
Why am I allowed to create a folder in /storage/emulated/0 or /storage/emulated/legacy if they just contain sym-links? IMO I should not have access to those folders without being rooted.
Why when I add a folder in /storage/emulated/0 or /storage/emulated/legacy does it show up in /sdcard?
donec said:
I use ES File Explorer as my file browser and I see there seems to be a duplication of almost everything on my device yet there is not enough room on the Nexus 4 16GB to hold 2 of everything I have loaded onto it.
So I assume the extra stuff I see are sym-links (I don't realy understand what they are just that they are not real). Am I correct?
Why when an app looks for duplicates does it show the stuff in /storage/emulated/legacy etc. and in /storage/emulated/0 etc. and report them as the same size?
Why am I allowed to create a folder in /storage/emulated/0 or /storage/emulated/legacy if they just contain sym-links? IMO I should not have access to those folders without being rooted.
Why when I add a folder in /storage/emulated/0 or /storage/emulated/legacy does it show up in /sdcard?
Click to expand...
Click to collapse
I was going to post a simpler version of this question: Why do I have [Android 4.2.2 on a Nexus 7] /storage/emulated/0/, /storage/emulated/legacy/, and /storage/sdcard0/ when they seem to have exactly the same contents? When, if I create something in /storage/emulated/0/ it's duplicated in the other two locations?
But I noticed this thread and decided to check it out. I am shocked that it'' gotten no response in five months.
Eric Weir said:
I was going to post a simpler version of this question: Why do I have [Android 4.2.2 on a Nexus 7] /storage/emulated/0/, /storage/emulated/legacy/, and /storage/sdcard0/ when they seem to have exactly the same contents? When, if I create something in /storage/emulated/0/ it's duplicated in the other two locations?
But I noticed this thread and decided to check it out. I am shocked that it'' gotten no response in five months.
Click to expand...
Click to collapse
They are basically the same thing. 2 mount points pointing to the same storage device and partition.
If you create something in one folder, it will show up in the other. Same applies for deleting stuff.
They do not take away more storage space, as it is only available once but shown twice.
You also don't need to worry about it in any way because file browsers normally set their default directory to one of these locations.
As far as i know, Google changed the mount points in Android 4.2 to /storage/emulated/0/ due to them switching to MTP and EXT4(?) for the sdcard. The other mount points are still there for compatibility.
Don't quote me on that, though.
They changed it for multi-user feature
Sent from my Nexus 4
Can I delete "legacy"
Nuu~ said:
They are basically the same thing. 2 mount points pointing to the same storage device and partition.
If you create something in one folder, it will show up in the other. Same applies for deleting stuff.
They do not take away more storage space, as it is only available once but shown twice.
You also don't need to worry about it in any way because file browsers normally set their default directory to one of these locations.
As far as i know, Google changed the mount points in Android 4.2 to /storage/emulated/0/ due to them switching to MTP and EXT4(?) for the sdcard. The other mount points are still there for compatibility.
Don't quote me on that, though.
Click to expand...
Click to collapse
Can I delete the legacy folder without harming anything?
DEFI4NT said:
Can I delete the legacy folder without harming anything?
Click to expand...
Click to collapse
Did you read the post that you quoted ?
"If you create something in one folder, it will show up in the other. Same applies for deleting stuff."
DEFI4NT said:
Can I delete the legacy folder without harming anything?
Click to expand...
Click to collapse
Why would you even want to delete it in the first place? You wouldn't be gaining anything is just another mount point.
Sent from my Nexus 4 using Tapatalk
....
/storage, /sdcard are sym linked folders,that means when you open one of those, it redirects to the original(/data/media/0), as for the 0 is just a multi user feature implemented in android 4.2, but only enabled on tablet androids.
Why do this Sym-Link?: simple so it dosent break apps(not only file explorer type of app, but all apps).
Still dont get, why it would break?.Simple. android api have lots of ways to write/read files from folders, u can do manually,u can get the data path, u can get the sdcard path, etc,etc. so to not break that they just does these sym links, thats why in one app the storage contentents are listed on /sdcard but on others, is /storage, etc,etc. one example of an app that broke because of these changes to android is titanium backup, u need to change the internal storage on it, so it work.
Are they really symlinks?
I want to make sure that they are sym linked files/ folders and not additional copies as it will directly impact the storage.
Emulated storage is the only reason i have not upgraded yet to Android 4.4 yet, despite ROMs being available ages ago..
1. Please let me know for confirmation, if there is no impact on storage space.
2. Can Link2SD be used in 4.4 with emulated storage?
3. If there is a file and its sym link/ copy; are the rights equally assigned to both files/ folders?
I mean to ask if there is a provision to have root previlege on the original file and read only rights on the sym link ? Is it possible??
the main reason for this question is that, if by mistake i do something on the sym lilnk, it should not affect the original file.
and whatever change i wish to operate on, i can do it on the original file itself.
Regards
Dwipen
opssemnik said:
/storage, /sdcard are sym linked folders,that means when you open one of those, it redirects to the original(/data/media/0), as for the 0 is just a multi user feature implemented in android 4.2, but only enabled on tablet androids.
Why do this Sym-Link?: simple so it dosent break apps(not only file explorer type of app, but all apps).
Still dont get, why it would break?.Simple. android api have lots of ways to write/read files from folders, u can do manually,u can get the data path, u can get the sdcard path, etc,etc. so to not break that they just does these sym links, thats why in one app the storage contentents are listed on /sdcard but on others, is /storage, etc,etc. one example of an app that broke because of these changes to android is titanium backup, u need to change the internal storage on it, so it work.
Click to expand...
Click to collapse
dwipen said:
I want to make sure that they are sym linked files/ folders and not additional copies as it will directly impact the storage.
Emulated storage is the only reason i have not upgraded yet to Android 4.4 yet, despite ROMs being available ages ago..
1. Please let me know for confirmation, if there is no impact on storage space.
2. Can Link2SD be used in 4.4 with emulated storage?
3. If there is a file and its sym link/ copy; are the rights equally assigned to both files/ folders?
I mean to ask if there is a provision to have root previlege on the original file and read only rights on the sym link ? Is it possible??
the main reason for this question is that, if by mistake i do something on the sym lilnk, it should not affect the original file.
and whatever change i wish to operate on, i can do it on the original file itself.
Regards
Dwipen
Click to expand...
Click to collapse
1- impact? no they are like .ink files in windows
2- yes link2sd works
3- the permissions are the same
maybe someone here can explain whats going on
So my phone seems to have two systems (or probably more) running and it IS using up my memory. See attached photos. I own a 32gb Optimus G pro. Rooted and custom recovery. Beeen trying out a few ROMs. Well somehow I noticed that there is some kind of ghost app/system using up my memory. I only use 7.36 of my sd card (internal). Yet I only have 6gb of memory left. And I just noticed my calendar has double the entries.
Is there a fix??? Or do I have to reflash stock kitkat???
What happened? The only irregular thing that happened is when I was restoring a nandroid backup I fell asleep and woke up 3 hours later and noticed that somehow the phone was making another backup. Could that be the cause. Restoring doesn't fix this. What can I do?
I can't rfactory reset since I have a custom recovery. Doing it in the custom recovery has no effect.
Oh and I did flash freegee's cwm over hoangnova's cwm. Someone told me to update cwm through freegee because I couldn't flash any custom roms.
I have similar problem.
liovag said:
Hello,
I have order Meizu m1 note 32 gb version blue color from fastcardtech.com and i have received a couple of days ago. Today i notice that in storage menu, the file system holds 17.13GB
The phone is unrooted.
How is this possible, I am very disappointed, and frustrated.
This is a big thing. I have pay for 32GB version and i suspect that they fraud me.
Also i have connect the phone via usb to my pc and i saw that the total size is only 11,9GB and not 32.
Also i have install to the phone the ES File Explorer to check the storage capacity and i saw that the phone have 11.94 GB Total capacity and not 32 i suspect that you have change something to the phone software. to look 32gb but actually is only 16GB version. This is fraud.
I have make factory reset with erasing data and upgrade the system but remains the same. :/
Please give me your advice.
View attachment 3407558
View attachment 3407559
View attachment 3407560
Click to expand...
Click to collapse
Imagine a HOUSE. The house = the storage location. Everything in it is your data... furniture etc. These are your files.
storage location \legacy = the back door.
storage location \0 = the front door.
If you delete a file = take your chair and throw it in the yard. Its gone from the house no matter if you entered the front door or back door.
yes, it consumes double storage!
I also have the same observation. Whatever the explaination from previous replies, it consumes my storage double! And it hurts if you only have 8 GB internal storage in my Moto G.
X-plore app can show the storage mapping in my root folder.
What we need now is a solution how to avoid this double storage consumption.
So, we have two identical houses, instead of one house with two doors!
Why2 said:
I also have the same observation. Whatever the explaination from previous replies, it consumes my storage double! And it hurts if you only have 8 GB internal storage in my Moto G.
X-plore app can show the storage mapping in my root folder.
What we need now is a solution how to avoid this double storage consumption.
So, we have two identical houses, instead of one house with two doors!
Click to expand...
Click to collapse
I completely understood the analogy about the house and furniture but it does not answer the above question.
Why does it reflect as double the amount of storage being used if it is technically one spot. Its not like its one spot with different files, its one spot with duplicate paths of ONE file that are somehow reflecting as double files, using double the amount of space.
Sorry I'm trying my best to explain and work logic into this lol
II've been trying to change the destination file for utorrent on my android from storage/emulated/legacy to storage/external_SD, for some reason when I do this utorrent says "file not found", and will only download to storage/emulated/legacy, can anyone help with this? It would be greatly appreciated

Directory Bind not working properly on CM 10.1

hello , i'm about to move my games into external sd card using Directory Bind on my p3110 CM 10.1 . I've followed step by step mentioned to apply binding , and everything went ok without "error message" . but the problem is the data not actually "binded" , when i start the games it keeps asking for download even though i already bind it and it successfully transferred into my extcard . i dont know if it related to the ROM itself but anyone have ideas ?
thanks :good:
use foldermount just search this forum and download it
It's a known fact DB doesn't work on 4.2.x. Since the app has been abandoned for quite a while, look for alternatives.
invalidpoint said:
hello , i'm about to move my games into external sd card using Directory Bind on my p3110 CM 10.1 . I've followed step by step mentioned to apply binding , and everything went ok without "error message" . but the problem is the data not actually "binded" , when i start the games it keeps asking for download even though i already bind it and it successfully transferred into my extcard . i dont know if it related to the ROM itself but anyone have ideas ?
thanks :good:
Click to expand...
Click to collapse
hey see
go to app prefrences and make sure only three things are checked (bind on boot) and (alert on unbind failure) and (dbt mgmt <am not sure of its name but it is the second last option>) and then:
1) move files manually from sdcard to extsdcard eg: from sdcard/Android/obb/com.gameloft.android.ANMP.GloftM4HM
to /mnt/extsdcard/Android/obb/com.gameloft.android.ANMP.GloftM4HM
** make sure the path is similar each and every file except the diff btw extsdcard and sdcard like if u copy from obb folder create a folder on extsdcard called obb ok
** also after u create similar paths move the data inside the folder u want not the folder itself eg here u shud move what is inside com.gameloft.android.ANMP.GloftM4HM
2) once moved go to directory bind make a new bind and choose the paths as usual but instead of ticking transfer files dont and just click add
3) then click on the grey icon on the left of the screen to make it green then enjoy!!!!!
plz press thanks if this helped dont just say it

[Tutorial] Xperia SP "Apps to SD" With Folder Mount

Hello this is a guide to "move" you apps to your SD card for users with small Internal Storage
Update:There is now a faster way to do it.
After step 3 you just press the menu option on the top left corner and you press app analyzer.
This will show you an descending list of your apps sorted by their obb and file size.
Select the app you want to transfer it's obb from to SD (you can also choose to move its data)
Pair the data and you are done
Much faster
Much easier.
This GUIDE is for ROOTED PHONES ONLY it wont work with unrooted phones so please if you want to procced you MUST have a rooted phone
This method uses an app called Folder Mount (Free from Play Store) that allows the use to move large app files to external storage saving up internal space.
Instructions:
1) Download the App from Play Store called Folder Mount
App Link :https://play.google.com/store/apps/details?id=com.devasque.fmount
2) Once its installed open the app
3)Once the app is open it will ask you for root access press "GRANT"
!!! ATTENTION AS MENTIONED BEFORE THE APP WORKS ONLY ON ROOTED PHONES!!!
4)To use the app just press the "+" (cross) on the Top Right corner this will get you to Folder Pair Settings
5)In the "Name" slot you can name the Setting depending on what you want.
5.1) Example if you want to transfer the files from Dead Trigger https://play.google.com/store/apps/details?id=com.madfingergames.deadtrigger you can name it "Dead Trigger"
6) When you name the setting you press on "Source" this will get you to a file manager like screen where you choose the source of your file (MOST devices default source will be Android/obb/"game"
6.1)For Example the path for Dead Trigger on my phone (XPERIA SP) is (as shown in the Folder Mount App) /storage/sdcard0/Android/obb/com.madfingergames.deadtrigger
6.2) ATTENTION you must NOT sellect the WHOLE directory because that wont give you any editing or mounting options at all
6.3)ATTENTION when you are selecting the game file folder you must go into the folder (tap on the folder for example in this case com.madfingergames.deadtrigger) that will get you to the games directory so you are not choosing the whole game directory thus causing a big mess
7)When you sellect the games directory press the "check" button on the top right corner
8)After you press the cross a mesage will come up saying if you want the app to create a default destination folder
8.1) Press Yes and the app will create a default directory on your external SD (mine is /storage/sdcard1/Android/obb/com.madfingergames.deadtrigger)
8.2)Press No and choose your custom directory on your SD to save the folder in and then to apply the changes pless the "check" button
9)Afer you set up your destination folder just press the"check" button on the top right corner to finish
9.1) I would not suggest checking the " Exclude from media scan" box
10)After you pressed the "check" button it may show up a message telling you that your source directory is not empty (you already know that or why would you bother moving an empty folder) and by procceding it may overwrite some files.
Just press "Yes" on this.
11) Now it will go to the home screen and a message on the notification bar will tell you that files are being moved.
11.1)DO NOT START THE GAME TO CHECK the work is not done yet
12)Near the name you gave on step 5 you will see a thumbpin.
When the thumbpin is Green it means that the directory is mounted on your SD saving up Internal Storage Space
You can mount or unmount all your directories by pressing the thumbpin icon on the bottom right and bottom left corner (left -> mounts right -> unmounts)
13)after you mounted your game's directory test it out it should work
!!!!Here is a demo video to help you get started!!!!
http://www.youtube.com/watch?v=EJLJZs7oqPE
Method Pros
1)Easy to use
2)Very fast transfering the files
3)Flexible (you can mount and unmount depending on wht you need)
4)Saves up a lot of time
Method Cons
1) The Free Version Supports only up to 3 pairs
Overall a great app for rooted phones
If you have any questions post them bellow
Thank you.
Nice, thankyou very much for your tutorial, was looking around for this one. By the way, when i mounted it, i checked to see if it played, it worked. But when i went on root explorer, how come the com.(what ever game) is still there in the Android/Obb folder? Doesn't it move since it moved to another location?
And also another quick question, if the game(any game) updates, does it update to the mounted folder?
Or do i start the whole process again with FolderMount?
Thank you Very Much
moomoopobo said:
Nice, thankyou very much for your tutorial, was looking around for this one. By the way, when i mounted it, i checked to see if it played, it worked. But when i went on root explorer, how come the com.(what ever game) is still there in the Android/Obb folder? Doesn't it move since it moved to another location?
And also another quick question, if the game(any game) updates, does it update to the mounted folder?
Or do i start the whole process again with FolderMount?
Thank you Very Much
Click to expand...
Click to collapse
When you mount a directory Folder Mount keeps the old folder in the Android/obb/"folder" so when you delete the Pair it can transfer the game files to their original directory.
It is pretty much normal!
Also i forgot to add thanks for your kind words
jackaros said:
When you mount a directory Folder Mount keeps the old folder in the Android/obb/"folder" so when you delete the Pair it can transfer the game files to their original directory.
It is pretty much normal!
Also i forgot to add thanks for your kind words
Click to expand...
Click to collapse
Thanks for the quick reply =D
Have a great day, because i am hahaha
Just bought Asphalt 8 as i am a fan, loving it with the combination of FolderMount!
moomoopobo said:
Thanks for the quick reply =D
Have a great day, because i am hahaha
Just bought Asphalt 8 as i am a fan, loving it with the combination of FolderMount!
Click to expand...
Click to collapse
I am having a great day dont worry i bought Asphalt 8 too And i mounted it as well
I did it for my real racing 3 and it worked like a charm. thank you for the such helpful tip.
brgds
luigisvc said:
I did it for my real racing 3 and it worked like a charm. thank you for the such helpful tip.
brgds
Click to expand...
Click to collapse
Happy to help
SD
Jackaros,
this might sound like a Silly question,
but am I correct in assuming that the App would move Files from the Internal 8GB rom to an Actual Micro SD card?
8gb internal memory is the only thing putting me off buying this phone,
regards
Yes,tho the free version will only allow 3 apps,the pro version us available via in app purchase..it is not much think about 86p maybe 1euro
Sent from my C5303 using xda premium
raziel123 said:
Jackaros,
this might sound like a Silly question,
but am I correct in assuming that the App would move Files from the Internal 8GB rom to an Actual Micro SD card?
8gb internal memory is the only thing putting me off buying this phone,
regards
Click to expand...
Click to collapse
I am sorry for the late answer and yes it will move the large files that take up internal SD space to your external SD and create a link between the 2 file directories
zolaisugly said:
Yes,tho the free version will only allow 3 apps,the pro version us available via in app purchase..it is not much think about 86p maybe 1euro
Sent from my C5303 using xda premium
Click to expand...
Click to collapse
The premium App costs excactly 1.99 Euro (2.5 USD ,2.4 AUD and i think its 1.2 to 1.5 GBP )
Great
jackaros said:
I am sorry for the late answer and yes it will move the large files that take up internal SD space to your external SD and create a link between the 2 file directories
Click to expand...
Click to collapse
Thanks mate,
looking forward to my SP arriving,
raziel123 said:
Thanks mate,
looking forward to my SP arriving,
Click to expand...
Click to collapse
Glad i helped :laugh::laugh::laugh:
bro i tried ur procedure my data is trasfered but i dnt get ur 12th point bcoz it dose not showed me any "pin" logo,but my internal memory is free in i dose not try to open my games,,,need ur reply,plz help.
ammad.ibrar said:
bro i tried ur procedure my data is trasfered but i dnt get ur 12th point bcoz it dose not showed me any "pin" logo,but my internal memory is free in i dose not try to open my games,,,need ur reply,plz help.
Click to expand...
Click to collapse
Look at ss if you have free version only 3files can be moved.
See how on right the pins are green,this is what he means.
Sent from my C5303 using xda premium
zolaisugly said:
Look at ss if you have free version only 3files can be moved.
See how on right the pins are green,this is what he means.
Sent from my C5303 using xda premium
Click to expand...
Click to collapse
ua but in my case it transfered the file but this list showed empty,,
thnx i clear,,,i tried to download foldermund from third surce might b thts y it dose not pined it,,,thnx alote
updates
jackaros said:
Glad i helped :laugh::laugh::laugh:
Click to expand...
Click to collapse
Jackaros, Do i need to unmount the folders before Updating the games, or can i leave it mounted android-sonymobile update. Through playstore?
Simply awesome app, just bought it and freed about 3gb for Nova 3
You don't need to unpin just leave it pinned and any updates will automatically be added
Sent from my Nexus 7 using xda premium
zolaisugly said:
You don't need to unpin just leave it pinned and any updates will automatically be added
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Everyone with a Xperia SP should buy this app, :good:
Is it the only method that can be used for the transfer of apps data.??
Sent from my C5302 using Tapatalk 4

Categories

Resources