I started having trouble accessing the internal SD Card through UMS on my phone since installing Avast, I have uninstalled Anti-Theft then Avast, but the problem persists. I am running CM9 based Slim Rom 4.2 with Semaphore 1.2.6s kernel, the phone comes with 16GB of internal storage, partially taken by system, and I have another Micro SD Card installed.
I have switched different usb cables, computers, usb ports with no improvement, but emmc continues to be accessible throughout this process.
http://forum.avast.com/index.php?topic=95241.0I suspect this user may have been experiencing a similar issue as I am.
The following logcat shows the errors, notably "Failed to unmount /mnt/secure/staging"
[suspicious]
07-16 01:36:31.464 D/VoldCmdListener( 147): volume shared /mnt/sdcard ums
07-16 01:36:31.468 D/VoldCmdListener( 147): volume shared /mnt/emmc ums
...
07-16 01:36:31.714 D/VoldCmdListener( 147): volume unmount /mnt/sdcard force
07-16 01:36:31.714 D/Vold ( 147): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting)
07-16 01:36:31.714 D/MountService( 301): sendStorageIntent Intent { act=android.intent.action.MEDIA_EJECT dat=file:///mnt/sdcard (has extras) }
...
07-16 01:36:32.718 I/Vold ( 147): /mnt/secure/staging/.android_secure sucessfully unmounted
07-16 01:36:32.718 I/Vold ( 147): /mnt/secure/asec sucessfully unmounted
07-16 01:36:32.718 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 9, action 0)
07-16 01:36:33.867 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 8, action 0)
07-16 01:36:35.019 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 7, action 0)
07-16 01:36:36.207 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 6, action 0)
07-16 01:36:37.363 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 5, action 0)
07-16 01:36:37.941 D/dalvikvm( 6009): GC_CONCURRENT freed 419K, 24% free 3020K/3971K, paused 2ms+2ms
07-16 01:36:38.531 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 4, action 0)
07-16 01:36:39.675 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 3, action 0)
07-16 01:36:40.824 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 2, action 1)
07-16 01:36:41.972 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 1, action 2)
07-16 01:36:43.121 W/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 0, action 0)
07-16 01:36:44.269 E/Vold ( 147): Giving up on unmount /mnt/secure/staging (Device or resource busy)
07-16 01:36:44.269 E/Vold ( 147): Failed to unmount /mnt/secure/staging (Device or resource busy)
07-16 01:36:44.269 D/Vold ( 147): Volume sdcard state changing 5 (Unmounting) -> 4 (Mounted)
07-16 01:36:44.273 W/MountService( 301): Duplicate state transition (mounted -> mounted) for /mnt/sdcard
07-16 01:36:44.273 D/MountService( 301): sendStorageIntent Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/sdcard (has extras) }
07-16 01:36:44.277 D/VoldCmdListener( 147): volume share /mnt/sdcard ums
07-16 01:36:44.285 D/MediaScannerReceiver( 6805): action: android.intent.action.MEDIA_MOUNTED path: /mnt/sdcard
07-16 01:36:44.300 E/MountService( 301): Failed to share/unshare
07-16 01:36:44.300 E/MountService( 301): com.android.server.NativeDaemonConnectorException: Cmd {volume share /mnt/sdcard ums} failed with code 405 : {volume operation failed (Device or resource busy)}
[/suspicious]