[Android Software/Hacking General [Developers Only]] bodziak:
SALT log data from development branch

Hi,

I've followed the instructions. SALT was updated to development branch 29 changes in 3 files . kdztools and lglaf no changes detected. New log generated and attached. Same error happed when reading ARB - 0x8000010a (LAF_ERROR_ACCESS_DENIED). File /tmp/sbl1.err was not created at all. Tested just after starting SALT and when attempting backup.

I've also found out discussion on similar issue - but there is is too much low level details in it for me :

Try to check on github.com the following link /Lekensteyn/lglaf/issues/7

Sorry - I'm not allowed to publish external links

2017-12-20 09:56:35: Starting SALT v1.2-0:TESTING!

****************************************************

2017-12-20 09:56:35: F_EGO: started

2017-12-20 09:56:35: F_EGO: /tmp/salt.lock created

2017-12-20 09:56:35: DEVCON before: 99

2017-12-20 09:56:35: F_CHKDEVCON: started

2017-12-20 09:56:35: F_CHKDEVCON: Device seems to be connected!

2017-12-20 09:56:35: RET: 0

2017-12-20 09:56:35: DEVCON after: 0

2017-12-20 09:56:35: F_GETINFO: started

2017-12-20 09:56:35: F_CDARB: started

Traceback (most recent call last):

File "/root/programs/lglafng/partitions.py", line 369, in <module>

main()

File "/root/programs/lglafng/partitions.py", line 330, in main

with laf_open_disk(comm) as disk_fd:

File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__

return next(self.gen)

File "/root/programs/lglafng/partitions.py", line 61, in laf_open_disk

open_header = comm.call(open_cmd)[0]

File "/root/programs/lglafng/lglaf.py", line 264, in call

raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))

RuntimeError: Command failed with error code 0x8000010a (LAF_ERROR_ACCESS_DENIED)

2017-12-20 09:56:37: EMPTY ARB DETECTED:

2017-12-20 09:56:37: Please send this log and the SBL1 dump in /tmp/sbl1.err

2017-12-20 09:56:38: 2017-12-20 09:56:37,718 LGLAF.py: DEBUG: Using endpoints 83 (IN), 02 (OUT)

2017-12-20 09:56:37,721 partitions: DEBUG: Using Protocol version: 0x1000001

Traceback (most recent call last):

File "/root/programs/lglafng/partitions.py", line 369, in <module>

main()

File "/root/programs/lglafng/partitions.py", line 330, in main

with laf_open_disk(comm) as disk_fd:

File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__

return next(self.gen)

File "/root/programs/lglafng/partitions.py", line 61, in laf_open_disk

open_header = comm.call(open_cmd)[0]

File "/root/programs/lglafng/lglaf.py", line 264, in call

raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))

RuntimeError: Command failed with error code 0x8000010a (LAF_ERROR_ACCESS_DENIED)

2017-12-20 09:56:38: F_CDARB:

2017-12-20 09:56:38: F_CDARB: DEVARB=0, DEVARBEMPTY=1

2017-12-20 09:56:38: F_CDARB: ended

battery_level:95 device_sw_version:H81520g secure_device:S device_factory_version:LGH815AT-00-V20g-OPT2-HQ-JUL-20-2016+0 model_name:LG-H815 target_country:COM 2017-12-20 09:56:39: F_GETINFO: ended

2017-12-20 09:56:39: parsing arb:0:1

2017-12-20 09:56:39: parsing battery_level:95

2017-12-20 09:56:39: parsing device_sw_version:H81520g

2017-12-20 09:56:39: parsing secure_device:S

2017-12-20 09:56:39: parsing device_factory_version:LGH815AT-00-V20g-OPT2-HQ-JUL-20-2016+0

2017-12-20 09:56:39: parsing model_name:LG-H815

2017-12-20 09:56:39: parsing target_country:COM

2017-12-20 09:56:39: Reboot button script started

2017-12-20 09:56:55: F_BACKUP: started with these arguments:

2017-12-20 09:57:00: F_BACKUP: choosen backup type was 1, Full, 0 KB

2017-12-20 09:57:02: F_BACKUP: choosen target directory was /tmp

Traceback (most recent call last):

File "/root/programs/lglafng/extract-partitions.py", line 72, in <module>

main()

File "/root/programs/lglafng/extract-partitions.py", line 65, in main

with partitions.laf_open_disk(comm) as disk_fd:

File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__

return next(self.gen)

File "/root/programs/lglafng/partitions.py", line 61, in laf_open_disk

open_header = comm.call(open_cmd)[0]

File "/root/programs/lglafng/lglaf.py", line 264, in call

raise RuntimeError('Command failed with error code %#x (%s)' % (errCode, msg))

RuntimeError: Command failed with error code 0x8000010a (LAF_ERROR_ACCESS_DENIED)

2017-12-20 09:57:18: F_ABOUT: started

2017-12-20 09:59:49: F_ADVMENU: started

2017-12-20 09:59:51: getlog script started

Click Update to switch to the testing release and close SALT when prompted.

start SALT again and attach again the Debug log. I have just adjusted the debug log output to identify the issue for you.

plus (if its generated) the file /tmp/sbl1.err which MAY gets generated once you opened SALT.

.[/QUOTE]