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 :: install installatron cpanel 
Shell :: Color "normal" not understood 
Shell :: How to build android cts? And how to add and run your test case? 
Shell :: shell loop tuple 
Shell :: How to Install and Configure doctl on Ubuntu 
Shell :: sudo bash 
Shell :: how to teamviewer host debian 11 
Shell :: convert powershell function to c# 
Shell :: aws cli last successful deploy 
Shell :: ip adress in linux mint 
Shell :: apt get install pillow for odoo 
Shell :: pipeline in shell 
Shell :: Create A File Named Index.js 
Shell :: sort files 
Shell :: dnf install specific version 
Shell :: how to use a addon installed after creaeting project unreal engine 
Shell :: Change cursor style in cmd ,Powershell ,terminal ,git bash 
Shell :: autosaving in VIM 
Shell :: https://www.npmjs.com/package/instagram-private-api 
Shell :: How to show diffs for gpg-encrypted files? 
Shell :: exec format error heroku docker file M1 chip 
Shell :: git lab remote 
Shell :: docker key for linux 
Shell :: nc + bash 
Shell :: apt-get update qq 
Shell :: How can I make ubuntu--vg-ubuntu--lv consume the entire disk space available? 
Shell :: install laravel admin panel with laravel 9 
Shell :: ssh no host key files found 
Shell :: cuddn version check 
Shell :: yarn <pre00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one. </pre 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =