开发者

How to find ARM processor version on android device?

I tried the foll开发者_Go百科owing command and it worked fine on a couple of devices.

adb shell getprop | grep abi

This command fails to get the ARM processor version for some devices. Is there any other way to find out what version of ARM processor is my device running on?

Thanks


Execute the following command:

adb shell getprop ro.product.cpu.abi


Try

adb shell cat /proc/cpuinfo


There is also:

adb shell getprop ro.product.cpu.abilist


Try,

adb shell getprop | grep ro.product.cpu.abi

It would give you the abi type based on which you can find which arch the device belongs to.

Reference : https://developer.android.com/ndk/guides/abis

Eg;

x86         - 32 bit x86 architecture
x86_64      - 64 bit x86 architecture
armeabi-v7a - 32 bit arm architecture
arm64-v8a   - 64 bit arm architecuture


What worked for me is a mix of two methods. Firs I try

adb shell getprop ro.product.cpu.abilist

And if it is not clear (in case of Huawei Octacores) you can use

adb shell getprop ro.product.cpu.abi
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜