Reputation: 1723
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
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
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
Reputation: 1791
Execute the following command:
adb shell getprop ro.product.cpu.abi
Upvotes: 165