From 14d9e755778d07eb3b990355f9d4c0e426fb2997 Mon Sep 17 00:00:00 2001 From: j_r0dd Date: Thu, 9 Jun 2011 18:37:28 -0400 Subject: [PATCH] added the efs partition to the do not format list since this holds the imei info. Change-Id: I2644327c1dbaa63420b7eb7b1bce10377c0e0837 --- extendedcommands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extendedcommands.c b/extendedcommands.c index 5543e96..9439739 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -500,7 +500,7 @@ int is_safe_to_format(char* name) { char str[255]; char* partition; - property_get("ro.cwm.forbid_format", str, "/misc,/radio,/bootloader,/recovery"); + property_get("ro.cwm.forbid_format", str, "/misc,/radio,/bootloader,/recovery,/efs"); partition = strtok(str, ", "); while (partition != NULL) {