From 0ef026c610051b59d39bd49e7aac194bd3ea5f6c Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Fri, 20 Jul 2018 00:37:38 +0800 Subject: [PATCH] Remove system root when running addon.d --- scripts/addon.d.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/addon.d.sh b/scripts/addon.d.sh index ee4c958be..f63b2d191 100644 --- a/scripts/addon.d.sh +++ b/scripts/addon.d.sh @@ -47,6 +47,8 @@ detection() { } installation() { + remove_system_su + [ -f $APK ] && eval $BOOTSIGNER -verify < $BOOTIMAGE && BOOTSIGNED=true $BOOTSIGNED && ui_print "- Boot image is signed with AVB 1.0"