Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android CPU ARM architectures

We have a Android CPU dependent code and I would like to see how many devices used by customers are ARMv6/ARMv7, if there are still ARM v5, how many of ARMv6 have VFP, what is the Tegra or Neon percentage. Any tips where such statistics could be found?

BR STeN

like image 242
STeN Avatar asked Jun 06 '12 19:06

STeN


People also ask

Is Android x86 or ARM?

Primarily popularized by Intel, these systems use the x86 instruction set, which can loosely be thought of as the “language” x86 processors “speak.” Android (and AOSP, by extension) was architected to support ARM architecture processors, which use the ARM instruction set (based on the RISC instruction set) — a ...

How do I know if my Android is ARM or ARM64?

To figure out if it's ARM or x86, you'll look at the Instruction Set section—again, you're just looking for the basic info here, like the letters “arm.” On my Pixel 2 XL (the above screenshots), for example, it's pretty clear that it's an ARM64 device.

What is ARM and ARM64 Android?

There are three main CPU architectures used in today's Android phones. ARM is perhaps the most common, as it's optimized for battery consumption. ARM64 is an evolution of the original ARM architecture that supports 64-bit processing for more powerful computing, and it's quickly becoming the standard in newer devices.

Does Android use ARM processor?

Arm is the CPU architecture used by all modern smartphones in both the Android and Apple ecosystems. Arm processors are also making their way into the PC market via Windows on Arm and Apple's growing custom M1 CPU range for Macs.


2 Answers

If you want to collect such data, simply do "cat /proc/cpuinfo" and feed googleanalytics account with this data :) ( i am doing a lot of research this way ).

If you are looking for already made statistics i think that any of them is outdated :) Normal smartphone user change his handset every year or two, dependant on his carrier policy, i would forget about armv6/armv7 and neon on your place, armv6 is currently sold only in some chinese crapphones :), and neon is very nice but for example tegra 2 is incompatibile with it, the other side is that tegra2 has about 0.05 percent of market share, vfp is supported in every armv7, and arm v7 is about 95 percent of market or more. I doubt that anybody who use google play or actually is paying for apps use armv6 or antyhing older, most of google play users are using samsung galaxy for example about 20percent of overall downloads of my apps are downloaded on galaxy s2, 10 percent on nexus, and it looks like supporting all/older devices its not a good idea at all, its takes a lot of time, and paying users are usually using highend handsets.

like image 185
ZZZ Avatar answered Oct 08 '22 07:10

ZZZ


In the end I don't think that this kind of data can change the way you write your application, because no matter what report says the situation is:

  • the Play Store application do not check for this kind of features
  • considering the previous statement, the only way to run your application correctly is to check at runtime for the support for that technology, for example you have to check if the device supports NEON, and it's your problem to do that as programmer, the Play Store doesn't check for that.
  • if you are not using a particular instrunctions set you don't have this problem so this question should be erased in 3, 2, 1 ... !

Another consideration is the fact that ARM is an architecture that can have multiple forms and with that i mean the fact that if you pick 2 commercial product like the Tegra 2 and OMAP 4430, they are both ARMv7 devices but the Tegra 2 doesn't support NEON while the entire OMAP 4 family support this kind of registry, so not even the label about the instructions set can really tell you about the real potential of the device itself.

In the end all that it's worth to know is that the Play Store tells you nothing about this, knowing about the most used platforms won't really help, and in the end you always have to do the same task and the check for this kind of features is up to you.

like image 22
user827992 Avatar answered Oct 08 '22 08:10

user827992