When I try to flash a Migrate_Backup.zip file in TWRP (on a Android 10 custom ROM Oneplus6). I get error 6 as well.
No luck in flashing back a Backup. I tried with several different Backup files created with different Versions of Migrate.
What is that AWK ? Something with/for Busybox?
Here some extract from the recovery.log file:
EDIT: OK I removed now the part with the free space checking and AWK from the script and after that I could successfully flash my Backup.zip file(es) in TWRP without any error 7 but then when restarting my Phone the Migrate Helper app has not found anything to restrore. I dont know why.
I took a look in the following folders and all of them were empty:
also the subfolder CACHE within these folders is empty.
Are these the folders where the flashed Migrate_Backup.zip data is put or where is that located?
It seems that not every version of TWRP includes awk.
Busybox is a collection of Unix utilities. Awk is one of the utilities and is a file editor, similar to sed, but more versatile.
Sent from my OnePlus3T using XDA Labs