From 06a4eb3876af86849e8ffd19af5f568faea55224 Mon Sep 17 00:00:00 2001 From: threeoh6000 Date: Wed, 13 Nov 2024 16:52:36 +0000 Subject: [PATCH] Extend processor detection on `linux/android`. --- processor_detection.4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/processor_detection.4 b/processor_detection.4 index a30cdef..0fe5bf2 100644 --- a/processor_detection.4 +++ b/processor_detection.4 @@ -31,6 +31,8 @@ fi if [ "$subtype" = "android" ]; then if [ -n "$(getprop ro.soc.manufacturer)$(getprop ro.soc.model)" ]; then processor="$(getprop ro.soc.manufacturer) $(getprop ro.soc.model)" + elif [ -n "$(getprop ro.hardware.chipname)" ]; then + processor="$(getprop ro.hardware.chipname)" fi fi if [ "$hassed" -eq 1 ] && [ "$hasawk" -eq 1 ] && [ -n "$processor" ]; then