From fd24ca05fd69301f9a37cd42d900ba97ea834c83 Mon Sep 17 00:00:00 2001 From: Bharat Dev Burman Date: Mon, 22 May 2023 10:31:47 +0530 Subject: [PATCH] use ro.boot.prjname instead This property is set with help of the cmdline appended by the bootloader (androidboot.prjname) --- post-fs-data.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/post-fs-data.sh b/post-fs-data.sh index e08a131..e5b26e9 100755 --- a/post-fs-data.sh +++ b/post-fs-data.sh @@ -1,7 +1,6 @@ #!/system/bin/sh -# TODO: Is this correct? -PRJ_NAME=$(getprop ro.oplus.image.my_product.type) +PRJ_NAME=$(getprop ro.boot.prjname) RUI_VER=$(getprop ro.build.version.realmeui) TEMP_PATH="/cache/feature.xml" LOG_PATH="/cache/realify.log"