From 1709734aaee39e9428c5661e03f7c3200ad8e665 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 11 Aug 2019 22:59:32 +0200 Subject: [PATCH] Samsung running pie vendor have fixed fingerprint remaning --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 3c7c05e..d792fc7 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -343,3 +343,7 @@ done if [ -n "$(getprop ro.boot.product.hardware.sku)" ] && [ -z "$(getprop ro.hw.oemName)" ];then setprop ro.hw.oemName "$(getprop ro.boot.product.hardware.sku)" fi + +if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung/' && [ "$vndk" -ge 28 ];then + setprop persist.sys.phh.samsung_fingerprint -1 +fi