added the efs partition to the do not format list since this holds the imei info.

Change-Id: I2644327c1dbaa63420b7eb7b1bce10377c0e0837
This commit is contained in:
j_r0dd 2011-06-09 18:37:28 -04:00
parent 4d8c033203
commit 14d9e75577

View File

@ -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) {