[G 2014 Original Android Development] hanker_de:
Hello!

I've quite a problem with my Moto G and restoring a backup.

Yesterday my phone (rooted stock KitKat) just went off (battery 0%) and didn't start again (stuck at bootanimation).

I was able to boot into TWRP 2.8.6.0, but cannot restore my TW backups (also KitKat). "boot" can be restored, md5 checks are fine, but restoring "system" just stops with a "failed" at around 18%, restoring "data" immediately after start.

Any ideas?

Thanks in advance and greetings from germany

René

EDIT: Here is the relevant part of the LOG when trying to restore "system":

==> tar_extract_regfile(t=0xb449c300, realname="/system//app/PhotoTable.apk")
==> extracting: /system//app/PhotoTable.apk (file size 453847 bytes)
### done extracting /system//app/PhotoTable.apk
==> setting perms: /system//app/PhotoTable.apk (mode 100644, uid 0, gid 0)
Restoring SELinux context u:object_r:system_file:s0 to file /system//app/PhotoTable.apk
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/system//app/PhotoTable.odex")
item name: '/app/PhotoTable.odex'
reg
==> tar_extract_regfile(t=0xb449c300, realname="/system//app/PhotoTable.odex")
==> extracting: /system//app/PhotoTable.odex (file size 93136 bytes)
### done extracting /system//app/PhotoTable.odex
==> setting perms: /system//app/PhotoTable.odex (mode 100644, uid 0, gid 0)
Restoring SELinux context u:object_r:system_file:s0 to file /system//app/PhotoTable.odex
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/system//app/PlayGames.apk")
item name: '/app/PlayGames.apk'
reg
==> tar_extract_regfile(t=0xb449c300, realname="/system//app/PlayGames.apk")
==> extracting: /system//app/PlayGames.apk (file size 3188176 bytes)
### done extracting /system//app/PlayGames.apk
==> setting perms: /system//app/PlayGames.apk (mode 100644, uid 0, gid 0)
Restoring SELinux context u:object_r:system_file:s0 to file /system//app/PlayGames.apk
tar_extract_all(): calling th_get_pathname()
tar_extract_all(): calling tar_extract_file(t, "/system//app/PlusOne.apk")
item name: '/app/PlusOne.apk'
reg
==> tar_extract_regfile(t=0xb449c300, realname="/system//app/PlusOne.apk")
==> extracting: /system//app/PlusOne.apk (file size 33020622 bytes)
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
MtpServer::run fd: 18
E:request read returned -1, errno: 22, exiting MtpServer::run loop
FAILED RESTORE OF FILE i: /system//app/PlusOne.apk
E:Unable to extract tar archive '/sdcard1/TWRP/BACKUPS/ZX1D22TF7C/2015-10-06--12-20-05_KitaKat_mit_Xposed/system.ext4.win'
I:extractTarFork() process ended with ERROR=255
I:Failed to reset capabilities of /system/bin/run-as binary.