Open saeziae opened 1 year ago
Please reply with your phone model, OS version, kernel version if you encounter the same issue.
Google Pixel 7a, LineageOS 20, 5.10.157-ga10cc6d10517
On my MIUI 14 Android 13 device, the Hardware field still exists. Maybe it's because of the old kernel. We might need to detect whether the Hardware field exists instead of detecting if the device is Android.
Device: Samsung Galaxy S23, official ROM Kernel: 5.15-android13
There is no "Hardware: xxx" in /proc/cpuinfo, instead it gives binary code to identify vendor and core, same to Linux on PC. In this case, it is supposed to read lscpu.
note: my lscpu didn't recognise names of all cores, it's probably termux's util-linux is old, but it shows it is capable to decode the binary code, we can suppose the behaviour is standard.