Hi there,
I'm working on JB 4.2.2 on Allwinner A31s. We use both internal and external partitions.
After I changed internal SD card to emulated (previous was on it's own
partition) I cannot enable USB mass storage of internal card.
UsbStorageActivity does not finish enabling. When I watch vold with 'vdc
monitor' it does nothing, prior to previous version when it worked as
expected - unmounting device and changing it's state). This happens also if
there is also external SD card presented.
Debugging with logcat whows that in case of emulated SD card:
* PackageManager is not called
* Vold is not called
* MediaScannerReceiver is not called
* MountService (runned in thread by UsbStorageActivity) skips both internal
and partition (doesn't umount either of them) and progress indicator keeps
running.
Any idea what can be wrong? storage_list.xml?
vold.fstab before was (internal card was /mnt/sdcard):
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandk
dev_mount extsd /mnt/extsd auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount usbhost1 /mnt/usbhost1 auto /devices/platform/sw-ehci.1 /devices/platform/sw_hcd_host0 /devices/platform/sw-ehci.2 /devices/platform/sw-ohci.1 /devices/platform/sw-ohci.2
I removed the first line (for /mnt/sdcard). I also tried to add line
dev_mount sdcard /mnt/shell/emulated auto /devices/platform/sw-ehci.1 /devices/platform/sw_hcd_host0 /devices/platform/sw-ehci.2 /devices/platform/sw-ohci.1 /devices/platform/sw-ohci.2
but it didn't help.
I suppose it needs to be entry in vold.fstab for emulated devices as well?
Thanks for any tips.
Kind regards,
Petr