adb shell wm density
Get screen physical density in Android
adb shell wm size
Get screen physical size in Android