Skip to content

Instantly share code, notes, and snippets.

@ego-lay-atman-bay
Created June 6, 2024 20:33
Show Gist options
  • Select an option

  • Save ego-lay-atman-bay/bd8e0ebca21bc67d055c622c6053c71e to your computer and use it in GitHub Desktop.

Select an option

Save ego-lay-atman-bay/bd8e0ebca21bc67d055c622c6053c71e to your computer and use it in GitHub Desktop.
Probe your android device to get all of it's specs to be used to create a copy in DummyDroid.
@ECHO off
echo Build:
echo|set /p=Model:
adb shell getprop ro.product.model
echo|set /p=Manufacturer:
adb shell getprop ro.product.manufacturer
echo|set /p=Brand:
adb shell getprop ro.product.brand
echo|set /p=Product:
adb shell getprop ro.product.name
echo|set /p=Device:
adb shell getprop ro.product.device
echo|set /p=Hardware:
adb shell getprop ro.hardware
echo|set /p=Id:
adb shell getprop ro.build.id
echo|set /p=Release version:
adb shell getprop ro.build.version.release
echo|set /p=Incremental version:
adb shell getprop ro.build.version.incremental
echo|set /p=Build date:
adb shell getprop ro.build.date.utc
echo|set /p=Type:
adb shell getprop ro.build.type
echo|set /p=Tags:
adb shell getprop ro.build.tags
echo|set /p=Fingerprint:
adb shell getprop ro.build.fingerprint
echo|set /p=Bootloader:
adb shell getprop ro.bootloader
echo.
echo ABI:
adb shell getprop ro.product.cpu.abi
adb shell getprop ro.product.cpu.abi2
adb shell getprop ro.product.cpu.abilist
echo.
echo Screen:
adb shell wm size
adb shell wm density
echo.
echo Firmware:
echo|set /p=SDK Version:
adb shell getprop ro.build.version.sdk
powershell "adb shell dumpsys SurfaceFlinger | Select-String -Pattern 'OpenGL'"
echo: com.android.vending:
powershell "adb shell dumpsys package com.android.vending | Select-String -Pattern 'version'"
echo.
echo Libraries:
powershell "adb shell pm list libraries | foreach {$_.replace('library:','')}"
echo.
echo Features:
powershell "adb shell pm list features | foreach {$_.replace('feature:','')}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment