5

So when I run the command

dumpsys telephony.registry | grep -i signalstrength

I get the following output:

mSignalStrength=SignalStrength: 99 0 -120 -160 -120 -1 -1 25 -93 -12 300 2147483647 gsm|lte

I'm assuming the -93 is the dB value but I'm not sure. And for the other values I have no idea. I tried searching for a table to map each value but I couldn't find anything. I would really appreciate it if someone can let me know what each value means.

10

From the sources, it looks like it's printing out the contents of the SignalStrength object:

private SignalStrength mSignalStrength = new SignalStrength();

...

        pw.println("last known state:");
        ...
        pw.println("  mSignalStrength=" + mSignalStrength);
        ...

This object is described in detail on the Android Developers reference here. The string representation of the SignalStrength class is defined here (search for "toString" function):

public String toString() {
    return ("SignalStrength:"
            + " " + mGsmSignalStrength
            + " " + mGsmBitErrorRate
            + " " + mCdmaDbm
            + " " + mCdmaEcio
            + " " + mEvdoDbm
            + " " + mEvdoEcio
            + " " + mEvdoSnr
            + " " + mLteSignalStrength
            + " " + mLteRsrp
            + " " + mLteRsrq
            + " " + mLteRssnr
            + " " + mLteCqi
            + " " + (isGsm ? "gsm|lte" : "cdma"));
}

This basically tells you the columns in the dumpsys output.

0
3

You can find the code that produces this output in SignalStrength.java in the Android framework. Even if you don't know Java, it's pretty easy to see which raw value is which.

If there are any values you don't understand (the names are pretty concise and only make sense if you're familiar with phone standards), you can read the inline documentation elsewhere in the same file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.