Android Diagnostic Mode - How to Enable it?

adb, android, diagnostics

Solution

1- I personally use DM to collect and analyse the messages between a mobile (UE) and a network. I use it with Qualcomm QXDM and QPST tools to analyse wireless protocol stack messages. With commercial phones, usually the DM is blocked as a security measure as it allows you to decapsulate the messages sent/received by the UE. I haven't heard about another use for it until now.

2- Yes all the commercial UEs I worked with ( mostly with Sony Xperia and currently with Xperia Ray) are rooted.

3- If DIAG mode is enabled, you can see it in your Device Manager. Here is a snapshot of mine. That means you have to install the correct drivers for the device (which was tricky with many phones). The device should has Qualcomm Chipset!

4- Yes you can unroot the device. Never tried with Nexus myself.

Can I ask what is the purpose of using it for you? I mean it's strictly working with protocol stacks.

Hope it helps! Cheers

Problem

I would Like to enable Diagnostic (DIAG) Mode on Android. I have the following questions about the same. - How is DIAG mode helpful ? - Is Rooting the Device necessary to enable DIAG Mode ? - How to verify if DIAG mode is enabled ? - Is it reversible ? Can i go back to Normal Mode ? I'm using Google Nexus 5. I'm fairly new to Android Development. Any help would be appreciated.

Original source