On a computer, it's pretty easy to find out if the system is 32 or 64 bit.
I have a Nokia G21 and a Huawei P10 in front of me, and both tell me the various things: the model designation of the phone, the CPU, the Android version; but nothing tells me explicitly the architecture, i.e., whether it's a 32 or 64 bit device.
Microsoft Windows, on the other hand, tells me in no uncertain terms at Settings -> System -> Info which one it is. Linux is also pretty forthcoming with this information.
Is there any means from the on-board tools of Android to find this out? I.e., not asking the internet, not connecting to a PC and not installing any additional apps.
uname -m
. – Irfan Latif Feb 24 '23 at 11:26echo $((2147483647+1))
– alecxs Feb 25 '23 at 10:16