diff --git a/recovery.c b/recovery.c index 09a7b7f..51b5366 100644 --- a/recovery.c +++ b/recovery.c @@ -795,7 +795,11 @@ main(int argc, char **argv) { return busybox_driver(argc, argv); } __system("/sbin/postrecoveryboot.sh"); - + if (volume_for_path("/sdcard") == NULL) { + rmdir("/sdcard"); + symlink("/data/media", "/sdcard"); + } + int is_user_initiated_recovery = 0; time_t start = time(NULL);