Add workaround for USB initialization issue

On Android 6 userdebug builds, on first boot, the usb mode defaults to
"diag,adb". On Android 7, the usb mode defaults to
"diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb" for unknown
Lineage reasons.

This change ensures the initial USB mode aligns with that on Android
6.

This should be removed and the root cause found and fixed.

Issue: FP2N-288
Issue: FP2P-227
Change-Id: If9bf4a551dcfe864d0cb985a5e56e65d75ecf5b0
1 file changed
tree: 417d010fb82771cd7101ca29435e1896f90a2b15
  1. build/
  2. dtbtool/
  3. media/
  4. rootdir/
  5. Android.mk
  6. bdroid_buildcfg.h
  7. build.sh
  8. common.mk
  9. common64.mk
  10. generate_extra_images.mk
  11. qcom.key
  12. README.md
  13. releasetools.py
  14. sdllvm-lto-defs.mk
  15. sec_config
  16. utils.mk
  17. vendorsetup.sh
README.md

Generic common qcom configuration tools

Copyright 2014 - The CyanogenMod Project