How to find ARM processor version on android device?
AndroidAdbAndroid Problem Overview
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
Android Solutions
Solution 1 - Android
Try
adb shell cat /proc/cpuinfo
Solution 2 - Android
Execute the following command:
adb shell getprop ro.product.cpu.abi
Solution 3 - Android
There is also:
adb shell getprop ro.product.cpu.abilist
Solution 4 - Android
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
Solution 5 - Android
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