Akhil Latta
Akhil Latta

Reputation: 1723

How to find ARM processor version on android device?

I tried the following 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

Upvotes: 106

Views: 125862

Answers (5)

vinicius.hisao
vinicius.hisao

Reputation: 117

What worked for me is a mix of two methods. First 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

Upvotes: 6

Tom Taylor
Tom Taylor

Reputation: 3540

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

Upvotes: 15

user3504453
user3504453

Reputation: 1791

Execute the following command:

adb shell getprop ro.product.cpu.abi

Upvotes: 165

Wernight
Wernight

Reputation: 37600

There is also:

adb shell getprop ro.product.cpu.abilist

Upvotes: 65

Matthieu
Matthieu

Reputation: 16387

Try

adb shell cat /proc/cpuinfo

Upvotes: 132

Related Questions