[Galaxy S II Original Android Development] MrZammler:
Hi,

Does UMS work for you? When I click on "Turn on mass storage" all I get is a spinning cirle, and nothing happens. The internal sdcard gets unmounted (correctly), but there is no device popup on my desktop. Here's a relevant snip from the log:

I/ActivityManager(22217): Displayed com.android.systemui/.usb.UsbStorageActivity: +818ms
I/PackageManager(22217): Updating external media status from mounted to unmounted
D/dalvikvm(22217): GC_FOR_ALLOC freed 1597K, 14% free 15624K/17972K, paused 115ms, total 116ms
W/InputMethodManagerService(22217): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@421afe78 attribute=null, token = android.os.BinderProxy@420606f8
W/ActivityManager(22217): Killing processes unmount media at adjustment 9
I/ActivityManager(22217): Killing 1393:com.twitter.android/u0a79 (adj 9): unmount media
I/WindowState(22217): WIN DEATH: Window{420c94c8 u0 com.twitter.android/com.twitter.applib.MainActivity}
I/WindowState(22217): WIN DEATH: Window{4210ee30 u0 com.twitter.android/com.twitter.applib.TrendsActivity}
I/WindowState(22217): WIN DEATH: Window{420b1540 u0 com.twitter.android/com.twitter.applib.SearchActivity}
I/MountService(22217): Retrying to kill storage users again
W/ActivityManager(22217): Killing processes unmount media at adjustment 8
I/ActivityManager(22217): Killing 24515:com.sand.airdroid:push/u0a122 (adj 8): unmount media
D/dalvikvm(22217): GC_EXPLICIT freed 2831K, 25% free 13617K/17972K, paused 3ms+11ms, total 144ms
I/PackageManager(22217): Updating external media status from unmounted to unmounted
D/Vold ( 1860): Found ASEC at path /data/app-asec/radiotime.player-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/com.n7mobile.nplayerunlocker-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/com.teslacoilsw.launcher.prime-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/com.endomondo.android.pro-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/uk.co.nickfines.RealCalcPlus-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/pl.solidexplorer.unlocker-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/reddit.news-2.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/com.samerzayer.theme.flatastico-1.asec
D/Vold ( 1860): Found ASEC at path /data/app-asec/org.leetzone.android.yatsewidgetunlocker-1.asec
D/Vold ( 1860): Volume sdcard0 state changing 4 (Mounted) -> 5 (Unmounting)
D/MountService(22217): sendStorageIntent Intent { act=android.intent.action.MEDIA_EJECT dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
D/dalvikvm( 7614): GC_CONCURRENT freed 281K, 12% free 2886K/3248K, paused 10ms+2ms, total 44ms
I/Vold ( 1860): /mnt/secure/asec sucessfully unmounted
I/Vold ( 1860): /storage/sdcard0 sucessfully unmounted
I/Vold ( 1860): /mnt/media_rw/sdcard0 sucessfully unmounted
I/Vold ( 1860): /mnt/media_rw/sdcard0 unmounted successfully
D/Vold ( 1860): Volume sdcard0 state changing 5 (Unmounting) -> 1 (Idle-Unmounted)
D/MountService(22217): volume state changed for /storage/sdcard0 (mounted -> unmounted)
E/VoldConnector(22217): NDC Command {74 volume unmount /storage/sdcard0 force} took too long (2092ms)
D/DirectVolume( 1860): Checking for bad partition major number
D/DirectVolume( 1860): Found bad partition
E/DirectVolume( 1860): getShareDevice() returning correct major: 259, minor: 3
D/DirectVolume( 1860): Checking for bad partition major number
D/DirectVolume( 1860): Found bad partition
E/DirectVolume( 1860): Fixing major number from 179 to 259 for partition 11
E/Vold ( 1860): Unable to open ums lunfile (No such file or directory)
I/PackageManager(22217): Updating external media status from unmounted to unmounted
D/MountService(22217): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///storage/sdcard0 (has extras) } to UserHandle{-1}
E/MountService(22217): Failed to share/unshare
E/MountService(22217): com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '75 volume share /storage/sdcard0 ums' failed with '406 75 volume operation failed (No such file or directory)'
E/MountService(22217):	at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:391)
E/MountService(22217):	at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:327)
E/MountService(22217):	at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:292)
E/MountService(22217):	at com.android.server.MountService.doShareUnshareVolume(MountService.java:656)
E/MountService(22217):	at com.android.server.MountService.access$200(MountService.java:107)
E/MountService(22217):	at com.android.server.MountService$UmsEnableCallBack.handleFinished(MountService.java:382)
E/MountService(22217):	at com.android.server.MountService$MountServiceHandler.handleMessage(MountService.java:486)
E/MountService(22217):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/MountService(22217):	at android.os.Looper.loop(Looper.java:136)
E/MountService(22217):	at android.os.HandlerThread.run(HandlerThread.java:61)
I/ActivityManager(22217): Start proc com.android.externalstorage for broadcast com.android.externalstorage/.MountReceiver: pid=8282 uid=10006 gids={50006, 1028, 1023, 1015}
D/YouTube ( 845): apps.youtube.core.transfer.aw.onReceive:757 media mounted false
D/ExternalStorage( 8282): Missing UUID for /storage/sdcard1; skipping
D/ExternalStorage( 8282): After updating volumes, found 0 active roots
D/ExternalStorage( 8282): Missing UUID for /storage/sdcard1; skipping
D/ExternalStorage( 8282): After updating volumes, found 0 active roots
I/ActivityManager(22217): Killing 7285:com.google.android.partnersetup/u0a17 (adj 15): empty for 2461s
D/MediaScannerReceiver(22365): action: android.intent.action.MEDIA_UNMOUNTED path: /storage/sdcard0

Any ideas?