OnePlus Nord adb does not work - usb default configuration is broken
every time the usb connection is disconnected, it resets the phone to charge only mode in which adb does not work for this device. For the Oppo A5 it works in "charge only mode" with the option "allow ADB in charge only mode". But the OnePlus Nord does not have this option.
Try creating a listener app which sets the usb debugging to MTP - for example like this: https://stuff.mit.edu/afs/sipb/project/android/docs/training/monitoring-device-state/battery-monitoring.html
Interesting settings: [sys.usb.config]: [mtp,adb] [sys.usb.configfs]: [1] [sys.usb.controller]: [a600000.dwc3] [sys.usb.mtp.device_type]: [3] [sys.usb.state]: [mtp,adb]