aquaris-dev / DEPRECATED_android_device_bq_piccolo

Android device configuration for the bq Aquaris M5
4 stars 6 forks source link

ADB over USB not working #101

Closed cmorlok closed 8 years ago

cmorlok commented 8 years ago

It's not possible to connect to ADB over USB (while it's possible via network).

It might be a kernel error; the driver doesn't accept the adb function:

# echo 0 > /sys/class/android_usb/android0/enable
# echo diag,serial_smd,serial_tty,mass_storage,adb > /sys/class/android_usb/android0/functions
# cat /sys/class/android_usb/android0/functions
diag,serial_smd,serial_tty,mass_storage
# echo diag,serial_smd,serial_tty,adb > /sys/class/android_usb/android0/functions
# cat /sys/class/android_usb/android0/functions
diag,serial_smd,serial_tty
sergiopoverony commented 8 years ago

Work is fine. Need switch OFF underWIN check the authenticity of the installed drivers

cmorlok commented 8 years ago

@sergiopoverony Can you please post the output of

cat /sys/class/android_usb/android0/functions
sergiopoverony commented 8 years ago

@cmorlok I copy adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll from unpacket official FW by 4.0.0_20160517-1201-piccolo-user-851-FW I Copy this files to my Windows folder WinXP and device pictures Use connection - MTP and ADB CM13 qip shot - screen 1025 Use connection - Charger and ADB screenshot_20160628-140627 qip shot - screen 1024

cmorlok commented 8 years ago

Sorry my fault. ADB has been downgraded with the latest system update. Everything is fine with the correct version.