Error on '../tools/releasetools/ota_target_from_phone -r'
Hy! I'm not want compile miui rom for my device. The code of error is in Portuguese because I'm Brazilian, but I thing what you can understand.
I had come across with other error, but I got it correct with scripts on the video: https://www.youtube.com/watch?v=gy7GgXPd6dg&feature=youtu.be Now is this error:
ichin23@minty:~/patchrom/device$ ../tools/releasetools/ota_target_from_phone -r
Wait for the device to be online...
Copy target file template into current working directory
Dump bootimage from device
/dev/block/platform/sdio_emmc/...B/s (16777216 bytes in 3.999s)
Extract recovery.fstab from device
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Extract the whole /system from device
adb: error: failed to copy '/system/csc_contents' to '/home/ichin23/patchrom/device/out/target_files/SYSTEM/system/csc_contents': remote No such file or directory
Remount /system to be writable
remount succeeded
Run getfilesysteminfo to build filesystem_config.txt
/home/ichin23/patchrom/tools/t...MB/s (1165484 bytes in 0.399s)
Unable to chmod /data/local/tmp/busybox: Operation not permitted
Please root your device, and try again.
Run getfilesysteminfo and recoverylink.py to recover symlink
Please root your device, and try again.
Traceback (most recent call last):
File "/home/ichin23/patchrom/tools/releasetools/recoverylink.py", line 16, in
How I can resolve?