yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] egingell:
I suspect the problem lies with the fact that the folders in /mnt/asec are actually mount points for partitions that are created on-the-fly when Android moves the app to SD, as demonstrated by script.

C:\Program Files\Android\android-sdk>adb shell df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 425448 76 425372 0% /dev
tmpfs 425448 0 425448 0% /mnt/asec
tmpfs 425448 0 425448 0% /mnt/obb
tmpfs 425448 0 425448 0% /mnt/usb
tmpfs 7168 0 7168 0% /app-cache
/dev/block/mmcblk0p9 516040 415156 100884 80% /system
/dev/block/mmcblk0p7 302360 5008 297352 2% /cache
/dev/block/mmcblk0p1 20144 4224 15920 21% /efs
/dev/block/mmcblk0p10
2064208 1701224 362984 82% /data
/dev/block/vold/253:1
31105172 10375652 20729520 33% /mnt/sdcard
/dev/block/vold/253:1
12062752 235744 11827008 2% /mnt/secure/asec
/dev/block/vold/259:3
12062752 235744 11827008 2% /mnt/sdcard/external_sd
/dev/block/vold/259:3
12062752 235744 11827008 2% /mnt/secure/asec
/dev/block/dm-1 52924 50252 2672 95% /mnt/asec/com.android.chrome-2
/dev/block/dm-2 15576 13456 2120 86% /mnt/asec/com.zynga.words-1
/dev/block/dm-3 3124 1560 1564 50% /mnt/asec/net.hellcat.droiddev.sgs2bootlogo-1
/dev/block/dm-4 41512 39648 1864 96% /mnt/asec/com.ludia.jurassicpark-1
/dev/block/dm-5 57076 54608 2468 96% /mnt/asec/com.chrome.beta-1
/dev/block/dm-6 19724 17844 1880 90% /mnt/asec/com.picsart.studio-2
[Galaxy S II Themes and Apps] 911-Future_Maker:
Exactly mate. In my research this mnt/asec folder is used by one app, but it's not by other, which is using data/app instead. You can random check you have a lib folder for each one app installed in a corresponding folder in data/data, but for an "asec" apps this .lib file is also in mnt/asec as well. Even more, it creates an .asec file for these apps which are in mnt/secure/asec - an action that doubles the used space...
[Galaxy S II Themes and Apps] Blackman75:
So did you mean 4GB is the max or min to partition as ext3? And I understand correctly that it is usable? If so do you mean for programs too or just stuff like vids, music and pics?

Oh wait I was just doing some reading. Is the 4GB ext3 where the apps go to? Sorry I am a bit confused.
[Galaxy S II Themes and Apps] zzztidurvirus:
Im using vold.fstab trick and have not had any problems. I did settings>clear all before I did vold.fstab. Maybe it needs clean install before using vold.fstab?

Now using:

Sony Xperia tipo ST21i

stock 4.0.4

11.0.A.4.22

(rooted, locked bootloader)

---------- Post added at 09:43 AM ---------- Previous post was at 09:39 AM ----------

The ext3 size can be as big as you like. Oh , the ext3 will be used for link2sd, while those gameloft data files will go to fat32. I can hide my media files in that ext3, since I can see it only on the phone.

Now using:

Sony Xperia tipo ST21i

stock 4.0.4

11.0.A.4.22

(rooted, locked bootloader)
[Galaxy S II Themes and Apps] Blackman75:
This is awesome if I can get it to work! Noob here. By cold boot you mean just turn the phone off and back on right? What will happen with the stuff already on the internal SD (internal memory)? Does that have to be moved? And how am I editing all this? Lastly, this works with ICS right?
[Galaxy S II Themes and Apps] zzztidurvirus:
Edit vold.fstab, then shut down the phone completely then turn the phone back. You can just copy everything to ext sdcard, or if it had errors, just reinstall everything. But no need to download the big game data since you copied everything to your new "internal storage".

Rename vold.fstab to vold.fstab.txt then edit using text editor (i use xplore), then rename it back to vold.fstab, overwrite the original, apply proper permissions, restart phone, check your new "internal" now.

Im on ics too, stock, and working. And the new "sd card" even have the unmount sd card menu. Better leave it alone.

Now using:

Sony Xperia tipo ST21i

stock 4.0.4

11.0.A.4.22

(rooted, locked bootloader)
[Galaxy S II Themes and Apps] bsoplinger:
So awesome you felt a need to quote like 100 lines just to say this? Noob indeed

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Galaxy S II Themes and Apps] Blackman75:
Whatevs bro. I was in a hurry and just quoted quickly and didn't have time to edit. Noob to Android not to forums and the internet. Sheesh. :rolleyes:

---------- Post added at 12:10 PM ---------- Previous post was at 12:07 PM ----------

Thanks man. Where do I find vold.fstab though? Also once I've swapped can I unmount the real external card which will now show like the internal?
[Galaxy S II Themes and Apps] egingell:
/system/etc/vold.fstab

Technically, yes (via script: umount /sdcard), but you will get a lot of FC's of Samsung Internal, the Media server, and various other apps until either you reboot or the system reboots itself.

My thoughts on why: after unmounting, the directory becomes part of rootfs and is therefore read-only which causes problems when the apps rely on it being read-write or the apps can't find the /sdcard, which should always be there, and panic because there's no edge-case for that.
[Galaxy S II Themes and Apps] Blackman75:
Thanks and yeah that makes sense. Going to try this on my LG L9 soon.

Oh and if I switch to Jellybean after this will things be messed up somehow? Is it better to wait for the switch and then do this?
[Galaxy S II Themes and Apps] d_bizzzz:
Where does all the internal disk space go ?

I am an APP-O-HOLIC ... stacks of apps, the total of app+data space on my external 64gb card is almost 30gb ...

all connected using directory bind and works flawless ... this is by far my most used and appreciated app ..

There is something puzzling me tho ...

The sdcard (internal) is showing as using 10gb (600mb free), yet when I plug into a PC and unbind it's showing only using 151mb on the sdcard (internal), loads of un-used space free

So my question is why when directory bind is running is it taking all the sdcard (internal) space up ?

I can't figure out where it's all hiding ,,, could it be a mass of shortcut bind links ,,, any help or advise would be appreciated
[Galaxy S II Themes and Apps] Ge B:
Thanks guys,

I registered to firstly thank you because through this thread I figured how to create my little script which i use to mount/unmount my external SD on android 4.1.2.

For noobs (like me), created it with the Smanager App from playstore, and control it via SMWidgets.

#!/system/bin/sh

mount -o bind /mnt/extSdCard/Android/obb /mnt/sdcard/Android/obb

mount -o bind /mnt/extSdCard/Android/data /mnt/sdcard/Android/data

Secondly, I will go try the vold.fstab magic next, just wonder if it will also work in 4.2.x?

And thirdly, I'd like to share this url which exlains a lot and is official .. hoping it may help.

(Must add https: before) //android.googlesource.com/platform/docs/source.android.com/+/master/src/tech/storage/index.md#

Cheers!

Ge B

Galaxy note 2 lte

4.1.2 stock rooted
[Galaxy S II Themes and Apps] 911-Future_Maker:
It works on any rom mate. :)
[Galaxy S II Themes and Apps] d_bizzzz:
Where'd all the internal space go ?

Please can somebody help ?

I have unbound all my directories and checked, my internal sdcard is showing as using 9.5gb for apps

Doesn't seem to make any difference if I have the /Android/Data folder bound or not

(when unbound the sdcard/android/data/ folder is showing only 54mb in size)

When I run a check using ES Explorer how much disk space is being used total on the internal /sdcard it is only showing 150mb

There are many folders that reside a level back from the sdcard, such as /data/app-asec and data/dalvik-cache that seem quite big,

could these possibly be where the 9.5gb is being taken from, can these be deleted ?

I can't seem to locate exactly where the mysterious 9.5gb of app data is actually being taken from ,,, I have rebooted a few times now and no difference

Has this happened to anyone else ,,,

Any ideas ??
[Galaxy S II Themes and Apps] danarama:
Try run "Disk usage" app.

BTW when you bind, you move the data OFF the internal sdcard onto the external one. Its there whether the directories are bound or not.
[Galaxy S II Themes and Apps] d_bizzzz:
Getting closer ...

Fantastic advice rootSU many thanks.

Disk Usage is a fantastic tool, and has indeed shown me where all that space is hiding ..

It appears that a majority of the 9.5gb is being held up in these folders showing in the root:

/data/data

/data/app

/data/app-asec

I've still got plenty more space on my external SD card, but it's not letting me bind these folders over ,,,

.... are there any tricks to get it to work ??
[Galaxy S II Themes and Apps] danarama:
You can't bind data/app or data/data with this application. The confusion comes because on a normal phone /sdcard is the removable sdcard and /data is internal memory where apps go, but on the Galaxy devices, the internal /sdcard shares the same space as /data (Mounted in /data/media)

The issue here is that there are different file systems. We have FUSE which allows /sdcard to be FAT or exFAt etc but that is actually within /data/media, where as the rest of /data is ext format (which are not compatible with each other) so you can't bind something in ext4 to something in vfat anyway.

Old school methods usually include adding an ext partition on the sdcard (so you have a compatible file system) and use scripts to move that, although I would recommend binding as much /sdcard stuff as you can thats not in /data/app or data/media.

I hope this makes sense. Please ask if something doesnt make sense.
[Galaxy S II Themes and Apps] d_bizzzz:
That's excellent advice, many Thanks ...

I previously used LINK2SD and S2EXT on my old device and they worked great ... may investigate that avenue again as a solution.

Do you know if these apps would run ok alongside Directory Bind ?
[Galaxy S II Themes and Apps] danarama:
They *should* do as they tend to use symlinking rather than mount bind, but I haven't try it so I can't say for sure.

S2E I think only works with CM though Doesn't it?
[Galaxy S II Themes and Apps] egingell:
If by "same space" you mean "same physical media", then yes, but nothing is mounted to /data/media on my Galaxy device.
[Galaxy S II Themes and Apps] danarama:
Well both actually.

The eMMC is the physical media, of course.

But actually by "share space" I meant virtually. In /data/media, Samsung mounts the /sdcard as a vFAT (exFAT, FAT32 whatever). This is why FUSE is required (Filesystem in userspace) as /data itself is ext4. This is on the S3 by the way, which d_bizzzz and I have. I'm not sure about the S2, but this thread long transcended the realm of being device specific ;) - This is the same for the Note 2 and the galaxy tab devices too I believe.

Anyway on our 16GB device (S3), we have 11.35 GB of usable space. This space is shared by /data/* and /sdcard (/data/media) so install an apk, 11.35 goes down. Film a video, 11.35 goes down. You cannot simply give all the 11.35 GB to /data or /sdcard as then you need to give something to the other. It's pretty clever actually.
[Galaxy S II Themes and Apps] d_bizzzz:
Yea CM only for S2E, which as I can remember ran very well on my Desire HD ..

I'm using S3 stock rom and will give LINK2SD a try over the weekend ...

what's the worse that can happen ... ulp :S

CWM backup on standby ;)
[Galaxy S II Themes and Apps] danarama:
Backup /sdcard and /extSdCard to pc too...
[Galaxy S II Themes and Apps] alexgold7:
Is this works on xperia j?I download it but there's not .apk file.How can i do it?
[Galaxy S II Themes and Apps] madmack:
Initial release of my app is out (Yes, it supports Android 4.2.2)

http://xdaforums.com/showthread.php?p=39178981
[Galaxy S II Themes and Apps] egingell:
I have the S2. The eMMC is partitioned into 12 separate partitions.

Model: MMC MAG4FA (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 4194kB 25.2MB 21.0MB ext4 EFS <-- Carrier info?
2 25.2MB 26.5MB 1311kB SBL1 <-- One of these is BOOT.
3 27.3MB 28.6MB 1311kB SBL2 <-- One of these is BOOT.
4 29.4MB 37.7MB 8389kB PARAM <-- Boot screen(s) and phone-off-charging graphics (maybe other stuff).
5 37.7MB 46.1MB 8389kB KERNEL <-- The kernel obviously.
6 46.1MB 54.5MB 8389kB RECOVERY <-- Recovery, maybe.
7 54.5MB 369MB 315MB ext4 CACHE <-- /cache
8 369MB 386MB 16.8MB MODEM <-- Das modem.
9 386MB 923MB 537MB ext4 FACTORYFS <-- /system
10 923MB 3070MB 2147MB ext4 DATAFS <-- /data
11 3070MB 15.4GB 12.4GB fat32 UMS <-- /sdcard
12 15.4GB 15.8GB 327MB fat32 HIDDEN <-- /preload ???

This setup makes absolutely no sense to me. There's no reason they [Samsung] can't lump most of that stuff (in terms of available space) together on the same partition (specifically: CACHE, FACTORYFS, DATAFS, UMS, and HIDDEN).
[Galaxy S II Themes and Apps] danarama:
Yes I have about 12 too..
[Galaxy S II Themes and Apps] sldier11:
GL to SD(root)

Has anyone tried the GL to SD(root) app it works for my Nexus 7 on 4.2.2

I would post links but I'm too much of a newb! Search for it on the Google Play Store, there's a separate link for Nexus 7 users.
[Galaxy S II Themes and Apps] Colton127:
I can't, for the life of me, get this App to work on my SIII running 4.2.2. It just doesn't work. All my games want to re-download the data, when I have everything mounted properly as far as I know, and the files are there and downloaded! Any ideas?
[Galaxy S II Themes and Apps] danarama:
Correct. This and most other apps don't work in 4.2 due to changes in android. Use either my script linked in signature or app.posted by madmack a few posts back
[Galaxy S II Themes and Apps] 911-Future_Maker:
Well probably I'll never do a upgrade to 4.2.2 then. :silly:
[Galaxy S II Themes and Apps] danarama:
Why not? Its a better os. ...and we have work arounds
[Galaxy S II Themes and Apps] zzztidurvirus:
If this is too confusing, maybe you should try vold.fstab or sd2extcard mod.. For s3, sd2extcard mod is a script since s3 shows weird stuff vold.fstab.

Now using:

Sony Xperia tipo ST21i

stock 4.0.4

11.0.A.4.22

(rooted, locked bootloader)
[Galaxy S II Themes and Apps] d_bizzzz:
Link2SD & Directory Bind in harmony

LINK2SD works great alongside Directory Bind, I can remember having trouble with LINK2SD in the past (altho I did max it with a not recommended 8gb ext partition, but this time I've set it to 4gb ,, and I'll keep an eye on it.

Many Thanks for your help and advise rootSU, thanks to you I am now getting back some disk space :)
[Galaxy S II Themes and Apps] ivaneris:
It's differ afaik link2sd just create link for app...you can't link a folder...and you had to make secondary partition ..

Sent from my LG-P990
[Galaxy S II Themes and Apps] sicex:
This is easy and i just used it too

http://www.howtogeek.com/114667/how...y-default-move-almost-any-app-to-the-sd-card/

however the steps are a bit dated for most devices instead of the command adb shell "pm setInstallLocation 2" instead enter "pm set-install-location 2" ^_^ i found this easier than dealing with app
[Galaxy S II Themes and Apps] SmileAsTheyDie:
Shouldent when you bind the app data to the external sd it shouldent show up in the internal sd if you looked via file manager? because for me it appears in both my internal and external sd which makes me believe that something is not working right, defeating the purpose of the app
[Galaxy S II Themes and Apps] egingell:
No, it *will* show up in both places. A bind is effectively a symlink, but symlinks cannot be made on FAT32 formatted file systems. And it must be setup like that because the app will continue to look in the old location for the files.
[Galaxy S II Themes and Apps] m.mcrespo:
I see too in both places but when i look in file manager. I see that just in SD card I lost space after install new app. So I think this working ok for me.

Enviado de meu GT-P3100 usando o Tapatalk 2
[Galaxy S II Themes and Apps] sumisumisumi:
Couldn't find this problem anywhere in this huge thread...apologies if I missed it in my search.

Every App that I've wanted to move with this (namely apps that download huge data files after installation), starts spitting out certification or licensing errors once I've moved the directory to the SD card.

Is anyone else having this problem? Or, have some advice? I've tried running patchers to remove the verification step, but I still get the errors
[Galaxy S II Themes and Apps] ivaneris:
Are you sure binding correct folder?

Sent from my LG-P990
[Galaxy S II Themes and Apps] joehempel:
Well I'm at a loss.

I'm using the Motorola XT886, I'm rooted, I've installed this thing (although after un-installing it will NOT let me re-install, says I don't have enough space which is a lie), and it just sits at copying 1 file 100% and that's it.

The files do NOT move.

I don't know what I'm doing wrong.

I've tried to re-install the app as well, and it now will not install....so I'm really frustrated. I can install anything else it seem except any of the apk files.
[Galaxy S II Themes and Apps] narmur19:
May be working better than you realize

I was disappointed when I read that the app does not mount in mass storage mode, as I wanted to use it to link media onto my internal sd since my car reads media from the internal sd in mass storage mode for playback

however

it works perfectly, even in mass storage mode. My computer reads the internal sd directory as my external media folder, just like if I had used a symbolic link or junction on my pc, and so does my car

so I dont know if you changed something, or its just luck, but you just made my day brother, thanks for the great app
[Galaxy S II Themes and Apps] egingell:
The computer should treat both cards as media devices even without this app. Mine does.
[Galaxy S II Themes and Apps] beryenbeh:
i have a problem and im confused. help guys. so i tried doing this and it worked. for some reason, i took a few pictures yesterday and today, but when i try to open them using gallery or even quickpic, im not able to view them. i tried opening using root explorer but it still wouldn't work. any help is appreciated.
[Galaxy S II Themes and Apps] joehempel:
Mine does....but does that mean I can manually move the app since it does? I can't install directory bind. It says I have no space even though I have 1.2GB on my internal storage
[Galaxy S II Themes and Apps] egingell:
You can manually move anything you want, but the app will still look in the old location. Alternatively, there is an option in DirectoryBind to disable unmount when mass storage is on and you can use Multi Mount SD-Card to have the cards available to Windows *and* Android.
[Galaxy S II Themes and Apps] joehempel:
I'll have to check it out more...I'm having problems with directorybind not really moving things...at least it's what it looks like on the outside anyway.
[Galaxy S II Themes and Apps] Dan Law 001:
I have a question. In fact, how come the source directory is the external card and the target is the internal card and not the opposite? I want to transfer the data from internal to external. Therefore, the data should be transfered from the source to the target, right? And even I add a path, I don't know why the app is just copy everything from one point to another and if I make a change on the file in the original directory, the file in the external directory remains unchanged. And I just don't know why there's still something in the original directory; do the app suppose to transfer everything I have in the original directory to a new directory and everything that suppose to be in the original one is now in the new one and not in both?
[Galaxy S II Themes and Apps] NoSubstitute:
Sadly, the language is wrong and always has been and since the original coder is gone, I'm pretty sure it will never be corrected.
[Galaxy S II Themes and Apps] kt-Froggy:
Logically, yes, I agree with you. In reality, though, the app is using a reversed terminology -- it's just the way it is, deal with it. :) Source is where you want your data, and the target is where you are moving it from.

Yes, that's exactly what it's doing for me. Files only physically exist in the new location (ext. SD), which is clearly evident when I unbind the location -- I don't see anything in the corresponding folders in int. SD. BTW, I usually don't let the app move the existing data at the time of setting up a binding -- I move it manually using a filemanager, and then create a binding between two locations. It works either way, but it's just my preference, no particular reason for it...
[Galaxy S II Themes and Apps] aamirhussain17:
galaxy gt i900

Sir i am using cyanogen mod 10.1 and i am having a issue that all entries just disappears after first use and cant get back after check the option u said also i cant get any of ur newer version of this app plz do help me am using ur 2.0 o version and plz do give me ur updated file link
[Galaxy S II Themes and Apps] joehempel:
Okay, so I think I got it working. However, when I open back the application, the bindings are no longer listed.

They ARE still bound, it's just I cannot un-bind them etc.

How do I get them to show back up? Do a force close and re-open?
[Galaxy S II Themes and Apps] danarama:
Have you tried the Alternate Dbase management setting as per post 1?
[Galaxy S II Themes and Apps] joehempel:
Just did that...they didn't show back up. Rebooting phone to double check.

Just root user, no rom, no task-killer installed. ICS is the OS

EDIT: After rebooting phone, it still is not showing
[Galaxy S II Themes and Apps] egingell:
Did you readd them? Once they're gone, they won't come back on their own.
[Galaxy S II Themes and Apps] Chupacabra6969:
Really awesome app. Compatible with every game I had. Really nice job.
[Galaxy S II Themes and Apps] joehempel:
I did. They disappeared again. But the bindings do in fact stay
[Galaxy S II Themes and Apps] beryenbeh:
any help about this?
[Galaxy S II Themes and Apps] egingell:
Your lack of basic troubleshooting information is why people aren't helping you.

Error message?

What does it do... specifically?

Etc.
[Galaxy S II Themes and Apps] beryenbeh:
when i take a picture and try to open it with gallery/quickpic, it says "load failed." before that, when i didnt have the directory bind app, i was able to view any pictures. my old pictures are viewable but not the ones i took after i used directory bind. i know it has something to do with directory bind.

before directory bind:

- any picture i take is viewable

after directory bind:

- any picture i take says "load failed" when i try to open

i'm asking maybe there is a way to go back to the previous settings? or maybe delete the app? sorry if its confusing but my note 2 is a few weeks old. hope i cleared it up and have some answers so i can fix this. thanks!
[Galaxy S II Themes and Apps] egingell:
Ok, that sounds familiar.

You can unbind the folders (remove the entry from DirectoryBind or uninstall DirectoryBind and reboot). The pictures won't get moved back but can still be looked at with Gallery.

Also, why use DirectoryBind to relocate the DCIM folder contents anyway when you can just change the storage location in the Camera app? This app is really only useful when there is no option to change where an app stores its data.
[Galaxy S II Themes and Apps] beryenbeh:
i uninstalled already and its still doing the same thing. i just tried going to gallery and those same pictures (even new ones i take) still says "load failed" so i'm not sure what else to do. maybe i did it wrong in the beginning. not sure to be honest. i guess i have to restore my old backup later tonight. thats probably my last resort lol
[Galaxy S II Themes and Apps] john_smith:
i continue to try to find a solution , until this, anyone can help me to configure on 4.2.1 (emulated/0), because i installed new rom and i cannot acces to all data

thanks and sorry for my english
[Galaxy S II Themes and Apps] danarama:
There are various other solutions. I have a script for touchwiz roms and madmack has a beta app
[Galaxy S II Themes and Apps] john_smith:
i tested the madmack aplication and it´s very interesting but not have autoboot that it´s very important on my opinion, i try to find the script to see it, and wait for new version of directory nind or madmack.

thanks