Remove system root when running addon.d

This commit is contained in:
topjohnwu 2018-07-20 00:37:38 +08:00
parent 153c7fdf20
commit 0ef026c610
1 changed files with 2 additions and 0 deletions

View File

@ -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"