Android System information command line tool

栏目: IT技术 · 发布时间: 5年前

内容简介:It is simlar to theIt reports the model, build version and kernel info, etc.

android-sysinfo

Overview

android-sysinfo is a Android Native program which reports the system properties of any android device using the system properties C API existing in Android libc bionic .

It is simlar to the Settings or System > About phone system information displayed on your mobile device.

It reports the model, build version and kernel info, etc.

Requirements

You need to install the Android SDK and Android NDK to use adb and ndk-build used in the build process.

Build

The build Makefile is using adb to determine the Android version and ABI of the NDK to use in order to produce the binary.

Connect your Android device via USB and enable USB Debugging, then run:

make push

Run

make run

Output on devices

On few of my personal Android devices, this is what output information look likes.

HTC Magic

HTC Magic

Model name               : HTC Magic
Android codename         : sapphire
Android version          : 2.2.1
Android SDK version      : 8
Kernel 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
Baseband version         : 62.50SJ.20.17U_2.22.28.25
Build number             : FRG83D

Nexus S

Nexus S

Model name               : Nexus S
Android codename         : crespo
Android version          : 4.1.2
Android SDK version      : 16
Kernel version           : Linux 3.0.31-g5894150 android-build@vpba17.mtv.corp.google.com #1 PREEMPT Mon Sep 10 14:10:13 PDT 2012 armv7l
Baseband version         : I9023XXKI1
Build number             : JZO54K

Nexus 6

Nexus 6

Model name               : Nexus 6
Android codename         : shamu
Android version          : 7.1.1
Android SDK version      : 25
Kernel 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
Baseband version         : MDM9625_104670.31.05.45R
Build number             : N6F27M

Huawei P20

Huawei P20 Pro

Model name               : CLT-L09
Android codename         : CLT
Android version          : 9
Android SDK version      : 28
Kernel version           : Linux 4.9.148 test@cn-central-1b-e859467521576132696835-1535427282-tvxt6 #1 SMP PREEMPT Thu Dec 12 15:34:28 CST 2019 aarch64
Baseband version         : 21C20B369S009C000
Build number             : CLT-L09 9.1.0.372(C782E12R1P11)

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

风云Flash ActionScript高级编程艺术

风云Flash ActionScript高级编程艺术

赵英杰 / 第1版 (2006年7月1日) / 2006-7 / 45.00元

本书从基本的Actionscript语言概念开始介绍,配以实际的程序实例并穿插生动的图示说明,深入浅出地讲解Flash ActionScript程序的运用逻辑与概念,让读者从实例中学习进而融会贯通。同时,本书也说明面向对象程序设计(00P)的语法及常用类别实例,提升读者制作F1ash作品的造诣和能力。全书共分为10章,精彩实例包括以三角函数制作的抽奖轮盘,FlashLite手机版孔明棋游戏,Bit......一起来看看 《风云Flash ActionScript高级编程艺术》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器