libaums
libaums copied to clipboard
After plugging in the USB disk, direct init error
E/MainActivity: error setting up device
com.github.mjdev.libaums.driver.scsi.UnitNotReady: Device is not ready (Unsuccessful ScsiTestUnitReady Csw status)
at com.github.mjdev.libaums.driver.scsi.ScsiBlockDevice.init(ScsiBlockDevice.kt:100)
at com.github.mjdev.libaums.UsbMassStorageDevice.setupDevice(UsbMassStorageDevice.kt:156)
at com.github.mjdev.libaums.UsbMassStorageDevice.init(UsbMassStorageDevice.kt:114)
at com.github.mjdev.libaums.usbfileman.MainActivity.setupDevice(MainActivity.java:761)
at com.github.mjdev.libaums.usbfileman.MainActivity.discoverDevice(MainActivity.java:745)
at com.github.mjdev.libaums.usbfileman.MainActivity.onCreate(MainActivity.java:697)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)
Does this work with version 0.6.0
?
作者都提醒你升级最新版本哦
edit by @depau, gtranslated The author reminds you to upgrade to the latest version
I'm also facing same error. When I connect the usb for second time after giving all the permissions it will not show me any pop up. But not able to proceed because of the above error.
Kindly help me out?
Unplugging the usb device does not help? This should reset the device usually.
It didn't work. It is showing the below error exactly.
Device is not ready (Unsuccessful ScsiTestUnitReady Csw status).
This is happening every second time on words when I insert the usb after giving all the permissions.
Maybe related to #209 still looking into fixing this though ..
device.init();//初始化
Device is not ready (Unsuccessful ScsiTestUnitReady Csw status).
edit by @depau, gtranslated comment above:
//initialization