97

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

Christian
  • 27,509
  • 17
  • 111
  • 155
Akhil Latta
  • 1,603
  • 1
  • 22
  • 37

5 Answers5

141

Execute the following command:

adb shell getprop ro.product.cpu.abi
Floern
  • 33,559
  • 24
  • 104
  • 119
user3504453
  • 1,541
  • 1
  • 10
  • 10
127

Try

adb shell cat /proc/cpuinfo
Matthieu
  • 16,103
  • 10
  • 59
  • 86
  • 2
    It also works to enter `cat /proc/cpuinfo` into a console on the phone if that works (root need, terminal emulator, possibly even GravityBox, …) – Fabian Röling Feb 10 '19 at 12:38
60

There is also:

adb shell getprop ro.product.cpu.abilist
Wernight
  • 36,122
  • 25
  • 118
  • 131
12

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
Tom Taylor
  • 3,344
  • 2
  • 38
  • 63
4

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