[Android Software/Hacking General [Developers Only]] DopestKREW:
Stuck while backing up

Hi! I keep getting stuck while making a full backup on an external HDD from my G4. I tried almost everything but it seems to be some kind of timeout problem with big files. Leave you my log if it helps, thanks!

2018-08-14 16:05:59: F_VCHK: no newer SALT version found (318 / 3.18-0 vs. 318 / 3.18-0)
2018-08-14 16:05:59: OS: Manjaro Linux
fwulversion=2.7
fwulbuild=1530625708
patchlevel=0
fwul_Statichostname=fwul
fwul_Iconname=computer-vm
fwul_Chassis=vm
fwul_Virtualization=oracle
fwul_OperatingSystem=ManjaroLinux
fwul_Kernel=Linux4.14.40-rt30-MANJARO
fwul_Architecture=x86-64
fwul_Statichostname=fwul
fwul_Iconname=computer-vm
fwul_Chassis=vm
fwul_Virtualization=oracle
fwul_OperatingSystem=ManjaroLinux
fwul_Kernel=Linux4.14.40-rt30-MANJARO
fwul_Architecture=x86-64
fwul_Statichostname=fwul
fwul_Iconname=computer-vm
fwul_Chassis=vm
fwul_Virtualization=oracle
fwul_OperatingSystem=ManjaroLinux
fwul_Kernel=Linux4.14.40-rt30-MANJARO
fwul_Architecture=x86-64
fwul_Statichostname=fwul
fwul_Iconname=computer-vm
fwul_Chassis=vm
fwul_Virtualization=oracle
fwul_OperatingSystem=ManjaroLinux
fwul_Kernel=Linux4.14.40-rt30-MANJARO
fwul_Architecture=x86-64
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=17.1.11
DISTRIB_CODENAME=Hakoila
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
2018-08-14 16:05:59: OS (lsb): LSB Version:	n/a
Distributor ID:	ManjaroLinux
Description:	Manjaro Linux
Release:	17.1.11
Codename:	Hakoila
2018-08-14 16:06:00: yad: 0.40.0 (GTK+ 3.22.30)
2018-08-14 16:06:00: summary:
Static hostname: fwul
Icon name: computer-vm
Chassis: vm
Virtualization: oracle
Operating System: Manjaro Linux
Kernel: Linux 4.14.40-rt30-MANJARO
Architecture: x86-64

2018-08-14 16:06:00: DEVCON before: 99
2018-08-14 16:06:00: F_CHKDEVCON: started
aarch64
2018-08-14 16:06:01: F_CHKDEVCON: Device seems to be connected!
2018-08-14 16:06:01: RET: 0
2018-08-14 16:06:01: DEVCON after: 0
2018-08-14 16:06:01: EXPERIMENTAL: 0
2018-08-14 16:06:01: F_GETINFO: started
2018-08-14 16:06:01: F_CDARB: started
2018-08-14 16:06:02: ARB valid and 0
2018-08-14 16:06:02: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2018-08-14 16:06:03: F_CDARB: ended
2018-08-14 16:06:03: F_GETINFO: ARB 0:0
2018-08-14 16:06:03: F_CKUSU: started
2018-08-14 16:06:03: F_DUMPPART: started with aboot
0:15:2048
1:31:2048
2:46:2048
3:62:2048
3:77:2048
4:93:2048
5:108:2048
6:124:2048
6:139:2048
7:155:2048
8:170:2048
9:186:2048
9:201:2048
10:217:2048
11:232:2048
12:248:2048
12:263:2048
13:279:2048
14:294:2048
15:310:2048
15:325:2048
16:341:2048
17:356:2048
18:372:2048
18:387:2048
19:403:2048
20:418:2048
21:434:2048
21:449:2048
22:465:2048
23:480:2048
24:496:2048
24:511:2048
25:527:2048
26:542:2048
27:558:2048
28:573:2048
28:589:2048
29:604:2048
30:620:2048
31:635:2048
31:651:2048
32:666:2048
33:682:2048
34:697:2048
34:713:2048
35:728:2048
36:744:2048
37:759:2048
37:775:2048
38:790:2048
39:806:2048
40:821:2048
40:837:2048
41:852:2048
42:868:2048
43:883:2048
43:899:2048
44:914:2048
45:930:2048
46:945:2048
46:961:2048
47:976:2048
48:992:2048
49:1007:2048
49:1023:2048
50:1038:2048
51:1054:2048
52:1069:2048
52:1085:2048
53:1100:2048
54:1116:2048
55:1131:2048
56:1147:2048
56:1162:2048
57:1178:2048
58:1193:2048
59:1209:2048
59:1224:2048
60:1240:2048
61:1255:2048
62:1271:2048
62:1286:2048
63:1302:2048
64:1317:2048
65:1333:2048
65:1348:2048
66:1364:2048
67:1379:2048
68:1395:2048
68:1410:2048
69:1426:2048
70:1441:2048
71:1457:2048
71:1472:2048
72:1488:2048
73:1503:2048
74:1519:2048
74:1534:2048
75:1550:2048
76:1565:2048
77:1581:2048
77:1596:2048
78:1612:2048
79:1627:2048
80:1643:2048
80:1658:2048
81:1674:2048
82:1689:2048
83:1705:2048
84:1720:2048
84:1736:2048
85:1751:2048
86:1767:2048
87:1782:2048
87:1798:2048
88:1813:2048
89:1829:2048
90:1844:2048
90:1860:2048
91:1875:2048
92:1891:2048
93:1906:2048
93:1922:2048
94:1937:2048
95:1953:2048
96:1968:2048
96:1984:2048
97:1999:2048
98:2015:2048
99:2030:2048
99:2046:2048
100:2048:2048
2018-08-14 16:06:04: F_CKUSU: USU=0 (1=yes, 0=no)
2018-08-14 16:06:04: F_CKUSU: ended
2018-08-14 16:06:04: F_GETINFO: USU 0:
2018-08-14 16:06:04: F_ROMCOMP: started
0
1
2018-08-14 16:06:06: UsU compatibility: 0 (0=h815, 1=h811)
2018-08-14 16:06:06: F_GETINFO: ROMCOMP H815
2018-08-14 16:06:06: F_CHKLAFV: started with this args:
2018-08-14 16:06:06: F_CHKLAFV: detected 1000004
2018-08-14 16:06:06: F_CHKLAFV: no comparison needed
2018-08-14 16:06:06: F_GETINFO: LAFVER 1000004
2018-08-14 16:06:07: F_GETINFO:
2018-08-14 16:06:07: F_GETINFO: ended
2018-08-14 16:06:07: parsing
2018-08-14 16:06:07: parsing H815
2018-08-14 16:06:07: parsing 0
2018-08-14 16:06:07: parsing 1000004
2018-08-14 16:06:07: parsing 100
2018-08-14 16:06:07: parsing H81520o
2018-08-14 16:06:07: parsing S
2018-08-14 16:06:07: parsing LGH815AT-00-V20o-EUR-XX-APR-02-2018+0
2018-08-14 16:06:07: parsing imei:xxxxxxxxxxx
2018-08-14 16:06:07: parsing serial:xxxxxxxxxxx
2018-08-14 16:06:07: parsing LG-H815
2018-08-14 16:06:07: parsing GLOBAL
2018-08-14 16:06:07: parsing COM
2018-08-14 16:06:07: F_MSGW: started
2018-08-14 16:06:09: Your device does <b>not</b> support direct flashing!
Flashing functionality <b>disabled</b>!

Activate flashing functionality by flashing a SALT compatible LAF partition.
Download it right here for <b>any</b> G4 model (requires unlocked device + TWRP):

You can still use many of the features SALT offering - just not the flashing part.
2018-08-14 16:06:09: 0
2018-08-14 16:06:09: Flashing functionality disabled bc: LAFVER = 1000004 and/or EXPERIMENTAL = 0
2018-08-14 16:06:12: F_BACKUP: started with these arguments:
2018-08-14 16:06:15: F_BACKUP: DEBUG: List partitions:
modem:1:32768:208895:636B4AE9-5C02-268E-1396-E87F656BC52A:88064
pmic:2:229376:230399:405E6D19-D4C9-12BA-744E-7658CC3A7A74:512
sbl1:3:230400:232447:20038DD1-0E94-FFBF-717E-F1AE6E645C8E:1024
tz:4:232448:234495:872E0EE3-A568-56CD-B39D-0D6BAFA81ACE:1024
sdi:5:234496:235519:279E6156-9596-A8B2-82D6-5CD0E50951BB:512
hyp:6:235520:236543:5CC603FC-5286-C126-50B9-71D06C4E235B:512
rpm:7:236544:237567:800BD7A5-1A1C-1B92-0423-20A06FF5AA50:512
aboot:8:237568:241663:D9B029B1-1B88-F20F-98D1-FDC5175ED667:2048
sbl1bak:9:241664:243711:1B5E2C5E-A35E-6269-D41A-5FF0C72C9EC2:1024
pmicbak:10:243712:244735:7BBE24A2-5548-971A-4F06-3B293C8842A9:512
tzbak:11:244736:246783:6C5AD901-C53F-595D-C884-0C422E491CA1:1024
hypbak:12:246784:247807:A49ED29F-9413-06D6-0C16-87D6D013444F:512
rpmbak:13:247808:248831:6B89C42B-A690-7B4C-2F93-78925B08C69C:512
abootbak:14:248832:252927:F3E0C09E-033C-6F5B-6962-3FF7E4F80D5B:2048
sdibak:15:252928:253951:B7330698-97A7-4765-CE0F-D796F9FCDDBB:512
limits:16:253952:254975:E8DEF3CB-601E-E2B0-BE23-49294CB7E0DC:512
devinfo:17:254976:255999:2CC3475D-F376-34CF-C483-6A8E2076ECFC:512
apdp:18:256000:257023:9DB4F22B-753C-C62D-8DEC-38BCD743910E:512
msadp:19:257024:258047:F8384B9C-C240-6432-C346-E9B8CECDA1A5:512
dpo:20:258048:259071:1CACF6A5-64A9-9972-81BF-BF9D1C13BC05:512
spare1:21:259072:262143:2B774E3A-ACBA-013D-953E-35C96B9AA877:1536
misc:22:262144:294911:510D3E13-F778-B4C8-AEEE-C6AD5F0CAB21:16384
persist:23:294912:360447:C30461F9-D959-A978-3211-27729A3CE9DF:32768
modemst1:24:360448:363519:E4A285D3-2043-D68F-8F1B-84C77294EE76:1536
modemst2:25:363520:366591:26EBEECE-BC16-9AAA-CB6C-2EBB84C2BE2A:1536
fsg:26:366592:369663:317C77DD-626B-6E0B-E1C5-6B177834EC64:1536
fsc:27:369664:370687:CE1ED3C0-FFC9-E702-6CEA-D82E487BC9B2:512
ssd:28:370688:371711:77E2D613-7488-A350-FB39-77BBD7D19A77:512
keystore:29:371712:372735:3AD830E7-896B-FA80-C8E3-27CDBD9B6001:512
DDR:30:372736:376831:88BE143F-BF17-E134-992A-D93AC922905D:2048
sec:31:376832:377855:428E7851-D7C8-F725-2D80-77B8A9FB9F76:512
encrypt:32:377856:378879:31DF8D1D-FAFC-895D-6B1B-5B356618E739:512
eksst:33:378880:379903:1FFDA316-F6BB-1689-1ADF-8B7D1E999783:512
rct:34:379904:380927:6FA0FF79-9BC8-4648-9C8A-673A84339CBF:512
persistent:35:380928:385023:52444984-6F17-ECD2-5FA0-22ABA42E1437:2048
spare2:36:385024:393215:34020C35-E6AF-B4F0-6D99-09C7A86FB08D:4096
laf:37:393216:491519:C979C398-2F6B-1FC8-46F8-DEB4D8F2D33F:49152
boot:38:491520:573439:03806DA9-B03E-3B43-A354-C9E0B7868FD8:40960
recovery:39:573440:655359:77C00408-0D35-AA3D-B50C-4F2B83C59422:40960
drm:40:655360:671743:F506A231-8ABF-B8BB-686B-F23D3FFE3FED:8192
sns:41:671744:688127:0A0038B2-139D-507D-748B-FD9E5B5E1CFC:8192
mpt:42:688128:753663:67CE86E6-FB0F-613F-383E-DD1E5A74A5E0:32768
factory:43:753664:847871:39461C23-109B-085A-F076-4A14E49F5D86:47104
fota:44:847872:868351:419F9F36-887E-B68E-33D1-E4CA0B38411E:10240
raw_resources:45:868352:876543:6E299368-A8A6-3379-277C-04708D7F9582:4096
raw_resourcesbak:46:876544:884735:8B854677-A798-7FF5-6E24-F2CFF75B447F:4096
system:47:884736:9363455:4FAD2396-63C4-3422-5097-902840ECB0A4:4239360
cust:48:9363456:9887743:34DD264C-6D52-5674-E095-FACA9FA61195:262144
cache:49:9895936:12419071:5451BB07-9892-C217-5BBD-D98708147CD1:1261568
userdata:50:12419072:61046783:522F6CDA-F0B0-5816-A054-380D80E72F25:24313856
grow:51:61046784:61071326:DB8AF9C6-D276-C14E-C73A-49DB432B2B17:12272
2018-08-14 16:06:18: F_BACKUP: choosen target directory was /run/media/android/TOSHIBA EXT/BackupG4/
2018-08-14 16:06:18: F_CHKFREE: started with this args: /run/media/android/TOSHIBA EXT/BackupG4/
2018-08-14 16:06:18: F_CHKFREE: valid dir specificed
2018-08-14 16:06:18: F_CHKFREE: ended.
2018-08-14 16:06:18: F_BACKUP: TFREE 320565 vs. 29789
2018-08-14 16:06:18: F_BACKUP: choosen backup type was 1, Full, 0 KB, backup size: 29789, backup path: /run/media/android/TOSHIBA EXT/BackupG4/
2018-08-14 16:06:18: F_BACKUP: Target directory has enough free space!
#Skipping already existing partition /dev/mmcblk0p1 (modem)
#Skipping already existing partition /dev/mmcblk0p2 (pmic)
#Skipping already existing partition /dev/mmcblk0p3 (sbl1)
#Skipping already existing partition /dev/mmcblk0p4 (tz)
#Skipping already existing partition /dev/mmcblk0p5 (sdi)
#Skipping already existing partition /dev/mmcblk0p6 (hyp)
#Skipping already existing partition /dev/mmcblk0p7 (rpm)
#Skipping already existing partition /dev/mmcblk0p8 (aboot)
#Skipping already existing partition /dev/mmcblk0p9 (sbl1bak)
#Skipping already existing partition /dev/mmcblk0p10 (pmicbak)
#Skipping already existing partition /dev/mmcblk0p11 (tzbak)
#Skipping already existing partition /dev/mmcblk0p12 (hypbak)
#Skipping already existing partition /dev/mmcblk0p13 (rpmbak)
#Skipping already existing partition /dev/mmcblk0p14 (abootbak)
#Skipping already existing partition /dev/mmcblk0p15 (sdibak)
#Skipping already existing partition /dev/mmcblk0p16 (limits)
#Skipping already existing partition /dev/mmcblk0p17 (devinfo)
#Skipping already existing partition /dev/mmcblk0p18 (apdp)
#Skipping already existing partition /dev/mmcblk0p19 (msadp)
#Skipping already existing partition /dev/mmcblk0p20 (dpo)
#Skipping already existing partition /dev/mmcblk0p21 (spare1)
#Skipping already existing partition /dev/mmcblk0p22 (misc)
#Skipping already existing partition /dev/mmcblk0p23 (persist)
#Skipping already existing partition /dev/mmcblk0p24 (modemst1)
#Skipping already existing partition /dev/mmcblk0p25 (modemst2)
#Skipping already existing partition /dev/mmcblk0p26 (fsg)
#Skipping already existing partition /dev/mmcblk0p27 (fsc)
#Skipping already existing partition /dev/mmcblk0p28 (ssd)
#Skipping already existing partition /dev/mmcblk0p29 (keystore)
#Skipping already existing partition /dev/mmcblk0p30 (DDR)
#Skipping already existing partition /dev/mmcblk0p31 (sec)
#Skipping already existing partition /dev/mmcblk0p32 (encrypt)
#Skipping already existing partition /dev/mmcblk0p33 (eksst)
#Skipping already existing partition /dev/mmcblk0p34 (rct)
#Skipping already existing partition /dev/mmcblk0p35 (persistent)
#Skipping already existing partition /dev/mmcblk0p36 (spare2)
#Skipping already existing partition /dev/mmcblk0p37 (laf)
#Skipping already existing partition /dev/mmcblk0p38 (boot)
#Skipping already existing partition /dev/mmcblk0p39 (recovery)
#Skipping already existing partition /dev/mmcblk0p40 (drm)
#Skipping already existing partition /dev/mmcblk0p41 (sns)
#Skipping already existing partition /dev/mmcblk0p42 (mpt)
#Skipping already existing partition /dev/mmcblk0p43 (factory)
#Skipping already existing partition /dev/mmcblk0p44 (fota)
#Skipping already existing partition /dev/mmcblk0p45 (raw_resources)
#Skipping already existing partition /dev/mmcblk0p46 (raw_resourcesbak)
#/dev/mmcblk0p47 (system)
0:15:4239360
0:31:4239360
0:46:4239360
0:62:4239360
0:77:4239360
0:93:4239360
0:108:4239360
0:124:4239360
0:139:4239360
.....
12:517111:4239360
12:517126:4239360
12:517142:4239360
12:517157:4239360
12:517173:4239360
12:517188:4239360
Traceback (most recent call last):
File "/root/programs/lglafng/extract-partitions.py", line 91, in <module>
main()
File "/root/programs/lglafng/extract-partitions.py", line 83, in main
dump_partitions(comm, disk_fd, args.outdir, args.max_size * 1024, args.batch)
File "/root/programs/lglafng/extract-partitions.py", line 66, in dump_partitions
partitions.dump_partition(comm, disk_fd, out_path, part_offset, part_size, batch)
File "/root/programs/lglafng/partitions.py", line 167, in dump_partition
data = laf_read(comm, disk_fd, read_offset // BLOCK_SIZE, chunksize)
File "/root/programs/lglafng/partitions.py", line 76, in laf_read
header, response = comm.call(read_cmd)
File "/root/programs/lglafng/lglaf.py", line 259, in call
self.write(payload)
File "/root/programs/lglafng/lglaf.py", line 379, in write
self.usbdev.write(self.ep_out, data)
File "/usr/lib/python3.6/site-packages/usb/core.py", line 948, in write
self.__get_timeout(timeout)
File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 824, in bulk_write
timeout)
File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 920, in __write
_check(retval)
File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out
2018-08-14 16:12:59: F_MSGE: started
2018-08-14 16:13:00: ERROR: Backup incomplete! Check the log.
2018-08-14 16:13:01: 0
failed to change ownership of '/root/salt_backup' to root
2018-08-14 16:13:02: F_MSGOK: started
2018-08-14 16:13:04:
Your device supports md5sum verification!
Do you want to verify your just created backup?
2018-08-14 16:13:04: 0
2018-08-14 16:13:04: F_BACKUP: VERANS was 0
2018-08-14 16:15:06: F_ADVMENU: started with LG-H815
2018-08-14 16:15:06: F_ADVMENU: main YAD_PID is 2298
2018-08-14 16:15:11: CR setting: Auto =
2018-08-14 16:15:11: getlog script started