diff --git a/recovery.c b/recovery.c index 0e92a5b..383790e 100644 --- a/recovery.c +++ b/recovery.c @@ -867,6 +867,7 @@ main(int argc, char **argv) { } else if (wipe_data) { if (device_wipe_data()) status = INSTALL_ERROR; if (erase_volume("/data")) status = INSTALL_ERROR; + if (has_datadata() && erase_volume("/datadata")) status = INSTALL_ERROR; if (wipe_cache && erase_volume("/cache")) status = INSTALL_ERROR; if (status != INSTALL_SUCCESS) ui_print("Data wipe failed.\n"); } else if (wipe_cache) {