added the efs partition to the do not format list since this holds the imei info.
Change-Id: I2644327c1dbaa63420b7eb7b1bce10377c0e0837
This commit is contained in:
parent
4d8c033203
commit
14d9e75577
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user