]> sbz's 6dev Repos - android-sysinfo/.git/blame - README.md
Initial commit
[android-sysinfo/.git] / README.md
CommitLineData
410f5cae
SB
1# android-sysinfo
2
3## Overview
4
5`android-sysinfo` is a Android Native program which reports the system
6properties of any android device using the [system properties][1] [C API][2]
7existing in Android libc [bionic][3].
8
9It is simlar to the `Settings or System > About the Phone` system information
10displayed on your mobile device.
11
12It reports the model, build version and kernel info, etc.
13
14## Requirements
15
16You need to install the Android SDK and Android NDK to use `adb` and `ndk-build`
17used in the build process.
18
19## Build
20
21The build Makefile is using [adb][4] to determine the Android version and ABI of
22the NDK to use in order to produce the binary.
23
24Connect your Android device via USB and enable USB Debugging, then run:
25
26```
27make push
28```
29
30## Run
31
32```
33make run
34```
35
36
37[1]: https://android.googlesource.com/platform/bionic/+/master/libc/include/sys/system_properties.h
38[2]: https://developer.android.com/ndk/guides/stable_apis#c_library
39[3]: https://android.googlesource.com/platform/bionic/
40[4]: https://developer.android.com/studio/command-line/adb