How To Get Android Device Information Using ADB (Android Debug Bus)
Links:
Subscribe This Channel - / @sombex
Website: http://blog.sombex.com
Facebook Page: / pctrickszone.ml
Download Links:
ADB, Fastboot And Grep: https://userscloud.com/xhul37x4z5xq
All COmmands Txt File: https://userscloud.com/rc036gkmtdqs
All commands:
1. How to Detect Device Using ADB or list connect device using adb??
adb devices -l
so to list all devices just open cmd
and type adb devices
this is my device
and this is the serial no. of my device 00090ab265e13f
if you want to check wether you device is connected or not or
wait till your device is connected you can use
adb wait-for-device
this command will wait till your device is detected and will end after detecting without any output
2. How to send command on a specific device while multiple devices are connected using adb?
when multiple devices are connected you can specifiy a device to send command by
adb -s serial no. your command
-s is for serial no
so our command would be
adb -s 00090ab265e13f and your command
i will send command on next step
3. How to view disk info (disk usage in kb and free space percentage)
adb shell dumpsys diskstats
this command works only when only one device is connected
if multiple devices are detected it will show you an error
to send this command while multiple devices are connected type
adb -s 00090ab265e13f shell dumpsys diskstats
this is for all the commands below
4. How to Get device IMEI? (works on most devices)
adb shell dumpsys iphonesubinfo
5. How to Get device battery status?
adb shell dumpsys battery
6. How to get cpu info?
adb shell cat /proc/cpuinfo
adb shell getprop ro.product.cpu.abi (this shows arm version)
7. get all properties of device
adb shell cat /system/build.prop
adb shell getprop
8. get specific properties
how to get a specific info using getprop
to get a specfic info we will use getprop here
getting all info related to product
that is for single property
to get specified multiple . use the below
adb shell getprop | grep "model\|version.sdk\|manufacturer\|hardware\|platform\|product.cpu\|serialno\|product.name\|brand"
adb shell getprop will show all the info, you will need grep just to get what you need
and now last open setting on android using adb
open settings using adb
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings Music: Ahrix – Nova
Spotify: https://open.spotify.com/artist/0kXCd...
Facebook: http://bit.ly/1wFWvyM
Youtube Channel: http://bit.ly/2mUBTD2
Youtube Video: http://bit.ly/1eXqiOi
SoundCloud: http://bit.ly/1m1ye0b