top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Auto mounting external sd card on Android system

+1 vote
988 views

I'm trying to get my sdcard to automount on my nexus 10 through USB OTG cable. I can manually mount it and it works. Here is what I have setup so far. Is there anything else I need to do? I manually mount it like

"mount -t vfat /dev/block/sda1 /mnt/usbdisk"

init.manta.rc
 # usb usb sd card
 export SECONDARY_STORAGE /storage/usbdisk0
 mkdir /storage/usbdisk0 0666 system system

 symlink /storage/usbdisk0 /usbdisk
 symlink /storage/usbdisk0 /mnt/usbdisk

vold.fstab
dev_mount usbdisk /storage/usbdisk0 auto /dev/block/sda1
posted Sep 17, 2013 by Meenal Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Have you updated storage_list.xml
Which one should I update? I see under device and under frameworks.

2 Answers

+1 vote

Update this one in device. In Android JB there is overlay directory which overwrites the content from frameworks/base

answer Sep 19, 2013 by Bob Wise
+1 vote

Under device, if storage_list.xml is in overlay directory, modify that only.If not overlay directory then, modify the one in framework.This file is bridge between vold and Android platform.

answer Sep 19, 2013 by anonymous
Similar Questions
+1 vote

Could someone please explain how can I mount secondary physical storage from Vold? Is it necessary to mount via fuse on top of the Vold?

+2 votes

Is there a way to mount HDFS directly on a Linux and Windows client? I believe I read something about there being some limitations, but that there is possibly a FUSE solution. Any information on this (with links to a how-to) would be greatly appreciated.

+2 votes

I have plugged a digital camera into my usb port and mounted it using the popup displayed from the auto detect via konqueror (this annoys me as well). When konqueror is launched it displays the contents via Camera:/ which is okay, but subsequently I can't find any entries under /run that represent the camera. I assumed there would be a mount point under /run like there is for a usb flash disk.

Given that there appears to not be a mount point under /run, where is it mounted in Fedora 20, so that I can point dolphin (which is what should be launched from the 'Open with File Manager' prompt, not Konqueror) at the mount point rather than having to manually type Camera:/ into the address bar.

+1 vote

How does one put a Boot sector on a SD card to boot off it.
The .img file has been install on SD card.

+2 votes

I am writing an Android application that will need to read data from the phone SIM card such as messages stored in the SIM card.
I am stuck where do I get a start tutorial or guide.

...