How to Enable Qualcomm Diagnostic COM Port (Diag Mod)

Android devices powered by Qualcomm include a diagnostic and debugging interface known as Qualcomm Diagnostic Mode (or Qualcomm DIAG mode). Accessing the device’s internal diagnostic and testing functions, such as sending and receiving diagnostic commands and logging data, is possible in this mode, which is intended for developers and advanced users.

Android devices need to be rooted and have the appropriate drivers installed in order to access Qualcomm Diagnostic Mode. Once in DIAG mode, a tool like QPST or QXDM can be used to issue diagnostic commands, retrieve device logs, and more. This data can aid in firmware customization and modification, as well as device troubleshooting and debugging. Method’s to activate Qualcomm Diag Mod are provided below.

How to Enable Diag Mod Port on Rooted Phones:

for rooted Phone we send below code using adb

adb shell
setprop sys.usb.config rndis,diag,adb

How to Enable Diag Port on Xiaomi Phones without Root:

  • open dialer and dial *#*#13491#*#*

How to Enable Diag Port on OnePlus phones without Root:

  • open dialer and dial *#801#

How to Enable Diag Port on Old Oppo Phones:

How to Enable Diag Port on Vivo Phones without Root:

  • open dialer & dial this code *#558#
  • Go to quality verification test
  • scroll down and tick on debugging port

How to Enable Diag Port on New Oppo Realme OnePlus Phones:

  • Open the dialer app on the phone , dial *#9434#
  • Open Device Manager and expand the Network Adapters category.
  • Disable all your ethernet adapters except the wifi adapter.
  • Click on the action tab, then choose add legacy hardware.
  • Click next.
  • Choose install the hardware that I manually select from a list (Advanced) and click next.
  • Click network adapters, then click next.
  • Select Microsoft and choose Microsoft KM-TEST Loopback Adapter, then click next.
  • Click next, then click finish.
  • In the device manager, browse the Network adapters and double click on Microsoft KM-TEST Loopback Adapter to open its properties.
  • Go to the Advanced tab and find the Network Address option
  • Click the blank checkbox and paste 704D7B61ABCD in the text box
  • Close the properties window and close Device Manager.
  • Download & Extract Oppo Free unlock . Open Sec5.exe.
  • Make sure your device is in MTP mode, In the tool press the ‘Unlock button‘. After about a second, a string of numbers and letters should show up in the left pane. A few seconds later, “OK” should start flashing in the right pane. Press “Stop unlocking” and close the window.
  • Open the dialer app on the phone , dial *#9434#
  • Then enter *#649010# and to unlock any option You need to enter Confirm code which is 6776 and You are ready to go to backup or restore IMEI and many more …
  • done, Now you can use ROM2box to Read & write QCN


Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.