diff options
-rw-r--r-- | nandroid.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -415,7 +415,10 @@ int nandroid_backup(const char* backup_path) ui_print("Error while generating md5 sum!\n"); return ret; } - + + sprintf(tmp, "cp /tmp/recovery.log %s/recovery.log", backup_path); + __system(tmp); + sprintf(tmp, "chmod -R 777 %s ; chmod -R u+r,u+w,g+r,g+w,o+r,o+w /sdcard/clockworkmod ; chmod u+x,g+x,o+x /sdcard/clockworkmod/backup ; chmod u+x,g+x,o+x /sdcard/clockworkmod/blobs", backup_path); __system(tmp); sync(); |