[TOOL][LOCKED/UNLOCKED] SALT - The LG(up) revolution (begins)

Search This thread

_tyler_

Senior Member
Dec 27, 2013
110
2
Well I think I soft bricked 2 of them. the 3 were on H810 22b/c/d 6.0. I flashed PRH810PR10a_04.kdz from "CM on H810" as one of the FAQ 29 anomalies. The device shows up in Device Manager on Windows as some sort of unrecognized device. I am losing patience although I believe it can be saved if I go find the driver .inf and get LGUP to flash the 22b/c/d kdz/tot. Flashtool would keep force closing or say it cant contact the server...something in Korean...LGUPing the other kdz would just say ARB is lower than currently on the device and it would simply fail. I tried H811 20o from the other FAQ29 anomaly and it told me invalid kdz. Not gonna bother trying to fix that kdz or even messing with the 3rd h810...
 

st.patryk

Member
Mar 12, 2024
5
0
Hello, I don't know where to look for a help so I tried here:
I tried to unlock bootloader on my LG G4 H815, unfortunately official method is off.

I put phone in download mode, run SALT on live mAid and there is info:
"Your LAF firmware (unknown / LG-H815) does <b>not</b> support direct flashing!"

Anyone can help me unlock bootloader?

log:

2024-03-12 10:58:37: F_VCHK: cannot check for new version:
online: /
here: 328 / 3.28-0
2024-03-12 10:58:37: OS: Manjaro Linux
maidversion=4.1
maidversiontype=stable
maidtype=stable
maidbuild=1688382633
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-desktop
maid_Chassis=desktop
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.114-2-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=GigabyteTechnologyCo.,Ltd.
maid_HardwareModel=B75M-D3P
maid_FirmwareVersion=F6
maidversion=4.1
maidversiontype=stable
maidtype=stable
maidbuild=1688382633
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-desktop
maid_Chassis=desktop
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.114-2-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=GigabyteTechnologyCo.,Ltd.
maid_HardwareModel=B75M-D3P
maid_FirmwareVersion=F6
Manjaro Linux
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
2024-03-12 10:58:37: OS (lsb):
2024-03-12 10:58:37: yad: 12.3 (GTK+ 3.24.37)
2024-03-12 10:58:37: summary:
Static hostname: maid
Icon name: computer-desktop
Chassis: desktop 🖥️
Operating System: Manjaro Linux
Kernel: Linux 5.15.114-2-MANJARO
Architecture: x86-64
Hardware Vendor: Gigabyte Technology Co., Ltd.
Hardware Model: B75M-D3P
Firmware Version: F6

2024-03-12 10:58:37: DEVCON before: 99
2024-03-12 10:58:37: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Trying protocol version: 1000001
LGLAF.py: DEBUG: Negotiated protocol version: 0x0
LGLAF.py: DEBUG: Using Protocol version: 0x0
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: using timeout value of: 2000
LGLAF.py: DEBUG: Challenge: b'ac11c571'
LGLAF.py: DEBUG: Response: b'f165d1bb5e536c0f2f0dfcaeec4fd63e'
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x08\0\0\0' b'\xad\\\0\0' b'\xba\xa7\xba\xbc'
aarch64
2024-03-12 10:58:38: F_CHKDEVCON: Device seems to be connected!
2024-03-12 10:58:38: RET: 0
2024-03-12 10:58:38: DEVCON after: 0
2024-03-12 10:58:38: EXPERIMENTAL: 0
2024-03-12 10:58:38: F_GETINFO: started
2024-03-12 10:58:38: F_CDARB: started
2024-03-12 10:58:40: F_CDARB: ARB partition seems to be: sbl1
2024-03-12 10:58:41: F_CDARB: DEVARB=0, DEVARBEMPTY=0
2024-03-12 10:58:41: F_CDARB: ended
2024-03-12 10:58:41: F_GETINFO: ARB 0:0
2024-03-12 10:58:41: F_CKUSU: started
2024-03-12 10:58:41: F_DUMPPART: started with aboot
0:15:2048
0:15:2048
1:31:2048
1:31:2048
2:46:2048
2:46:2048
3:62:2048
3:62:2048
3:77:2048
3:77:2048
4:93:2048
4:93:2048
5:108:2048
5:108:2048
6:124:2048
6:124:2048
6:139:2048
6:139:2048
7:155:2048
7:155:2048
8:170:2048
8:170:2048
9:186:2048
9:186:2048
9:201:2048
9:201:2048
10:217:2048
10:217:2048
11:232:2048
11:232:2048
12:248:2048
12:248:2048
12:263:2048
12:263:2048
13:279:2048
13:279:2048
14:294:2048
14:294:2048
15:310:2048
15:310:2048
15:325:2048
15:325:2048
16:341:2048
16:341:2048
17:356:2048
17:356:2048
18:372:2048
18:372:2048
18:387:2048
18:387:2048
19:403:2048
19:403:2048
20:418:2048
20:418:2048
21:434:2048
21:434:2048
21:449:2048
21:449:2048
22:465:2048
22:465:2048
23:480:2048
23:480:2048
24:496:2048
24:496:2048
24:511:2048
24:511:2048
25:527:2048
25:527:2048
26:542:2048
26:542:2048
27:558:2048
27:558:2048
28:573:2048
28:573:2048
28:589:2048
28:589:2048
29:604:2048
29:604:2048
30:620:2048
30:620:2048
31:635:2048
31:635:2048
31:651:2048
31:651:2048
32:666:2048
32:666:2048
33:682:2048
33:682:2048
34:697:2048
34:697:2048
34:713:2048
34:713:2048
35:728:2048
35:728:2048
36:744:2048
36:744:2048
37:759:2048
37:759:2048
37:775:2048
37:775:2048
38:790:2048
38:790:2048
39:806:2048
39:806:2048
40:821:2048
40:821:2048
40:837:2048
40:837:2048
41:852:2048
41:852:2048
42:868:2048
42:868:2048
43:883:2048
43:883:2048
43:899:2048
43:899:2048
44:914:2048
44:914:2048
45:930:2048
45:930:2048
46:945:2048
46:945:2048
46:961:2048
46:961:2048
47:976:2048
47:976:2048
48:992:2048
48:992:2048
49:1007:2048
49:1007:2048
49:1023:2048
49:1023:2048
50:1038:2048
50:1038:2048
51:1054:2048
51:1054:2048
52:1069:2048
52:1069:2048
52:1085:2048
52:1085:2048
53:1100:2048
53:1100:2048
54:1116:2048
54:1116:2048
55:1131:2048
55:1131:2048
56:1147:2048
56:1147:2048
56:1162:2048
56:1162:2048
57:1178:2048
57:1178:2048
58:1193:2048
58:1193:2048
59:1209:2048
59:1209:2048
59:1224:2048
59:1224:2048
60:1240:2048
60:1240:2048
61:1255:2048
61:1255:2048
62:1271:2048
62:1271:2048
62:1286:2048
62:1286:2048
63:1302:2048
63:1302:2048
64:1317:2048
64:1317:2048
65:1333:2048
65:1333:2048
65:1348:2048
65:1348:2048
66:1364:2048
66:1364:2048
67:1379:2048
67:1379:2048
68:1395:2048
68:1395:2048
68:1410:2048
68:1410:2048
69:1426:2048
69:1426:2048
70:1441:2048
70:1441:2048
71:1457:2048
71:1457:2048
71:1472:2048
71:1472:2048
72:1488:2048
72:1488:2048
73:1503:2048
73:1503:2048
74:1519:2048
74:1519:2048
74:1534:2048
74:1534:2048
75:1550:2048
75:1550:2048
76:1565:2048
76:1565:2048
77:1581:2048
77:1581:2048
77:1596:2048
77:1596:2048
78:1612:2048
78:1612:2048
79:1627:2048
79:1627:2048
80:1643:2048
80:1643:2048
80:1658:2048
80:1658:2048
81:1674:2048
81:1674:2048
82:1689:2048
82:1689:2048
83:1705:2048
83:1705:2048
84:1720:2048
84:1720:2048
84:1736:2048
84:1736:2048
85:1751:2048
85:1751:2048
86:1767:2048
86:1767:2048
87:1782:2048
87:1782:2048
87:1798:2048
87:1798:2048
88:1813:2048
88:1813:2048
89:1829:2048
89:1829:2048
90:1844:2048
90:1844:2048
90:1860:2048
90:1860:2048
91:1875:2048
91:1875:2048
92:1891:2048
92:1891:2048
93:1906:2048
93:1906:2048
93:1922:2048
93:1922:2048
94:1937:2048
94:1937:2048
95:1953:2048
95:1953:2048
96:1968:2048
96:1968:2048
96:1984:2048
96:1984:2048
97:1999:2048
97:1999:2048
98:2015:2048
98:2015:2048
99:2030:2048
99:2030:2048
99:2046:2048
99:2046:2048
100:2048:2048
100:2048:2048
2024-03-12 10:58:42: F_CKUSU: USU=0 (1=yes, 0=no)
2024-03-12 10:58:42: F_CKUSU: ended
2024-03-12 10:58:42: F_GETINFO: USU 0:
2024-03-12 10:58:42: F_ROMCOMP: started
0
1
2024-03-12 10:58:45: UsU compatibility: 0 (0=h815, 1=h811)
2024-03-12 10:58:45: F_GETINFO: ROMCOMP H815
2024-03-12 10:58:45: F_CHKLAFV: started with this args:
2024-03-12 10:58:45: F_CHKBRNCH: started
2024-03-12 10:58:45: F_CHKBRNCH: ended with 0
2024-03-12 10:58:45: F_CHKLAFV: on branch develop so using the new proto arg
2024-03-12 10:58:46: F_CHKLAFV: Unexpected error while retrieving LAF protocol version (0)
2024-03-12 10:58:46: F_GETINFO: LAFVER unknown
2024-03-12 10:58:48: F_GETINFO:
2024-03-12 10:58:48: F_GETINFO: ended
2024-03-12 10:58:48: parsing
2024-03-12 10:58:48: parsing H815
2024-03-12 10:58:48: parsing 0
2024-03-12 10:58:48: parsing unknown
2024-03-12 10:58:48: parsing 99
2024-03-12 10:58:48: parsing H81520p
2024-03-12 10:58:48: parsing S
2024-03-12 10:58:48: parsing LGH815AT-00-V20p-EUR-XX-APR-03-2018+0
2024-03-12 10:58:48: parsing imei:xxxxxxxxxxx
2024-03-12 10:58:48: parsing serial:xxxxxxxxxxx
2024-03-12 10:58:48: parsing LG-H815
2024-03-12 10:58:48: parsing GLOBAL
2024-03-12 10:58:48: parsing COM
2024-03-12 10:58:48: Detected stuff:
DEVCON=0
LAFVER=unknown
LGUSU=no
LGSERIAL=LGH815cc47e3c7
LGOPER=GLOBAL
LGMODEL=LG-H815
LGSWV=H81520p
LGFACV=LGH815AT-00-V20p-EUR-XX-APR-03-2018+0
LGCOUNTRY=COM
LGSEC=S
LGBATT=99
ROMCOMP=H815
DEVARB=0
2024-03-12 10:58:48: F_MSGW: started
2024-03-12 10:58:52: Your LAF firmware (unknown / LG-H815) 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 an unlocked device + TWRP):

<a href='https://www.androidfilehost.com/?fid=818070582850495147'>SALT-compatible-LAF_flash-in-twrp.zip (click here)</a>

You can still use many of the features SALT offering - just not the flashing part.

This does <b>NOT</b> affect unlocking the G4!
<b>Just go on</b> if you want to UsU..
2024-03-12 10:58:52: 0
2024-03-12 10:58:52: Flashing functionality disabled bc: LAFVER = unknown and/or EXPERIMENTAL = 0
2024-03-12 10:58:52: F_MAIN: starting G4 menu
2024-03-12 10:58:53: F_ADVMENU: started with LG-H815
2024-03-12 10:58:53: F_ADVMENU: main YAD_PID is 9259
2024-03-12 10:58:56: CR setting: Auto =
2024-03-12 10:58:56: getlog script started
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,259
15,492
127.0.0.1
OnePlus 7T Pro
Hello, I don't know where to look for a help so I tried here:
I tried to unlock bootloader on my LG G4 H815, unfortunately official method is off.

I put phone in download mode, run SALT on live mAid and there is info:
"Your LAF firmware (unknown / LG-H815) does <b>not</b> support direct flashing!"

Anyone can help me unlock bootloader?

log:
do you have read the next line that says

> This does NOT affect unlocking the G4!

??

anyways. simply use the internal storage or ext. sdcard method instead. and there is an unlock thread btw ;)
 

st.patryk

Member
Mar 12, 2024
5
0
do you have read the next line that says

> This does NOT affect unlocking the G4!

??

anyways. simply use the internal storage or ext. sdcard method instead. and there is an unlock thread btw ;)
Yes I have, but UsU says that the "download mode version is not supported" and there's no way to flash other ROM because every testet app (lg up +uppercut, lg flash tool) on windows deasn't work...
 

st.patryk

Member
Mar 12, 2024
5
0
simply use the internal storage or ext. sdcard method instead.
when you get an error share the log, see FAQ 1000 in this thread post2
I do everything from thread:
[UNLOCK][UNOFFICIAL][G4] Unlock ANY* LG G4 device with UsU
and on point:
Click the "Unlock G4 (UsU)" button and read carefully the popup. Click Unlock, choose your unlock way and follow the instructions
pops out error: ...download mode version is not supported.

Tell me friend, what did I wrong? I got a headache from that.
 

st.patryk

Member
Mar 12, 2024
5
0
what u did wrong? u still do not share the log (see my post above) so what should I do? guessing?

here is log file:

2024-03-13 13:48:44: F_VCHK: cannot check for new version:
online: /
here: 328 / 3.28-0
2024-03-13 13:48:44: OS: Manjaro Linux
maidversion=4.1
maidversiontype=stable
maidtype=stable
maidbuild=1688382633
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-desktop
maid_Chassis=desktop
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.114-2-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=GigabyteTechnologyCo.,Ltd.
maid_HardwareModel=B75M-D3P
maid_FirmwareVersion=F6
maidversion=4.1
maidversiontype=stable
maidtype=stable
maidbuild=1688382633
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-desktop
maid_Chassis=desktop
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.114-2-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=GigabyteTechnologyCo.,Ltd.
maid_HardwareModel=B75M-D3P
maid_FirmwareVersion=F6
Manjaro Linux
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
2024-03-13 13:48:44: OS (lsb):
2024-03-13 13:48:44: yad: 12.3 (GTK+ 3.24.37)
2024-03-13 13:48:44: summary:
Static hostname: maid
Icon name: computer-desktop
Chassis: desktop 🖥️
Operating System: Manjaro Linux
Kernel: Linux 5.15.114-2-MANJARO
Architecture: x86-64
Hardware Vendor: Gigabyte Technology Co., Ltd.
Hardware Model: B75M-D3P
Firmware Version: F6

2024-03-13 13:48:44: DEVCON before: 99
2024-03-13 13:48:44: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Detaching kernel driver for intf 0
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Trying protocol version: 1000001
LGLAF.py: DEBUG: Negotiated protocol version: 0x0
LGLAF.py: DEBUG: Using Protocol version: 0x0
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: using timeout value of: 2000
LGLAF.py: DEBUG: Challenge: b'90efc609'
LGLAF.py: DEBUG: Response: b'24d121a405bc0810c1ab9dab19a09eb1'
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x08\0\0\0' b'\xad\\\0\0' b'\xba\xa7\xba\xbc'
aarch64
2024-03-13 13:48:45: F_CHKDEVCON: Device seems to be connected!
2024-03-13 13:48:45: RET: 0
2024-03-13 13:48:45: DEVCON after: 0
2024-03-13 13:48:45: EXPERIMENTAL: 0
2024-03-13 13:48:45: F_GETINFO: started
2024-03-13 13:48:45: F_CDARB: started
2024-03-13 13:48:46: F_CDARB: ARB partition seems to be: sbl1
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 754, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 734, in main
dump_partition(comm, disk_fd, args.dump, part_offset, part_size, args.batch)
File "/home/android/programs/lglafng/partitions.py", line 344, in dump_partition
data, disk_fd = laf_read(comm, disk_fd, read_offset // BLOCK_SIZE, chunksize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 141, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 340, in call
header = self.read(0x20,timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 319, in read
buff = self._read(need, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 457, in _read
array = self.usbdev.read(self.ep_in, 2**14, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/usb/core.py", line 1029, in read
ret = fn(
^^^
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 846, in bulk_read
return self.__read(self.lib.libusb_bulk_transfer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 954, in __read
_check(retval)
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 604, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error
2024-03-13 13:48:49: EMPTY ARB DETECTED:

2024-03-13 13:48:49: Please send this log and the sbl1 dump in /tmp/sbl1.err
2024-03-13 13:48:51: 2024-03-13 13:48:49,981 LGLAF.py: DEBUG: product id in CR list: >LG_new<
2024-03-13 13:48:49,981 LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
2024-03-13 13:48:49,981 LGLAF.py: DEBUG: Final CR detection: None / 1
2024-03-13 13:48:49,983 LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
2024-03-13 13:48:49,983 partitions: DEBUG: Used protocol version: 0000000
2024-03-13 13:48:50,826 LGLAF.py: DEBUG: using timeout value of: 2000
2024-03-13 13:48:50,827 LGLAF.py: DEBUG: Challenge: b'd173546f'
2024-03-13 13:48:50,923 LGLAF.py: DEBUG: Response: b'11730b0afedd59034a211931193b0ac0'
2024-03-13 13:48:50,924 LGLAF.py: DEBUG: using timeout value of: None
2024-03-13 13:48:50,924 LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
2024-03-13 13:48:50,925 LGLAF.py: DEBUG: using timeout value of: None
2024-03-13 13:48:50,925 partitions: DEBUG: opened a disk_fd: 27 on default
2024-03-13 13:48:50,925 partitions: DEBUG: check_block_size, read_offset: 0, end_offset: 24576, GPT_LBA_LEN: 6, BLOCK_SIZE: 4096, MAX_BLOCK_SIZE: 3
2024-03-13 13:48:50,926 LGLAF.py: DEBUG: using timeout value of: 3000
2024-03-13 13:48:50,928 LGLAF.py: DEBUG: using timeout value of: 3000
2024-03-13 13:48:51,053 partitions: DEBUG: No GPT header found for block size: 4096
2024-03-13 13:48:51,053 partitions: DEBUG: check_block_size, read_offset: 0, end_offset: 17408, GPT_LBA_LEN: 34, BLOCK_SIZE: 512, MAX_BLOCK_SIZE: 31
2024-03-13 13:48:51,054 LGLAF.py: DEBUG: using timeout value of: 3000
2024-03-13 13:48:51,055 LGLAF.py: DEBUG: using timeout value of: 3000
2024-03-13 13:48:51,056 partitions: DEBUG: GPT HEADER FOUND for block size: 512
2024-03-13 13:48:51,056 partitions: DEBUG: GPT_LBA_LEN: 34
2024-03-13 13:48:51,056 partitions: DEBUG: BLOCK_SIZE: 512 (EMMC), MAX_BLOCK_SIZE: 31
2024-03-13 13:48:51,057 LGLAF.py: DEBUG: using timeout value of: None
2024-03-13 13:48:51,058 LGLAF.py: DEBUG: using timeout value of: None
2024-03-13 13:48:51,063 LGLAF.py: DEBUG: using timeout value of: 2000
2024-03-13 13:48:51,064 LGLAF.py: DEBUG: Challenge: b'2265c364'
2024-03-13 13:48:51,064 LGLAF.py: DEBUG: Response: b'aa4b04d4661a5e294b056425c3e2cfc1'
2024-03-13 13:48:51,065 LGLAF.py: DEBUG: using timeout value of: None
2024-03-13 13:48:51,066 LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d45545200000000040000000000000000000000f98e0000b4b6b3b0', Body: b''
2024-03-13 13:48:51,066 LGLAF.py: DEBUG: using timeout value of: None
GPT Header
Disk GUID: 98101B32-BBE2-4BF2-A06E-2BB33D000C20
Device: default
LBA size (sector size): 512
GPT First LBA: 1
GPT Last LBA: 61071359
Number of GPT partitions: 51

# From(#s) To(#s) GUID/UID Type/Name
1 32768 208895 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
2C9C5EC0-5089-C2FD-2BB8-B0D6B55FC969 modem
2 229376 230399 C00EEF24-7709-43D6-9799-DD2B411E7A3C Unknown
E0887475-3501-9541-0995-604BB69779CA pmic
3 230400 232447 DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 Unknown
E4A4D5BB-85C9-86FA-39B5-6D3E1A116849 sbl1
4 232448 234495 A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 Unknown
A5505947-385B-5172-8592-69ABD5E3F82C tz
5 234496 235519 D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203 Unknown
07EFDA3B-B262-86D1-42DC-A16EF3719745 sdi
6 235520 236543 E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A Unknown
D2DAF4F8-F494-F8AF-445B-F7AEEA17BDCC hyp
7 236544 237567 098DF793-D712-413D-9D4E-89D711772228 Unknown
4C0D1B93-329C-AB73-7FA7-36D373E9767D rpm
8 237568 241663 400FFDCD-22E0-47E7-9A23-F16ED9382388 Unknown
8D24F8E9-80B6-9926-9225-1B9741F497DA aboot
9 241664 243711 DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 Unknown
B736164F-DBCE-91B4-7C0E-97635A37E655 sbl1bak
10 243712 244735 C00EEF24-7709-43D6-9799-DD2B411E7A3C Unknown
16294DF1-8874-A104-8040-85DAD0085055 pmicbak
11 244736 246783 A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 Unknown
C19E6F07-CF19-DFDB-194B-DE650336E75D tzbak
12 246784 247807 E1A6A689-0C8D-4CC6-B4E8-55A4320FBD8A Unknown
0E9DDEB4-85E6-CEF7-87AE-2FAAEEA7CDB0 hypbak
13 247808 248831 098DF793-D712-413D-9D4E-89D711772228 Unknown
B54BA8EE-5FCD-9BF2-B651-CD5A1D2FC3CC rpmbak
14 248832 252927 400FFDCD-22E0-47E7-9A23-F16ED9382388 Unknown
C615F011-743C-D40F-0FB6-1594027DFB8B abootbak
15 252928 253951 D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203 Unknown
04F5EC33-21A5-FE27-2A88-0F0EA036FFE9 sdibak
16 253952 254975 10A0C19C-516A-5444-5CE3-664C3226A794 Unknown
00258E3B-090A-F71E-FA35-67862A4FE206 limits
17 254976 255999 65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03 Unknown
5BEEF108-1A26-72CC-9009-CE1C4F97EFA9 devinfo
18 256000 257023 E6E98DA2-E22A-4D12-AB33-169E7DEAA507 Unknown
FF02DE10-0634-8D65-F3A6-F2C106096830 apdp
19 257024 258047 ED9E8101-05FA-46B7-82AA-8D58770D200B Unknown
AFA69886-0D12-794F-B2B8-182E8B6D836E msadp
20 258048 259071 11406F35-1173-4869-807B-27DF71802812 Unknown
6A5DD444-EDC6-0975-7248-8867FEE7A810 dpo
21 259072 262143 DF24E5ED-8C96-4B86-B00B-79667DC6DE11 Unknown
CEBB7F6C-0111-B41B-2272-569AD420F845 spare1
22 262144 294911 82ACC91F-357C-4A68-9C8F-689E1B1A23A1 Unknown
BF82D982-CFAC-EA0E-4B45-91942204DB13 misc
23 294912 360447 6C95E238-E343-4BA8-B489-8681ED22AD0B Unknown
BF06643E-8F51-237B-0D28-0B199C14F0AB persist
24 360448 363519 EBBEADAF-22C9-E33B-8F5D-0E81686A68CB Unknown
E04AEBC1-5925-68FE-4DCC-EA77E9038039 modemst1
25 363520 366591 0A288B1F-22C9-E33B-8F5D-0E81686A68CB Unknown
8417A7B8-4006-9175-C0F9-846B44B4E2A9 modemst2
26 366592 369663 638FF8E2-22C9-E33B-8F5D-0E81686A68CB Unknown
ED3127E3-F4F7-A60F-8D49-2C790E709221 fsg
27 369664 370687 57B90A16-22C9-E33B-8F5D-0E81686A68CB Unknown
9F0BDD06-5207-2139-CBFF-57E3D6D324BE fsc
28 370688 371711 2C86E742-745E-4FDD-BFD8-B6A7AC638772 Unknown
DF246A3F-63E9-398F-1152-0A835A3A091D ssd
29 371712 372735 DE7D4029-0F5B-41C8-AE7E-F6C023A02B33 Unknown
02280F6A-D0B0-05B4-8EC0-A2B388541783 keystore
30 372736 376831 20A0C19C-286A-42FA-9CE7-F64C3226A794 Unknown
33A0E627-CD91-5BB3-8C3E-EB4FF1628C98 DDR
31 376832 377855 303E6AC3-AF15-4C54-9E9B-D9A8FBECF401 Unknown
48470F02-90C6-0F79-C6CD-6AD3214F8BF2 sec
32 377856 378879 323EF595-AF7A-4AFA-8060-97BE72841BB9 Unknown
F99FAEE6-0929-121B-8B9D-341C7AAFFF87 encrypt
33 378880 379903 45864011-CF89-46E6-A445-85262E065604 Unknown
95478EC7-9779-BCB7-B719-0B690AB33C82 eksst
34 379904 380927 8ED8AE95-597F-4C8A-A5BD-A7FF8E4DFAA9 Unknown
021E62FE-3B12-BE62-A984-292D8FA57809 rct
35 380928 385023 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
47D47D16-CE0B-D069-E355-32A7291416D9 persistent
36 385024 393215 7C29D3AD-78B9-452E-9DEB-D098D542F092 Unknown
84D64CA6-A736-00B5-1F20-EC9B8DD4AC38 spare2
37 393216 491519 98523EC6-90FE-4C67-B50A-0FC59ED6F56D Unknown
26EBE353-E019-6B2F-B3A2-A3EAFDC12ED2 laf
38 491520 573439 20117F86-E985-4357-B9EE-374BC1D8487D Unknown
441836A1-4500-548F-5C7D-9B0B67D3EAA8 boot
39 573440 655359 9D72D4E4-9958-42DA-AC26-BEA7A90B0434 Unknown
70349858-D9AB-5A65-5F45-AB1B2349F1F7 recovery
40 655360 671743 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
97629E9A-6940-7260-3E03-0428128363E8 drm
41 671744 688127 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
CA9C961A-A56A-784E-98ED-422D203BB457 sns
42 688128 753663 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
38B7E3E5-322D-A359-43B9-A206C6727178 mpt
43 753664 847871 20117F86-E985-4357-B9EE-374BC1D8487D Unknown
EE22CFCB-8973-1A18-C462-05F74E14FC64 factory
44 847872 868351 86A7CB80-84E1-408C-99AB-694F1A410FC7 Unknown
B9391BEA-A332-F97A-2C93-EF4FCB8E2CE1 fota
45 868352 876543 4627AE27-CFEF-48A1-88FE-99C3509ADE26 Unknown
C8B74B09-291E-1661-9181-F97011D73B58 raw_resources
46 876544 884735 4627AE27-CFEF-48A1-88FE-99C3509ADE26 Unknown
2722471E-9CF4-3B7A-D660-DB9BE7632F2C raw_resourcesbak
47 884736 9363455 97D7B011-54DA-4835-B3C4-917AD6E73D74 Unknown
3254FDD9-5609-84CE-EFE5-42A160233B47 system
48 9363456 9887743 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
9ECF3D3B-E229-7A2E-FE72-BD0DD8479DC6 cust
49 9895936 12419071 5594C694-C871-4B5F-90B1-690A6F68E0F7 Unknown
89C12426-F027-38D2-FF99-1A61A02C9ACF cache
50 12419072 61046783 1B81E7E6-F50D-419B-A739-2AEEF8DA3335 Unknown
E394BCDC-DD6D-77B4-E54F-362B3C9CA81C userdata
51 61046784 61071326 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 Basic data partition
105D7851-F50E-198B-3BB0-B6640B8ED2A0 grow
2024-03-13 13:48:51:
Bus 002 Device 015: ID 1004:633a LG Electronics, Inc. Ultimate 2 Android Phone L41C
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1004 LG Electronics, Inc.
idProduct 0x633a Ultimate 2 Android Phone L41C
bcdDevice 3.10
iManufacturer 1 LG Electronics Inc.
iProduct 2 LGE Android Phone
iSerial 3 LGH815cc47e3c7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0062
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 7 CDC Serial
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 5 CDC Abstract Control Model (ACM)
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x00
bDataInterface 1
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 6 CDC ACM Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x0024 Integrated Rate Matching Hub
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 6
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0503 highspeed power enable connect
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.114-2-MANJARO ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 001 Device 005: ID 0409:005a NEC Corp. HighSpeed Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0409 NEC Corp.
idProduct 0x005a HighSpeed Hub
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0020
Ganged power switching
Ganged overcurrent protection
TT think time 16 FS bits
bPwrOn2PwrGood 0 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 001 Device 004: ID 13fe:4300 Phison Electronics Corp. USB DISK 2.0
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x13fe Phison Electronics Corp.
idProduct 0x4300
bcdDevice 1.00
iManufacturer 1 Wilk
iProduct 2 USB DISK 2.0
iSerial 3 07181677F2F44E21
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc05a M90/M100 Optical Mouse
bcdDevice 63.00
iManufacturer 1 Logitech
iProduct 2 USB Optical Mouse
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 52
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x0024 Integrated Rate Matching Hub
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 6
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0303 lowspeed power enable connect
Port 4: 0000.0503 highspeed power enable connect
Port 5: 0000.0100 power
Port 6: 0000.0507 highspeed power suspend enable connect
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.114-2-MANJARO ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1a.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.114-2-MANJARO xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:00:14.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x001f
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x000f
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 512 micro seconds
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Port 2: 0000.02a0 5Gbps power Rx.Detect
Port 3: 0000.02a0 5Gbps power Rx.Detect
Port 4: 0000.02a0 5Gbps power Rx.Detect
Device Status: 0x0001
Self Powered

Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc31c Keyboard K120
bcdDevice 64.00
iManufacturer 1 Logitech
iProduct 2 USB Keyboard
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x003b
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 3 U64.00_B0001
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 2 USB Keyboard
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 2 USB Keyboard
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 159
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 255
Device Status: 0x0000
(Bus Powered)

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.114-2-MANJARO xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:00:14.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0303 lowspeed power enable connect
Port 4: 0000.0100 power
Device Status: 0x0001
Self Powered
2024-03-13 13:48:51: F_CDARB: DEVARB=0, DEVARBEMPTY=1
2024-03-13 13:48:51: F_CDARB: ended
2024-03-13 13:48:51: F_GETINFO: ARB 0:1
2024-03-13 13:48:51: F_CKUSU: started
2024-03-13 13:48:51: F_DUMPPART: started with aboot
0:15:2048
0:15:2048
1:31:2048
1:31:2048
2:46:2048
2:46:2048
3:62:2048
3:62:2048
3:77:2048
3:77:2048
4:93:2048
4:93:2048
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 754, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 734, in main
dump_partition(comm, disk_fd, args.dump, part_offset, part_size, args.batch)
File "/home/android/programs/lglafng/partitions.py", line 344, in dump_partition
data, disk_fd = laf_read(comm, disk_fd, read_offset // BLOCK_SIZE, chunksize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 141, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 340, in call
header = self.read(0x20,timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 319, in read
buff = self._read(need, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 457, in _read
array = self.usbdev.read(self.ep_in, 2**14, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/usb/core.py", line 1029, in read
ret = fn(
^^^
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 846, in bulk_read
return self.__read(self.lib.libusb_bulk_transfer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 954, in __read
_check(retval)
File "/usr/lib/python3.11/site-packages/usb/backend/libusb1.py", line 604, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error
2024-03-13 13:48:52: F_CKUSU: USU=0 (1=yes, 0=no)
2024-03-13 13:48:52: F_CKUSU: ended
2024-03-13 13:48:52: F_GETINFO: USU 0:
2024-03-13 13:48:52: F_ROMCOMP: started
0
1
2024-03-13 13:48:55: UsU compatibility: 0 (0=h815, 1=h811)
2024-03-13 13:48:55: F_GETINFO: ROMCOMP H815
2024-03-13 13:48:55: F_CHKLAFV: started with this args:
2024-03-13 13:48:55: F_CHKBRNCH: started
2024-03-13 13:48:55: F_CHKBRNCH: ended with 0
2024-03-13 13:48:55: F_CHKLAFV: Unexpected error while retrieving LAF protocol version ()
2024-03-13 13:48:55: F_GETINFO: LAFVER unknown
2024-03-13 13:48:57: F_GETINFO:
2024-03-13 13:48:57: F_GETINFO: ended
2024-03-13 13:48:57: parsing
2024-03-13 13:48:57: parsing H815
2024-03-13 13:48:57: parsing 1
2024-03-13 13:48:57: parsing unknown
2024-03-13 13:48:57: parsing 100
2024-03-13 13:48:57: parsing H81520p
2024-03-13 13:48:57: parsing S
2024-03-13 13:48:57: parsing LGH815AT-00-V20p-EUR-XX-APR-03-2018+0
2024-03-13 13:48:57: parsing imei:xxxxxxxxxxx
2024-03-13 13:48:57: parsing serial:xxxxxxxxxxx
2024-03-13 13:48:57: parsing LG-H815
2024-03-13 13:48:57: parsing GLOBAL
2024-03-13 13:48:57: parsing COM
2024-03-13 13:48:57: Detected stuff:
DEVCON=0
LAFVER=unknown
LGUSU=no
LGSERIAL=LGH815cc47e3c7
LGOPER=GLOBAL
LGMODEL=LG-H815
LGSWV=H81520p
LGFACV=LGH815AT-00-V20p-EUR-XX-APR-03-2018+0
LGCOUNTRY=COM
LGSEC=S
LGBATT=100
ROMCOMP=H815
DEVARB=ARB_unknown
2024-03-13 13:48:57: F_MSGW: started
2024-03-13 13:49:34: Your LAF firmware (unknown / LG-H815) 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 an unlocked device + TWRP):

<a href='https://www.androidfilehost.com/?fid=818070582850495147'>SALT-compatible-LAF_flash-in-twrp.zip (click here)</a>

You can still use many of the features SALT offering - just not the flashing part.

This does <b>NOT</b> affect unlocking the G4!
<b>Just go on</b> if you want to UsU..
2024-03-13 13:49:34: 0
2024-03-13 13:49:34: Flashing functionality disabled bc: LAFVER = unknown and/or EXPERIMENTAL = 0
2024-03-13 13:49:34: F_MAIN: starting G4 menu
2024-03-13 13:49:37: F_ADVMENU: started with LG-H815
2024-03-13 13:49:37: F_ADVMENU: main YAD_PID is 15572
2024-03-13 13:49:38: F_DOUSU: started with this args: LG-H815
2024-03-13 13:49:38: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Trying protocol version: 1000001
LGLAF.py: DEBUG: Negotiated protocol version: 0x0
LGLAF.py: DEBUG: Using Protocol version: 0x0
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: using timeout value of: 2000
LGLAF.py: DEBUG: Challenge: b'76ea6431'
LGLAF.py: DEBUG: Response: b'a537d60ba831d7057e803b4008cd7e2e'
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\x08\0\0\0' b'\xad\\\0\0' b'\xba\xa7\xba\xbc'
aarch64
2024-03-13 13:49:40: F_CHKDEVCON: Device seems to be connected!
2024-03-13 13:49:40: RET: 0
2024-03-13 13:49:40: F_CHKLAFV: started with this args: 1000004
2024-03-13 13:49:40: F_CHKBRNCH: started
2024-03-13 13:49:40: F_CHKBRNCH: ended with 0
2024-03-13 13:49:40: F_CHKLAFV: Unexpected error while retrieving LAF protocol version ()
2024-03-13 13:49:40: F_MSGE: started
2024-03-13 13:49:41: ERROR: Oops!

Your Download mode version is not supported!

Downgrade to LP or MM!
2024-03-13 13:49:41: 0
2024-03-13 13:49:41: F_EXIT: started
2024-03-13 13:49:41: EXIT: F_DOUSU with code 4
2024-03-13 13:49:42: F_ADVMENU: started with LG-H815
2024-03-13 13:49:42: F_ADVMENU: main YAD_PID is 15572
2024-03-13 13:49:44: CR setting: Auto =
2024-03-13 13:49:44: getlog script started
 

kazuarc

New member
Mar 25, 2024
3
0
Hello, how i fix error code: Calculated target size is too small (0), when trying to fully backup my lg v40. Im running 3.36-1 stable.
 

Attachments

  • DEBUGLOG.txt
    33.4 KB · Views: 1

kazuarc

New member
Mar 25, 2024
3
0
2024-03-25 05:52:36: F_VCHK: no newer SALT version found (336 / 3.36-1 vs. 336 / 3.36-1)
2024-03-25 05:52:36: OS: Manjaro Linux
maidversion=4.2.0
maidversiontype=stable
maidtype=stable
maidbuild=1710515542
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-vm
maid_Chassis=vm
maid_Virtualization=oracle
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.150-1-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=innotekGmbH
maid_HardwareModel=VirtualBox
maid_FirmwareVersion=VirtualBox
maid_FirmwareDate=Fri2006-12-01
maid_FirmwareAge=17y3month3w2d
maidversion=4.2.0
maidversiontype=stable
maidtype=stable
maidbuild=1710515542
patchlevel=0
maidsize=full
maid_Statichostname=maid
maid_Iconname=computer-vm
maid_Chassis=vm
maid_Virtualization=oracle
maid_OperatingSystem=ManjaroLinux
maid_Kernel=Linux5.15.150-1-MANJARO
maid_Architecture=x86-64
maid_HardwareVendor=innotekGmbH
maid_HardwareModel=VirtualBox
maid_FirmwareVersion=VirtualBox
maid_FirmwareDate=Fri2006-12-01
maid_FirmwareAge=17y3month3w2d
Manjaro Linux
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
2024-03-25 05:52:36: OS (lsb):
2024-03-25 05:52:37: yad: 13.0 (GTK+ 3.24.41)
2024-03-25 05:52:37: summary:
Static hostname: maid
Icon name: computer-vm
Chassis: vm 🖴
Virtualization: oracle
Operating System: Manjaro Linux
Kernel: Linux 5.15.150-1-MANJARO
Architecture: x86-64
Hardware Vendor: innotek GmbH
Hardware Model: VirtualBox
Firmware Version: VirtualBox
Firmware Date: Fri 2006-12-01
Firmware Age: 17y 3month 3w 2d

2024-03-25 05:52:37: DEVCON before: 99
2024-03-25 05:52:37: F_CHKDEVCON: started
LGLAF.py: DEBUG: product id in CR list: >LG_new<
LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
LGLAF.py: DEBUG: Final CR detection: None / 1
LGLAF.py: DEBUG: Detaching kernel driver for intf 0
LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
LGLAF.py: DEBUG: Trying protocol version: 1000001
LGLAF.py: DEBUG: BASE_PROTOCOL_VERSION: 1000001
LGLAF.py: DEBUG: DEV_PROTOCOL_VERSION: 1000001
LGLAF.py: DEBUG: Negotiation in-use
LGLAF.py: DEBUG: Negotiated protocol version: 0x1000001
LGLAF.py: DEBUG: Using Protocol version: 0x1000001
LGLAF.py: DEBUG: CR detection: 1
LGLAF.py: DEBUG: using timeout value of: 2000
LGLAF.py: DEBUG: Challenge: b'e4daa557'
LGLAF.py: DEBUG: Response: b'316918c3d497d5da70bf530d82f66e7d'
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
LGLAF.py: DEBUG: using timeout value of: None
LGLAF.py: DEBUG: Header: b'EXEC' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'\0\0\0\0' b'#\0\0\0' b',\xf5\0\0' b'\xba\xa7\xba\xbc'
Hello, I am LAF. Nice to meet you.2024-03-25 05:52:38: F_CHKDEVCON: Device seems to be connected!
2024-03-25 05:52:38: RET: 0
2024-03-25 05:52:38: DEVCON after: 0
2024-03-25 05:52:38: EXPERIMENTAL: 0
2024-03-25 05:52:38: F_GETINFO: started
2024-03-25 05:52:38: F_CDARB: started
2024-03-25 05:52:40: F_CDARB: ARB partition seems to be:
usage: partitions.py [-h] [--cr {yes,no}] [--debug] [--list]
[--dump LOCAL_PATH] [--sign LOCAL_PATH]
[--restore LOCAL_PATH] [--restoremisc LOCAL_PATH]
[--wipe] [--skip-hello] [--batch] [--devtype {UFS,EMMC}]
[--lun {sda,sdb,sdc,sdd,sde,sdf,sdg}] [--proto [PROTO]]
[partition]
partitions.py: error: Please specify a partition
2024-03-25 05:52:40: EMPTY ARB DETECTED:

2024-03-25 05:52:40: Please send this log and the dump in /tmp/.err
2024-03-25 05:52:41: 2024-03-25 05:52:41,369 LGLAF.py: DEBUG: product id in CR list: >LG_new<
2024-03-25 05:52:41,369 LGLAF.py: DEBUG: Device is: 633a, LG_new. Enabling Challenge/Response!
2024-03-25 05:52:41,369 LGLAF.py: DEBUG: Final CR detection: None / 1
2024-03-25 05:52:41,370 LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)
2024-03-25 05:52:41,371 LGLAF.py: DEBUG: BASE_PROTOCOL_VERSION: 1000001
2024-03-25 05:52:41,371 LGLAF.py: DEBUG: DEV_PROTOCOL_VERSION: 1000001
2024-03-25 05:52:41,371 LGLAF.py: DEBUG: Negotiation in-use
2024-03-25 05:52:41,371 LGLAF.py: DEBUG: Negotiated protocol version: 0x1000001
2024-03-25 05:52:41,371 partitions: DEBUG: Used protocol version: 1000001
2024-03-25 05:52:41,775 LGLAF.py: DEBUG: using timeout value of: 2000
2024-03-25 05:52:41,783 LGLAF.py: DEBUG: Challenge: b'8ad6a003'
2024-03-25 05:52:41,850 LGLAF.py: DEBUG: Response: b'10ad3ef6624b2874b05599265480c5ca'
2024-03-25 05:52:41,852 LGLAF.py: DEBUG: using timeout value of: None
2024-03-25 05:52:41,855 LGLAF.py: DEBUG: KILO METR Response -> Header: b'4b494c4f4d455452000000000200000000000000000000002f5d0000b4b6b3b0', Body: b''
2024-03-25 05:52:41,858 LGLAF.py: DEBUG: using timeout value of: None
2024-03-25 05:52:41,862 partitions: DEBUG: opened a disk_fd: 48 on default
2024-03-25 05:52:41,862 partitions: DEBUG: check_block_size, read_offset: 0, end_offset: 24576, GPT_LBA_LEN: 6, BLOCK_SIZE: 4096, MAX_BLOCK_SIZE: 3
2024-03-25 05:52:41,865 LGLAF.py: DEBUG: using timeout value of: 3000
2024-03-25 05:52:41,871 LGLAF.py: DEBUG: using timeout value of: 3000
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 779, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 740, in main
devtype, part_header, part_table = detect_and_open_fd(comm, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 612, in detect_and_open_fd
if check_block_size(comm, disk_fd):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 71, in check_block_size
data, fd_num = laf_read(comm, fd_num, read_offset // BLOCK_SIZE, chunksize, timeout=3000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 143, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 351, in call
raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))
RuntimeError: Command failed with error code 0x80000119 (LAF_ERROR_<unknown>)
2024-03-25 05:52:42:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.150-1-MANJARO ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:0b.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 12
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Port 9: 0000.0100 power
Port 10: 0000.0100 power
Port 11: 0000.0100 power
Port 12: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 001 Device 005: ID 1004:633a LG Electronics, Inc. Ultimate 2 Android Phone L41C
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 [unknown]
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1004 LG Electronics, Inc.
idProduct 0x633a Ultimate 2 Android Phone L41C
bcdDevice 4.09
iManufacturer 1 LGE
iProduct 2 LM-V405
iSerial 3 LMV405UA180c27cd
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0062
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 4 acm,laf
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 7 CDC Serial
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 5 CDC Abstract Control Model (ACM)
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x00
bDataInterface 1
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 9
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0
iInterface 6 CDC ACM Data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0016
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
BESL Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000f
Device can operate at Low Speed (1Mbps)
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 1 micro seconds
bU2DevExitLat 500 micro seconds
Device Status: 0x0000
(Bus Powered)

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 5.15
iManufacturer 3 Linux 5.15.150-1-MANJARO ohci_hcd
iProduct 2 OHCI PCI host controller
iSerial 1 0000:00:06.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 12
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 0 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0103 power enable connect
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Port 9: 0000.0100 power
Port 10: 0000.0100 power
Port 11: 0000.0100 power
Port 12: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 002 Device 003: ID 80ee:0021 VirtualBox USB Tablet
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x80ee VirtualBox
idProduct 0x0021 USB Tablet
bcdDevice 1.00
iManufacturer 1 VirtualBox
iProduct 3 USB Tablet
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 85
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
2024-03-25 05:52:42: F_CDARB: DEVARB=0, DEVARBEMPTY=1
2024-03-25 05:52:42: F_CDARB: ended
2024-03-25 05:52:42: F_GETINFO: ARB 0:1
2024-03-25 05:52:42: F_CKUSU: started
2024-03-25 05:52:42: F_DUMPPART: started with aboot
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 779, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 740, in main
devtype, part_header, part_table = detect_and_open_fd(comm, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 612, in detect_and_open_fd
if check_block_size(comm, disk_fd):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 71, in check_block_size
data, fd_num = laf_read(comm, fd_num, read_offset // BLOCK_SIZE, chunksize, timeout=3000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 143, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 351, in call
raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))
RuntimeError: Command failed with error code 0x80000119 (LAF_ERROR_<unknown>)
2024-03-25 05:52:43: F_CKUSU: USU=0 (1=yes, 0=no)
2024-03-25 05:52:43: F_CKUSU: ended
2024-03-25 05:52:43: F_GETINFO: USU 0:
2024-03-25 05:52:43: F_ROMCOMP: started
0
0
2024-03-25 05:52:46: UsU compatibility: 0 (0=h815, 1=h811)
2024-03-25 05:52:46: UsU compatibility: cannot be detected! full GPT:
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 779, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 740, in main
devtype, part_header, part_table = detect_and_open_fd(comm, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 612, in detect_and_open_fd
if check_block_size(comm, disk_fd):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 71, in check_block_size
data, fd_num = laf_read(comm, fd_num, read_offset // BLOCK_SIZE, chunksize, timeout=3000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 143, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 351, in call
raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))
RuntimeError: Command failed with error code 0x80000119 (LAF_ERROR_<unknown>)
2024-03-25 05:52:47: F_GETINFO: ROMCOMP unknown
Traceback (most recent call last):
File "/home/android/programs/lglafng/partitions.py", line 779, in <module>
main()
File "/home/android/programs/lglafng/partitions.py", line 740, in main
devtype, part_header, part_table = detect_and_open_fd(comm, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 612, in detect_and_open_fd
if check_block_size(comm, disk_fd):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 71, in check_block_size
data, fd_num = laf_read(comm, fd_num, read_offset // BLOCK_SIZE, chunksize, timeout=3000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/partitions.py", line 143, in laf_read
header, response = comm.call(read_cmd, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/android/programs/lglafng/lglaf.py", line 351, in call
raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))
RuntimeError: Command failed with error code 0x80000119 (LAF_ERROR_<unknown>)
2024-03-25 05:52:47: F_CHKLAFV: started with this args:
2024-03-25 05:52:48: F_CHKLAFV: detected 1000001
2024-03-25 05:52:48: F_CHKLAFV: no comparison needed
2024-03-25 05:52:48: F_GETINFO: LAFVER 1000001
2024-03-25 05:52:51: F_GETINFO:
2024-03-25 05:52:51: F_GETINFO: ended
2024-03-25 05:52:51: parsing
2024-03-25 05:52:51: parsing unknown
2024-03-25 05:52:51: parsing Traceback
2024-03-25 05:52:51: unknown parameter: Traceback
2024-03-25 05:52:51: parsing (most
2024-03-25 05:52:51: unknown parameter: (most
2024-03-25 05:52:51: parsing recent
2024-03-25 05:52:51: unknown parameter: recent
2024-03-25 05:52:51: parsing call
2024-03-25 05:52:51: unknown parameter: call
2024-03-25 05:52:51: parsing
2024-03-25 05:52:51: unknown parameter: last):
2024-03-25 05:52:51: parsing File
2024-03-25 05:52:51: unknown parameter: File
2024-03-25 05:52:51: parsing "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: unknown parameter: "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: parsing line
2024-03-25 05:52:51: unknown parameter: line
2024-03-25 05:52:51: parsing 779,
2024-03-25 05:52:51: unknown parameter: 779,
2024-03-25 05:52:51: parsing in
2024-03-25 05:52:51: unknown parameter: in
2024-03-25 05:52:51: parsing <module>
2024-03-25 05:52:51: unknown parameter: <module>
2024-03-25 05:52:51: parsing main()
2024-03-25 05:52:51: unknown parameter: main()
2024-03-25 05:52:51: parsing File
2024-03-25 05:52:51: unknown parameter: File
2024-03-25 05:52:51: parsing "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: unknown parameter: "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: parsing line
2024-03-25 05:52:51: unknown parameter: line
2024-03-25 05:52:51: parsing 740,
2024-03-25 05:52:51: unknown parameter: 740,
2024-03-25 05:52:51: parsing in
2024-03-25 05:52:51: unknown parameter: in
2024-03-25 05:52:51: parsing main
2024-03-25 05:52:51: unknown parameter: main
2024-03-25 05:52:51: parsing devtype,
2024-03-25 05:52:51: unknown parameter: devtype,
2024-03-25 05:52:51: parsing part_header,
2024-03-25 05:52:51: unknown parameter: part_header,
2024-03-25 05:52:51: parsing part_table
2024-03-25 05:52:51: unknown parameter: part_table
2024-03-25 05:52:51: parsing =
2024-03-25 05:52:51: unknown parameter: =
2024-03-25 05:52:51: parsing detect_and_open_fd(comm,
2024-03-25 05:52:51: unknown parameter: detect_and_open_fd(comm,
2024-03-25 05:52:51: parsing args)
2024-03-25 05:52:51: unknown parameter: args)
2024-03-25 05:52:51: parsing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:51: unknown parameter: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:51: parsing File
2024-03-25 05:52:51: unknown parameter: File
2024-03-25 05:52:51: parsing "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: unknown parameter: "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: parsing line
2024-03-25 05:52:51: unknown parameter: line
2024-03-25 05:52:51: parsing 612,
2024-03-25 05:52:51: unknown parameter: 612,
2024-03-25 05:52:51: parsing in
2024-03-25 05:52:51: unknown parameter: in
2024-03-25 05:52:51: parsing detect_and_open_fd
2024-03-25 05:52:51: unknown parameter: detect_and_open_fd
2024-03-25 05:52:51: parsing if
2024-03-25 05:52:51: unknown parameter: if
2024-03-25 05:52:51: parsing check_block_size(comm,
2024-03-25 05:52:51: unknown parameter: check_block_size(comm,
2024-03-25 05:52:51: parsing
2024-03-25 05:52:51: unknown parameter: disk_fd):
2024-03-25 05:52:51: parsing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:51: unknown parameter: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:51: parsing File
2024-03-25 05:52:51: unknown parameter: File
2024-03-25 05:52:51: parsing "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: unknown parameter: "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:51: parsing line
2024-03-25 05:52:51: unknown parameter: line
2024-03-25 05:52:51: parsing 71,
2024-03-25 05:52:52: unknown parameter: 71,
2024-03-25 05:52:52: parsing in
2024-03-25 05:52:52: unknown parameter: in
2024-03-25 05:52:52: parsing check_block_size
2024-03-25 05:52:52: unknown parameter: check_block_size
2024-03-25 05:52:52: parsing data,
2024-03-25 05:52:52: unknown parameter: data,
2024-03-25 05:52:52: parsing fd_num
2024-03-25 05:52:52: unknown parameter: fd_num
2024-03-25 05:52:52: parsing =
2024-03-25 05:52:52: unknown parameter: =
2024-03-25 05:52:52: parsing laf_read(comm,
2024-03-25 05:52:52: unknown parameter: laf_read(comm,
2024-03-25 05:52:52: parsing fd_num,
2024-03-25 05:52:52: unknown parameter: fd_num,
2024-03-25 05:52:52: parsing read_offset
2024-03-25 05:52:52: unknown parameter: read_offset
2024-03-25 05:52:52: parsing //
2024-03-25 05:52:52: unknown parameter: //
2024-03-25 05:52:52: parsing BLOCK_SIZE,
2024-03-25 05:52:52: unknown parameter: BLOCK_SIZE,
2024-03-25 05:52:52: parsing chunksize,
2024-03-25 05:52:52: unknown parameter: chunksize,
2024-03-25 05:52:52: parsing timeout=3000)
2024-03-25 05:52:52: unknown parameter: timeout=3000)
2024-03-25 05:52:52: parsing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:52: unknown parameter: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:52: parsing File
2024-03-25 05:52:52: unknown parameter: File
2024-03-25 05:52:52: parsing "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:52: unknown parameter: "/home/android/programs/lglafng/partitions.py",
2024-03-25 05:52:52: parsing line
2024-03-25 05:52:52: unknown parameter: line
2024-03-25 05:52:52: parsing 143,
2024-03-25 05:52:52: unknown parameter: 143,
2024-03-25 05:52:52: parsing in
2024-03-25 05:52:52: unknown parameter: in
2024-03-25 05:52:52: parsing laf_read
2024-03-25 05:52:52: unknown parameter: laf_read
2024-03-25 05:52:52: parsing header,
2024-03-25 05:52:52: unknown parameter: header,
2024-03-25 05:52:52: parsing response
2024-03-25 05:52:52: unknown parameter: response
2024-03-25 05:52:52: parsing =
2024-03-25 05:52:52: unknown parameter: =
2024-03-25 05:52:52: parsing comm.call(read_cmd,
2024-03-25 05:52:52: unknown parameter: comm.call(read_cmd,
2024-03-25 05:52:52: parsing timeout=timeout)
2024-03-25 05:52:52: unknown parameter: timeout=timeout)
2024-03-25 05:52:52: parsing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:52: unknown parameter: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-03-25 05:52:52: parsing File
2024-03-25 05:52:52: unknown parameter: File
2024-03-25 05:52:52: parsing "/home/android/programs/lglafng/lglaf.py",
2024-03-25 05:52:52: unknown parameter: "/home/android/programs/lglafng/lglaf.py",
2024-03-25 05:52:52: parsing line
2024-03-25 05:52:52: unknown parameter: line
2024-03-25 05:52:52: parsing 351,
2024-03-25 05:52:52: unknown parameter: 351,
2024-03-25 05:52:52: parsing in
2024-03-25 05:52:52: unknown parameter: in
2024-03-25 05:52:52: parsing call
2024-03-25 05:52:52: unknown parameter: call
2024-03-25 05:52:52: parsing raise
2024-03-25 05:52:52: unknown parameter: raise
2024-03-25 05:52:52: parsing RuntimeError('Command
2024-03-25 05:52:52: unknown parameter: RuntimeError('Command
2024-03-25 05:52:52: parsing failed
2024-03-25 05:52:52: unknown parameter: failed
2024-03-25 05:52:52: parsing with
2024-03-25 05:52:52: unknown parameter: with
2024-03-25 05:52:52: parsing error
2024-03-25 05:52:52: unknown parameter: error
2024-03-25 05:52:52: parsing code
2024-03-25 05:52:52: unknown parameter: code
2024-03-25 05:52:52: parsing %#x
2024-03-25 05:52:52: unknown parameter: %#x
2024-03-25 05:52:52: parsing (%s)'
2024-03-25 05:52:52: unknown parameter: (%s)'
2024-03-25 05:52:52: parsing %
2024-03-25 05:52:52: unknown parameter: %
2024-03-25 05:52:52: parsing (errCode,
2024-03-25 05:52:52: unknown parameter: (errCode,
2024-03-25 05:52:52: parsing msg))
2024-03-25 05:52:52: unknown parameter: msg))
2024-03-25 05:52:52: parsing
2024-03-25 05:52:52: unknown parameter: RuntimeError:
2024-03-25 05:52:52: parsing Command
2024-03-25 05:52:52: unknown parameter: Command
2024-03-25 05:52:52: parsing failed
2024-03-25 05:52:52: unknown parameter: failed
2024-03-25 05:52:52: parsing with
2024-03-25 05:52:52: unknown parameter: with
2024-03-25 05:52:52: parsing error
2024-03-25 05:52:52: unknown parameter: error
2024-03-25 05:52:52: parsing code
2024-03-25 05:52:52: unknown parameter: code
2024-03-25 05:52:52: parsing 0x80000119
2024-03-25 05:52:52: unknown parameter: 0x80000119
2024-03-25 05:52:52: parsing (LAF_ERROR_<unknown>)
2024-03-25 05:52:52: unknown parameter: (LAF_ERROR_<unknown>)
2024-03-25 05:52:52: parsing 1
2024-03-25 05:52:52: parsing 1000001
2024-03-25 05:52:52: parsing 7
2024-03-25 05:52:52: parsing V405UA30d
2024-03-25 05:52:52: parsing S
2024-03-25 05:52:52: parsing LMV405UAAT-00-V30d-VZW-US-SEP-07-2021-ARB00+00
2024-03-25 05:52:52: parsing imei:xxxxxxxxxxx
2024-03-25 05:52:52: parsing serial:xxxxxxxxxxx
2024-03-25 05:52:52: parsing LM-V405UA
2024-03-25 05:52:52: parsing LAO
2024-03-25 05:52:52: parsing COM
2024-03-25 05:52:52: Detected stuff:
DEVCON=0
LAFVER=1000001
LGUSU=no
LGSERIAL=LMV405UA
LGOPER=LAO
LGMODEL=LM-V405UA
LGSWV=V405UA30d
LGFACV=LMV405UAAT-00-V30d-VZW-US-SEP-07-2021-ARB00+00
LGCOUNTRY=COM
LGSEC=S
LGBATT=7
ROMCOMP=unknown
DEVARB=ARB_unknown
2024-03-25 05:52:52: Flashing functionality enabled bc: LAFVER = 1000001 and/or EXPERIMENTAL = 0
2024-03-25 05:52:52: HINT: Flashing temporarly NOT auto enabled (until all tests finished)!
2024-03-25 05:52:52: F_MAIN: starting non-G4 menu
2024-03-25 05:52:57: F_BACKUP: started with these arguments:
2024-03-25 05:53:00: F_BACKUP: DEBUG: List partitions:

2024-03-25 05:53:01: F_BACKUP: DEBUG: choosen mode: 1, COMPLSIZE: 0
2024-03-25 05:53:01: F_MSGE: started
2024-03-25 05:54:17: ERROR: Calculated target size is too small (0)!
Upload and share the debug log!
2024-03-25 05:54:17: 0
2024-03-25 05:54:17: F_EXIT: started
2024-03-25 05:54:17: EXIT: F_BACKUP with code 4
2024-03-25 05:54:21: F_ADVMENU: started with LM-V405UA unknown LAO COM no
2024-03-25 05:54:21: F_ADVMENU: main YAD_PID is 4817
2024-03-25 05:54:23: CR setting: Auto =
2024-03-25 05:54:23: getlog script started
2024-03-25 05:55:50: F_MSGE: started
2024-03-25 05:56:01: ERROR: Error in module 'haste' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 05:56:01: 252
2024-03-25 05:56:01: F_MSGE: started
2024-03-25 05:56:04: ERROR: Error in module 'ix' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 05:56:04: 252
2024-03-25 05:56:05: CR setting: Auto =
2024-03-25 05:56:05: getlog script started
2024-03-25 05:58:14: F_MSGE: started
2024-03-25 05:58:41: ERROR: Error in module 'transfer' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 05:58:41: 0
2024-03-25 05:58:50: F_BACKUP: started with these arguments:
2024-03-25 05:58:55: F_BACKUP: DEBUG: List partitions:

2024-03-25 05:58:56: F_BACKUP: DEBUG: choosen mode: 1, COMPLSIZE: 0
2024-03-25 05:58:56: F_MSGE: started
2024-03-25 05:59:00: ERROR: Calculated target size is too small (0)!
Upload and share the debug log!
2024-03-25 05:59:00: 252
2024-03-25 05:59:00: F_EXIT: started
2024-03-25 05:59:00: EXIT: F_BACKUP with code 4
2024-03-25 05:59:02: F_ADVMENU: started with LM-V405UA unknown LAO COM no
2024-03-25 05:59:02: F_ADVMENU: main YAD_PID is 4817
2024-03-25 05:59:04: CR setting: Auto =
2024-03-25 05:59:04: getlog script started
2024-03-25 09:01:56: CR setting: Auto =
2024-03-25 09:01:56: getlog script started
2024-03-25 09:02:11: F_MSGE: started
2024-03-25 09:02:39: ERROR: Error in module 'haste' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 09:02:39: 0
2024-03-25 09:02:40: F_MSGE: started
2024-03-25 09:02:45: ERROR: Error in module 'ix' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 09:02:45: 0
2024-03-25 09:02:49: CR setting: Auto =
2024-03-25 09:02:49: getlog script started
2024-03-25 09:03:03: F_MSGE: started
2024-03-25 09:03:49: ERROR: Error in module 'haste' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 09:03:49: 0
2024-03-25 09:03:49: F_MSGE: started
2024-03-25 09:03:51: ERROR: Error in module 'ix' while uploading logfile..
Click EXIT for trying next paste service...


2024-03-25 09:03:51: 0
2024-03-25 09:03:53: CR setting: Auto =
2024-03-25 09:03:53: getlog script started
 

steadfasterX

Recognized Developer
Nov 13, 2013
6,259
15,492
127.0.0.1
OnePlus 7T Pro
ok @kazuarc : pls ensure you read the new FAQ 20 when sharing logs. thanks.
pls try the following:

1. advanced menu
2. click "Force CR"
3. SALT will auto close and auto-restart, can take a mom
4. try a custom backup and choose just 1 partition (e.g. modem or aboot or boot)
5. if that works try a basic backup

in any case if you encounter issues share the log again (via FAQ 20)
gl
 

Squeeto

Member
May 3, 2012
36
1
It looks like a lot of thought and effort went into SALT.
Thank you steadfasterX.

Is it possible for this application to extract the rawprogram.xml files?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 98
    Before reading any further


    This thread is best viewed in a browser!
    Mobile apps may parse the XDA formatting not correctly and may screw things up.


    About

    salt_pre.png


    steadfasterX's All-in-one LG Tool (SALT)



    SALT is able to communicate with your device while in download mode and provides these features:

    Detects your:
    • ARB
    • device model
    • firmware version (short)
    • firmware version (full)
    • country of firmware
    • Secure device state
    • Battery Level

    Is able to:
    • working completely without any LG dll (no more issues with replacing LGUP_xxxx.dll anymore!)
    • backup your device (predefined modes: full & basic and since v3.20 even a custom mode)
    • extract KDZ files
    • display your partitions (including what each partition is like bootloader etc!)
    • open a shell on the device*
    • ERASE (HOLY SH*** this is DANGEROUS!) one or multiple partitions
    • verify a taken backup (read all about this here)
    • self-update

    In development (already working on LP firmware! NOT on MM or N! read the Note):
    • Flashing a folder (e.g. from a previous backup)
    • Flashing a KDZ
    IMPORTANT NOTE: Do not use the underlying code backend (lglaf /partitions.py) to RESTORE image files (yet)!
    Reason:
    LG has changed the mechanism in MM and later for writing to a partition! It seems that the reason is that each write must be authenticated differently or at least another one for the fsync.




    Requirements

    mAid (fka as FWUL) (recommended)

    No requirements as SALT and everything needed is included there!
    Highly recommended: booting mAid from USB stick to avoid any connection issues.
    Ensure you use the latest mAid release and start SALT by opening the LG folder on the desktop.
    Now just click the update button once SALT is started to ensure you have the latest and greatest SALT version!

    Linux:
    I recommend mAid (fka FWUL) in general but SALT is made to be run on any Linux (if you can set it up).
    Requirements to install before beginning:
    yad, git, python3, python3-pyusb, python3-crypto, python-zstandard (python3), python-pip (python3) and pkexec/policykit
    (instead of pkexec/polkit gksudo will work too but this has been removed from many distributions)

    On mAid:
    • open the Folder "LG" from the desktop and start SALT :)

    On Arch:
    • sudo pacman -Sy polkit git xterm python-pyusb python-crypto python-pip
    • yay -Sy yad python-zstandard (hint: you may need to install yay first)
    • sudo pip3 install cryptography

    on Manjaro:
    • sudo pacman -Sy polkit yad git xterm python-pyusb python-crypto trizen python-pip python-zstandard
    • sudo pip3 install cryptography

    on *buntu, Debian, Mint and on all derivates of those:
    • sudo apt install policykit-1 yad git xterm python3 python3-usb python3-pip
    • sudo pip3 install zstandard
    • sudo pip3 install cryptography

    you may need to setup your udev rules as well: android-udev-rules thats another reason why I recommend mAid ;) this is all implemented there out of the box..!!

    Windows:
    Windows users should use SALT in mAid which is highly recommended for many operations with Android devices. Also read & follow the above topic "mAid (fka FWUL) (recommended)".


    Installation (not needed on mAid! Just open the LG folder and start SALT)

    1. open a terminal
    2. type:
      git clone https://github.com/steadfasterX/SALT.git cd SALT bash install-desktop.sh
    3. read the output and if required copy the SALT.desktop file manually to your Desktop.
    4. double click the SALT icon or while in a terminal start SALT with: sudo ~/SALT/salt
    5. When starting SALT the first time you will be prompted to install necessary backend tools.
      Choose YES to install them!

    Note:
    Even when the downloads tab in this project will contain releases the most up-to-date code can be fetched via the above way only.
    Nevertheless you can download the tar file from the Downloads tab but ensure that you're using the latest code by starting an update (Update button in SALT) afterwards.


    Usage

    Start the device in download mode and connect it to the PC.
    Start SALT.
    Usually the download mode should be fully ready in 20 - 60 seconds after you see the cycling arrow screen.
    But some devices needs up to >= 90 seconds until SALT can detect your device.
    If you still get trouble connecting boot the device in download mode and let it connected that way while rebooting mAid (fka FWUL) or your personal Linux.


    Known Issues

    A current list of all known issues can be found at the bugtracker


    Support




    Credits (without them no SALT)

    SALT is based on:


    • YAD (yet another dialog) -> GUI
    • the awesome LGLAF code and reverse engineering by Peter Wu & friends ;)
      -> general communication with the device like: flash, dump, getinfo, erase, list partitions, ...
    • kdztools by Elliott Mitchell -> extracting KDZ files
    • MANY enhancements by steadfasterX -> bring all together plus much more :)

    SALT's own sources:

    Special credits:

      • @runningnak3d for his incredible reverse engineering skills which makes SALT better and better each day :) it's great to have you in the community !
      • tuxuser for making LAF communication on Nougat possible and for his great support!




    XDA:DevDB Information
    SALT - teadfasterX's [A]ll-in-one [L]G [T]ool, Tool/Utility for the LG G4

    Contributors
    steadfasterX
    Source Code: https://github.com/steadfasterX/salt


    Version Information
    Status:
    Stable
    Created 2017-12-11
    33
    FAQ - Frequently Asked Questions

    • 1) How can I get into the download mode?

      Boot your phone into download mode--> the following guide is 100% working and bulletproof:
      1. take out battery and unplug USB cable
      2. plugin USB cable to your PC (while battery ist still out)
      3. wait until you see the missing battery icon (question mark within a battery symbol)
      4. press Volume up and while keeping it pressed put battery in (take care that you do not press the power button)
      5. keep pressing Volume up until you see "Download mode"

      If that does not work for you try it this way instead:

      1. unplug USB cable
      2. power down device or pull out battery
      3. put battery back
      4. press Volume up and while keeping it pressed plugin USB cable to your PC (take care that you do not press the power button)
      5. keep pressing Volume up until you see "Download mode"

      Your phones screen should look similar to this afterwards:
      View attachment 4284063

    • 2) Does SALT work on LOCKED devices ?
      Oh what a great question ;) YES it DOES. :)
      But keep in mind.. even when you can flash/erase partitions with SALT this still requires either valid/untouched pure LG files or an unlocked device.

    • 3) Can I unlock my LG G4 device with SALT?
      Holy moly --- NO! YES! ( https://leech.binbash.rocks:8008/g4-links/ for the guide)

    • 4) What is the meaning of ARB?
      Anti-Roll-Back a stupid mechanism to brick your device. Read on here

    • 5) Do I need a specific ARB version to work with SALT?
      You can start and use SALT with any ARB version. Later when flashing is fully implemented you will be warned when your ARB is lower then then one you want to flash.

    • 6) Which firmware versions does SALT support?
      Any
      of lollipop, marshmallow and nougat

    • 7) Which devices does SALT support?
      In theory ANY LG device supported by the lglaf backend.
      Confirmed devices are:
      - G2
      - G3
      - G4 (H810, H811, H812, H815, H818, H819, VS986, LS991, F500)
      - G5: unknown may only work with modifications like mentioned in the Release Notes for v3.20
      - G6 (H871) only with modifications: see Release Notes for v3.20. Please help in making this fully working! OP -> topic "Support"
      - V10 (H900)
      - V20 (H910) only with modifications: see Release Notes for v3.20. Please help in making this fully working! OP -> topic "Support" OP -> topic "Support"
      - yours ;) -> report your device by uploading the debug log from the advanced menu and share the bpaste link!
      - again: in theory any LG device will work with SALT . All newer devices (G5 and later) will just need the mentioned modification: see Release Notes for v3.20. Please help in making this fully working! OP -> topic "Support" OP -> topic "Support"
      .. this will change in one of the next versions as I will implement an automatic detection , of course!

    • 8) SALT is prompting me after a backup for verification. I have many Warnings|Errors what does that all mean?
      Read on here about he verification feature in SALT: MD5 verification

    • 9) I have installed SALT already. Is it possible to just update it?
      Of course thats one of the awesome features in SALT.
      Since v3.7 SALT will check for a new version on startup automatically and prompt you to update if necessary.
      If it ever fails just click the update button at the bottom.

    • 10) I have installed SALT already. Is it possible to switch between STABLE and STREAM channels?
      Note: STREAM (fka TESTING) may have issues, brick your device, let your phone or PC explode. so use it with care.
      So if you wanna still switch the channels click the update button at the bottom first.

      If you want to be on/switch to the STABLE channel choose Target mode = STABLE
      Click update and restart SALT afterwards.

      If you want to be on/switch to the STREAM channel choose: Target mode = TESTING
      Click update and restart SALT afterwards.

    • 11) I have a partition file with the extension: [ bin | image | img | mbn ]. How can I convert this?
      The extension is not important. The way how you extract files - is. That's why I say all the time use SALT.
      On Windows the file extension matters a lot which is not the case for Linux/Android.
      So if you see a guide mentioning to use a "bin" file and you have the file but with an extension of "image" (or vice-versa) it does not matters.
      There is no need to convert anything as they all are just raw image files.

    • 12) I want to backup but SALT says I have too less space for that! How can I get more disk space in FWUL (or my VM)?
      Read FAQ #5 in the FWUL thread (yes even when you are using Windows and do not run FWUL but any other Linux + SALT) and setup a shared folder with enough disk space as described.
      Point to that new shared folder (ensure you do not use spaces in the foldername and that you have created a new folder in the start of the shared folder) when asked for a backup location in SALT.

    • 13) I do *NOT* use FWUL because I have my own Linux running and you told me to install tmate. How?
      Current instructions can be found here: https://tmate.io/
      Ensure you create a SSH key as that is needed to start tmate later:
      Code:
      ssh-keygen -b 4096 -f ~/.ssh/tmate -N ''
      (note: the characters '' are 2 single quotes)

      Install tmate on Arch Linux / Arch variants like Manjaro, ..:
      Code:
      trizen -Sy tmate
      or: yaourt -Sy tmate (yaourt is [U]DEPRECATED[/U]!)

      Install tmate on Ubuntu / Ubuntu Variants like Kubuntu, Linux Mint, ... :
      Code:
      sudo apt-get install software-properties-common
      sudo add-apt-repository ppa:tmate.io/archive
      sudo apt-get update
      sudo apt-get install tmate

    • 14)Is there a Windows version of SALT available or planned?
      No. NEVER. Just use FWUL which has SALT already included and everything setup to manage your Android device.
      If you have issues in running FWUL report them in the FWUL thread.

    • 15)What is GPT compability (LG G4 only)?
      I saw people often confused about that option and here is what it is and does:
      1) This is only valid for the LG G4 models. If you have another one ignore it.
      2) If you have a LG G4 and not UsU'd (so an official unlockable model) - just ignore it.
      3) If you have a LG G4 and UsU'd your device (or planning to do so) this option is for you.
      Background:
      SALT checks the partition table (GPT) to find out what ROM model is compatible with an UsU'd device. The reason is quite easy: all G4 models have the same hardware (except the h818 but thats another story). Due to the incredible amount of country specific models not many ROMs exist for every model so I checked what's needed to bring a ROM meant for another model to an UsU'd device. I recognized quickly that the partition table is different on several models and even on a same model with another firmware (e.g. between LP and MM it changed for some models). The only thing we need on custom ROMs for the G4 is a correct sized system partition as that one differs for some. Another thing needed on some (mostly US models) is a carrier partition instead of a cust one. Basically that's all SALT checks at the end as if a ROM expects to mount the carrier partition it must be there.
      TL;DR
      The GPT compatibility shows what ROM you can install on an UsU'd device - if there is none for your specific model.
    • 16) Is it possible to extract TOT files with SALT?
      No but you can use this windows tool to extract TOTs: https://xdaforums.com/showthread.php?t=2600575

    • 17) I want to backup/extract my user data (internal storage) with SALT and my device is encrypted. Is that possible and can SALT unencrypt that data?
      SALT is doing 1:1 copies of your partitions which is really 100% identical to what is on your phone. If your data is encrypted SALT will backup that in the current state which means encrypted because within the download mode your userdata partition does not get mounted. So what does that mean? Yes you can backup your userdata but .. you can NOT mount it afterwards as it is just encrypted data. afaik there are no tools available to unencrypt but I may be wrong (let me know if you are aware of any).
      Does it makes sense to backup encrypted data? Depends on what you want to get. If you want to have a really full 1:1 copy of the current phone it might be useful if you are able to restore that data (e.g. via TWRP). Keep in mind though that encryption usually needs more partitions to be restored (e.g. persist or others) which contain information/keys,... as well.
      TL;DR
      You can but it is usually not very useful.

    • 18) Isn't it possible to flash with SALT (yet)?
      Well the flash mode is not enabled by default - while it can be enabled manually. The main issue here is that you can easily hard brick your device and I tried to find a way of making it possible to avoid that. Unfortunately and due to the wide range of models SALT supports this can't be guaranteed.
      That is the first reason and the second is that LG limited/restricted the LAF protocol used for communicating with the device in later versions and so flashing will simply not work on these.
      Fully supported are LAF protocol version: 1000001, 1000002. Anything later like 1000004 (e.g. Nougat on LG G4) will NOT work.
      If you want to take the risk read on here


    • 19a) (was FAQ 1000 before) I have an issue not listed here - what should I do?
      19b) Is there a SALT logfile and how can I share it?

      While your device is connected in download mode:

      Advanced Menu -> SALT Debug log -> Upload button -> right click the link or open it in a browser and copy from there

      Picture guide:
      screenshot_001.jpg

      do NOT share it as an attachment in a post or sending it as file via Telegram/Matrix. If the above does not work for you (then it is a bug which needs to be fixed) always use a paste service - never plain files.
      See also the next FAQ reg. paste services

    • 20) Sharing logs / Using a paste service

      when sharing logs or longer texts it is recommended a so-called "paste service". This is useful to keep a forum / chat readable for everyone and it dramatically helps a developer to read the log without saving tons of log files on their phones/PC's.

      Here are some examples (use your fav search engine to find more):

      - https://hastebin.com
      - https://controlc.com
      - https://justpaste.me
      - https://privatebin.net
      - https://pastebin.com
      - https://gist.github.com (no size limit!)
      - https://gitlab.com/dashboard/snippets (no size limit!)

      There you will always have an option how long you want to store that paste:

      Please ensure you choose at least several months (better 1 year) because developers have a real life, too and so its uncertain when they might find time to look into it.

      Once you pasted your text in there you will get an paste URL which you then can simply share without spamming a group/forum.
    18
    Changelog

    Checkout FAQ #9 for howto update to this brand new release

    Legend for the summary topics:
    Fix/New (SALT): Fixes & Enhancements of the SALT main application - what you see and work with
    Fix/New (lglaf): Fixes & Enhancements of the USB communication backend which SALT uses under the hood
    Fix/New (kdztools): Fixes & Enhancements of the KDZ extraction backend which SALT uses under the hood

    v3.22
    Released: 2020-03-09
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): at github
    Full changelog (kdztools): at github
    Summary changelog:

    • ATTENTION FOR FWUL (v2.x, v3.x) users:
      Upgrading to this Version WILL BREAK SALT without doing a FULL system upgrade (which can take hours, downloading multiple GB, may even break on low RAM systems)
      Instead it is highly recommended to use the new mAid nightlies which are in RC phase already and so reasonable stable.

    • Fix (kdztools): some fixes for KDZ extractions
    • Fix (SALT): UsU and ARB detection in rare cases
    • Fix (SALT): no output for several lglaf based operations
    • Fix (SALT): backup (custom) progress bars
    • Fix (SALT): when a folder or filename contained a space SALT failed to parse and extract
    • Fix (SALT): several things around ARB and ARB detection
    • Fix (SALT): screwed part listing
    • Fix (SALT): log upload
    • New (SALT): added a pre-check after the user selected a directory: when the path exists and containing image files the user get prompted to either retry or continue.
    HINT:
    Newer devices using UFS storage (e.g. G5, G6, ..) still need to switch to the DEVELOP/TESTING branch (see FAQ)


    Older releases

    v3.21
    Released: 2018-12-21
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): at github (this version compared with the previous release)
    Full changelog (kdztools): at github (this version compared with the previous release)
    Important Note:
    From this release on the system requirement have changed!
    You need to ensure you install the python module "zstandard" - read the OP for how or when using FWUL use the latest FWUL nightly which comes with everything pre-installed.
    Summary changelog:
    • New (kdztools): KDZ extractions have been EXTREMELY enhanced. Means we can now even extract newer KDZ files up to the latest LG flagship (e.g. G7/V30).
      This has been fully achieved by runningnak3d ! it's always a pleasure to work with him ;)
    • Fix (kdztools): extraction failed when a KDZ had unallocated space (e.g. some H811 ones but also others)
    • Fix (SALT): python version for KDZ/DZ extraction
    • Fix (SALT): Browsing the mounted directory after using the Image mounter (advanced menu) will now use full permissions by default
    • New (SALT): mounting an image (advanced menu): previously when a user hasn't unmounted an image file he had to unmount it manually (terminal). now SALT offers a dialog to do so for the user instead.
    • New (SALT): from now on SALT can detect when a user tries to mount an image file from a vbox shared folder and denies mounting it
    • Fix (lglaf): Do not use "G4" as detected model (as there is no safe way to identify a model via the usb info)
    • Hint from a previous release: preparation for UFS devices (all newer LG models). Hint: you can use SALT now on newer devices but this requires a manual change in lglaf atm:
      Code:
      cd ~/programs/lglafng
      git checkout develop
      The above is NOT needed on non-UFS devices (like the G2,G3,G4, ...). If you are unsure open the advanced menu in SALT and check if the partition listing is working - if it is empty try the above otherwise you don't need to.
      The above handling and UFS detection will be done automatically in a future release of SALT!

    v3.20
    Released: 2018-11-30
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): nothing has changed
    Summary changelog:
    • Fix (SALT): when the size of a backup cannot be calculated SALT continues with the free disk space check nevertheless
    • Fix (SALT): "direct flashing" message optimized
    • Fix (SALT): permissions on logfiles and all 3rd party paths
    • Fix (SALT): User detection was wrong (pkexec) and so the resulting program paths as well
      ATTENTION:
      You may get prompted to re-download lglaf, sdat2img and kdztools due to the corrected paths. Just do so and it will be fixed next time you start SALT.
    • New (SALT): Introducing the CUSTOM backup mode! Now you can not just choose from the predefined BASIC and FULL mode but also can choose CUSTOM. This CUSTOM mode allows to choose from your existing partitions. Plus: while backing up a beautiful multi-progress bar is showing the progress.
    • New (SALT): preparation for UFS devices (all newer LG models). Hint: you can use SALT now on newer devices but this requires a manual change in lglaf atm:
      Code:
      cd ~/programs/lglafng
      git checkout ufs-test
      The above is NOT needed on non-UFS devices (like the G2,G3,G4, ...). If you are unsure open the advanced menu in SALT and check if the partition listing is working - if it is empty try the above otherwise you don't need to.
      The above handling and UFS detection will be done automatically in a future release of SALT!

    v3.19
    Released: 2018-08-23
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): nothing changed
    Summary changelog:
    • Fix (SALT): (G4 - UsU) fixed a bug where direct flashing was incorrectly shown regardless if it was possible or not
    • Fix (SALT): incorrectly shown laf download window
    • New (SALT): completely re-design of the installer (thx for the pkexec contribution ThePiGuy). all details for the new installer here: commit
    • New (SALT): prepare for multi model support in SALT (not G4 only anymore)
    • New (SALT): available SALT features and main window screen are now based on the detected LG model

    v3.18
    Released: 2018-08-10
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): at github (this version compared with the previous release)
    Summary changelog:
    • Fix (SALT): Backup function now allows to use paths with spaces within its name
    • Fix (lglaf): Backup was not working since 3.17 (CR function was not implemented for the backup function)

    v3.17
    Released: 2018-07-31
    Full changelog (SALT): at github (this version compared with the previous release)
    Full changelog (lglaf): at github (this version compared with the previous release)
    Summary changelog:
    • New (SALT): Force Challenge/Response mode available for devices where the automatic detection fails (PERMISSION DENIED in SALT debug log)
      How it works and where to find >click here<
    • New (SALT): provide feedback while detecting the ARB of a KDZ
    • New (SALT): completey re-worked "Convert an image (ZIP)" in the advanced menu. SALT is now able to mount any image file instead of just system (e.g. vendor,...)
    • New (SALT): some KDZ extract enhancements (like cleanup etc)
    • New (SALT): a lot of changes for the upcoming direct flashing function (not enabled by default)
    • Fix (SALT): ARB detection of KDZs in some cases

    • New (lglaf): added CR force-on, force-off (details)
    • Fix (lglaf): disable direct flashing on laf > 100001 again (was accidentally still enabled)
    • Fix (lglaf): When direct flashing failing raise a real error including a non zero returncode

    v3.16
    Released: 2018-05-06
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Improved backup / Free disk space check

    v3.15
    Released: 2018-04-25
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Select/Deselect button when extracting a KDZ

    v3.14
    Released: 2018-04-17
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • Fix(SALT): SALT was unusable in rare cases


    v3.13
    Released: 2018-03-22
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Mount button after extracting a KDZ added
    • Fix(SALT): remove flashing warning when user skips device connection
    • Fix(SALT): several issues when directories containing spaces (I recommend to still avoid spaces in dir and filenames)
    • Fix(kdztools): rare issues when extracting some KDZ files

    v3.12
    Released: 2018-03-21
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • Fix(SALT, kdzmgr): several issues for extracting KDZ files

    v3.11-0
    Released: 2018-03-16
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): extracting a KDZ will now detect and show the ARB !
    • Fix(SALT): extracting KDZ in a path with space or special chars failed (empty partition list on extract)

    v3.10-1
    Released: 2018-03-13
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • Fix(SALT): UsU hashes on some devices can't be set correctly (country related)
    • Fix(SALT): UsU check for ARB <=2 implemented to avoid damage

    v3.9-0
    Released: 2018-03-09
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): binary checker for fastboot on start
    • New(SALT): improved error handling for binary checks on start
    • Fix(SALT): UsU hashes on some devices can't be set correctly

    v3.8-2
    Released: 2018-03-07
    Full changelog (SALT): at github (this version compared with the previous release)

    v3.7-12
    Released: 2018-03-05
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): update checker for SALT on start
    • New(SALT): added a mount option for image files
    • NEW(SALT): checking LAF version and offering a compatible LAF if needed/recommended
    • NEW(SALT): complete re-design of UsU flashing verification using a hash table
    • NEW(SALT): added a fastboot flashing fallback on UsU flashing when partial success
    • Fix(SALT): a LOT of UsU stuff..
    • Fix(SALT): will not let open as much windows as before (e.g. closing advanced menu dialog on unlock click etc)
    • Fix(SALT): important UsU related fixes -> if you want to unlock by UsU do not use any previous version!
    • Fix(SALT): do not start UsU flashing on incompatible LAF versions

    v3.6-5
    Released: 2018-02-14
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Upload/Paste your SALT logfile with a single click!
    • New(SALT): many important stuff related to UsU
    • Fix(SALT): SALT does not start in rare circumstances

    v3.5-7
    Released: 2018-02-05
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Main GUI completely re-worked to fit on smaller screens
    • New(SALT): main screen now detect and display: LAF protocol, IMEI and serial (removed "Secure device" as its meaning is unknown anyways)
      HINT: IMEI and serial will never be written into the logfile!
    • New(SALT): added the feature to extract/convert/mount system.dat files (from LP up to Oreo 8.1) - requested by @kessaras
    • New(SALT): KDZ extract HEAVILY improved (details)
    • Fix(SALT): UsU related stuff
    • Fix(SALT): modemst info

    v3.1-1
    Released: 2018-01-09
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): adding a GPT compatibility info for UsU ROM flashing
    • Fix(SALT): garbage on UsU check in log

    v3.0-7
    Released: 2018-01-08
    Full changelog (SALT): at github (this version compared with the previous)
    Summary changelog:
    • New(SALT): Full UsU support
    • New(SALT): Full Nougat bootloader support
    • Fix(SALT): several .. read the full changelog

    v2.1-0
    Released: 2018-01-05
    Full changelog (SALT): at github (this version compared with the previous)
    Summary changelog:
    • New(SALT): Backup now uses $HOME/salt_backup as default backup path
    • New(SALT): If backup path does not exists it will be auto-created now
    • Fix(SALT): Verify backup was broken (thx @cowsngrass or the report)

    v2.0-7
    Released: 2018-01-03
    Full changelog (SALT): at github (this version compared with the previous)
    Full changelog (lglaf): at github (all commits up to release date)
    Full changelog (kdztools): at github (all commits up to release date)
    Summary changelog:
    • New(lglaf, SALT): Backup now shows a progress bar instead of that creepy log output
    • New(SALT): adding a Retry button on SALT startup
    • New(lglaf, SALT): replaced legacy auth method with new chall/response
    • New(SALT): adding support for mbn firmware files
    • New(SALT): adding UsU (Unofficial steadfasterX Unlock) detection
    • Fix(lglaf): Timeout issues on some devices resulting in no detection
    • Fix(lglaf): Some devices even when using an older LAF protocol version required challenge/response
    • Fix(SALT): md5 verify on some devices
    • Fix(kdztools): when on master (so STABLE) branch kdz extract was not possible
    • and many more (check github changelogs above)

    1.1-5
    Released: 2017-12-15
    Full changelog: at github (this version compared with the previous)
    Summary changelog:
    • New feature: MD5 verification of backup
      This feature may not be available on every device but SALT will check after a backup automatically if your device supports
      md5 verification and offers you an option to do so.
    • Fix: ARB detection was wrong on H811

    1.0-14
    Released: 2017-12-11
    Changelog:
    • first public release
    • Full changelog at github
    12
    New SALT release!

    Checkout the FAQ #9 for howto update to this brand new release

    v3.5-7
    Released: 2018-02-05
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Main GUI completely re-worked to fit on smaller screens
    • New(SALT): main screen now detect and display: LAF protocol, IMEI and serial (removed "Secure device" as its meaning is unknown anyways).
      HINT: IMEI and serial will never be written into the logfile!
    • New(SALT): added the feature to extract/convert/mount system.dat files (from LP up to Oreo 8.1) - requested by @kessaras
    • New(SALT): KDZ extract HEAVILY improved (details)
    • Fix(SALT): UsU related stuff
    • Fix(SALT): modemst info
    12
    v3.6-5 released

    Checkout the FAQ #9 for howto update to this brand new release

    Released: 2018-02-14
    Full changelog (SALT): at github (this version compared with the previous release)
    Summary changelog:
    • New(SALT): Upload/Paste your SALT logfile with a single click!
    • New(SALT): many important stuff related to UsU
    • Fix(SALT): SALT does not start in rare circumstances