I'm working on a project which we use a Beaglebone Black that runs on Android. We need to use USB storages for data transfer. When I plug in a USB storage to Beaglebone it works well. But if I remove it (without going to settings and clicking unmount USB device) 'unsafely' and re-plug it, Android doesn't mount USB storage. It creates its folder in /dev/block/sd* but doesn't mount it to /storage/usb1 . So I tried to use dmesg command to findout what the problem is. And I think I find the source of the problem. dmesg says:
init: no such service 'usb_modeswitch'
I think my Android distribution doesn't have usb_modeswitch binary and because of that it can't re-mount USB storage. I searched the web and find this site . But I'm not a Linux guy and I was unable to create a binary for my Android. I think if I can create a binary and copy it to /system/xbin/ folder in my Beaglebone, It might work. But of course I might be terribly wrong :D If you can give me step - by - step instructions to create a usb_modeswitch binary, I'd be grateful.
Asked by user1529034
(111 rep)
Dec 3, 2013, 11:48 AM
Last activity: Apr 15, 2014, 09:30 AM
Last activity: Apr 15, 2014, 09:30 AM