getprop: add page (#5456)

This commit is contained in:
marchersimon 2021-04-04 00:08:41 +02:00 committed by GitHub
parent 14590fc6a5
commit 59308e5928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

32
pages/android/getprop.md Normal file
View File

@ -0,0 +1,32 @@
# getprop
> Show information about adb devices and emulators.
> More information: <https://cs.android.com/android/platform/superproject/+/master:system/core/toolbox/getprop.cpp>.
- Display information about the Android system properties:
`getprop`
- Display information about a specific property:
`getprop {{prop}}`
- Display the SDK API level:
`getprop {{ro.build.version.sdk}}`
- Display the Android version:
`getprop {{ro.build.version.release}}`
- Display the Android device model:
`getprop {{ro.vendor.product.model}}`
- Display the OEM unlock status:
`getprop {{ro.oem_unlock_supported}}`
- Display the MAC address of the Android's WiFi card:
`getprop {{ro.boot.wifimacaddr}}`