Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Android ADB commands to get the device or emulator properties

C:>adb shell getprop ro.build.version.release
4.2.2
Comment

Android ADB commands to get the device or emulator properties

adb shell getprop | grep "model|version.sdk|manufacturer|hardware|platform|revision|serialno|product.name|brand"
Comment

Android ADB commands to get the device or emulator properties

adb shell 
getprop | grep -e 'model' -e 'version.sdk' -e 'manufacturer' -e 'hardware' -e 'platform' -e 'revision' -e 'serialno' -e 'product.name' -e 'brand'
Comment

Android ADB commands to get the device or emulator properties

#You should use adb shell getprop command and grep specific info about your current device, For additional information you can read documentation: Android Debug Bridge documentation
#I added some examples below:

language - adb shell getprop | grep language

[persist.sys.language]: [en]

[ro.product.locale.language]: [en]

boot complete ( device ready after reset) - adb shell getprop | grep boot_completed

[sys.boot_completed]: [1]

device model - adb shell getprop | grep model

[ro.product.model]: [Nexus 4]

sdk version - adb shell getprop | grep sdk

[ro.build.version.sdk]: [22]

time zone - adb shell getprop | grep timezone

[persist.sys.timezone]: [Asia/China]

serial number - adb shell getprop | grep serialno

[ro.boot.serialno]: [1234567]
Comment

get android device version emulator adb

adb shell getprop ro.build.version.release 
Comment

PREVIOUS NEXT
Code Example
Shell :: passphrase 
Shell :: Dedian/Ubuntu Self Host Your Own Website for Free 
Shell :: azure devops checkout pr 
Shell :: error: Cannot resolve module 
Shell :: How to Install and Configure doctl Github Download (Linux, MacOS) 
Shell :: git how to correct accidental commit of password 
Shell :: instal LSB pakage in ubuntu 
Shell :: openssl PKCS vrom crt 
Shell :: crontab error to null 
Shell :: bash script mapfile with find 
Shell :: List files in long format with readable file sizes in Linux 
Shell :: wix installer log missing file copy for one dll 
Shell :: git server 
Shell :: How to run DGraph docker image 
Shell :: git cli 
Shell :: usedapp install command 
Shell :: git pull remote branch that does not exist locally 
Shell :: microsoft ofice activeting code 
Shell :: Remove all local GitHub users 
Shell :: stop ubuntu(v22.4) from killing apps unexpectedly 
Shell :: exec format error heroku dockerfile M1 chip 
Shell :: unzip file git bash 
Shell :: how to find inode of a file in linux 
Shell :: how to run gnome calculater master code 
Shell :: add folder on terminal 
Shell :: install openzeppelin dependencies for hardhat enviroment 
Shell :: how to install xampp in ubuntu 20.04 
Shell :: incrementing a varibale gives 1 not found in bash 
Shell :: git cherry pick changes of only one file from commit 
Shell :: see what is through an archive 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =