Internal sdcard showing twice in jelly bean? - Asus Transformer TF700

After updating I have 2 locations from my root directory for my internal sdcard.
/sdcard
/storage/sdcard0
Which are essentially the same locations and seem to be an alias of each other. They both point to /sdcard and show the exact same files and folders. :cyclops:
What this means is that some apps see and report 2 sets of data like kindle for example.
Can I remove one?

No one else getting 2 internal sdcards showing then?

That's the way its always been... its normal, don't worry about it.
Sent from my SPH-D710 using Tapatalk 2

Related

Change mount point for SDCARD

I have seen this mentioned but no solution. (It's been causing mild headaches for lots of things from storing camera pics to flashing ROMs)
Is there a way to get the Transformer to use the SDCARD as the actual default storage point?
It's a severe pain that everything defaults to the internal storage that it thinks is external then I have to move everything to the external SDCARD after that.
It would be a moot point but I have a 32GB SDCARD that sits empty while my internal storage fills up. I store a lot of music and movie files for editorial, etc and the Transformer is great for that. . .except for the dumb mount points of the sdcard.
You could make a soft link in /sdcard/ that points to /Removable/MicroSD/ but your sdcard has to be formatted NTFS to support it. I would assume the mount points for removable media are located in /etc/fstab
This drives me a tad crazy as well. That and the naming convention. Should be under /media/ or /mnt/ but "/Removable/MicroSD/" is a ginormous pain when you're using to unix/linux media mounting conventions or navigating under the shells
Oh well.
Sent from my Transformer TF101 using XDA Premium App
This was done for other devices such as the Notion Ink Adam so I know it's possible.
sent from a device using an app
uncorq said:
This drives me a tad crazy as well. That and the naming convention. Should be under /media/ or /mnt/ but "/Removable/MicroSD/" is a ginormous pain when you're using to unix/linux media mounting conventions or navigating under the shells
Oh well.
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
I'll agree with that, but its something I can over look. I'm assuming you would has to change this line in /etc/vold.fstab
Code:
dev_mount microsd /Removable/MicroSD auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
just have to get the docks sdcard to mount into the devices internal memory "sdcard" in the same manner the microsd does, should be fairly easy to do, just have to poke around a bit to see how microsd is being mounted
I try link 2 sd and data root 2 sd on the market, but the apps would not recognize the microsd. So there no way of linking to the sd by apps.
Sent from my Transformer TF101 using Tapatalk
I try link 2 sd and data root 2 sd on the market, but the apps would not recognize the microsd. So there no way of linking to the sd by apps.
Click to expand...
Click to collapse
Exactly. I would consider this a fairly obvious flaw to Asus that they change the accepted behavior being used everywhere else. Overall happy with the device but this is causing a headache since it's the only android device I have that operates this way it's not something I can just "get used to" as the odd man out. Why include external storage (a major reason for this over the Galaxy Tab 10.1 for me) and then make it a pain to use?
I'm assuming you would has to change this line in /etc/vold.fstab
Click to expand...
Click to collapse
Will see if that helps but wondering if this would cause a conflict elsewhere.
I'm making this too complicated in my head.
Simply: The internal and external mount points should be swapped.
Anything I want on the internal storage I can move, but that's fewer and further between than the sdcard. Maybe some music or whatnot.
This would solve other problems like ROM managements, etc.
one more thing... if it's just photos you are wanting to move, you could
"ln -s /sdcard/DCIM /Removable/SD/DCIM"
all new photos taken will end up on SD I might have that backwards? type ln in terminal with no arguments, and it will tell you what you need
do this for any folders you want on SD, then androids core stuff that apps need, and you don't need elsewhere still stays internal
I get "operation not permitted" for some reason. I have root permissions. Sudo, etc.
bitter1 said:
I get "operation not permitted" for some reason. I have root permissions. Sudo, etc.
Click to expand...
Click to collapse
FAT32 doesn't support symlinks.
Try this instead.
Regards,
Dave
Oh yeah, duh. Will give the other a shot.
I have to stick to FAT32 because I occasionally have to use OSX to shuffle things around.
dan-htc-touch said:
one more thing... if it's just photos you are wanting to move, you could "ln -s /sdcard/DCIM /Removable/SD/DCIM"
Click to expand...
Click to collapse
You also need to be root or prefix that with sudo
foxmeister said:
FAT32 doesn't support symlinks.
Try this instead.
Regards,
Dave
Click to expand...
Click to collapse
cd /mnt/sdcard
mkdir fssd
mount -o bind /Removable/SD /mnt/sdcard/fssd
yeap that works.. Thanks..
If your running Prime (Or something that supports init.d scripts), you could add that command to one of the files in /system/etc/init.d/ to make it automatically run at boot
Tortel1210 said:
If your running Prime (Or something that supports init.d scripts), you could add that command to one of the files in /system/etc/init.d/ to make it automatically run at boot
Click to expand...
Click to collapse
I just did that to 07 and no joy
After reboot no effect. I'll play some more later.
which command did you add? you only need to add the last one.
brando56894 said:
which command did you add? you only need to add the last one.
Click to expand...
Click to collapse
sure. only that one.
maybe the MicroSD (yeah changed it) is not mounted yet when the script runs?! or does the script run at all?!
off to bed now. tomorrow is another hot day.
I think you need to prefix it with /system/xbin. Heres the command I used in my init scripts:
Code:
/system/xbin/mount -o bind /Removable/MicroSD/DCIM/ /sdcard/DCIM/
That code will make pictures save on the micro sd card instead of internal memory.
Also, make sure the folder in the internal memory where you want it to bind to the external storage is empty.

[APP] swapsd beta: Samsung

Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well. Note: This app is not compatible with CyanogenMod. Root is required.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required. Easy install: copy the apk file to your SD card and open with a file manager.
Please nandroid backup before testing!
If you get "Unknown Error, Contact Developer" you are more than likely not properly rooted! This app requires Superuser and Busybox to properly function!
Please note that if you've already moved existing apps to SD or existing apps have placed support files on SD, swapping mount points is not a good idea. Uninstall these apps, then reinstall after swapping.
jocala said:
Tested on the Samsung Galaxy Exhibit only. If your device's /system/etc/vold.fstab file matches the attached fstab file, it may work for you as well.
Please nandroid backup before testing!
Click to expand...
Click to collapse
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Works on any rom?
Sent from my GT-I8150 using xda premium
willynatedgreat said:
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
Click to expand...
Click to collapse
The Galaxy Exhibit 4G was formerly known as the Exhibit II 4G
mosta_9741 said:
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Click to expand...
Click to collapse
The fstab.txt is the original from the Galaxy Exhibit. It's attached so you can compare it to the /system/etc/vold.fstab on your phone. If the two match, this app may work for you.
Karmalot said:
Works on any rom?
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
So far.
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Pkt_Lnt said:
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Click to expand...
Click to collapse
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
jocala said:
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
Click to expand...
Click to collapse
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
sd/swap beta
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
Click to expand...
Click to collapse
The swapsd.apk in this thread is the app. Disregard any links to zips, they are outdated.
roto rooter said:
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Click to expand...
Click to collapse
I've attached a screenshot to the OP, hopefully that will help. It's pretty simple:
Root is required. Run the app, you'll see four buttons, Help, Default, Swap, Reboot.
To swap sd and external_sd press Swap.
To return to default, press Default.
Once you press either of the buttons above, press Reboot.
For instructions, press Help.
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
Click to expand...
Click to collapse
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
jocala said:
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
Click to expand...
Click to collapse
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Pkt_Lnt said:
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Click to expand...
Click to collapse
Glad it worked out for you. Good luck with your Galaxy Exhibit
jocala said:
Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required.
Please nandroid backup before testing!
Click to expand...
Click to collapse
How to change the file?
Many thanks
NOLAchick said:
How to change the file?
Many thanks
Click to expand...
Click to collapse
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Pkt_Lnt said:
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Click to expand...
Click to collapse
That's the big question....for us noobies
Tanks though...
NOLAchick said:
That's the big question....for us noobies
Tanks though...
Click to expand...
Click to collapse
Copy the file to your SD card. Open it in your file manager.

File manager not reading external or internal

I'm rooted and running cm9 stable. For some reason after flashing cm9 no file manager is working. Anyone else having this issue? Is it because I'm rooted?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
What file managers have you tried? What is the exact error? What happens when you try?
I've tried astro, es, root explorer. And no error pops up its just I can't read any files like I use to on stock. When I got to my external sd there's nothing there. And I know it's there because everything is have on my sd card is on my phone. Very annoying. I've tried almost all file managers. I'm running cm9.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Can you verify that both /sdcard and /emmc are empty as per the file managers? Can you access the data (lets say pictures) via the gallery app?
Yes I have music, pictures, and video on sd and I can access them all on the gallery/media player
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
promiseofcake said:
Can you verify that both /sdcard and /emmc are empty as per the file managers? Can you access the data (lets say pictures) via the gallery app?
Click to expand...
Click to collapse
Please verify that /emmc and /sdcard mounting points are empty via file manager of choice.
Also what this feels like to me is that you are not aware of the way CM9 mounts your Internal/External SD cards.
Internal Memory: /emmc
External SD: /sdcard
Now you will have a folder called "external_SD" on your memory card, this is a left over from stock and will not function as before.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I don't know what you mean man.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
feelinfroggy23 said:
I don't know what you mean man.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I edited my post.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I did not that all the files did that emmc somewhere. So I can view my external and internal now?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Not sure what you're trying to say but /emmc is the internal memory and /sdcard is external SD card.
You probably are not seeing your files because they are all in the /emmc "folder" (which used to be called sdcard when you were on a stock rom)
In ES File Explorer go to "Settings" > "Root Settingsā€œ and mark the "Up to Root" option.
Exit settings you should see "/sdcard" at the top of the app.
Press the "UP" button on the toolbar, it will now display "/" at the top of the app.
Congratulations, you have made it to the very top level of your devices file system.
You will find "emmc" and "sdcard" which are your internal and external "memory card" locations.
Shazam.
If for any reason you don't see this, attach a screen shot at each step and add them to this post.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Sorry about my previous reply I didn't even understand it either lol. Is there any way I could do this with astro. I'm not failure with es at all.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
feelinfroggy23 said:
Sorry about my previous reply I didn't even understand it either lol. Is there any way I could do this with astro. I'm not failure with es at all.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I don't use Astro so I cannot guide you but I can say you need to get to /emmc or /sdcard. You either have to go up to the root filesystem "/" or access the "folders" directly via "/emmc" or "/sdcard" I don't know how many times I can say it.

[Q] Kindle app on CM 10.1

Before when I was using AOKP on my Tab2 7", was using Directory Bind to bind my Kindle directory to SD card so as not to use up valuable storage space. Everything was fine.
Now that I've installed CM 10.1 which is based off of Jelly Bean 4.2.1, and allows for multiple users, the directory format has changed. Instead of everything falling under /sdcard/... it's now /storage/emulated/x/ where x is a number starting with 0 and increasing for every new user. I'm guessing that's where the new Kindle storage directory is looking for titles. When I try to use directory bind to bind to /storage/emulated/0/kinidle, it fails with "Enter valid target directory".
Anyone else seen this? I'd post in the dev forum, but I don't currently have enough posts to do so.
[A] Kindle app on CM 10.1
pumkinut said:
Before when I was using AOKP on my Tab2 7", was using Directory Bind to bind my Kindle directory to SD card so as not to use up valuable storage space. Everything was fine.
Now that I've installed CM 10.1 which is based off of Jelly Bean 4.2.1, and allows for multiple users, the directory format has changed. Instead of everything falling under /sdcard/... it's now /storage/emulated/x/ where x is a number starting with 0 and increasing for every new user. I'm guessing that's where the new Kindle storage directory is looking for titles. When I try to use directory bind to bind to /storage/emulated/0/kinidle, it fails with "Enter valid target directory".
Anyone else seen this? I'd post in the dev forum, but I don't currently have enough posts to do so.
Click to expand...
Click to collapse
I've exactly the same problem and tried so many solutions but nothing seems to work i've tried binding directories manually but apps don't use mounts done like this. For example i use eComic app to read comics (i've more than 5Gb of comics) and it uses a folder on "[internal sdcard]/eComic". I've binded this folder for another one on extSdCard, but it doesn't see comics downloaded. I've tried using my scripts in init.d directory or userinit.sh or other scripts using ScriptManager, all they are executed at startup but after that everything is exactly as before mounting. I'm exausted of this and i think to revert to stock rom i've an internal sd card full and a 16gb external sd card empty... this is so stupid
Same problem here! I wonder how come it's possible that no one found a solution for this yet.

[Q] Internal storage problem

I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
kemmycupid said:
I have a p5113 galaxy tab 2 originally running jb 4.1.1. I upgraded to cyanogenmod 10.1 jb 4.2.2....i don't know much about how the sd card setup works but when I use root explorer I can see my sd card and my external sd. When I was flashing the rom again I notices that what is usually the highest level of the file system isn't really the highest level. in other words what is usually /system is actually /0/system and there are other files at the same level as the /0 file. The files appear to me to be the left over bits from the previous os... In other words they are the /sdcard/android/ and sd/card/pictures type files.... I'm concerned that they are taking up space... How do u get access to these files and is if safe to remove them?
I know this want the most articulate explanation of the problem but I hope I explained it well enough..... It's like I have an sdcard directory containing my root directory. If that's the way the rom works that's fine, but I would like to remove the extra files to get more space
Click to expand...
Click to collapse
do factory reset

Categories

Resources