[Q] SD card not mounting in AOSP ROMs - Verizon Samsung Galaxy Note II

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.

Related

[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

external_sd fix?

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?

SD card not working

Since I installed a lot of roms I wanted to completely wipe my I9300 so formatted the external sd card and I accidently used partitioned the sd card.
I formatted it and after that it it does show up on the file browser but it says there are 0 bytes available also when I click on the storage menu in settings it crashes the settings app.
evyatark2 said:
Since I installed a lot of roms I wanted to completely wipe my I9300 so formatted the external sd card and I accidently used partitioned the sd card.
I formatted it and after that it it does show up on the file browser but it says there are 0 bytes available also when I click on the storage menu in settings it crashes the settings app.
Click to expand...
Click to collapse
Format your sd card again in fat32 in windows and try again...
Sent from my GT-I9300 using xda app-developers app
zoot1 said:
Format your sd card again in fat32 in windows and try again...
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I don't have micro SD to usb connector but I solved the problem. I flashed the stock samsung frimware and did a format from the settings.

Formatted internal sd to ntfs

Accidently formatted internal sd to ntfs....now it wont mount and cant format back to fat32....please help?
Sent from my GT-I9100G using xda app-developers app
knight.joy said:
Accidently formatted internal sd to ntfs....now it wont mount and cant format back to fat32....please help?
Sent from my GT-I9100G using xda app-developers app
Click to expand...
Click to collapse
back-up the things you want to keep. Flash a stock rom with Odin. Now you'll have your internal sdcard back.

[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