In my root directory, I have the following folders listed: mnt, sdcard, sdcard2. If I expand mnt, I have another sdcard folder. If I then expand mnt/sdcard, I have a folder called ext_sd which as far as I can tell is just a duplication of the sdcard2 folder from the root directory in which I started. Is this standard folder/file structure, or have I screwed something up somehow. For some reason, I am unable to wipe internal storage from within TWRP, and I suspect that the circular folder layout has something to do with it. Can someone dumb this down a shade for me?
That is the correct structure.
/sdcard is the same as /mnt/sdcard
/sdcard2 is the same as /mnt/sdcard/ext_sd or /sdcard/ext_sd
You are probably right about not being able to wipe internal storage. Cause if you wipe /sdcard then it would also wipe /sdcard/ext_sd
Related
Hi,
I need to factory reset my phone and have used App List Backup to genereate the list of apps to be restored. However, I cannot find the file and the sdcard folder on my phone is empty.
Anyone able to help me out here? I think I've backed up everything else, but I'd really like to get this file out just in case...
Cheers!
Once you mount your phone, you'll see two mounted drives. The folder 'External_SD' is empty on the 'internal mount'. Select the other drive to see the data.
Have you checked the folder 'data' or 'android'?
Are you rooted? My external SD is always visible in /mnt/emmc Internal is visible as /mnt/sdcard
Longun said:
Are you rooted? My external SD is always visible in /mnt/emmc Internal is visible as /mnt/sdcard
Click to expand...
Click to collapse
Thanks, but it wasn't there. Managed to get the files by removing the sd card and running it again. It then created a folder on the root of the main storage
Hi everyone,
I read the unlocking bootloader tutorial. It's stated it will wipe /data partition but not the SD card.
I don't actually get that part. Since XP S doesn't have SD card, does that mean all data will be erased?
Can I backup all data including those program data without rooting?
Thanks
In fact, there are two partitions: the /data partition and the /sdcard partition. They're located on the same memory chip, so there is no physical sdcard, but the system thinks there is. So wiping /data will not wipe your /sdcard and vice versa.
By using ES file explorer, the default location is /sdcard.
So that is the folder where the system think it is actually /sdcard partition
When I go up 1 level, I see a lot of other folders. One of them is /data. That is the one mentioned in the tutorial, /data partition. Also, where the apps data are stored. I couldn't see anything because I am not rooted. Which also means, there is no way to backup apps data.
Am I on the right track?
In the the right direction, but without root you can see the files you just cant edit them, you need root for that
Hello,
I noticed an empty directory at /mnt/sdcard after installtion of CM9. All of my data (internal storage + external storage) is now in /mnt/sdcard2. Here I see folders like 'Android', 'data', 'DCIM' etc., which I actually expected to find in /mnt/sdcard (internal storage location). In addition to that this folder houses also my data of the external storage, i. e. my sdcard.
As soon as I unmount my external card, the folder /mnt/sdcard2 appears to be completely empty, even the content of the internal storage is gone. Moreover, the folder /mnt/sdcard is also empty. Where did this data vanish?!? Strangely enough, the rom works just fine apart from the aforementioned problem.
Is this the default behavior or did I go wrong during flashing/setting up TWRP?
Best regards,
Michael
Check what is set to default storage in settings - storage/memory (depending on locale). Possibly something went wrong when you tried to change it.
Internal storage is stored in /data/share
Have you tried using root explorer and checking the mnt folder?
Hi everyone.
After some snafu while trying to update Gapps to the latest package, which wrecked my phone ;
I re-flashed the ROM (CM11.0 from Maclaw's), doing full wipe of dalvik/cache/data/system. I reinstalled the previously working Gapps package.
Everything is working fine, but the way the storages are mounted is not correct. For instance, Gallery won't display pictures from the external sdcard.
Yet, if I use file manager, I can access it, and all my personal files are still there. When connecting to the PC, internal storage takes me to the actual internal storage being used by the phone but external storage appears empty.
/sdcard points to /storage/emulated/legacy it contains my old files from before flashing anew.
tree of /storage :
/storage
---/emulated
------/0 <-- this seems to be the same folder as legacy
------/clockworkmod <-- never mind, it's just there, empty. A remnant of my previous recovery
------/legacy
------/obb <-- empty
---/sdcard0 <-- redirects to /storage/emulated/legacy
---/sdcard1 <-- external sdcard
I hope I'm being clear enough. Basically, external sdcard doesn't seem to get mounted at a correct place which would allow apps to read from it.
While in recovery, if I go to the file manager,
external sd card is mounted in /external_sd
/sdcard is the internal storage
/data/media is the same as /storage/emulated as before. ./0 is populated, ./legacy is not.
So, basically, I should find a way to mount the external card to /data/media right?
Edit : I kept trying stuff. I created a folder from my PC on the apparently empty sd card, and put a photo in it. It displays in the gallery, and the folder is at the root of the sd card, just like every other folder that are not detected by either my phone and PC. The hell is that about?
My galaxy s5 started showing memory full when all storage programs said there was about 5 gb left.
I downloaded foldermount and it said it found the issue so it was going to repair it.
Well after I rebooted. The internal sd card(phone memory) is not mounting.
When connected to the PC, it shows 128mb.
on ES FIle explorer SDCARD shows "???" and when I attempt to open it ask what file I want to open it with, but with the program storage analyzer it finds the "data" folder just fine and lists all the files and folders within it.
In the phone settings options, it can show the amount of memory being used along with the media, mp3, apps, so the Folder is still there along with all the info, it is simply not mounting properly?
Thank you.
UPDATE: I found the path of where all my files are at, but the phone is not mounting it as the internal storage?
It is located at data/media/0 and mnt/sdcard0 or mnt/sdcard1 are missing.
* Aside from Phone being rooted, there were no other modifications
* Phone is running on original OS(as opposed to roms or such)
*There is not an external sd card in the phone
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
intenselyinsane said:
Folder mount will not do anything for you really without an SD card. After you use it to clear space you need to unmount all the folder it mounted to view what is actually in the folders. If not it will show the folder that it is linked to and look like it never worked. Changing your system data to SD data in your case keeps it in internal memory and does not free it up. You need to use folder mount with a SD card for it to help you. Saved me over 500Mb with it on my s5
Click to expand...
Click to collapse
Sorry, long story short,
My phone mnt/sdcard and sdcard links are no longer there. Is there a way to recreate the links? Certain apps are still able to function because they are using the actual link, device/media/ect, ect, /0/ folders as opposed to mnt/sdcard/
I saw on another forum that
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
May help, but not sure if it is only for roms and not for original OS.
On another forum there was talk about recreating a syslink?
Solved:
Simply went to "system/bin" and erased the "sdcard" file and renamed the file "sdcard.backup" to "sdcard". Rebooted and it solved the issue.