Last Comment Bug 765533 - Host fails to mount SD card on otoro when UMS is enabled
: Host fails to mount SD card on otoro when UMS is enabled
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: Trunk
: ARM Gonk (Firefox OS)
-- normal (vote)
: ---
Assigned To: Dave Hylands [:dhylands]
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2012-06-16 19:02 PDT by Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
Modified: 2012-07-24 13:35 PDT (History)
6 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-06-16 19:02:07 PDT
I get the error

E/Vold    (   99): Unable to open ums lunfile (No such file or directory)
E/AutoMounter(  116): Command 'volume share sdcard ums' failed: 406 'volume operation failed (No such file or directory)'
Comment 1 User image Dave Hylands [:dhylands] 2012-06-16 22:44:26 PDT
I'll take a look at this as soon as my otoro arrives (expected Tuesday)
Comment 2 User image Dave Hylands [:dhylands] 2012-06-19 14:42:38 PDT
This is caused by a mismatch between vold (built for ICS) and the kernel (built for GB).

I've filed an issue in github:

and one possible solution:
Comment 3 User image Dave Hylands [:dhylands] 2012-06-21 22:31:57 PDT
The solution of grabbing vold from the phone has been implemented.

If you've already run ./ otoro, you'll need to do it again to cause the correct vold to be updated.
Comment 4 User image Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-06-22 15:50:28 PDT
Do you mind posting a note about this to dev-b2g?  Thanks for fixing!
Comment 5 User image Dave Hylands [:dhylands] 2012-06-22 18:41:55 PDT
I posted the following to dev-b2g:

Fundamentally, the phone is running a GB kernel, but we're building an ICS userspace.

You need to update the phone to use the GB based vold that came with it, rather than the ICS based vold that we build.

1 - If you have a build environment setup, you need to update the vold that is in your build tree.
    There are 3 ways that you can do this:
    - ANDROIDFS_DIR=parent-of-place-you-saved-your-system-backup ./ otoro
    - cp parent-of-place-you-saved-your-system-backup/system/bin/vold ./vendor/qcom/common/proprietary/vold
    - I stashed a copy at

2 - You can then do ./ && ./
    Or you can do: adb push vold /system/bin

If you don't have a build environment, just grab the vold that I stashed (see above) and adb push it to the phone (see 2 above)

Reboot the phone, and USB mass storage should be working.

Note You need to log in before you can comment on or make changes to this bug.