JB path to SD card is different to ICS - RAZR i Q&A, Help & Troubleshooting

On ICS we had:
/mnt/sdcard -> internal
/mnt/external1 -> SD card
On JB I now see:
/sdcard -> internal
/mnt/sdcard -> internal
/storage/sdcard0 -> internal
/storage/sdcard1 -> SD card
So the first 3 paths for JB above are all mirrors to the internal memory. I'm not sure whether ICS had similar mirrors, maybe it did.
But the important thing is that the SD card path has changed, so any apps you may have configured with a path to the SD card on ICS might not find the data after JB update.
That happened to me with BackCountry Navigator because I had changed the path to local maps, but NavFree, which I hadn't changed, just found the SD card anyway.
Haven't seen this mentioned elsewhere, so if your apps misbehave after updating, this might be why.

THANKS!
To you sir I say, "THANK YOU!" I've been working for over an hour trying to figure out this very thing while using "MyProfiles" and attempting to restore the settings I saved. Your post, all by itself, saved the day,so thanks!
Mr Spigot said:
On ICS we had:
/mnt/sdcard -> internal
/mnt/external1 -> SD card
On JB I now see:
/sdcard -> internal
/mnt/sdcard -> internal
/storage/sdcard0 -> internal
/storage/sdcard1 -> SD card
So the first 3 paths for JB above are all mirrors to the internal memory. I'm not sure whether ICS had similar mirrors, maybe it did.
But the important thing is that the SD card path has changed, so any apps you may have configured with a path to the SD card on ICS might not find the data after JB update.
That happened to me with BackCountry Navigator because I had changed the path to local maps, but NavFree, which I hadn't changed, just found the SD card anyway.
Haven't seen this mentioned elsewhere, so if your apps misbehave after updating, this might be why.
Click to expand...
Click to collapse

Related

Cyanogenmod 7 External Sd Card problem.

Hi all,
I have flash cyanogenmod 7 gingerbread relase from this Thread: http://forum.xda-developers.com/showthread.php?t=940095&highlight=external
Everytings is perfectly working. But my 8Gb external sd card is not detected. Anyone face with this problem ?
Thanks and best regards,
I might be wrong but have you read the Faqs on the rom .
no SD card .
jje
Hmm you are right.
But cyanogen say;
"What about sdcards?
internal = sdcard, external = emmc
Only internal can be shared over usb at the moment."
I download QTADB for windows and i can transfer my Music folders to emmc folder in my phone. Start Power AMP and power amp rescan folder is not detect my emmc folder.
How can i solve this problem ?
Hi Again,
Finally i solve the problem. And everything in my ext sd card is back. Problem is emmc folder (means external sd card in cyanogenmod 7) not permitted for write and read.
I use QtADB Terminal for editing the directorys permition.
Step 1: type "su"
Step 2: go to root directory. If you type "ls" and can you see "emmc" you are right position.
Step 3: "chmod 777 emmc" or "$chmod 777 emmc" (for write and read permitted.)
Step 4: Reboot the phone and everythings are back in External Sd Card in EMMC
And Windows detect 2 Storage Drive now. One of 6GB Internal Sd Card, One of 8GB External Sd Card. And i can use my Music player Power AMP.
Everythings perfect for me now. Cyanogen is great ROM but this permision problem should bu fixed. Because i spend three day for solve this problem.
Regards,
Hi, I hate to open up an old thread, but does anyone know if this works with the newer nightly builds? I'm having what seems to be the exact same problem... Also, when I go to settings > storage, it doesn't register the card there, and the mount sd card option is blanked out. I'm guessing that that's cause of the emmc thing, but shouldn't it register the extra storage space in the settings somewhere? at the moment, it looks like 16gb has just disappeared...
Also, I'd liketo change these permissions from the phone, using terminal emulator, if that's possible... But your steps don't seem to work for that one.
Sahmuald said:
Hi, I hate to open up an old thread, but does anyone know if this works with the newer nightly builds? I'm having what seems to be the exact same problem... Also, when I go to settings > storage, it doesn't register the card there, and the mount sd card option is blanked out. I'm guessing that that's cause of the emmc thing, but shouldn't it register the extra storage space in the settings somewhere? at the moment, it looks like 16gb has just disappeared...
Also, I'd liketo change these permissions from the phone, using terminal emulator, if that's possible... But your steps don't seem to work for that one.
Click to expand...
Click to collapse
I am not seeing that behavior at all. Are you sure it is not a problem with your SD card?
Sent from my GT-I9000 using XDA Premium App
Sahmuald said:
Hi, I hate to open up an old thread, but does anyone know if this works with the newer nightly builds? I'm having what seems to be the exact same problem... Also, when I go to settings > storage, it doesn't register the card there, and the mount sd card option is blanked out. I'm guessing that that's cause of the emmc thing, but shouldn't it register the extra storage space in the settings somewhere? at the moment, it looks like 16gb has just disappeared...
Also, I'd liketo change these permissions from the phone, using terminal emulator, if that's possible... But your steps don't seem to work for that one.
Click to expand...
Click to collapse
are you sure you flashed from a froyo 2.2 build. I flashed from 2.2.1 a while back when I first flashed CM7 and I had the same issues with my external SD, not sure if this is still a pre-req but all the instructions still say to flash from 2.2 when first going to CM7. see link below: I also had scrambled video when booting CM7 coming from 2.2.1 so that is another indication something is wrong, just make sure you follow the steps to a T and know that flashing from 2.2.1 froyo is not the same as flashing from 2.2 froyo
http://forum.xda-developers.com/showthread.php?t=1061946
anyways, this could also be an issue that you just aren't sure where to look coming from a samsung rom to CM7. To view your external in CM7 you have to open file manager (astro or whatever you use) hit the home button (file manager route), click the emmc folder and it should be your external SD card. In samsung roms it's in the external_sd folder off the internal SD card.
when I mount my drives via computer both drives come up and they are both read/write so not sure what the guy a couple posts up was talking about, could have been an early bug or something not sure, anyways works fine in the latest nightly so i'm happy
i'm having the same issue.
EMMC not seen by non root explorers
the only way to acces the emmc is by using a root explorer...
LE: found a fix:
External SD card will get mounted as /mnt/emmc. This may not be visible to all apps. If you desperately need the contents visible to apps only looking in /mnt/sdcard, create an empty directory there and remount the /mnt/emmc there as well:
Using either the terminal emulator or adb shell:
su
mkdir -p /mnt/sdcard/external_sd
mount /dev/block/vold/179:9 /mnt/sdcard/external_sd
Click to expand...
Click to collapse
Note: This is only a temporary fix for when needed. It will cause issues when you try to use USB sharing later. Write the following to get things back to normal:
umount /mnt/sdcard/external_sd
Click to expand...
Click to collapse
fix found HERE: http://forum.xda-developers.com/showthread.php?t=1061946
no /sdcard/external_sd
Just flashed to cyanogenmod7.1 found the same problem on my sgs2. ESFileExplorer shows the directory /sdcard/external_sd but it's empty (when I know it isn't).
If you go to settings > cyanogenmod settings > application the is a tick box "use internal storage"
Reboot, all files that were on the ext_sd are now mounted in /sdcard.
Haven't found a way of distinguishing which files are actually on the ext_sd and which are on the internal sd but they are all there.
cyanogen 7.1?
lowdmt said:
Just flashed to cyanogenmod7.1 found the same problem on my sgs2. ESFileExplorer shows the directory /sdcard/external_sd but it's empty (when I know it isn't).
If you go to settings > cyanogenmod settings > application the is a tick box "use internal storage"
Reboot, all files that were on the ext_sd are now mounted in /sdcard.
Haven't found a way of distinguishing which files are actually on the ext_sd and which are on the internal sd but they are all there.
Click to expand...
Click to collapse
I got a sgs2 and tried everything described above but still no sd card, its just not mounted according to astro file explorer.
I think this sux, cyanogen claims to be the best bla bla bla, but it cant even find/mount a simple sd card........whatever, im going back to my lightning rom. it atleast sees everything i got on my phone
Peace

[Q] /mnt/emmc Instead of External SDCard?

Hey everyone,
So I was having issues with SD Cards earlier but I reflashed a different kernel and then went to Nightly build #28 of CM7 and everything seems to be alright.
My only issue is my External SD card is mounting to /mnt/emmc/ instead of /sdcard (or wherever its supposed to go) and that is giving me trouble with apps that require SDCard, as they think I dont have one.
For example, my camera app wont let me save pictures because "I dont have an SD Card", same with TapTap Revenge 4 etc.
How can I mount my external into /mnt/sdcard/ or wherever it should be? :|
Thanks.
If i remember well, this is the new way the external sdcard is and will be mounted. I have it that way too and never got problem. Can't you save on the internal SD ?
chadouming said:
If i remember well, this is the new way the external sdcard is and will be mounted. I have it that way too and never got problem. Can't you save on the internal SD ?
Click to expand...
Click to collapse
Idk, I was just having problems with my SD Cards, so I'm not really sure.
It says
SD Card : unavailable
Internal 1.78gb / 1.87 gb (Its supposed to be 16gb?)
Additional Storage : /mnt/emmc
5.44gb / 5.55gb (partitioned in recovery.. its an 8gb)
and whenever I try to download anything it says I dont have an SD Card. :\

[Q] Why is SD set as the removable sd in the fstab?

Hi,
I just changed the mounting of the sdcard and emmc to be reversed. As far as I understand, the sdcard is "usually" the internal sd, and emmc is "usually" the external sd.
The biggest issue I faced was that everytime I reboot my phone, I'll have to remove and reinsert the sd card so that the sdcard is detected by the phone. After I swapped the mounting, everything went well. Is there a reason why the devs use the scheme?
Thanks
EDIT: I'm seeing this on CM nightly 204
haven't use nightly 204 but in stable CM7, there is an option called 'Use Internal Storage' under setting menu 'CyanogenMod Settings'->'Application', check it then internal sdcard would be mount as /sdcard.
Hmm... That's a good option.
Just wondering why the it is not checked by default.
I didn't have sd inserted at first, so *nothing* is working. Camera complains, installing apps failed, etc.
CyanogenMod reverses the sd and emmc mountain as the internal sd is rather small and external is typically larger. They do this since many apps do not offer a way to switch storage location. It is possible to switch them back and there is a tread on it but since I'm on mobile I really can't link to it right now.
Sent from my LG-P999 using Tapatalk
I see, that made sense... Yes, option to swap it back is mentioned by hkkp.
But I still think it should default to sd as internal sd, emmc as external flash. Let user make the switch if they wishes to...
thloh85 said:
Hi,
I just changed the mounting of the sdcard and emmc to be reversed. As far as I understand, the sdcard is "usually" the internal sd, and emmc is "usually" the external sd.
The biggest issue I faced was that everytime I reboot my phone, I'll have to remove and reinsert the sd card so that the sdcard is detected by the phone. After I swapped the mounting, everything went well. Is there a reason why the devs use the scheme?
Thanks
EDIT: I'm seeing this on CM nightly 204
Click to expand...
Click to collapse
i use nightly 204, and didn't happen like you did. i prefer external sd card is default and internal to be external. because external sd is bigger then internal one and faster i use class 10
antec123 said:
i use nightly 204, and didn't happen like you did. i prefer external sd card is default and internal to be external. because external sd is bigger then internal one and faster i use class 10
Click to expand...
Click to collapse
Odd... Must be some dirty data during flash. Could you check this out?
1. Go to Terminal / adb to the phone
2. type "cat /etc/vold.fstab" without the quotes
3. paste the output here
Could you also check if "Settings->Cyanogenmod Setting->Applications->Use Internal Storage" is checked by default?

[Q] Resize /data or move apps to USB storage

First, sorry, SORRY, for this question, but after two days searching in xda and google I could'n find the aswer. I also searched on FAQs (note and s2 FAQs) but I could't find it.
/data is only 2gb, and usb storage +-11gb. I know "USB Storage" is /sdcard/ and /external_sd/ is the external microsdcard.
Searching, I found that some people said that "Settings -> Applications -> [app] -> Move to SD" were moving their apps to /sdcard/ (USB Storage), but others said that their apps were moving to EXTERNAL sd.
In my N7000, apps are moved to EXTERNAL sd, not usb storage. I don't like this because SD is slower, so I ask...
-Is there any way to move to USB Storage (internal 11gb partition)?.
-Is there any way to resize /data from 2gb to -+7-8gb? (even if root is needed)?
-Will ICS update change some of this?
-If "Move to SD" move to "USB Storage" in some devices, what firm version are they running?
Sorry again for askin, thank you for reading and thank you so much for answers.
P.S. sorry for my english.
no one can clarify this?
to resize the 2gb you would need to find a way to repartition the device
and most normally go to the sd card ratehr than internal storage as thats how the apps2sd is made, you might have to find a way to hack it to use the internal storage rather than sd card
Maybe try to remove the external sd card and then start moving your apps to sd card? I think this way it'll go to internal since it'll be the only sd card available..
Richy99 said:
to resize the 2gb you would need to find a way to repartition the device
and most normally go to the sd card ratehr than internal storage as thats how the apps2sd is made, you might have to find a way to hack it to use the internal storage rather than sd card
Click to expand...
Click to collapse
humm... maybe a link in "/sdcard/external_sd/" to something like "/sdcard/fake_sd/"?... would require external memory... but all data would be on the internal, so it should be much faster... humm...
Maybe try to remove the external sd card and then start moving your apps to sd card? I think this way it'll go to internal since it'll be the only sd card available..
Click to expand...
Click to collapse
I tryed it, but when I try "Move to SD" from Settings > Applications it says something like "No SD. Insert SD card.".
BTW, ICS will have the same partitions? I read something that it will be like Galaxy Nexus, without parition (and without USB Mass Storage, only MTP)... How is it on SGS2? I'm sure it will be the same...

[Q] SDCard / External SDCard

Really funny that the internal storage of the Note is called SDCard.
It´s definitly not an SDCard, it´s a chip. The only SDCard in a phone is always an external. Is there any possibility to change this stupid name (whatever you want:
harddisc, storage or just a letter like C:, everybody would understand)?
Thanks in advance
Are you on CM9-based ROM or Stock? Is this issue on both.
sam.wilder said:
Are you on CM9-based ROM or Stock? Is this issue on both.
Click to expand...
Click to collapse
You might be able to change the name by editing the file ect/vold.fstab in the system folder. You should read the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
This is the standard for all Android devices the first storage that is mountable is always mounted to sdcard so that apps that require space to save files to can be sure there is somewhere to save it to.
Trust me its a very good reason to have it this way. Its been like this from the start as devices did used to only have external sdcards so to save every app dev changing there app it was just kept as the sdcard mount point
Sent from my GT-N7000 using xda premium
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
Does anyone have the mount points of the internal memory and external SD swapped ?
When I installed the aokp from external SD this happened. With paranoid android I took care of install from the internal memory.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
The followings give the internal memory to be the sd card and the external sd card to be mnt/emmc
# internal sdcard
dev_mount sdcard /mnt/sdcard 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
The followings give the external sd card to be the sd card and the internal memory to be mnt/emmc
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Remember this is only for ro ms like liquid, paranoid, or cm9. For other ICS or GB rom the mount points will be different.
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
bitFault said:
I'm curious how do I mount the sdcard as external_sd by some configuration. Now i'm using ics sd binder.
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
Click to expand...
Click to collapse
You should read the following thread:
http://forum.xda-developers.com/show....php?t=1454753
This thread also provide the appropriate vold.fstab file for ICS rom if you want to mount the external sd card as the internal sd card. I use the file for both Rocket Rom and Kingdroid rom without problem.
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Sd card is also a chip. It's just that the other is internal and the other is external.
Zapped through server hops to XDA forums
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Poly0709 said:
I´m using ICS TheMidTeam 1.61 with Kernel LQ3.
Thanks for the tip changing the two storages. I´ve read it already.
My question was only if it´s possible to change the stupid name of the internal storage ´cause my GS Note (and I think all Note users all over the world)
has an internal storage. The SDcard is always external. Just SDcard or external would be enough, double name is not necessary.
No other producer for example Motorola or HTC is using such a stupid name.
That´s why i´m asking if it´s possible only to change the name of the internal
storage.
Perhaps somebody has an idea.
Thanks in advance.
Click to expand...
Click to collapse
HAHA. I've noticed this since the day I bought my Note. Haven't done anything about it ever since. Share your solution when you find one, okay? Thanks!
Poly0709 said:
I think what zacthespack said is the half of the truth.
My Motorola Milestone with Gingerbread is showing with root explorer the internal storage. There is one folder named "SDcard" and what´s behind: exactly how it should be: the EXTERNAL storage.
A SDcard is by definition a movable chip with a little bit of plastic around.
The internal storage never can be a SDcard because you cannot remove it of the device without damaging ist.
Since nearly 30 years I´m working with a PC. It´s soooooo!!! simple: in C:\ you find the system. If you have well programmed software you have the choice to install it where you want (d:\ for example), bad programmed software goes directly to C:\programs\???. Well done software offers you usually the possibility to put your data whereever you want.
Android stores the apps on the internal storage. With App2SD you can move them to the reel SDcard (external storage), with ICS they are moved to the root directory of the internal storage. Perhaps App2SD moves the apps there because of the stupid name SDcard for the internal storage.
Well done apps like Office Suite Pro giving you the choice to put your data wherever you want.-
I don´t want to change internal to externel (maybe also a matter of speed).
I ONLY want to change the WRONG name SDcard for internal storage to one which makes sense.
Sometimes I think there are engeneers tryin´to invent the wheel again by changing the round form to a triangle.
Click to expand...
Click to collapse
Would like to point out that the milestone doesn't haven't any internal useable storage it only has the sdcard other than what's used by the system which is completely different . This is my point the first mountable storage is called sdcard to save apps the trouble of asking the user.
And as android is based from Linux it would not use the drive lettering like windows.
Sent from my GT-N7000 using xda premium
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
bitFault said:
It must have something more
Because in the file vold.fstab the internal memory is as /mnt/emmc and the external is as /mnt/sdcard. But they have the mount ponta swapped.:what:
"
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
"
Sent from my GT-N7000 (paranoidandroid v0.3) using xda
---------- Post added at 03:27 AM ---------- Previous post was at 03:16 AM ----------
Sorry, it's mount points.
I reinstalled the ics sd binder. And maybe it's only swapped descriptions. Can someone confirm this?
Click to expand...
Click to collapse
This is only for rom like liquid, cm9, or paranoid. For regular ICS rom you need to download the vold.fstab from
http://forum.xda-developers.com/show....php?t=1454753
Poly0709 said:
Hi zacthespack,
I didn´t opened this thread for talking about the milestone which I have since 2,5 years. Also I´m not talking about its 512mb internal space, which is of course not complete usable (I have 142mb left and this space is ubable!).
I know since years that Android is based on Linux, you don´t have to tell me.
My simple question was: Is it possible to give the internal space another name?
SDcard is definitly wrong!!
If this name is a convention it will be difficult to change it.
If somebody is able to change it the internal storage should be named in future
perhaps "zacthespack".
thanks
Click to expand...
Click to collapse
Its likely possible to do but I have said it will cause issues with apps if there is no sdcard mount point and as you don't need to have a external sdcard then the internel memory must be mounted to /sdcard
Is it really that big a issue? Yes really android should have changed this by now but its already far to much a issue with the fact the external SD gets mounted where ever the phone company wants it to be.
Sent from my GT-N7000 using xda premium

Categories

Resources