{"id":20757812,"url":"https://github.com/sbz/android-sysinfo","last_synced_at":"2025-04-29T23:32:23.373Z","repository":{"id":147890220,"uuid":"273710976","full_name":"sbz/android-sysinfo","owner":"sbz","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-27T10:32:05.000Z","size":12,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T12:22:30.774Z","etag":null,"topics":["android","android-device","ndk","sysinfo"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-20T13:13:45.000Z","updated_at":"2024-09-27T10:32:09.000Z","dependencies_parsed_at":"2023-05-27T20:30:29.696Z","dependency_job_id":null,"html_url":"https://github.com/sbz/android-sysinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbz%2Fandroid-sysinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbz%2Fandroid-sysinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbz%2Fandroid-sysinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbz%2Fandroid-sysinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbz","download_url":"https://codeload.github.com/sbz/android-sysinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599787,"owners_count":21615580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-device","ndk","sysinfo"],"created_at":"2024-11-17T09:45:24.040Z","updated_at":"2025-04-29T23:32:23.357Z","avatar_url":"https://github.com/sbz.png","language":"C","readme":"# android-sysinfo\n\n## Overview\n\n`android-sysinfo` is a Android Native program which reports the system\nproperties of any android device using the [system properties][1] [C API][2]\nexisting in Android libc [bionic][3].\n\nIt is simlar to the `Settings or System \u003e About phone` system information\ndisplayed on your mobile device.\n\nIt reports the model, build version and kernel info, etc.\n\n## Requirements\n\nYou need to install the Android SDK and Android NDK to use `adb` and `ndk-build`\nused in the build process.\n\n## Build\n\nThe build Makefile is using [adb][4] to determine the Android version and ABI of\nthe NDK to use in order to produce the binary.\n\nConnect your Android device via USB and enable USB Debugging, then run:\n\n```\nmake push\n```\n\n## Run\n\n```\nmake run\n```\n\n## Output on devices\n\nOn few of my personal Android devices, this is what output information look likes.\n\n### HTC Magic\n\n[HTC Magic](https://en.wikipedia.org/wiki/HTC_Magic)\n\n```\nModel name               : HTC Magic\nAndroid codename         : sapphire\nAndroid version          : 2.2.1\nAndroid SDK version      : 8\nKernel version           : Linux 2.6.32.9-27237-gbe746fb android-build@apa26.mtv.corp.google.com #1 PREEMPT Thu Jul 22 15:50:12 PDT 2010 armv6l\nBaseband version         : 62.50SJ.20.17U_2.22.28.25\nBuild number             : FRG83D\n\n```\n### Nexus S\n\n[Nexus S](https://en.wikipedia.org/wiki/Nexus_S)\n\n```\nModel name               : Nexus S\nAndroid codename         : crespo\nAndroid version          : 4.1.2\nAndroid SDK version      : 16\nKernel version           : Linux 3.0.31-g5894150 android-build@vpba17.mtv.corp.google.com #1 PREEMPT Mon Sep 10 14:10:13 PDT 2012 armv7l\nBaseband version         : I9023XXKI1\nBuild number             : JZO54K\n```\n\n### Nexus 6\n\n[Nexus 6](https://en.wikipedia.org/wiki/Nexus_6)\n\n```\nModel name               : Nexus 6\nAndroid codename         : shamu\nAndroid version          : 7.1.1\nAndroid SDK version      : 25\nKernel version           : Linux 3.10.40-gc7ebca13933 android-build@wprh2.hot.corp.google.com #1 SMP PREEMPT Wed Aug 16 15:25:44 UTC 2017 armv7l\nBaseband version         : MDM9625_104670.31.05.45R\nBuild number             : N6F27M\n```\n\n### Huawei Y5 II\n\n[Huawei Y series](https://en.wikipedia.org/wiki/List_of_Huawei_phones#Ascend_Y_series)\n\n```\nModel name               : HUAWEI CUN-L21\nAndroid codename         : CUN-L21\nAndroid version          : 5.1 (Lollipop)\nAndroid SDK version      : 22\nKernel version           : Linux 3.10.65+ jslave@WUH1000021377 #1 SMP PREEMPT Thu Jul 5 11:30:57 CST 2018 armv7l\nBaseband version         : MOLY.LR9.W1444.MD.LWTG.MP.V42.P40,MOLY.LR9.W1444.MD.LWTG.MP.V42.P40, 2017/07/07 17:29\nBuild number             : CUN-L21C429B109\n```\n\n### Huawei P20\n\n[Huawei P20 Pro](https://en.wikipedia.org/wiki/Huawei_P20)\n\n```\nModel name               : CLT-L09\nAndroid codename         : CLT\nAndroid version          : 9\nAndroid SDK version      : 28\nKernel version           : Linux 4.9.148 test@cn-central-1b-e859467521576132696835-1535427282-tvxt6 #1 SMP PREEMPT Thu Dec 12 15:34:28 CST 2019 aarch64\nBaseband version         : 21C20B369S009C000\nBuild number             : CLT-L09 9.1.0.372(C782E12R1P11)\n```\n\n### Samsung Galaxy A21S\n\n[Samsung Galaxy A21S](https://en.wikipedia.org/wiki/Samsung_Galaxy_A21s)\n\n```\nModel name               : SM-A217F\nAndroid codename         : a21s\nAndroid version          : 11 (Android 11)\nAndroid SDK version      : 30\nKernel version           : Linux 4.19.132-21842546 dpi@VPDJR108 #1 SMP PREEMPT Wed Jun 23 18:40:47 +07 2021 aarch64\nBaseband version         : A217FXXU6CUF4,A217FXXU6CUF4\nBuild number             : RP1A.200720.012.A217FXXU6CUF5\n```\n\n## License\n\nThe project is released under [MIT license](https://en.wikipedia.org/wiki/MIT_License).\n\n[1]: https://android.googlesource.com/platform/bionic/+/master/libc/include/sys/system_properties.h\n[2]: https://developer.android.com/ndk/guides/stable_apis#c_library\n[3]: https://android.googlesource.com/platform/bionic/\n[4]: https://developer.android.com/studio/command-line/adb\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbz%2Fandroid-sysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbz%2Fandroid-sysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbz%2Fandroid-sysinfo/lists"}