I am using the Android Marshmallow for Sabre SD platform for development and I have run into a critical kernel bug. I have followed the procedure as given in NXP for setup and installation of Marshmallow
I need acm and adb via the usb otg. Hence I have put the following lines in the init.usb.rc file.
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/functions acm,adb
write /sys/class/android_usb/android0/f_acm/instances 1
write /sys/class/android_usb/android0/idVendor 18d1
write /sys/class/android_usb/android0/idProduct 2d05
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state acm,adb
Now when I do a setprop sys.usb.config acm,adb I get a usb crash. Could somebody please help me troubleshoot this issue? I have attached the crash logs.
Original Attachment has been moved to: acm_adb_crash_logs.txt.zip