[Moto G 2015 Original Android Development] xMotoDA:
How to fix error 7

I'm also getting error 7, when running the script manually tar starts decompressing the archive but then it fails:

...
./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-fingerprint.png
./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-page-up.png
./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-lock-email.png
tar: short read

Edit: ran tar again and failed almost at the exact same part:

...
-rw-r--r-- 0/0 60079 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-fingerprint.png
-rw-r--r-- 0/0 747 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-page-up.png
-rw-r--r-- 0/0 713 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-lock-email.png
-rw-r--r-- 0/0 3671 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-gallery-frame.png
-rw-r--r-- 0/0 10566 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-clock-face-3.png
-rw-r--r-- 0/0 6165 2018-01-24 16:54:34 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-launcher-accounts.png
-rw-r--r-- 0/0 2564 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-developer-mode.png
-rw-r--r-- 0/0 727 2018-01-24 16:54:34 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-s-service-generic-email.png
-rw-r--r-- 0/0 5083 2018-01-24 16:54:34 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-launcher-mediaplayer.png
-rw-r--r-- 0/0 2110 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-attach.png
-rw-r--r-- 0/0 1911 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-backup.png
-rw-r--r-- 0/0 937 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-s-time.png
-rw-r--r-- 0/0 1226 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-screenlock.png
-rw-r--r-- 0/0 1341 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-camera-focus-infinity.png
-rw-r--r-- 0/0 1249 2018-01-24 16:54:34 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-s-service-yahoo.png
-rw-r--r-- 0/0 1406 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-lock-settings.png
-rw-r--r-- 0/0 12183 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-cover-store-splash.png
-rw-r--r-- 0/0 1024 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-favorite-selected.png
-rw-r--r-- 0/0 888 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-cover-answer.png
-rw-r--r-- 0/0 1721 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-camera-iso-400.png
-rw-r--r-- 0/0 2205 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-wlan-0.png
-rw-r--r-- 0/0 24851 2018-01-24 16:54:34 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-cover-tutorial.png
-rw-r--r-- 0/0 709 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-s-installed.png
-rw-r--r-- 0/0 3253 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/graphic-l-weather-fog.png
-rw-r--r-- 0/0 832 2018-01-24 18:39:15 ./usr/share/themes/sailfish-default/meegotouch/z1.25/icons/icon-m-crop.png
tar: short read

Edit 1:

also getting __bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

Edit 2:

official TWRP worked!

---------- Post added 28th May 2018 at 12:30 AM ---------- Previous post was 27th May 2018 at 11:50 PM ----------

I fixed this error by using Official TWRP from https://eu.dl.twrp.me/osprey/ instead of squid2's TWRP.

Apparently this broke tar