it can't work with our Nexus5?
since we dont have a sdcard, how could you mount it as such?
The "mount /sdcard" command mounts the /sdcard (actually /data/media/0) to the recovery not to your pc if that's what you think?
The "mount USB mass storage" option wont work because the nexus 5 has no external sdcard slot and /sdcard is not a true partition,.its fuse so cannot be mounted
Sent from my Nexus 5 using Tapatalk
Related
Hi,
I've been wondering if it might me possible to mount a different partition or event better an iso file and make it visible via USB Mass Storage instead of the sdcard?
I had a look around and found the /etc/vold.conf:
Code:
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
media_path /devices/platform/msm_sdcc.2/mmc_host/mmc1
emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /sdcard
ums_path /devices/platform/usb_mass_storage/lun0
}
I tried to change media_path to, for example /dev/block/mtdblock4 but apparently vold didn't like it
Did anyone try to do such a trick? Any tips?
Thanks,
ziggiesandvik
it shows there...
media_path /devices/platform/msm_sdcc.2/mmc_host/mmc1
so it appears to mount the actual memory card. there fore it should mount all partitions available on the memory card.
I know that works, when i plug my phone in on a machine running linux it will mount all my partitions for example ext3 and my fat32.
are you trying to mount an internal partition on the device?
I remember there was something in the ums_enable script of the modded recovery, which echoed the device path to something in /sys/, though I'm too lazy to pull it up now. Changing that device path did let me mount other things (like a loop image on the sdcard) to the USB mass storage.
r00ktard said:
are you trying to mount an internal partition on the device?
Click to expand...
Click to collapse
Yes, that's what I'm trying to achieve - expose a different partition via usb.
I tried to change the media_path to for example /dev/block/mtdblock4 but it didn't work.
I was unable to find anything in /devices/platform/... that would look like a partition.
I'm stuck
I have a GT-i9023 Nexus S. Already rooted. Have CWM installed.
Now I am trying to access USB storage to get my files before I install another ROM and it just can't mount USB storage in CWM.
I tried connect my Nexus S via USB cable to my computer, it appears to detect my phone but no USB Mass Storage comes up so I can't access my files using Windows Explorer.
Now my phone has only CWM, no ROM installed.
Is there anyway to access my USB storage so I can backup my files, put a ROM (zip file) into the USB storage and then I can flash it using CWM.
Now I am in CWM.
I go to "mounts and storage - mount /sdcard"
Respond "Error mounting /sdcard"
So I try "mount USB storage"
Respond "E:Unable to write to ums lunfile (No such file or directory)"
What should I do?
in recovery mode in mount and storage i see many options
mount /catches
mount /systen
mount/sd card
mound/sd ext
and many more what happen if i mount sd card
tell me
thanks in advance
lmgtfy.com/?q=mounting+partitions
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
iBrickYouNot said:
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
Click to expand...
Click to collapse
you can't
Tell me how the system determines whether the SD card is mounted or not?
I want to mount the SD card manually and without fuss. To do this, I first unmount wherever it is mounted.
umount /storage/0123-4567
umount /mnt/runtime/full/0123-4567
etc
And then everything mounts fine with system namespace.
The problem is that if you unmount the sd card through the phone settings. And then mount it through the terminal, then the system and file managers do not see it. Nevertheless, it is possible to enter it manually through file managers.
The same happens in case of mount errors. The system stops seeing the memory card even if it is actually mounted. How can I tell the phone that it is mounted?