If your device is rooted, you can manually trigger Diag mode using ADB by entering the following in a terminal: adb shell su setprop sys.usb.config diag,adb Use code with caution. Copied to clipboard

Special ADB commands are often required as codes are limited.

: An open-source tool for capturing traffic and interacting with the Qualcomm Diag protocol without requiring proprietary software.