While using WiFi Explorer to attempt to delete a file from my external sdcard I seem to have deleted the whole external sdcard directory on my stock Rezound. I have tried factory reset, but that doesn't add the missing directory back. As it is now my external card won't mount. I'm sure that there used to be a directory called ext-sdcard or something similar, but there isn't anymore.
If someone could please give me a very detailed walk-through of how to fix this, I would be very grateful. I'm 65+, not too terribly up on this stuff, but I am pretty good at following exact directions to copy and paste when it comes to rooting, etc.
Thanks in advance.
Can't say that I have been in that situation, so I'm not really sure what you deleted. If you just deleted the shortcut, then your data might still be there. Just so we're on the same page, do you have ES File Explorer installed? If not, can you download it from the Market?
Once you launch it. It should take you to the Internal sdcard. Do you see any folders or files? Look for "ext_sd". Might be wrong, but I believe that is just a shortcut to your External sdcard, not your actual card. If that folder is not there, hit the menu button, select New, folder, and name it... ext_sd
If that doesn't work or you do not care about the data on your cards, you could always try reformatting the sdcards. (Just be warned. If you do that, you WILL lose any data that might on the cards, such as pictures.) It should be on the same settings menu as the factory wipe was. First try "Erased SD card". If it is greyed out, select "Unmount SD card" first. If you still can't access the card, try erasing phone storage. Once reformatted, it may reload your ext sd card mapping.
I had a similar problem, since there is /sdcard and /sdcard2 in the root (top-level) directory I figured those were the actual mount points and /mnt/sdcard and /mnt/sdcard/ext_sd were symlinks. It turns out it's the exact opposite so I essentially deleted about 25GB worth of stuff I had on there.
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
The mount command shows where it's mount point actually is. Like said above it is in /mnt/sdcard/ext_sd
/dev/block/vold/179:65 /mnt/sdcard/ext_sd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0202,dmask=0202,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
"Incorrect syntax" now
brando56894 said:
Essentially you need to recreate the directory either from a file brower with root access (such as es file manager) or from the command line.
Run this command via either adb shell or a shell/terminal on your phone when you have root access: mkdir /mnt/sdcard/ext_sd
Click to expand...
Click to collapse
I really appreciate the help. OK, I unlocked it, got root and tried to run the command "mkdir /mnt/sdcard/ext_sd" (without the quotes) with adb. The message I received back was "The syntax of the command was incorrect".
Hopefully I am a lot closer than I was.
If you don't mind, can I make a suggestion? Have you ran the latest .22 leaked RUU or any updates prior to this? Maybe look into Cleanrom 4.2(if you flashed the leak) or Cleanrom 1.7.5(if no leak). May be worth your time and patience to do this instead, as time is money.
Got it working - Thanks everyone
Prize goes to the suggestion of installing the leaked 4.0 Took me all day to figure out how to use adb, (it's hell to get old, kids), but finally all the stars were aligned and voilla. ICS kicks butt! Tomorrow I will see if I can remember how to unlock this thing again and install CleanRom. Again, thanks to all the helpful and friendly folks out there.
Glad you got it fixed!
Related
Hi folks,
As you know, the Sony media and video player didn't show the mp3 and videos on the external SD card in his library.
Now my idea was to mount folders of the external sdcard into folders on the internal sdcard.
Solution:
I created a script for mounting photo, video and music folders from ext. sdcard to the corresponding folders on the int. sdcard. After successful tests, I implemented init.d support on my Tablet S for a 'autostart' solution at boot time and moved the script to 'init.d' folder. For me it works great and fulfilled my requirements 100%.
Enclosed the content of my 'automount' script:
#!/system/bin/sh
# need sleep 75 for right timing maybe you can reduce it to 30
sleep 75
mount -o bind /mnt/sdcard2/Music /mnt/sdcard/Music
mount -o bind /mnt/sdcard2/Video /mnt/sdcard/VIDEO
mount -o bind /mnt/sdcard2/Fotos /mnt/sdcard/Pictures
Click to expand...
Click to collapse
Here you can find my [HOW_TO] for init.d support:
http://forum.xda-developers.com/showthread.php?t=1505340
P.S.: If it do not work for you, try to increase the sleep value. If you have a 'fresh' system 30 should be enough ... if you use two or three widgets 'sleep 75' could be ok ... and so on ...
I hope that someone has the technical knowhow how to do this, that would be great to access extra memory
also one interesting thing in build.prop:
Code:
ro.separated.external.storage=true
Would you try what happened if you change to "false"?
I found the same entry ... but do not know what it mean.
Saw the same thing myself, but don't have an SD card with me, so I wont get to try till I get home.
But I guess the change of the mount point in the /etc/svold.fstab is particularly promising. I still waiting for a rating of a expert. No one here?
Changed that line in true, rebooted.
Openend up Poweramp and this had to scan my folders again.
Sd Card still there and working but nothing more I think.
Can't really see if there's anything changed.
I tried:
Removing nosdcard from ro.build.characteristics
Changing ro.external.storage.removable to true
Changing ro.separated.external.storage to false
I haven't been able to see any difference.
Things I looked at:
The stock video player won't recognize videos on my SD card.
Videos on SD card will play if I navigate to them using Root Explorer
I can move apps to SD card using Titanium Backup, and play them from the SD card.
Anyone have some tips on what else I can look for?
50% Solution
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
obicom said:
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
Click to expand...
Click to collapse
I will check it for you if you want but after work, evening
These are good news
I am sure for you it is a "child's play", but I think helpful for all of us.
Please let me know if I can test something ...
THANKS IN ADVANCE !
-- Edit --
Maybe we can add this command to rescan media files after mount command:
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
Click to expand...
Click to collapse
50%...............phew, getting closer, keep up the good work chaps.
http://www.androidtablets.net/forum...cation-discussion-post-root-2.html#post149151
Maybe this helps?
Good find there. Wonder if the Vizio is similar to the Sony.
Link2SD
If you want app data to be moved to external sd Link2Sd works but with a few extra steps only. Here is how I manage this on mine.
Installed Link2SD on tablet.
Formatted external card (in my case a 32GB microsd in an SD adapter) on my laptop using EASEUS to have to PRIMARY partitions 1st in FAT32 and second in EXT3 formats.
At first Link2SD does not recognise any ext partition present and if I try to recreate mounting script on it telling it EXT3 format it says something like could not do, directory does not exist or similar.
Then after a reboot Link2sd warning pops up saying the sd card was not mounted at boot and therefore the system did not load apps on it. You have an option to recreate a mounting script (which I did not need to do as did it already previously) and the quick reboot option (which is different from the regular reboot in the way that it only restarts the android interface not the whole hardware) - so I do this reboot and after everything starts you can see the extra partition and use it.
So currently quick reboot is needed after every total shutdown of the tablet - thankfully I almost never shut down the tablet completely unless run out of battery completely or some other rare reason or testing like this one.
Also note that quick reboot sometimes gives a close/wait warning just after it is done - I always chose wait and everything seemed ok after that.
Make sure you give Link2sd superuser permission. I decided to leave out Lib out of the app data I link because I noticed that if I move data back to internal storage link2SD shows that libs are unlinked already/ I know there is an option in link2sd to relink libs at boot but I was not able to confirm if it works and they tend to take little space internally anyway.
Regarding extra partition size I tried less than 1GB and ca 14Gb. With bigger than 1GB partition it seems to recognise its size in link2sd but once you move more than 1gb data to it does not reflect the increase above 1gb but still seems to make the apps I moved before and after that work still.
I wonder if multi mount widget could help when combined with link2SD somehow. My guess best solution would be to make android mount external card early in its boot.
Hope it helps
I tried today several things ....
@ps3taker
that sound a little bit more complicated then my solution with app scripter and the mount command.
I tried today several things to get a "autostart" solution but unfortunately without success:
- App "autostart (root)" don't work on Tablet S
- Change in svold.fstab need sd card eject and insert to be mounted after rboot
- Change in vold.fstab need sd card eject and insert to be mounted after reboot
- Add mount command in init.goldfish.sh don't work
- Startup script tweaks can't work, no "/system/bin/playlogosnow" on Tablet S
(http://forum.xda-developers.com/showthread.php?t=813309)
Someone additional ideas for a autostart option for the mount command?
-- Edit --
I did a little bit more investigations and find out, that after a reboot it needs a short time before the internal sd card is ready to use. Therefore it is senseless to search a solution during boot time. I guess this is the reason why the change in svold.fstab and vold.fstab didn't work.
That means we need a "autostart" App, as a Widget or a Virus scanner that mount the device and rescan the medias. Who is willing and to do that for us?
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
check if this device has:
/system/etc/install-recovery.sh
if it doesnt then check if the /init.rc (or other init.*.rc) files contain the text "install-recovery.sh"
if the text exists then just create the file /system/etc/install-recovery.sh which has the following at the top:
Code:
#!/system/bin/sh
followed by the symlink/bind code
and save file and give it 777 permission (chmod 777 /system/etc/install-recovery.sh)
that should automatically run the desired commands at each boot...
if the above is not possible then just create a GScipt script and execute it at startup
DooMLoRD said:
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
Click to expand...
Click to collapse
Hi DooMLoRD,
symlink will not work - because of fat32 sdcard! We've got to use mount -o bind, it works without problem, about autorun thing - thanks - i've got to try it
br
condi
@DooMLoRD & Condi
I did exactly this in my tests before, with the "install-recovery.sh".
The file "/system/etc/install-recovery.sh" don't exist but the the "init.rc" files contains the text "install-recovery.sh".
So I created the file "/system/etc/install-recovery.sh" with the commands:
#!/system/bin/sh
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
Click to expand...
Click to collapse
and give it 777 permission but unfortunately it dosen't work.
I guess the reason is the timing problem, that sdcard mount is not ready in this moment. I will try tomorrow add first the mount command for "/mnt/sdcard" in this file and will see what will happen.
Keep you informed.
thank you all for trying.
Could you please summarise what works currently please.
a) Do you manage to link apps to external sd as in rooted gingerbread?
b) or is it just for showing external sd media in the native player in a separate subfolder or something similar
c) do you manage to swap around external and internal sds, i.e. mnt\sdcard is now external as on gingebread and mnt\sdcard2 is the built-in/internal one
I think all of the above is useful but would like to know what's the initial plan.
Hi,
does any one have any idea why I can't browse the filesystem on my SGS2? I've had the phone since June last year and AFAIK I've never been able to do it. Could an app I installed after purchase be the problem? I've used My Files and some other browser from the Market, both with no success. As soon as I open the app it freezes and I have to force termination. The default folder when opening the app is sdcard so I've tried unmounting it, then opening the app. Did not work. I tried reformatting the sdcard, remounting then opening the app. Did not work. Is this by any chance a known problem? I've been putting off making this post for so long but as of recent I'd really need access to browse the files on my SGS2 so I need to resolve this.
Please help.
Thanks in advance.
Noone, seriously? What the hell.
Sheeptar said:
Noone, seriously? What the hell.
Click to expand...
Click to collapse
I don't think it's so hard to believe that no one has experienced this issue, since it sounds rather odd. I've certainly never heard someone speak of such a problem.
When you say sdcard, are you referring to internal memory or physical microSD card? If the latter, have you tried to remove it?
Are you on a stock ROM, if not, does flashing back to one and factory resetting fix it?
Does Settings --> Storage list everything as expected?
How many file managers have you tried? Maybe try one like Total Commander http://www.ghisler.com/android.htm
Can you access the memory when your phone is connected to a computer, and if not, how about with USB debugging enabled?
Sheeptar said:
Noone, seriously? What the hell.
Click to expand...
Click to collapse
XDA developers forum .
You ask a question and if some kind soul understands it and has an answer you get a reply .This is not always straight away as the question may not have been understood or non with the answer have actually been online . Or as in this case its not a known problem .
You have the choice of factory reset and wipe all data .
jje
Use Astro file explorer... available from the market.
https://market.android.com/details?...?t=W251bGwsMSwxLDEsImNvbS5tZXRhZ28uYXN0cm8iXQ..
As to your problem, i've never used the default file explorer, so I've never had it crash. On mine, "my files" is on the phone itself its part of the default stock rom. Have you tried just leaving it on there?
Whoa, thanks guys. I'd just nice to see atleast some feedback. I thought that this can't be that rare. Additional information:
1. I used My File, Astro File Manager, File Expert.
2. I meant SD card not internal memory.
3. I'm on stock SGS2 rom, never flashed anything. [worried about the warranty]
4. Storage lists everything as it should.
5. I can access both internal and sd card memory on the computer via USB.
How do I do a _complete_ factory reset? Is there a guide here and if so can you please point me to it?
_ _ _ _ _ _ _ _ _ _ _
BREAKTHROUGH: I tried this just now. While My Files and Astro File Manager both crash when I start them, File expert does not. That is because both My Files and Astro File Manager start within /mnt/sdcard!! File Explorer gives you a choice whether you want to browse the internal memory or sdcard _before_ it opens anything by itself. The other two just go to /mnt/sdcard from the start. If I choose SD Card in File Expert it crashes aswell. When I say it crashes I mean it stops responding and I have to double tap the home button and kill the process [cpu @ 50%].
So it seems someting is wrong with the sdcard! But I can access it from the computer easily. I've transfered movies and music and were able to play everything off it! Any idea what I could do next?
/sdcard/ is internal memory, microSD (physical card) is /sdcard/external_sd/
Factory reset is located in Settings --> Privacy --> Factory data reset
More information if it helps. Please remove spaces after http in links, I'm not allowed to post them yet!
In File Expert which lets me atleast browse internal memory I found the following. It stops respoding when:
1. I try to enter /sdcard
2. I try to enter /mnt/sdcard
3. I try to enter sd card via an option given to me by File Expert http ://shrani.si/f/5/N/2GXb4080/default.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
In My Files the default dir when starting the app is /sdcard. App stops respoding here but the circle in the screenshot does rotate. http ://shrani.si/f/n/KQ/3jjTetat/default-my-files.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
In Astro [the program is very slow from the start] the default directory when choosing File Manager is /mnt/sdcard. Programs does not respond, the there is a little circle on top that does "rorate". http ://shrani.si/f/3p/108/1vQl0XtZ/default-astro.jpg -> Screen shot, please remove paste and remove a space after http, I' not allowed to post links yet.
This is what I can do, browse what File Expert called Internal memory. And under this option I can see folder /sdcard. Which I cannot access without the program becoming unresponsive.
1. I choose My Files here -> http ://shrani.si/f/3M/j6/3JCgef6Q/myfiles.jpg
2. I choose Internal Phone Memory here -> http ://shrani.si/f/3w/Vy/3YhHtvs6/internal-memory.jpg
3. Folder /sdcard which I cannot open here: http ://shrani.si/f/1o/Bf/396L3J0F/sdcard.jpg
Could this all be a permissions problem? Thanks for helping everybody!
It could be. The folder /sdcard is actually a symlink to the folder /mnt/sdcard so perhaps you could see if something that accessed that by default had a problem. From memory, ES File Explorer defaults to /mnt/sdcard and has a free version.
If the symlink at /sdcard has screwed up permissions and you don't have a rooted device, which it sounds like you don't nor would lie to, then it may not be possible to fix the one file.
I tend to think that if its a file permission then it isn't the actual mount point at /mnt/sdcard since everything at that location, user settings, pictures, etc, have normal user permissions. A symlink behaves such that it has permissions for everyone but the thing that its pointing at is what ends up having the final say. A symlink with messed up permissions can easily cause a problem though.
The permissions for the symlink /sdcard is lrwxrwxrwx with root for the user and group. The first string of letters gives it full access that I was talking about.
The permissions of /mnt/sdcard is drwxrwxr-x with system for the user and sdcard_r for the group.
They look like this at the command line if you have adb and go to a shell, or have ssh on the phone, use ls -ld to look at each location. The relevant part is the string of letters after the command and the "root root" and "system sdcard_r":
Code:
# ls -ld /sdcard
lrwxrwxrwx 1 root root 11 Mar 4 10:54 /sdcard -> /mnt/sdcard
# ls -ld /mnt/sdcard
drwxrwxr-x 52 system sdcard_r 32768 Mar 4 10:56 /mnt/sdcard
try to use root explorer..
if still not work, try to change ROM..
Thank you PantsDownJedi! What's the best way to check permissions? I tried doing it in Windows by using USB storage, but the folder that opens [one for internal storage and one for sdcard] does not have any of the folders that I saw when using File Expert.
http ://shrani.si/f/3M/Bj/41qTwEsd/capture.png -> Please emove space after http
external_sd is empty!
Okries, do I need a rooted phone?
This is what I get, PantsDownJedi. Does it help?
Code:
~/data $ ls -ld /sdcard
lrwxrwxrwx 1 root root 11 Mar 5 09:19 /sdcard -> /mnt/sdcard
~/data $ ls -ld /mnt/sdcard
drwxrwxr-x 39 system sdcard_r 2097152 Jan 1 1970 /mnt/sdcard
Bump. I really don't want to take my phone in for a service.
Well to answer my own question... It wasn't the external SD card that was the problem but rather the internal one. Found out, that even after a factory reset and with ICS freshly installed and with the external SD card removed, the freshly installed system could not calculate how much space each category [Music, Apps, etc] took up. So I deleted everything in USB storage and now it works great.
Hey folks,
first of all, I'm sorry if my following problem has already been discussed elsewhere in this forum, but I wasn't able to locate a thread or post that fits my exact issue as I don't want to mess up another thread with this.
So here is my problem:
I've recentally updated the resurrection remix rom from v1.9.1 to v2.1 on my SGS2. My phone boots up normally and works like a charm. But then I mentioned that both of my music-apps (poweramp and stock-player) are showing every song twice, as there would be file duplicates. So I checked the content of my external sdcard (where I put my music on) with both the stock-file-explorer and ES file explorer and found out, that my external sdcard wasn't mounted in /mnt/sdcard anymore but in /mnt/emmc and when I clicked on the sdcard-icon in the stock-app it only showed me my internal storage. With ES file explorer I can't access my external sdcard at all. I already plugged the sdcard out of the device, rebooted, plugged it back in and rebooted again. But nothing has changed. Further I've taken a look with MyPhoneExplorer and figured out, that the folder /mnt/sdcard doesn't exist anymore (creating it by myself failed) while /mnt/emmc was still there. Long story short, here are the facts:
/mnt/sdcard --> doesn't exist anymore
/mnt/emmc --> shows the content of external sdcard
sdcard-icon in stock-file-explorer --> shows internal storage
ES file explorer --> can't access sdcard at all (maybe I'm too stupid to use it)
music-apps --> show all the files doubled
Please help me, what can I do to get my external sdcard back at /mnt/sdcard and the music-apps to show every file only once?
let's just talk about the mount points first:
on stock roms, the internal sd card is mounted as /sdcard/ and the external sd card is /sdcard/external_sd/
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
in recent cm9 builds, suddenly those mount points were reversed, which does not make much sense in my opinion.
with the jump from ressurection 1.9 to 2.1 you might have just hit that switch. have you performed a full wipe before and/or after flashing the new rom? maybe that'll do the trick
on aosp roms the internal sd card _should_ be mounted as /sdcard/ as well and the external sd _should_ be mounted as /emmc/ (external multi media card).
Click to expand...
Click to collapse
Actually that's the case. But what is mnt-directory good for then, if there already are folder providing the content of internal storage and external sdcards? and just btw. wikipedia says that emmc stands for embedded multimedia card and this was invented to be used as an internal storage, that's confusing me.
have you performed a full wipe before and/or after flashing the new rom?
Click to expand...
Click to collapse
I followed the installation guide very strictly and performed the wiping and factory resetting before and after the flashing as instructed.
But if the files are where they should be, why is my music indexed twice no matter what I do?
ps: I managed to access my external sdcard with ES file explorer after doing an analyse of the sdcard through the manager-option of ES file explorer.
Unfortunately there doesn't seem to be a solution for the problem, beside waiting for the next version of the rom. But to those of you who may face the same or a similar problem, here's a little workaround:
In poweramp you can define the folders to scan, so just allow it to scan only /emmc/ and the doubled files will disappear. Unfortunately this is not possible for the stock-player. Maybe this is helpful.
i never bothered to look up emmc and just assumed the "e" stood for external.
if it stands for embedded it would actually make sense to switch the mount points.
the fact that one device can be accessed using several paths, e.g. /sdcard/ and /mnt/sdcard/ is a linux thing. same thing is present on pcs, servers and embedded systems (video game console, set top boxes, mediaplayers...). the mount point /sdcard/ is for convenience.
the "picking up files twice" issue you have with your music probably comes from some mount problem. but here's an idea:
in any music player, find a song that is present twice in a row, and look at its details. you should be able to find the full filename including the folder structure. then you will know exactly, what causes the duplicates. it might be that your card is mounted in some other folder as well.
other than that, as you said, it might be best to wait for the next rom revision, or get your post count up and post in the development thread directly, where they can probably help you. if that is a general bug of the rom, i guess you are not the first to realize it and people should be working on it as it sounds really annoying.
I have been searching for answers on this and so far found nothing. Sorry if its already been covered somewhere I didn't find.
The SD card is working fine in the pone.
When I put it in a usb adapter to plug into my pc it mounts fine and I can copy files to it without any errors but when I put it back in the phone I cant see the files?
Same thing happens when I plug the phone into a pc with USB and copy the files.
The files are still there because when I plug back into the pc I can see them.
Anyone know why I have this issue please?
Many thanks
Ben
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
I have a similar issue , I have files that I have copied over to the phone sd card and wanted to use a file manager to move them around into different files however none of the file managers seem to see the files
Sent from my GT-I9300 using xda premium
d4fseeker said:
Try unmounting an remounting the sdcard in the Settings menu.
Have you tried other filemanagers than the stock one?
I can't confirm your issue but it sounds like a caching issue.
Have you tried turning it off and on again? =)
Click to expand...
Click to collapse
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
If you're connected to PC as MTP mode, try to switch to camera transfer mode..
Maybe this will help?
External and internal sdcard mount points
After some more investigating I have discovered that what is displayed as /sdcard/ is in fact the phones internal flash memory and the actual SD card is mounted as something else.
There you have 2 folders in /mnt
/mnt/sdcard >> taht is the internal flash storage
/mnt/sdextcard >> that is the inserted sd card
http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-td5710218.html
This explains why I could see the files i copied to my sd card on my phone as my phone wont enable me to see the actual external SD card.
Was surprised I couldn't find an actual thread about this on the forum.
I can see that creating a mount point for called SDCARD within the internal memory will allow apps that default large content files to use this space without complaining but this means that although Samsung allow SD cards to be inserted they cannot be used with a standard set up?
So is there any way for me to get to this other mount point without root access?
I thought, for a change, I might hold off rooting my phone but this might spur me on...
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Thank you for the explanation on this d4fseeker. Really all I wanted to do at this time was be able to access the external SD or point to it as a content location. But I will bookmark the solution for forcing apps to use it.
No I know what I know I have rooted my phone, curtesy of Chainfires guide here and can now see the extSDCard directory
houseofcutler said:
I am using ES File Explorer
I have tried rebooting the phone and also (after you said) mounting and unmounting the SD card. The Issue remains the same.
Does anyone else have this issue or any ideas?
Click to expand...
Click to collapse
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
That does work thanks - Turns out I purchased Root Explorer a while back so I have installed that and set the home directory to be the external SD mount point. Still need ES though for when I am copying across my network
jackie_jerk said:
In ES file explorer, you can go to your external SDcard by open Menu (left capacitive button), then select Manager and then SD card Analyst.
it will show /sdcard,,, it means internal SDcard. You have to touch "Disks" icon (the second from the left), then select /mnt/extSdCard. Eventually you can browse your external SD.
I don't know if there is the easier way. Or you can use the stock explorer app "My files", it is easier to browse the external card but with less function than 3rd party app.
Click to expand...
Click to collapse
I have quite the same problem but another way around. I can see all the (music)files in the phone but when I connect the phone via USB to my PC I can only see a few (about 30) of the files in the folder. I have booted the PC and the phone, took the SDcard also out and in. Also when I insert the SDCard to the PC's cardreader I can see all the files, so I quess the problem is in the phone. Any ideas how to solve this?
Not sure what your issue is but my advise is to confirm you a definitely looking at what you think you are - that was my problem before.
For example when the Phone is connected to your PC:
Create a text file called phone.txt in the 'Phone' Directory
Create one called card.txt in the 'Card' directory
Then use the built in 'my files' browser or whatever app you use to see if the files are where you think they are.
Might help...
d4fseeker said:
Afaik Android does not have a concept of "internal" SD card. (Which is the or at least a reason why most phones have a separate data partition)
However when phone manufacturer's started offering internal storage capacity for normal files, they just used the sdcard.
The name of the external sdcard varies from phone to phone and manufacturer.
I can remember that the name of the external sd card on my S1 was /sdcard/external_sd/ (no /mnt as with the S3 !)
On current Cyanogenmod for the S1 it's /mnt/emmc/ which seems to be introduced as some sort of "standard".
This variety in naming shemes and the possibility of a phone not having internal SD-card storage, only having internal SD-card storage or having both _SHOULD_ make app developers give you the option where to store it.
If it doesn't it's a restriction in the app, not the sdcard.
Solution[/b[
If you are rooted you can easily bypass these restrictions with a simple trick. Make sure the app is terminated before attempting this!
Go to the terminal emulator and type:
Code:
su
mkdir /mnt/sdcardext/APPFOLDER
cp -rvf /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
You've now told Android to re-route all filesystem access'es transparently to the external SDcard while the app still believes it's on the internal one.
Note that you'll have to run the following after every boot (or have it run as auto-start) since mount's are not persistant.
Code:
su
mount -o bind /mnt/sdcard/APPFOLDER /mnt/sdcardext/APPFOLDER
Click to expand...
Click to collapse
But doesn't this simply relocate 100% of APPFOLDER to the microSD card and still leave no option to have Apps in both flash locations? Or will programs like App 2 SD somehow now be able to relocate apps back to the internal flash partition (aka "internal sdcard")?
Ah, nevermind. "APPFOLDER" is a single application's appfolder, not a directory with all the apps. So this should be something an app could do on any rooted S3 with a nice gui and persistence through some service mod in init.d or whatever Android uses in its place, yes?
Ok, was just digging around in /mnt/sdcard and while a few apps have obvious directories there, most do not. What's more, being an android noob, I'm not sure where their directories would be located (app manager doesn't say either).
Anyone care to point me in the right direction? Also, is there a way to install some other standard linux shell commands like more and grep?
Thanks.
Sent from my GT-I9300 using XDA
Hi,
I recently rooted my galaxy s2, GT i 9100 that was running with ICS 4.0.3 with CF root kernel SGS2-XX_XEO_LPQ-v5.4-CWM5, and installed Resurrection and remix 2.6.1 ROM.
However, now my external secure storage data are not accessible, though there is a file "external_sd" under the "sd card" in the OI file manager. I used some other file managers like X-Plore, ES file manager ect but for no avail.
And, the external sd card is not shown under "storage" option in the phone too. Phone galary, music players etc also don't recognize any of the videos or photos saved in the external sd card. Please somebody help me solve this issue..
Regards
Anuruddha:crying:
Look for your external in /mnt/emmc/.
have a look at this thread: http://forum.xda-developers.com/showthread.php?t=1536568
But if you bind external SD from /mnt/emmc -> /sdcard/external_sd you will not be able to save photos on external by stock camera app.
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
przemcio510 said:
Look for your external in /mnt/emmc/.
Click to expand...
Click to collapse
Hi,
it is not there, I have checked every folder..
thanks
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Yes, from GPlay.
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
I am using ES file manager and X-Plore file managers and OI file managers. And I can see a folder "external_sd" in /mnt/sdcard (/mnt/sdcard/external_sd). However, when I open up external sd, it is empty and no data available, it is just an empty folder.
One more thing is, earlier(before root and new ROM), when I opened the "Phone Storage", the external sd card was visible with available memory space etc, but now there is nothing to be seen as such
Also, how to find terminal emulater? I have no idea about it
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
przemcio510 said:
If you have any data on card, copy it to PC and then format it to FAT32.
Terminal = adb.
Click to expand...
Click to collapse
Excuse me, this a " micro external sd", and cannot mount on any of the slots in the computer...and cannot accesses using USB also, as any of the file explorers does not read the data in the memory card..
You don't have any adapter?
I will try for an adapter..and try your way also...
thanks
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Be careful: FACTORY RESET can delete your data in the external memory card too.
Phil3759 said:
It is a bug with some cf root kernels
Flash your stock kernel, then either use a fixed cf root or better root with method 1 in my signature
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Hi,
I got a memory card reader and mounted the external memory card and browsed the folders, but to my amazement it has no data, and that is why the videos and images were not shown in the gallery.
I think this is what has happened;
On the day I rooted the phone and installed the new ROM, the phone was not getting GPRS and then I did a factory reset on the new ROM. However, before this reset, all the images and videos were available and accessible. While doing this reset the phone got dead and then I removed the battery and re booted after some time, the phone re booted with the loss of some applications, and after this incident the I didn't see the images and videos stored in the external memory card. I never thought that a factory reset would destroy my secure data in the external memory card, but unfortunately it had happened. Can anybody believe this??? However, I re flashed the new ROM again and searched for the data in my external memory card as I never thought that the factory reset had deleted the data in my external memory card too.
Now, I am clear there is nothing wrong with the phone, ROM and kernel, it is the FACTORY RE SET that deleted all my data in the external memory card, now I can see that external memory card is already there but all blank.
I thought that this is a problem of not reading the external memory card,but that is totally wrong. Since there was no data, I was mistaken that data was not accessible(because, who believes that external sd card will be deleted by a factory reset).:crying:
Need a program to open .sbu files(Samsung Back up)
Hi,
Anybody know a freeware to open samsung back up "sbu" files???
anu7113 said:
Hi, where can find Root explore?? Is it an Applicaton that should be downloaded from google play?
Click to expand...
Click to collapse
ROOT EXPLORER is an paid app can be found in google play
Use ES File explorer / Solid explorer , its free & does the same work (do much more than root explorer)
rajaspidey said:
Create an folder on your internalSD for mounting your external
Open up Root explore & find the location of externalSD in root (usually it ll be in /mnt/ folder)
open terminal emulator on your device
Type this code
PHP:
su
PHP:
busybox mount --bind <location in root> <location you need to mount>
i created a folder named 00ExternalSD so that it would stay on top
My ExternalSD mount location is /mnt/extSdCard
And the location am gonna mount is /mnt/00ExternalSD
So mine look like this (first you have to be superuser so type SU & then this code )
HTML:
busybox mount --bind /mnt/extSdCard /mnt/sdcard/00ExternalSD
Click to expand...
Click to collapse
+1 :good:
it has perfectly and instantly worked for me...