ADB not working on reboot

Hi all,

On first boot adb is working fine but if i reboot adb is not working.

i’m seeing this error:

Unable to write to file ‘/config/usb_gadget/g1/UDC’: Unable to write file contents: Connection timed out

need help on this.

logs:
dwc3: failed to start g1: -110
[ 175.379132] init: Command ‘write /config/usb_gadget/g1/UDC ${sys.usb.controller}’ action=sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss,adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/vendor/etc/init/hw/init.msm.usb.configfs.rc:961) took 5092ms and failed: Unable to write to file ‘/config/usb_gadget/g1/UDC’: Unable to write file contents: Connection timed out
[ 180.728443] configfs-gadget a600000.dwc3: failed to start g1: -110

Thanks.

Which board and software version is it related to?

Hi Loic,

Its sm7250 based custom board.
when i set “persist.vendor.usb.config” only to adb then adb is working fine on reboot.

before the compositions were:
[persist.vendor.usb.config]: [diag,serial_cdev,rmnet,dpl,qdss,adb]

it should work anyway right. why this is so?

Thanks

I don’t think there are any 96Boards products based on this chip (nor much experience with the vendor Android build for it).