getprop ro.multisim.simslotcount
or
SystemProperties.getInt("ro.multisim.simslotcount", 1) > 1
Wednesday, May 24, 2017
How to detect Dual SIM using Android shell ?
getprop persist.radio.multisim.config returns "dsds" or "dsda" on multi sim Samsung devices
source: https://android.googlesource.com/platform/frameworks/base/+/master/telephony/java/com/android/internal/telephony/TelephonyProperties.java
public static Boolean isDualSimModel() {
return (Boolean.valueOf("dsds".equals(SystemProperties.get("persist.radio.multisim.config"))) Boolean.valueOf("dsda".equals(SystemProperties.get("persist.radio.multisim.config"))));
}
Tuesday, May 23, 2017
How to get all Android system properties ?
here is the magic command
getprop
How to dump android processes with thread ids and names
Here is the magic command
ps -t -p
Subscribe to:
Posts (Atom)