[Sony Cross-Device General] f1reak:
A big Thank you to rayman and other contributors

I am hoping someone will have time (and patience) to respond to this noob’s question. All my TA_E5803_xx.img are 0 bytes so far.

Steps that I tried:

I tried running it 5 or 6 times in a row

I unplugged phone, rebooted both PC and phone, and tried again.

Updated ADB to 25.0.4 (Mar 16, 2017)

Made sure I don't have Android studio, eclipse, flashtool or similar running

I end tasked adb.exe and tried again.

Tried on another PC running Windows 7 x64

My log:

for "TA_E5803_CB5A2995MH_04172017-904.img"

C:\z5c\run\backupTA_v2>backupTA
Picking 64-bit version
Running on E5803 on 64-bit platform
Pushing files
Pushing files/dirtycow64 to /data/local/tmp/dirtycow
files/dirtycow64: 1 file pushed. 0.2 MB/s (9984 bytes in 0.047s)
Pushing files/run-as64 to /data/local/tmp/run-as
files/run-as64: 1 file pushed.
Pushing files/exploitta64 to /data/local/tmp/exploitta
files/exploitta64: 1 file pushed.
Pushing files/dumpta64 to /data/local/tmp/dumpta
files/dumpta64: 1 file pushed. 0.6 MB/s (10184 bytes in 0.016s)
Pushing files/checkta64 to /data/local/tmp/checkta
files/checkta64: 1 file pushed.
pushing push files/backupTA.sh /data/local/tmp/backupTA.sh
files/backupTA.sh: 1 file pushed.
Running scripts to dump ta to "TA_E5803_CB5A2995MH_04172017-904.img" on device
Overwriting run-as
Attempting to dirtycow
Done dirtycowing
Overwriting secondary payload (screenrecord)
Attempting to dirtycow
Attempting to dirtycow
Done dirtycowing
WARNING: linker: /system/bin/run-as: unused DT entry: type 0x6ffffef5 arg 0x288
WARNING: linker: /system/bin/run-as: unused DT entry: type 0x6ffffffe arg 0x6c0
WARNING: linker: /system/bin/run-as: unused DT entry: type 0x6fffffff arg 0x1
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "/system/bin/run-as" (built with --hash-style=gnu?)
Dumped TA as TA_E5803_CB5A2995MH_04172017-904.img
WARNING: linker: /data/local/tmp/checkta: unused DT entry: type 0x6ffffef5 arg 0x288
WARNING: linker: /data/local/tmp/checkta: unused DT entry: type 0x6ffffffe arg 0x760
WARNING: linker: /data/local/tmp/checkta: unused DT entry: type 0x6fffffff arg 0x1
CANNOT LINK EXECUTABLE: empty/missing DT_HASH in "/data/local/tmp/checkta" (built with --hash-style=gnu?)
Pulling image
/data/local/tmp/TA_E5803_CB5A2995MH_04172017-904.img: 1 file pulled.
Cleaning up
TA Successfully pulled to TA_E5803_CB5A2995MH_04172017-904.img
Press any key to continue . . .

Phone:

Sony Xperia Z5 Compact (E5803)
Android 5.1.1
Build 32.0.A.4.11 (E5803_Service Exchange Unit_1296-9550_32.0.A.4.11 / R3B)
USB Debugging enabled

PC details:

Windows 10 [v10.0.14393] with disabled Signed Driver Enforcement on Aspire VN7-792G
Running backupTA.cmd on elevated Command prompt

Driver: Xperia Z5 Compact driver

Using: backupTA_v2.zip	(559,812 bytes)

C:\z5c\run\backupTA_v2\windows>adb devices

List of devices attached
CB5A2995MH device

* I never saw an ADB access prompt on the E5803 screen (like post #270 says)

C:\z5c\run\backupTA_v2\windows>fastboot devices

CB5A2995MH fastboot

Post #78 says “* my fault was not setting USB mode for transferring files *”

my E5803 says:

Connected in Media transfer mode (MTP)

Xperia Z5 Compact driver

Phone driver for Xperia Z5 Compact (E5803, E5823)

Sony Fastboot driver

ADB and Fastboot Easy Install [adb-setup-1.3.exe]