[Q] What is mount point for internal sd_card - Sprint Samsung Galaxy Note 3

Im setting up edify_defs file for dsixda's kitchen,
Need mount point for sd_card
eg. /sdcard_mnt=/dev/block/?
I have all other mount except this one
sys_mnt=\/dev\/block\/mmcblk0p23
cache_mnt=\/dev\/block\/mmcblk0p24
boot_mnt=\/dev\/block\/mmcblk0p14
data_mnt=\/dev\/block\/mmcblk0p26
sdcard_mnt=\/dev\/block\/?

Related

[Q] Mount folder on boot?

I have looked all over for this, and I am not sure what files need to be modified. Right now I have Tasker doing a mount but I would like to do it on boot.
I read that it has something to do with init.d and some other jazz, but what? its simple of what I want to do,. i have a "mount -o bind /storage/sdcard1 /storage/sdcard0/external_sd" I am running CM10 right now, and for some reason it mounts everything to /storage/sdcard0 and sdcard1 a
i also want to rig it so my Rdio , and Spotify are mounted also with another line.
any help would be appericated.
thank you

[Q] sd card with two partitions: 2nd not visible to File Explorer

My situation: Galaxy S3 with latest (26 Oct. 2012) update to 4.1.1 via Kies. Then rooted. Works smoothly. External Sd-card visible, no problem.
Then:
repartitioned SD-card with gparted in Fedora machine: mmcblk1p1 with old contents, mmcblk1p2 for new contents, both vfat. Filled mmcblk1p2 with contents from linux machine.
In the phone the first partition (the one with the old data) is recognised as before. The second partition is not seen.
By using the terminal emulator as super user I can mount the second partition by the command:
mount -rw -t vfat /dev/block/mmcblk1p2 <mountpoint>
<mountpoint> is a directory VISIBLE to File Explorer.
After mounting, however, the directory contents are NOT visible in File explorer (even after stopping and restarting File explorer) but can be listed perfectly in the terminal emulator. Giving the cp-command for copying of an individual (MP3) file from the <mountpoint> to the folder Music shows the copied file in that folder and the music can be played in the usual way through the GUI.
Question:
Does anybody have an idea how to make the mounted 2nd partition visible to the apps so that the files can be accessed though the GUI?
Thanks for thinking about this problem.
Bananiel-1944
Found the solution by some more thinking after all:
mount -rw -t vfat -o umask=0000 /dev/block/mmcblk1p2 <mountpoint>
The -o umask=0000 is essential, otherwise the permissions are rwx------; with the umask option they are rwxrwxrwx and thus can be reached.
For safety sake, mount when needed and umount promptly afterwards.
Bananiel-1944
Bananiel-1944 said:
My situation: Galaxy S3 with latest (26 Oct. 2012) update to 4.1.1 via Kies. Then rooted. Works smoothly. External Sd-card visible, no problem.
Then:
repartitioned SD-card with gparted in Fedora machine: mmcblk1p1 with old contents, mmcblk1p2 for new contents, both vfat. Filled mmcblk1p2 with contents from linux machine.
In the phone the first partition (the one with the old data) is recognised as before. The second partition is not seen.
By using the terminal emulator as super user I can mount the second partition by the command:
mount -rw -t vfat /dev/block/mmcblk1p2 <mountpoint>
<mountpoint> is a directory VISIBLE to File Explorer.
After mounting, however, the directory contents are NOT visible in File explorer (even after stopping and restarting File explorer) but can be listed perfectly in the terminal emulator. Giving the cp-command for copying of an individual (MP3) file from the <mountpoint> to the folder Music shows the copied file in that folder and the music can be played in the usual way through the GUI.
Question:
Does anybody have an idea how to make the mounted 2nd partition visible to the apps so that the files can be accessed though the GUI?
Thanks for thinking about this problem.
Bananiel-1944
Click to expand...
Click to collapse
Dear Bananiel,
your post was closest to the solution of my problem, maybe you could suggest something that will finally help me.
I've partitioned external SDcard with CWM to be used for Link2SD. Link2SD's script works fine and the EXT2 partition mounts well. The problem is with the FAT32 partition which can't be mounted by android (I get "SD card empty of file system damaged" in the notification area). When I go in CWM recovery mode I can mount that partition by choosing "mount USB storage" option and then I can see it on my PC. Partition is healthy and PC has no problems with it.
I've tried issuing commands you've suggested in your post through ADB SHELL, after that when I go to folder that I've designated as mount point I can see files from non-working partitio, but the message in notification area still persist. Also the change is not permanent, after reboot I have to do that again.
Thanks in advance for any help given.
Bananiel-1944 said:
Found the solution by some more thinking after all:
mount -rw -t vfat -o umask=0000 /dev/block/mmcblk1p2 <mountpoint>
The -o umask=0000 is essential, otherwise the permissions are rwx------; with the umask option they are rwxrwxrwx and thus can be reached.
For safety sake, mount when needed and umount promptly afterwards.
Bananiel-1944
Click to expand...
Click to collapse
dxage said:
Dear Bananiel,
your post was closest to the solution of my problem, maybe you could suggest something that will finally help me.
I've partitioned external SDcard with CWM to be used for Link2SD. Link2SD's script works fine and the EXT2 partition mounts well. The problem is with the FAT32 partition which can't be mounted by android (I get "SD card empty of file system damaged" in the notification area). When I go in CWM recovery mode I can mount that partition by choosing "mount USB storage" option and then I can see it on my PC. Partition is healthy and PC has no problems with it.
I've tried issuing commands you've suggested in your post through ADB SHELL, after that when I go to folder that I've designated as mount point I can see files from non-working partitio, but the message in notification area still persist. Also the change is not permanent, after reboot I have to do that again.
Thanks in advance for any help given.
Click to expand...
Click to collapse
In my situation (SD-card with two partitions, both vfat) the first partition automatically was mounted at start-up, the second needed to be mounted manually whenever I wanted to access it. This was also my intention as that second partition contains sensitive information.
Android has a file fstab.<system-id> in the root directory, in which some mounts are mentioned (but not all).
You could try to edit this file with the permanent mounts you are looking for. I'm not sure if that works, however, as I do not want a permanent mount.
Can you publish your results, please?
Bananiel
Finally!
I managed to get my external partitions visible with the help of this post.
Device: Samsung Galaxy Tab2 10.1
ROM: Candy5_p5110 Android 5.1.1
SDExternal: 2 Partitions; 1st VFAT, 2nd Ext3
Using Mount2Sd from Google Playstore.
I had the same mounting issues. SD external would only mount Partition 1 automatically and manually mounting Partition 2 would only be visible via Terminal.
The solution that finally fixed the invisible 2nd Partition was to reformat the 2nd Partition with Ext3 and allowing Mount2Sd to find it and mount to /sd-ext. Formatting to vfat or ext4 did not work. Only Ext3 did the trick.
I hope this helps others and big thanks to the OP for bringing this issue up.

[Q] Mounting SD Card at boot with init.d

I have a init.d script that involves sdcard activity, but the card is obviously not mounted whilst the script is being executed. So is it possible to write a init.d script that would mount an sdcard at boot time?
Im looking for this solution too.. I believe mount sdcard on init will be a great idea.. because i have apps on sdcard so, it will need to be scan only after it boot to the OS.
Same here... could u get the solution ?
I want my script to copy some file from /sdcard to /data at boot time.

[Q] [HELP] How can I creat a .img file and mount script??

Recent days I'm working on a Mod for Android and I've a lot of files in my mod pack. I want my files to be packed in a EX4 like disk image ".img" file, thats why I can change my files permissions, modify them easly and a SDCARD with fat32 formatted is not supported by Linux permission. So what I want is
1. files and folders to > files.img
2. A mount script that can mount the "files.img" file at boot time.
Then I want the place the "files.img" file in my SDCARD and let mount script to mount at boot time.
Could you tell me plz.. How can I do this and what I've to do for it ??? I'm a Windows user for PC any tool for creat ".img" file.. I'm really in need for this.

E: unable to mount and SCARD/0/0/...

Hi,
after flashing a custom ROM which did not work as expected, I got "E: unable to mount ..." errors.
After investigating I formated the preload and mounted preload manually in the recovery.
Somehow my SCARD now shows additional "/0" in the path to the data, leading to data being unable to be found.
e.g. to the download folder is now located in SDCARD/0/0/0/DOWNLOAD.
I assume this happened when mounting the preload or other folders maually?!
How can I get this back?
I do not tink this is realted to any ROM or device, but I am on OMNIRom 4.4.4, CWM 5.5., GTAB 7510 Wifi
Thanks
xdatroxx
"Preload" seems to be A system partition, secondary for preloaded system apps, so you really should not be mounting that to SDCARD (internal storage) unless it's unused by the roms and you know what your doing/want that partition for personal use.
If the rom gave you that error(unable to mount..) right after installing it then I would not recommend the ROM.
Can you access SDcard eg. use the files?
sdcard should normally be seen as:
/sdcard
or:
/storage/emulated/0(or legacy)
you can mount the partitions correctly but you have to find the right partition layout for your gtab.

Categories

Resources