From bac74918c0f6c3fac677ebf5c0ba18d045e378c0 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Mon, 9 Jul 2018 20:43:21 +0200 Subject: [PATCH] Uninstaller: also remove installation logs upon uninstallation --- uninstaller/META-INF/com/google/android/update-binary | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/uninstaller/META-INF/com/google/android/update-binary b/uninstaller/META-INF/com/google/android/update-binary index 06dbe9e..a12417c 100644 --- a/uninstaller/META-INF/com/google/android/update-binary +++ b/uninstaller/META-INF/com/google/android/update-binary @@ -269,6 +269,15 @@ for path in ${config_locations}; do done done +ui_print " << Removing installation logs (if any)" + +# old format +rm -f /data/adb/.nanodroid_* +rm -f /data/adb/.recovery_* + +# new format +rm -f /data/adb/NanoDroid* + # System Mode uninstallation for install_info in /system/.nanomod-list /data/adb/.nanomod-list \ /data/adb/.nanodroid-list; do