external_sd fix? - AT&T Samsung Galaxy S II SGH-I777

Is there a way to fix internal sd pointer to sd card?
I tried terminal,
ln -s /mnt/emmc external_sd
But all i get is "operation not permitted". Is there another way to get a symbolic link on my internal sd pointing to external sd?
I use airdroid for transferring data from pc, but won't pick up external sd so it's kind of a pain sometimes.
Sent from my SGH-I777 using xda app-developers app

mikeflash said:
Is there a way to fix internal sd pointer to sd card?
I tried terminal,
ln -s /mnt/emmc external_sd
But all i get is "operation not permitted". Is there another way to get a symbolic link on my internal sd pointing to external sd?
I use airdroid for transferring data from pc, but won't pick up external sd so it's kind of a pain sometimes.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Emmc should be the internal SD, and /mnt/sdcard is the external. No fix needed
Sent from my SGH-I777 using Tapatalk 2

Nick281051 said:
Emmc should be the internal SD, and /mnt/sdcard is the external. No fix needed
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
Except that in my phone is exactly the opposite. Going to /mnt/sdcard goes to my internal and /mnt/emmc shows the contents of my external card.
Sent from my SGH-I777 using xda app-developers app

I believe you would have to recompile the kernel to change that. Or install a different kernel. What firmware are you running?

mikeflash said:
Except that in my phone is exactly the opposite. Going to /mnt/sdcard goes to my internal and /mnt/emmc shows the contents of my external card.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
I was wondering if cm9 had changed it back, I wasn't sure. Either way that's how it is supposed to be in cm9
Sent from my SGH-I777 using Tapatalk 2

mikeflash said:
Is there a way to fix internal sd pointer to sd card?
I tried terminal,
ln -s /mnt/emmc external_sd
But all i get is "operation not permitted". Is there another way to get a symbolic link on my internal sd pointing to external sd?
I use airdroid for transferring data from pc, but won't pick up external sd so it's kind of a pain sometimes.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Did you try running the command as root? If all else fails, Directory Bind should do the trick for you in creating the symlink.
Although I'm not sure if the computer will pick it up via the symlink either if it doesn't see it in the first place. Have you tried to mount USB storage while in recovery?

Related

[Q] Rename internal storage path?

Is there any way to rename the internal storage as something else, then rename the micro sd card from sdcard-ext to just sdcard? Just curious...Thanks in advance!
Sent from my MB855 using XDA App
Major_Nate said:
Is there any way to rename the internal storage as something else, then rename the micro sd card from sdcard-ext to just sdcard? Just curious...Thanks in advance!
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Best you could probably do is Symlink it. But that has its own set of problems, my guess is that the file systems are different which could cause an issue. And if you ever wanted to pull the sd card you would have to remove the symlink before hand. Also, names don't mean much to the OS, they are on /dev/ mounts and referred to by device addresses.

Cant access SD card on CM9 nightly

Yeasterday I finally flashed CM9 and so far I love it but I have a rather annoying problem: I can't mount and access SD card from file managers. On the other hand, apps that use SD card (PowerAmp, Titanium backup, Apollo, Gallery etc.) read data without a hitch.
Right now, the only way to access the SD card's files is to take it out my phone and put in computer...
Please help...
Edit: does it have something to do with the fact I replaced CM9 kernel with Siyah 3.3.1.?
Sent from my GT-I9100 using XDA
on aosp roms, the external sd card is mounted as /emmc/ and not /sdcard/external_sd/ which is why that folder might appear empty in file explorers
Chef_Tony said:
on aosp roms, the external sd card is mounted as /emmc/ and not /sdcard/external_sd/ which is why that folder might appear empty in file explorers
Click to expand...
Click to collapse
So, I should he able to access SD card through explorer? How?
Sent from my GT-I9100 using XDA
As already said above, navigate to emmc.
Sent from my GT-I9100 using xda premium
Fixed with ICS SD Binder
Sent from my GT-I9100 using XDA
Chef_Tony said:
on aosp roms, the external sd card is mounted as /emmc/ and not /sdcard/external_sd/ which is why that folder might appear empty in file explorers
Click to expand...
Click to collapse
I'm sorry I'm new and don't know where the 'Thank You' button is, but thank you nonetheless this answered my question perfectly! :victory:

[Q] How to swap internal & external storage?

Does anyone know how to swap the internal storage with the sd card? The fstab looks funky.
Sent from my GT-I9300 using xda premium
Mister_Mxyzptlk said:
Does anyone know how to swap the internal storage with the sd card? The fstab looks funky.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
what do you mean by swap the internal storage with the external? dont you just normally use both internal and external together?
FOr what reasons? For apps to be moved/installed in the external SD?
Answer is at the moment Apps2SD doesn't work YET in s3
No. I mean to literally swap their mount directories. I've done this before on my Note. I edited my vold.fstab and with a little help got my internal storage mounted to /sdcard/ExternalSD and my 64GB SD card mounted to /sdcard. That's what I want to do here.
Sent from my GT-I9300 using xda premium
Anyone?
Sent from my GT-I9300 using xda premium
For what reasons do you want to do this?
Look in siyah kernel thread.he changed the vold.fstab mounted in adb.ask him about the swap.
zodiaxe66 said:
Look in siyah kernel thread.he changed the vold.fstab mounted in adb.ask him about the swap.
Click to expand...
Click to collapse
Thank you so much. And to answer the questions, I want to do this so my internal storage can be as big as the SD card I'm using. For example, I have the storage swapped on my n7000 so my 64GB SD card is read as internal storage and my 16GB internal storage is read as an external SD card.
Sent from my GT-I9300 using xda premium
bordikun said:
For what reasons do you want to do this?
Click to expand...
Click to collapse
I would like to do the same. i have done this switch on my note and it works flawlessly. I want to do this because I am a hardcore gamer and 16gb is nowhere near enough space to store all my game data, but my 64gb sd card is.
Mister_Mxyzptlk said:
Thank you so much. And to answer the questions, I want to do this so my internal storage can be as big as the SD card I'm using. For example, I have the storage swapped on my n7000 so my 64GB SD card is read as internal storage and my 16GB internal storage is read as an external SD card.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Never thought of it that way hehe. But I have a question about the setup: Have you ever had issues where your SD card randomly unmounted itself? If so, what happened to the system? Were you still able to run it or did it freeze or anything else?
Thanks
Not even once and I have had it set this way on my note for months through several different roms
Sent from my SCH-I535 using XDA Premium HD app
The internal SDcard is not a real partition but a userspace mount (fuser)
It's configured in the file /init.smdk4x12.rc with the exact definition:
Code:
service sdcard /system/bin/sdcard /data/media 1023 1023
I don't see the daemon getting any kind of configuration as to the target directory. Either it's hardcoded or it uses /system/etc/vold.conf definition volume_sdcard the mount_point value.
You can't use Easy UMS anymore though since it will unmount the external SD.
Just using the APK Directory Bind will work fine though to simulate folders on the external SDcard as being on the internal one.
You can swap over the Internal SD with your external SD so you could have a 64GB phone with a 16GB ext card (assuming your phone is a 16GB one) - take a look at ExtSd2InternalSd v4|Increase your data storage

[Q] SD card not mounting in AOSP ROMs

What the title says, whenever I flash an AOSP ROM, my internal SD card disappears, and I cannot access it until I flash back to TouchWiz. I've tried 2 different AOSP ROMs, same problem on both. When I flash between the two, I've tried naming the sdcard "sdcard" and "sdcard0" but neither work. Help me please guys..
Is your SDCard formatted as exFAT?
imnuts said:
Is your SDCard formatted as exFAT?
Click to expand...
Click to collapse
Nope. Fat32. My external SD card works. It seems that it mounts the internal SD card somewhere else. I don't know where though.
Sent from my SCH-I605 using xda premium
Missed the internal part. It should be /storage/emulated/legacy
imnuts said:
Missed the internal part. It should be /storage/emulated/legacy
Click to expand...
Click to collapse
I got it to work. I had to format my entire internal storage. Luckily I had a backup in my external card.
Sent from my SCH-I605 using xda premium
I cant get my extsd card to mount in aosp. Any ideas on how to correct this problem?
Sent from my SCH-I605 using XDA Premium HD app
troc240 said:
I cant get my extsd card to mount in aosp. Any ideas on how to correct this problem?
Sent from my SCH-I605 using XDA Premium HD app
Click to expand...
Click to collapse
Format it to FAT32 if it isn't already.
Formatting will erase all files correct?
ryanmason06 said:
Formatting will erase all files correct?
Click to expand...
Click to collapse
Yes.

[Q] my internal memory does not mount

No idea why it doesn't mount on my phone, but mounts along with my SD card when I connect it to a pc
Sent from my Infected Rezound using xda app-developers app
andrix10 said:
No idea why it doesn't mount on my phone, but mounts along with my SD card when I connect it to a pc
Sent from my Infected Rezound using xda app-developers app
Click to expand...
Click to collapse
Try formatting it from your PC in FAT32 (not NTFS or exFAT) or from your Recovery.
Are you sure it's not mounting? Most CM-based ROM's, including Infection, do not use the internal storage volume, so it will appear empty if you did a complete wipe before installing.

Categories

Resources