Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(undetermined) Newer Android has same behaviour as PC, which breaks hyfetch's detection #120

Open
saeziae opened this issue Apr 27, 2023 · 3 comments

Comments

@saeziae
Copy link

saeziae commented Apr 27, 2023

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.

Screenshot_20230428_033415_Termux.png

Screenshot_20230428_034208_Termux.png

Screenshot_20230428_033918_Termux.png

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.

@saeziae
Copy link
Author

saeziae commented Apr 27, 2023

Please reply with your phone model, OS version, kernel version if you encounter the same issue.

Repository owner deleted a comment May 1, 2023
@leo60228
Copy link

Google Pixel 7a, LineageOS 20, 5.10.157-ga10cc6d10517

@hykilpikonna
Copy link
Owner

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.

Screenshot_2023-09-29-03-02-59-488_com termux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants