Connect your phone to the PC and open Command Prompt in the platform-tools folder. Type the following commands: adb shell su setprop sys.usb.config diag,adb Use code with caution.
Require specific USB drivers and proprietary commands to open the Qualcomm HS-USB QDLoader or Diagnostics port.