From 9d438701dab46aa9f01766abbe5c47f4e2bea7ff Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sat, 10 Aug 2019 13:16:40 +0200 Subject: [PATCH] Restart Samsung lights HAL late in the boot process. Lights HAL doesn't work on Snapdragon Samsun S10 series for an unknown reason when started too early, and we don't control its start time. So just restart it later. --- phh-on-boot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phh-on-boot.sh b/phh-on-boot.sh index 7924786..fd10fd7 100644 --- a/phh-on-boot.sh +++ b/phh-on-boot.sh @@ -13,6 +13,8 @@ if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardw bootctl mark-boot-successful fi +setprop ctl.restart sec-light-hal-2-0 + #Clear looping services sleep 30 getprop | \