Code Monkey home page Code Monkey logo

qcsuper's People

Contributors

citypw avatar p1-bmu avatar p1-mmr avatar p1-ra avatar simonerni avatar wesmwoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qcsuper's Issues

Scapy implementation

Hello
Iam able to craft gsm packets using scapy.
is there a possibility of forwarding the packets to the air either through parsing them to modem or any means....
Any solutions will pe appreciated
Thanks

Works with ZTE WCDMA Technologies MSM MF110/MF627/MF636

[+] Compilation date: Mar 10 2010 14:29:52
[+] Release date: Mar 08 2010 10:00:00
[+] Version directory: KP671A2

[+] Common air interface information:
[+] Station classmark: 0
[+] Common air interface revision: 0
[+] Mobile model: 29
[+] Mobile firmware revision: 0
[+] Slot cycle index: 0
[+] Hardware revision: 0x1c0 (1.192)

[+] Chip version: 3
[+] Firmware build ID: M6290A-KPRZL-2.4.0105T

[+] Diag version: 8

No output or errors on Pixel4 Android 10 Windows / Raspberian

[+] Compilation date:
[+] Release date:
[+] Version directory:

[+] Common air interface information:
[+]   Station classmark: 0
[+]   Common air interface revision: 0
[+]   Mobile model:      0
[+]   Mobile firmware revision: 0
[+]   Slot cycle index:  0
[+]   Hardware revision: 0x000 (0.0)

[>] Sending request DIAG_EXT_BUILD_ID_F of length 0: b''
[<] Received response DIAG_EXT_BUILD_ID_F of length 13: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[+] Chip version:        0
[+] Firmware build ID:

[>] Sending request DIAG_DIAG_VER_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x1c'
[>] Sending request DIAG_ESN_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x01'


"C:\Users\melon\AppData\Local\Programs\Python\Python36-32\python" qcsuper.py --adb --info -v

C:\Users\melon\Downloads\QCSuper-master\QCSuper-master>"C:\Users\melon\AppData\Local\Programs\Python\Python36-32\python" qcsuper.py --adb --info -v
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=0\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0\r\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"": b'DIAG_NOT_EXISTS=0\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\r\nC:\\Users\\melon\\Downloads\\QCSuper-master\\QCSuper-master\\inputs\\adb_bridge/adb_bridge: 1 file pushed. 5.6 MB/s (11636 bytes in 0.002s)\r\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: adb_bridge: No such process\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'

[>] Sending request DIAG_VERNO_F of length 0: b''
[<] Received response DIAG_VERNO_F of length 54: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[+] Compilation date:
[+] Release date:
[+] Version directory:

[+] Common air interface information:
[+]   Station classmark: 0
[+]   Common air interface revision: 0
[+]   Mobile model:      0
[+]   Mobile firmware revision: 0
[+]   Slot cycle index:  0
[+]   Hardware revision: 0x000 (0.0)

[>] Sending request DIAG_EXT_BUILD_ID_F of length 0: b''
[<] Received response DIAG_EXT_BUILD_ID_F of length 13: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[+] Chip version:        0
[+] Firmware build ID:

[>] Sending request DIAG_DIAG_VER_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x1c'
[>] Sending request DIAG_ESN_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x01'

C:\Users\melon\Downloads\QCSuper-master\QCSuper-master>"C:\Users\melon\AppData\Local\Programs\Python\Python36-32\python" qcsuper.py --adb --wireshark-live -v
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=0\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0\r\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"": b'DIAG_NOT_EXISTS=0\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\r\nC:\\Users\\melon\\Downloads\\QCSuper-master\\QCSuper-master\\inputs\\adb_bridge/adb_bridge: 1 file pushed. 5.4 MB/s (11636 bytes in 0.002s)\r\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: adb_bridge: No such process\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x01\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 75: b'\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\t\x00\x00 \x04\x00\x00\x00\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8a\x03\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 418: b'\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 422: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 305: b'\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 309: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 147: b'\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 151: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 175: b'\x00\x00\x00\x03\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 179: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 129: b'\x00\x00\x00\x03\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 133: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 335: b'\x00\x00\x00\x03\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 339: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 79: b'\x00\x00\x00\x03\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 83: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: adb_bridge: No such process\n'
[>] Running adb command: C:\Users\melon\Downloads\QCSuper-master\QCSuper-master\inputs\external\adb/adb_windows.exe forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 418: b'\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 422: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 305: b'\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 309: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 147: b'\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 151: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 175: b'\x00\x00\x00\x03\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 179: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 129: b'\x00\x00\x00\x03\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 133: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 335: b'\x00\x00\x00\x03\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 339: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 79: b'\x00\x00\x00\x03\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 83: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

Working on Nokia 3.2

I successfully made it work using Magisk root and my windows computer.

I followed the tutorial, no issue at all. and all packet seems to be correctly captured :) thanks !
image

Disconnect fix

I went from maybe getting a solid packet or two, to it working properly, minus checks for the su being funky on my builds and saying I had no quallcomm, I fixed the disconnect errors by using ssh.
(so one has to use tmux, but, the upside is you can put it where-ever.)
Also to note, you gotta have a sim card, didn't know that, but a few hours and now ya can get the
info totally remotely..
I did the following:
#run_safe([adb_exe, 'forward', 'tcp:' + str(QCSUPER_TCP_PORT), 'tcp:' +
str(QCSUPER_TCP_PORT)], check = True, stdin = DEVNULL)
(hard coded version, im not a python dude.)
os.system('ssh -TfN -p 8022 -L 43555:localhost:43555 proxy ')
But this buffers such that it doesn't hose, cause adb's really bad about tcp over tcp, sepeculations of why, but it just chokes and drops connections in that manner of forwarding, usb or not. ssh properly keeps it from dieing and this makes --wireshark-live work way better too.

LG V50 ThinQ 5G and QCSuper

I am trying to use QCSuper with LG V50 ThinQ 5G (Sprint USA) connected to LTE. I am running QCSuper on macOS 10.15 in usb modem mode, with the phone connected over USB (diag port enabled). I can't use diag over adb because the phone can't be rooted. I encountered several issues while using QCSuper with this device. First of all, when I try to log using Wireshark, nothing is displayed in Wireshark. The command I run is sudo python3 ./qcsuper.py --usb-modem /dev/tty.lgusbserial1451 --wireshark-live --verbose
I get the following in the terminal(much longer than I pasted here):

[<] Received response 152 of length 70: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00;\x00;\x00\xc0\xb0\xa0\x8d@\xd3\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00\x00\xbc\x03\x04\x00\x00\x00\x1a\x00\x10\x00\x12\x12Uo\x18,\xc03\x04f\x01\x00\x00\x02\x00\x88W\xd9\x15E\xdb\xa0\x03\x80'
[<] Received response 152 of length 57: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00.\x00.\x00\xc0\xb0\x9c\x8cH\xd3\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00\x10\xbc\x03\x08\x00\x00\x00\r\x00\x10\x06J\x05\x98\xac\xda@\xa0y\x90 \x00'
[<] Received response 152 of length 81: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00F\x00F\x00\xc0\xb0\xd1\x9eP\xd3\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00 \xbc\x03 \x00\x00\x00%\x00\x10\x0c\xd6P\t\x15\xa9\x00O/YA\xb0V\xa4\x01<\xbda\x0e\xc9Z\x90\x10\xea\xf5\x84Gej@c\x8b\xc0\x00\x00\x00'
[<] Received response 152 of length 72: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00=\x00=\x00\xc0\xb0\xbb\x9dT\xd3\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00%\xbc\x03\x02\x00\x00\x00\x1c\x00x\xccB$\x19\x89T\xc3\x8e+\xf4X\x0f\x12P\xd6\x82\x00\x10\x81\x04P%\xa12vU\x14'
[<] Received response 152 of length 70: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00;\x00;\x00\xc0\xb0\xa0\x8e@\xd5\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00\x00\x80\x03\x04\x00\x00\x00\x1a\x00\x10\x00\x12\x12Uo\x18,\xc03\x04f\x01\x00\x00\x02\x00\x88W\xd9\x15E\xdb\xa0\x03\x80'
[<] Received response 152 of length 72: b'\x01\x00\x00\x01\x00\x00\x00\x10\x00=\x00=\x00\xc0\xb0\x94\x97D\xd5\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x00\x05\x80\x03\x02\x00\x00\x00\x1c\x00x\xccB$\x19\x89T\xc3\x8e+\xf4X\x0f\x12P\xd6\x82\x00\x10\x81\x04P%\xa12vU\x14'
[<] Received response 152 of length 59: b'\x01\x00\x00\x01\x00\x00\x00\x10\x000\x000\x00\xc0\xb0\xd6\x8bX\xd5\xadz\xe8\x00\x1a\x0f@\x0fA\x00\xf6\x01\xc2\x9b\x00\x000\x80\x03\x00\x01\x00\x00\x0f\x00\x10\x1a2\xbc\xd8\x06\xa7\xd7@\x1f\xc8$\x02 \x00'

When I attempt to run sudo python3 ./qcsuper.py --usb-modem /dev/tty.lgusbserial1451 --dlf-dump output_file.dlf I get an error and my phone loses signal until I toggle airplane mode on/off. This is the error I get:

Warning: Wrong CRC: b'\x10\x00\xec\x04\xec\x04\xb5\x19\x02\xa3\xfe-\xaez\xe8\x00\x03\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00(\x10\xa5\xc4\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00_\x01\x00\x00\x00\xba\x9e\xc7\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00p\x01\x00\x00\x00\xb1\x8c\xca\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00r\x01\x00\x00\x00m\x96\xcd\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00l\x01\x00\x00\x00\xe8h\xd0\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00q\x01\x00\x00\x00\xd9Q\xd3\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00s\x01\x00\x00\x00\xf1\xbc\xd9\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00s\x01\x00\x00\x00\xe7\x14\xdc\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00d\x01\x00\x00\x00\xff\x05\xe5\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00q\x01\x00\x00\x00B\xdb\xe7\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00r\x01\x00\x00\x00B\xc1\xea\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00o\x01\x00\x00\x00[1\xf1\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00q\x01\x00\x00\x00\xcb\x84\xf3\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00D\x01\x00\x00\x00\x80\x8b\xf6\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00p\x01\x00\x00\x00\xddl\xf9\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00n\x01\x00\x00\x00Kw\xfc\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00k\x01\x00\x00\x00\x1cK\xff\xa8\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00j\x01\x00\x00\x00\t7\x02\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00q\x01\x00\x00\x00l\x9c\x08\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00r\x01\x00\x00\x00g\xf4\n\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00j\x01\x00\x00\x00\x0f\xf0\r\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00o\x01\x00\x00\x00\'\xdc\x10\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00o\x01\x00\x00\x00\x1e\xa1\x19\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00n\x01\x00\x00\x00\xad\x19 \xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00i\x01\x00\x00\x00\xcde"\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00R\x01\x00\x00\x00\xcdQ%\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00m\x01\x00\x00\x00HL(\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00o\x01\x00\x00\x00Pr+\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00m\x01\x00\x00\x00J .\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00k\x01\x00\x00\x00\xd7\x101\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00k\x01\x00\x00\x00Q\x887\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00V\x01\x00\x00\x00H\xd69\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00V\x01\x00\x00\x00\x87\xce<\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00k\x01\x00\x00\x00\xab\xbb?\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00m\x01\x00\x00\x00\xe3\xbfB\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00m\x01\x00\x00\x00\xad\x97E\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00l\x01\x00\x00\x00\xb6\x80H\xa9\x02\x00\x00\x00\x02`\x02\x02\x00\x08\x01\xc2\x9b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00<\n<\nP\x1c\xa4\x865.\xaez\xe8\x00\x01\x00\x00\x00?\x02\x00\x04\x01\x00\x01\x00w\x8dr\x00y\x8dr\x00W\x8e2\x00\x01\x00\x00\x00\xa8\x81\xb2Q\x04!\xa1\x90XX\x00\x00\xd3\x812P\xac\xa8\xa3Q\x03!-\x91\x98o\x00\x00\xd1\xa8#P\xec\xaa\xa3Q\x01!Q\x90\xd8o\x00\x00\xf1\xaa#P\xac\xa8\xa3S\x03!\xf5\x90\xf8o\x00\x00\xcc\xa8#P\xec\xaa\xa3S\x01!Q\x908p\x00\x00\xf1\xaa#P}>\xa5Q\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x004\x004\x00\xc4\x18\xb0\x94M.\xaez\xe8\x00\x01\x00\x00\x00\x01\x03\x01\x00\x01\xaa\x00\r\x1c8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' (is: 3cef, should be: 3347)
Traceback (most recent call last):
  File "/Users/vladslavskii/QCSuper/inputs/_base_input.py", line 156, in _read_thread
    self.read_loop()
  File "/Users/vladslavskii/QCSuper/inputs/usb_modem.py", line 259, in read_loop
    self.dispatch_received_diag_packet(unframed_message)
  File "/Users/vladslavskii/QCSuper/inputs/_base_input.py", line 351, in dispatch_received_diag_packet
    time() # Timestamp
  File "/Users/vladslavskii/QCSuper/inputs/_base_input.py", line 383, in dispatch_diag_log
    module.on_log(log_type, log_payload, log_header, timestamp)
  File "/Users/vladslavskii/QCSuper/modules/dlf_dump.py", line 25, in on_log
    assert unpack('<H', log_header[:2])[0] == len(log_header + log_payload)
AssertionError

Trying to decode MIB and SIB

Hi, Thank you for leading and sharing this project. I really excited when I successfully installed it on my machine.

In my own research, I want to see broadcast messages such as MIB and SIB when I send some fake-broadcast messages.
I'm using Nexsus 6P, commercial LTE, and I'm using following command for QCSuper.
./qcsuper.py --adb --decoded-sibs-dump --wireshark-live --reassemble-sibs --decrypt-nas

With QCSuper, I could see MIB and SIB, right before I insert my sim card from my android phone. Is there any way to see MIB and SIB decoded messages without off a sim card?

From following capture, after I insert Sim into phone, RRC Connection is starting, and I couldn't see and SIM and MIB anymore. Even I put my phone into the shelter which is completely disconnected from wireless signal.

RRC_capture

IOCTL error in adb_bridge over OnePlus 3T

Hello!

Well first of all let me say thanks for such a great effort in developing this software, pretty cool and useful!

I am just beginning to use it, mostly for network engineering and testing , and the most common device I use for this purpose is a OnePlus 3T, which is really mostly the same thing as the OnePlus 3 , actually the box and enclosure says 3.. not 3T.. anyway...

The thing is: adb_bridge fails giving a short 'ioctl: Invalid argument' message when run from console (in the ue).

Device: OnePlus A3003
OzygenOS 3.5.4
Android 6.0.1

Kernel 3.18.20
BaseBand: MPSS.TH.2.0.c1.9.2

the device is rooted, connected through ADB , and everything looks fine.. but fails on adb_bridge

any advice?

Thanks a lot!
Raul

Feature Request: Send pcap data to stdout

If I could make a minor feature request. It would be useful to be able to send the pcap data directly to standard output, allowing the launch of the script via SSH and tunnelling of the data to wireshark on a remote host.

Link problem in Queltec module

Hi

Thanks for the good code.
The Quectel EC25-E modules have qualcomm chip inside, and expose the DM port as a virtual serial port, through a USB connection. For data transfer, the driver generates a broadband connection in Windows.

I was able to connect Qsuper to the module through the DM port and get some logs (although I feel some reports are missing). But, just as I start Qsuper, the broadband connection is lost.

I copied the raw_payload strings generated inside QSuper send_request function and sent them sequentially through a general terminal. Then commented out the send_request function, and ran QSuper again. Although now QSuper did not transmit anything, again the broadband connection failed. (It seems if I limit the speed of the download, this time that failure did not happen or was delayed). But If I just kept the DM port open in the general terminal, no disconnection happened.
So It feels like that QSuper does something with the board (or DM port?), which it doesn't expect. What might it be?

Regards

Quectel BG96 NB-Iot Module: wireshark RRC decoding not working

Hi,
I was trying to use QCSuper with this Quectel module, but it did no show any RRC messages in wireshark. I found there are new channel_types specific for NB-IOT (--verbose).
After looking at the code, i did some experiments and solve the issue, at least for the channel_types the module is sending at the moment.

The changes i did were the following:

File log_types.py:

LTE_UL_CCCH_NB = 50
LTE_DL_CCCH_NB = 48
LTE_UL_DCCH_NB = 52
LTE_DL_DCCH_NB = 49
LTE_PCCH_NB = 47
LTE_BCCH_DL_SCH_NB = 46

File gsmtap.py (i just updated according to most recent taps):

GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_MBMS = 8
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_BR = 9
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_MBMS = 10
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message = 11
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message = 12
GSMTAP_LTE_RRC_SUB_SBCCH_SL_BCH_Message_V2X = 13
GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB = 14
GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB = 15
GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB = 16
GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB = 17
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_NB = 18
GSMTAP_LTE_RRC_SUB_BCCH_BCH_Message_TDD_NB = 19
GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB = 20
GSMTAP_LTE_RRC_SUB_PCCH_Message_NB = 21
GSMTAP_LTE_RRC_SUB_SC_MCCH_Message_NB = 22

File pcap_dump.py:

I added the last 6 lines:

        gsmtap_channel_type = {
            LTE_BCCH_DL_SCH: GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message,
            LTE_PCCH: GSMTAP_LTE_RRC_SUB_PCCH_Message,
            LTE_DL_CCCH: GSMTAP_LTE_RRC_SUB_DL_CCCH_Message,
            LTE_DL_DCCH: GSMTAP_LTE_RRC_SUB_DL_DCCH_Message,
            LTE_UL_CCCH: GSMTAP_LTE_RRC_SUB_UL_CCCH_Message,
            LTE_UL_DCCH: GSMTAP_LTE_RRC_SUB_UL_DCCH_Message,
            LTE_UL_CCCH_NB: GSMTAP_LTE_RRC_SUB_UL_CCCH_Message_NB,
            LTE_DL_CCCH_NB: GSMTAP_LTE_RRC_SUB_DL_CCCH_Message_NB,
            LTE_UL_DCCH_NB: GSMTAP_LTE_RRC_SUB_UL_DCCH_Message_NB,
            LTE_DL_DCCH_NB: GSMTAP_LTE_RRC_SUB_DL_DCCH_Message_NB,
            LTE_PCCH_NB: GSMTAP_LTE_RRC_SUB_PCCH_Message_NB,
            LTE_BCCH_DL_SCH_NB: GSMTAP_LTE_RRC_SUB_BCCH_DL_SCH_Message_NB
        }.get(channel_type)

I commented this part (because it was just reducing channel_type by 7):

        #if channel_type > LTE_UL_DCCH:
        #    channel_type -= 7

if you want to keep this part of the code, you need to decrease by 7 the new log_types added in log_types.py file.

If you find new channel_types please inform.
Thanks.

hanging in xperia z1

I got the script hanging and doesn't poping wireshark when launch it on my phone.

This is what it look like

./qcsuper.py --adb --wireshark-live -v
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out id
[<] Obtained result for running "/home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out id": b'uid=2000(shell) gid=2000(shell) groups=1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2991(removable_rw),2993(trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0\n'
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=1\nuid=0(root) gid=0(root) context=u:r:init:s0\n'
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""
[<] Obtained result for running "/home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""": b'DIAG_NOT_EXISTS=0\n'
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux push /home/ghost/tools/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/home/ghost/tools/qcsuper/inputs/external/adb/adb_linux push /home/ghost/tools/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/ghost/tools/qcsuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 2.6 MB/s (11608 bytes in 0.004s)\n'
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""
[>] Running adb command: /home/ghost/tools/qcsuper/inputs/external/adb/adb_linux forward tcp:43555 tcp:43555
WARNING: linker: /data/local/tmp/adb_bridge: unused DT entry: type 0x6ffffffe arg 0x5b0
WARNING: linker: /data/local/tmp/adb_bridge: unused DT entry: type 0x6fffffff arg 0x1

However after checking some line i got that line 164 from adb.py is causing my problem.

When i change directly to

self.adb_proc = Popen([adb_exe, 'shell', self.su_command % (ANDROID_TMP_DIR + '/adb_bridge')],
stdin = DEVNULL, stdout = PIPE, stderr = STDOUT,
preexec_fn = setpgrp,
bufsize = 0, universal_newlines = True
)

it's work like a charm.

I hope you can make some adjustment for that hanging problem
Thanks

Andromax A16C3H Works

Works perfectly on Andromax A16C3H
no issue at all. and all packet seems to be correctly captured
Screenshot from 2019-12-01 18-31-11

Segmentation fault /data/local/tmp/...

The Error:

[1] Segmentation fault /data/local/tmp/...

Wireshark opens, and says 'No Packets Captured'
Full Output:

~/qcsuper$ ./qcsuper.py --adb --wireshark-live -v
[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'error: closed\n'
[>] Running adb command: /usr/bin/adb shell "su test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; su test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; su test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb shell "su test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; su test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; su test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'Usage: su [options] [LOGIN]\r\n\r\nOptions:\r\n -c, --command COMMAND pass COMMAND to the invoked shell\r\n -h, --help display this help message and exit\r\n -, -l, --login make the shell a login shell\r\n -s, --shell SHELL use SHELL instead of the default in passwd\r\n -v, --version display version number and exit\r\n -V display version code and exit. this is\r\n used almost exclusively by Superuser.apk\r\nDIAG_NOT_WRITEABLE=0\r\nUsage: su [options] [LOGIN]\r\n\r\nOptions:\r\n -c, --command COMMAND pass COMMAND to the invoked shell\r\n -h, --help display this help message and exit\r\n -, -l, --login make the shell a login shell\r\n -s, --shell SHELL use SHELL instead of the default in passwd\r\n -v, --version display version number and exit\r\n -V display version code and exit. this is\r\n used almost exclusively by Superuser.apk\r\nDIAG_NOT_EXISTS=0\r\nUsage: su [options] [LOGIN]\r\n\r\nOptions:\r\n -c, --command COMMAND pass COMMAND to the invoked shell\r\n -h, --help display this help message and exit\r\n -, -l, --login make the shell a login shell\r\n -s, --shell SHELL use SHELL instead of the default in passwd\r\n -v, --version display version number and exit\r\n -V display version code and exit. this is\r\n used almost exclusively by Superuser.apk\r\nDEV_NOT_READABLE=0\r\nuid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)\r\n'
[>] Running adb command: /usr/bin/adb shell "su test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"
[<] Obtained result for running "/usr/bin/adb shell "su test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"": b'Usage: su [options] [LOGIN]\r\n\r\nOptions:\r\n -c, --command COMMAND pass COMMAND to the invoked shell\r\n -h, --help display this help message and exit\r\n -, -l, --login make the shell a login shell\r\n -s, --shell SHELL use SHELL instead of the default in passwd\r\n -v, --version display version number and exit\r\n -V display version code and exit. this is\r\n used almost exclusively by Superuser.apk\r\nDIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: /usr/bin/adb push /home/my/Downloads/qcsuper/QCSuper-master/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /home/my/Downloads/qcsuper/QCSuper-master/inputs/adb_bridge/adb_bridge /data/local/tmp": b'248 KB/s (11636 bytes in 0.045s)\n'
[>] Running adb command: /usr/bin/adb shell "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "/usr/bin/adb shell "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: permission denied\r\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
[1] Segmentation fault /data/local/tmp/...
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'

The connection to the adb bridge was closed, or preempted by another QCSuper instance

In Windows (instead of the last error message above):

Traceback (most recent call last):
File "C:\Users\my\Downloads\QCSuper-master\QCSuper-master\inputs_base_input.py", line 156, in _read_thread
self.read_loop()
File "C:\Users\my\Downloads\QCSuper-master\QCSuper-master\inputs\adb.py", line 292, in read_loop
socket_read = self.socket.recv(1024 * 1024 * 10)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

Decoded json output

Hi,
Thanks for your complete professional code.
I used it with a Qualcomm inside module, it works good in pcap and json outputs.
I want to send the output to a server and process them for desired KPIs. The json output is preferred for sending and processing, but it produces raw output. How can I have decoded RRC messages in json output?
Could you help me for needed changes on code?
Thanks a lot

LG G4 Error, Samsung Galaxy S3 Neo works, no captured packets

Tried it on an LG G4, rooted on a custom Rom, with a working Sim Card inserted. After a few Seconds Wireshark terminates because "no data was captured, so the temporary File will be closed"

This is the Terminal Output: Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out

Also the --info Option doesn't work for me.

Wireshark does not show any packet from Xiaomi Mi A1 rooted phone

Hi Dear P1sec/QCSuper's Team,

This time I wrote this message to let know you that QCSuper is not working correctly with my rooted phone (Xiaomi Mi A1 Android 9.0).

After install of the programas and depencies needed, I execute the command, however, wireshark is no showing any packet.
qcsuper.py --adb --wireshark-live

It was tested in following OS with the same results.

Windows 10 / Linux Ubuntu 16.04.6

Please let me know, how could I contribute to solve this issue.

Best Regards..
-- Jonmar Pineda

QCSuper with HTC OneM8 does not work

Greetings!
I tried to run qcsuper with HTC One(M8). The Chipset is Qualcomm MSM8974.
but I get the following error. Is that also possible to support this device ?

QCSuper# sudo ./qcsuper.py --adb --wireshark-live
Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
QCSuper# ./qcsuper.py --adb --pcap-dump /tmp/my_pcap.pcap
Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out

Mostly working on Nokia 8110 4G

Hello all,
I came here to report that Nokia 8110 4G is mostly working. Mine is running GerdaOS/firmware 13.00.17.01, it's rooted, it has ADB enabled and Qualcomm chip inside. No Android but close enough. It's a dual-SIM handset but haven't tried two SIMs at the same time. Phone menu has an option to limit which networks to use; 4G/3G/2G, 3G/2G or 2G only. When I'm talking about 3G mode, I've selected 3G/2G, and so on. No idea if the phone can be forced to 4G or 3G only, but chime in if you know.

Seems like ADB connection won't work immediately after a reboot (or running for the first time), at least on my computer, but Ctrl+C and running the command again does the trick. Not a big deal.

C:\Stuff\QCSuper>qcsuper.py --adb --info
Traceback (most recent call last):
  File "C:\Stuff\QCSuper\qcsuper.py", line 66, in <module>
    diag_input = AdbConnector()
  File "C:\Stuff\QCSuper\inputs\adb.py", line 146, in __init__
    self._relaunch_adb_bridge()
  File "C:\Stuff\QCSuper\inputs\adb.py", line 171, in _relaunch_adb_bridge
    for line in self.adb_proc.stdout:
  File "C:\Users\Pena\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 22, in decode
    def decode(self, input, final=False):
KeyboardInterrupt

C:\Stuff\QCSuper>qcsuper.py --adb --info
bind: Address already in use

[+] Compilation date:    Oct 25 2018 20:30:46
[+] Release date:        Oct 22 2018 03:00:00
[+] Version directory:   8909.lwg

[+] Common air interface information:
[+]   Station classmark: 0
[+]   Common air interface revision: 0
[+]   Mobile model:      255
[+]   Mobile firmware revision: 100
[+]   Slot cycle index:  0
[+]   Hardware revision: 0x094 (0.148)

[+] Mobile model ID:     0x100c
[+] Chip version:        0
[+] Firmware build ID:   MPSS.JO.3.0.c4-00104-8909_GEN_PACK-1.172041.1.172362.4

[+] Diag version:        8


C:\Stuff\QCSuper>qcsuper.py --adb --wireshark-live --decoded-sibs-dump --decrypt-nas --include-ip-traffic
bind: Address already in use

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

Wireshark sees LTE and GSM frames on 4G and 2G modes, like calls, text messages, USSD commands, paging, etc. back and forth, but on 3G Wireshark gets no frames at all. If lines 254 and 256 (if self.current_rat != '2g': return) on pcap_dump.py are commented out, some GSMTAP frames appear on Wireshark when doing something like flipping airplane mode on and off.

I noticed opcode variable under dispatch_received_diag_packet in _base_input.py is 16 all the time on 2G, but on 3G opcode is mostly 152 and rarely 16. There's no 4G voice on DNA Finland prepaid SIMs and I have no idea if "phone things" on 4G fallback to 3G or 2G. Can't be sure if the phone really is on 3G network, so forcing to 3G only would help...

Welp, I don't know Python or mobile networks, I'm just poking around. Just saying that if you're interested in 2G or 4G, but 3G isn't your favorite, then 8110 works.

Thanks for the great tool!

Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C

I tried this on a rooted Nexus5x with a data-only googlefi sim and wasn't able to see any messages in wireshark (I wasn't sure if it would work but figured it was worth a try).

I did see the following errors on the command line:

$ ./qcsuper.py --adb --wireshark-live

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
Unknown log type received for LOG_LTE_RRC_OTA_MSG_LOG_C: 11
...

Samsung Note 4 and Samsung S5 do not capture user data (IP traffic)

Hi,
I am not able to capture UE user data with the QCSuper option --include-ip-traffic with my two UEs.

Samsung Galaxy Note 4 SM-N915F
Samsung Galaxy S5 SM-G900F

Attached is output from "qcsuper.py --adb --info" for the two mobiles.

Samsung Note 4:
[+] Compilation date: Feb 16 2017 16:03:37
[+] Release date: Jan 28 2016 15:00:00
[+] Version directory: TAARANAZ

[+] Common air interface information:
[+] Station classmark: 58
[+] Common air interface revision: 9
[+] Mobile model: 255
[+] Mobile firmware revision: 100
[+] Slot cycle index: 2
[+] Hardware revision: 0x923 (9.35)

[+] Mobile model ID: 0xffd
[+] Chip version: 2
[+] Firmware build ID: MPSS.BO.1.0.r10-00232-M9635TAARANAZM-1.42683.1

[+] Diag version: 8

Samsung S5:
[+] Compilation date: Mar 29 2014 15:46:27
[+] Release date: Feb 26 2014 01:00:00
[+] Version directory: AAAAANRZ

[+] Common air interface information:
[+] Station classmark: 58
[+] Common air interface revision: 9
[+] Mobile model: 255
[+] Mobile firmware revision: 100
[+] Slot cycle index: 2
[+] Hardware revision: 0x7b4 (7.180)

[+] Mobile model ID: 0xff3
[+] Chip version: 1
[+] Firmware build ID: MPSS.DI.2.0.1.c2.2-00006-M8974AAAAANRZM-1

[+] Diag version: 8

Any ideas how it could be possible to fix this?

Thanks in advance.

Regards

/Mattias

Samsung Galaxy S4 GT-I9505 Works

Hi everyone,

Thank you for opening this project. It is really amazing to get access to that. I am also a super happy user of Pycrate! I can report that I successfully could run QCSuper with a Samsung Galaxy S4 GT-I9505.

A related question. If I understood correctly you need to open the diag char device with the fancy IOCTL call, it means the char device starts to generate data. Would it be feasible (I did not test yet, I will try on my own, but just if you have experience with it, you might have an idea) to write directly on the phone memory a DLF dump while using the phone and then fetch it later for further analysis?

Problem - I can not make it work

I'm in trouble too. I can not make it work

QCSuper# ./qcsuper.py --adb --wireshark-live -v
[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'error: closed\n'
[>] Running adb command: /usr/bin/adb shell "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
Communication with adb timed out, is your phone displaying a confirmation dialog?

Error: error response received: DIAG_BAD_CMD_F with payload b'', while the request was DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x01\x00\x00\x00'. Maybe this operation is not supported by your device.

kali linux

Oneplus6 and oneplus6t still not work after the kernel has opened /dev/diag

Hello, respected developer. Thank you very much for sharing the tools. However, I have encountered the following problems in use.
Basic debugging information:
OS Kali linux
Qualcomm processor sdm845
Mobile phone network card chip wcn3990
Compile adb_bridge with aarch64 ndkR20
/dev/diag opens in kernel configuration options

Through the above steps, I successfully saw /dev/diag on oneplus6 and 6T.

Then I installed QCSuper through normal steps.

The following is the QCSuper command output information.

OnePlus6T:/ # file /data/local/tmp/adb_bridge                                                                                                    
/data/local/tmp/adb_bridge: ELF executable, 64-bit LSB arm64, static, for Android 28, built by NDK r20 (5594570), not stripped


./qcsuper.py --adb --info

Error: error response received: DIAG_BAD_CMD_F with payload b'\x00', while the request was DIAG_VERNO_F with payload b''. Maybe this operation is not supported by your device.
./qcsuper.py --adb --wireshark-live -v

[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: /usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0\r\n'
[>] Running adb command: /usr/bin/adb exec-out "su -c \"test -e /dev/diag; echo DIAG_NOT_EXISTS=$?\""
[<] Obtained result for running "/usr/bin/adb exec-out "su -c \"test -e /dev/diag; echo DIAG_NOT_EXISTS=$?\""": b'DIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: /usr/bin/adb push /root/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /root/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[  1%] /data/local/tmp/adb_bridge\n[  3%] /data/local/tmp/adb_bridge\n[  5%] /data/local/tmp/adb_bridge\n[  6%] /data/local/tmp/adb_bridge\n[  8%] /data/local/tmp/adb_bridge\n[ 10%] /data/local/tmp/adb_bridge\n[ 11%] /data/local/tmp/adb_bridge\n[ 13%] /data/local/tmp/adb_bridge\n[ 15%] /data/local/tmp/adb_bridge\n[ 16%] /data/local/tmp/adb_bridge\n[ 18%] /data/local/tmp/adb_bridge\n[ 20%] /data/local/tmp/adb_bridge\n[ 21%] /data/local/tmp/adb_bridge\n[ 23%] /data/local/tmp/adb_bridge\n[ 25%] /data/local/tmp/adb_bridge\n[ 26%] /data/local/tmp/adb_bridge\n[ 28%] /data/local/tmp/adb_bridge\n[ 30%] /data/local/tmp/adb_bridge\n[ 31%] /data/local/tmp/adb_bridge\n[ 33%] /data/local/tmp/adb_bridge\n[ 35%] /data/local/tmp/adb_bridge\n[ 36%] /data/local/tmp/adb_bridge\n[ 38%] /data/local/tmp/adb_bridge\n[ 40%] /data/local/tmp/adb_bridge\n[ 42%] /data/local/tmp/adb_bridge\n[ 43%] /data/local/tmp/adb_bridge\n[ 45%] /data/local/tmp/adb_bridge\n[ 47%] /data/local/tmp/adb_bridge\n[ 48%] /data/local/tmp/adb_bridge\n[ 50%] /data/local/tmp/adb_bridge\n[ 52%] /data/local/tmp/adb_bridge\n[ 53%] /data/local/tmp/adb_bridge\n[ 55%] /data/local/tmp/adb_bridge\n[ 57%] /data/local/tmp/adb_bridge\n[ 58%] /data/local/tmp/adb_bridge\n[ 60%] /data/local/tmp/adb_bridge\n[ 62%] /data/local/tmp/adb_bridge\n[ 63%] /data/local/tmp/adb_bridge\n[ 65%] /data/local/tmp/adb_bridge\n[ 67%] /data/local/tmp/adb_bridge\n[ 68%] /data/local/tmp/adb_bridge\n[ 70%] /data/local/tmp/adb_bridge\n[ 72%] /data/local/tmp/adb_bridge\n[ 73%] /data/local/tmp/adb_bridge\n[ 75%] /data/local/tmp/adb_bridge\n[ 77%] /data/local/tmp/adb_bridge\n[ 79%] /data/local/tmp/adb_bridge\n[ 80%] /data/local/tmp/adb_bridge\n[ 82%] /data/local/tmp/adb_bridge\n[ 84%] /data/local/tmp/adb_bridge\n[ 85%] /data/local/tmp/adb_bridge\n[ 87%] /data/local/tmp/adb_bridge\n[ 89%] /data/local/tmp/adb_bridge\n[ 90%] /data/local/tmp/adb_bridge\n[ 92%] /data/local/tmp/adb_bridge\n[ 94%] /data/local/tmp/adb_bridge\n[ 95%] /data/local/tmp/adb_bridge\n[ 97%] /data/local/tmp/adb_bridge\n[ 99%] /data/local/tmp/adb_bridge\n[100%] /data/local/tmp/adb_bridge\n/root/QCSuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 33.8 MB/s (3897824 bytes in 0.110s)\n'
[>] Running adb command: /usr/bin/adb exec-out "su -c \"killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge\""
[<] Obtained result for running "/usr/bin/adb exec-out "su -c \"killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge\""": b'killall: adb_bridge: No such process\r\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x01\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 75: b'\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\t\x00\x00 \x04\x00\x00\x00\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8a\x03\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 418: b'\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 422: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x94\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 305: b'\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 309: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 147: b'\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 151: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 175: b'\x00\x00\x00\x03\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 179: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 129: b'\x00\x00\x00\x03\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 133: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 335: b'\x00\x00\x00\x03\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 339: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\xff\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 79: b'\x00\x00\x00\x03\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 83: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

I don't know if my operation error caused me to smell any traffic packets. Or is this a Bug?

How to communicate with /dev/diag manually?

Hi all,

I want to understand the internals of the diag protocol practically so I'm trying to manually send and receive commands to the /dev/diag interface I've recreated the following steps but don't know how to proceed further.

/usr/bin/adb exec-out id

/usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?"

/usr/bin/adb exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"

/usr/bin/adb exec-out "test -r /dev"

/usr/bin/adb exec-out "echo DEV_NOT_READABLE=$?"

/usr/bin/adb exec-out "su -c id"

/usr/bin/adb exec-out "su -c "test -e /dev/diag""

/usr/bin/adb exec-out "su -c \"test -e /dev/diag; echo DIAG_NOT_EXISTS=$?\""

/usr/bin/adb push /home/..../QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp

/usr/bin/adb exec-out "su -c \"killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge\""

adb shell "su -c /data/local/tmp/adb_bridge"

After these steps, I receive the following prompt...

Connection to Diag established

and it waits for my input but I don't know what input should I provide for further communication.

How should I proceed further?
@p1-martin

Note: I'm not forwarding the messages over TCP port 43555 here as I want to see the raw message output on my terminal over the ADB shell I've spawned and analyze what messages are being executed.

Not working on HTC one M8

Greetings,
I have problem with HTC One M8.
I am re-posting my problem.
Last week, When I tried, I at least, wireshark started automatically and no packets captured. At that time, I got the following error on the cosole.
Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
Today I had updated with the new QCSuper. When I start qcsuper.py, wireshark is not being started and getting stuck.

Additional information and output of the following commands.
adb shell su -c "stat /dev/diag"
File: `/dev/diag'
Size: 0 Blocks: 0 IO Blocks: 4096 character device
Device: bh Inode: 6894 Links: 1
Access: (660/crw-rw----) Uid: (1001/ radio) Gid: (3009/ radio)
Access: 2019-07-16 11:11:44.850000000
Modify: 2019-07-16 11:11:44.850000000
Change: 2019-07-16 11:11:49.010000001

adb version
Android Debug Bridge Daemon version 1.0.32 0cd298a64b51-android

Can you please help or please let me know if you need more information to get it running.
Thanks in advance.

not working with S10+ and Oneplus 7pro

I have oneplus7pro , rooted . QCsuper is giving following output.

root@ubuntu:/home/user1/Desktop/QCSuper-master# lsusb
Bus 001 Device 008: ID 2a70:4ee7
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@ubuntu:/home/user1/Desktop/QCSuper-master#

root@ubuntu:/home/user1/Desktop/QCSuper-master# python3 ./qcsuper.py --adb --wireshark-live
ioctl: Invalid argument
The connection to the adb bridge was closed, or preempted by another QCSuper instance

root@ubuntu:/home/user1/Desktop/QCSuper-master# python3 ./qcsuper.py --adb --wireshark-live -v
[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: /usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0\r\n'
[>] Running adb command: /usr/bin/adb exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""
[<] Obtained result for running "/usr/bin/adb exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""": b'DIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: /usr/bin/adb push /home/user1/Desktop/QCSuper-master/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /home/user1/Desktop/QCSuper-master/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/user1/Desktop/QCSuper-master/inputs/adb_bridge/adb_bridge: 1 file pushed. 0.9 MB/s (11636 bytes in 0.013s)\n'
[>] Running adb command: /usr/bin/adb exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""
[<] Obtained result for running "/usr/bin/adb exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""": b'killall: adb_bridge: No such process\r\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
ioctl: Invalid argument
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'

The connection to the adb bridge was closed, or preempted by another QCSuper instance
root@ubuntu:/home/user1/Desktop/QCSuper-master#

Please advice.

QCSuper not writing pcap file or displaying on wireshark

I am running QCSuper on a rooted Sony Experia XZ Premium (which runs mobile insight fine).

When running in verbose mode I see data being returned by its not being written to pcap file. I've also tried with wireshark but no packets are captured.

Trace below

\QCSuper-master>qcsuper.py --adb --pcap-dump mydump.pcap -v
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id
[<] Obtained result for running "C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out id": b"uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1026(drmrpc),1028(sdcard_r),2993(trimarea),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:shell:s0\nadb server version (41) doesn't match this client (39); killing...\r\n* daemon started successfully\r\n"
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\nDIAG_NOT_EXISTS=1\nDEV_NOT_READABLE=1\nuid=0(root) gid=0(root) groups=0(root) context=u:r:supersu:s0\r\n'
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""
[<] Obtained result for running "C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""": b'DIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe push C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\r\nC:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\adb_bridge/adb_bridge: 1 file pushed. 2.8 MB/s (11636 bytes in 0.004s)\r\n'
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""
[<] Obtained result for running "C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""": b'killall: adb_bridge: No such process\r\n'
[>] Running adb command: C:\BC-code\WimTech\qcsuper\QCSuper-master\inputs\external\adb/adb_windows.exe forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x01\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 75: b'\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\t\x00\x00 \x04\x00\x00\x00\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8a\x03\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 336: b'\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 340: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 305: b'\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 309: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 147: b'\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 151: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 175: b'\x00\x00\x00\x03\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 179: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 129: b'\x00\x00\x00\x03\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 133: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 80: b'\x00\x00\x00\x03\x00\x00\x00\x0b\x00\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 84: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 79: b'\x00\x00\x00\x03\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 83: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

[<] Received response 152 of length 57: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00.\x00.\x00/Av^{{kr\xed\x00\x06+\x1e\x00BU\x93M \x96U\xa7_B|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response 152 of length 57: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00.\x00.\x00/A\xb6:{}kr\xed\x00\x06+\x1e\x00BU\x93M \x96U\xa7_B|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xdcp\xa8\xaekr\xed\x00\x84(\x1f\x00=\t\x01\xcd\xa4\xbc\x0e\xd2\x86T\x86E\xab{\x8a\x19R\x19~\x9fo(eHd\xfa\x83\xc0\xa1\x95!\x96\xce'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xdeT\xb8\xaekr\xed\x00\x84(\x1f\x00=\t\x01\xcd\xc4\xbd\xc4\xa1\x95!\x90\n\xe3"\x86T\x86H\xa7\xec\xca\x19R\x19X\xa0\xb4(eHd\x8a\xb6\xd5'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xe0T\xc8\xaekr\xed\x00\x84(\x1f\x00=
\t\x01\xcd\xe6\xbee(eHe\xd2\xb8\xd8\xa1\x95!\x94\x8a\xd4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xe2P\xd8\xaekr\xed\x00\x84(\x1f\x00=\t\x01\xce\x0e \x7fq\x95@D\xae!\xc1B!\x85\x84I\xc4\x820 8\xb8\x14\x00\x00\x00\x00\x00\x00\x00\x03'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xe4P\xe8\xaekr\xed\x00\x84(\x1f\x00=
\t\x01\xce."\x17\x00\x00\x10\x1c|\x19m\xfd\x82\x16\xd6@F\x06\x1cA\x95\xff\xff\xf5a\x10\x00\x00\x00\x00\x03'
[<] Received response 152 of length 46: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00#\x00#\x00/A\xe4\x04\xeb\xaekr\xed\x00\x00\x00\x13\x009>\xe6\xa6\xb1eP\x10\x06X\x10\xe04\xa0Z\xb6\x8b\xbe\xd0'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\xe6X\xf8\xaekr\xed\x00\x84(\x1f\x00=\t\x01\xce@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01'
[<] Received response 152 of length 134: b"\x01\x00\x00\x02\x00\x00\x00\x10\x00{\x00{\x00/A\xf50t\xafkr\xed\x00\x02\x00k\x009>\xe6\xa6\xb1eP\x10\x06Y\xf0\x08\x19\x81\x97s\xa5\x80\xf0\x00\xf9\x89\x07'\xc1\x08\xf8e\x08\x00\t\x03\x0f\xe8\xa1d\xcc\x02\x14\x84\xc7'\xc5\x08\xf8\xe5\x18\x00\t\x14''\xc9(\xf9e(\x00)$''\xcd(\xf9\xe58\x00)2\x00\x00\xc0\xf1\xa1\x9e\x03\xe0\t\x00\x88\xec\xda\xc1>\xbf\\xa8'\xe0-\x0f\xe8a?\n\x19Z\xb3\xc0\x88H\x02p)\xa0\x00"
[<] Received response 152 of length 76: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00A\x00A\x00/A\xf54\xa3\xafkr\xed\x00\x01\x021\x00J\x88\x00\n \x00\x052\xaa\xd5\x06\xa5V\xa8\x8ah\x83\x04\x08\x00\x18\x00\x11\x026x;;\x1a\x81&\x97\xd4_\x92,\xd6H\xc2\xb8\x1f\x01@\n\x84\x80\x00\x11\x80'
[<] Received log 0x713a of length 18: b'\x01\r\x00\x00\x00\x05$\x01\x03WX\xa6\x05\xf4>\xe6\xa6\xb1'
[<] Received response 152 of length 48: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00%\x00%\x00/A\xf6\x80\xa6\xafkr\xed\x00\x01\x03\x15\x00\x15\x03\x9a\x00) \x08\x1a\xba\xc50/\xa1\xf755\x8a\x00\x05\x00' [<] Received response 152 of length 174: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\xa3\x00\xa3\x00/A\x10\xa0t\xb0kr\xed\x00\x03\x02\x93\x00"N \x01n\x0f\xc0\x14&\x86(\xa0tQE\x04\xa3\x8a(E$QB\xa9b\x89\xb1M\x14M\x9ax\xa2mTE\x16\x8e\xa6(\x8f\xb5QD\xdb\xab\x8a!-dQ\x08\xebb\x88\xef]\x14KZ\xf8\xa22XE\x12>\xc6(\x91\xd6QD\x8d\xb3\x8a!\xd5\xa4QR\xedb\x8a\x95m\x14T\x1bx\xa2N\xdcE\x13\x92\xe6(\x9cwQD\xe2\xbb\x8a#\xad\xe4Qx\xafb\x88)}\x14A;\xf8\xa2<\xd3\x11aab\x90C\x01J\x16\xf6 \xc0\x06\x02\x93\x961\xec\xc8\xc5U\x0c\x11\x80\x90' [<] Received response 152 of length 106: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00_\x00_\x00/A\x18\x9c\xb4\xb0kr\xed\x00\x03\x03O\x00\x14\x80\x96\nd\x86G \x00\xa8\x00\xca\x00\xd8\x00\xd6\x00\xde\x00\xda\x00Z\x00\xa6\x00\xe8\x00\xc2\x00\xf2\x00\x90\x00\xde\x00\xda\x00\xca\x00\xa6\x00\x82\x8aG \x00\xa8\x00\xca\x00\xd8\x00\xd6\x00\xde\x00\xda\x00Z\x00\xa6\x00\xe8\x00\xc2\x00\xf2\x00\x90\x00\xde\x00\xda\x00\xca\x00\xa6\x00\x82' [<] Received log 0x713a of length 81: b'\x00L\x00\x00\x00\x052C#\x90\x00T\x00e\x00l\x00k\x00o\x00m\x00-\x00S\x00t\x00a\x00y\x00H\x00o\x00m\x00e\x00S\x00AE#\x90\x00T\x00e\x00l\x00k\x00o\x00m\x00-\x00S\x00t\x00a\x00y\x00H\x00o\x00m\x00e\x00S\x00A' [<] Received response 152 of length 52: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00)\x00)\x00/A!\xa0\xfc\xb0kr\xed\x00\x03\x02\x19\x00\xe4\xa0\xeb\xc8\x0c\r\x80\x01\x80\x01(\xc0\x00\x01\x00\xc1\x00(\xc0\x02\xe6u\x83)\x00' [<] Received response 152 of length 45: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00"\x00"\x00/A!\x94\xfd\xb0kr\xed\x00\x01\x02\x12\x00\xd3\x9d[\xc0\r7\x00\x00\x01\x80\x00\x02\x01\x02\x00!\x80\x00' [<] Received log 0x713a of length 35: b'\x01\x1e\x00\x00\x00\x03E\x04\x07\x08\x04\x02\x00\x05\x81^\x03\x81\x81\xf0\x15\x02\x01\x00@\x08\x04\x02\x04\x00\x02\x1f\x02' [<] Received response 152 of length 65: b'\x01\x00\x00\x02\x00\x00\x00\x10\x006\x006\x00/A) >\xb1kr\xed\x00\x01\x03&\x00\xc9\x0c\xba\x92\x8e\xc0\x0e\x81\xa2\x82\x03\xb0\x04\x02\x01\x00\x02\xc0\xaf\x01\xc0\xc0\xf8\n\x81\x00\x80 \x04\x02\x010\x02\x00\x01\x0f\x81\x00' [<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/A<\xa4\xd4\xb1kr\xed\x00\x03\x03\n\x00\xb1x\x80T\x89@\x000@'
[<] Received log 0x713a of length 7: b'\x00\x02\x00\x00\x00\x83\x02'
[<] Received response 152 of length 215: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\xcc\x00\xcc\x00/Ao<m\xb3kr\xed\x00\x03\x02\xbc\x00\xaf\x98\xad\xc6\x13\xaf\xc0\x81\n-\x03\x18#\x01\x80@&!\x19\x100\x01\x00\xb2\x0c\x01X\x024\x83\x00\x96\x01\x08\x81\xc3\xfa(Y3\x00\x85!\xb1\x05\x87\xf4P\xb2f\x01\nCb\x0f\x0f\xe8\xa1d\xcc\x02\x14\x86\xc4\x08\x05\x80\x1e\xd0C\xe6Xg\xcc\x0f\xe9\xa1\xdf\\+\xc6|\x81 \x11\x1d\x9b\x00"\x00\x00\x818\x10Q\x028\x84\x04@3\x84G\x02\x01\x08\x03\xc0\x88\xa8\x02\xa1\x81\x00\x08 \x1e\x16\x1d\x8f\x07\xa4BYH\xee9\xf5\xfa\xe0\x01(\x00\x04\t\xc0\x81P\x107\x02\x07\xa0AD\x08\xe2\x14\x80 \x90g\x00\x06\xa0@\xfc\x08+\x81\x06p#\x81\x00HR\x8bC\xfa\x18O\xc0C+\x10T$\x018\x14\xd0\x01\x96\xdf\xd8'
[<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/A\x8b\x8cP\xb4kr\xed\x00\x01\x02\n\x00\xea1M\x86\x13\xcc \x00U\x00'
[<] Received response 152 of length 47: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00$\x00$\x00/A\xa4\xb8\x14\xb5kr\xed\x00\x03\x02\x14\x00\xb5K\xe3-\x1a,\xe2\x048\x030\x00e\xb4\x00\xd9Z\x80M@'
[<] Received response 152 of length 47: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00$\x00$\x00/A\xa8\xa44\xb5kr\xed\x00\x03\x02\x14\x00\xcavN\xad\xa24\xe2\x088\x034\x00e\x87\x80\xd9D\x80M@'
[<] Received response 152 of length 43: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00 \x00 \x00/A\xac\x98T\xb5kr\xed\x00\x03\x02\x10\x00\x97+\xbf\x8c\xaa<\xe2\x10\x06\xccA\x81\x81\x9a^\xc0'
[<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/A\xb0\x98t\xb5kr\xed\x00\x03\x02\n\x00\xc7\x8c{\xa72%\xe2\x14\xb4\xa6'
[<] Received response 152 of length 59: b'\x01\x00\x00\x02\x00\x00\x00\x10\x000\x000\x00/A\xbc\x9c\xd4\xb5kr\xed\x00\x03\x03 \x00\xd7\x08\x12\xd1\x11H\x02\xf0#\x82\x14!\xc0@ \x00@"\x06\x00\xd0 %\x10\x80 \xe3\xc0]Q\x00' [<] Received log 0x713a of length 29: b'\x00\x18\x00\x00\x00\x83\x01\x1c\x10\xa1\x0e\x02\x01\x00\x02\x01\x100\x06\x81\x01(\x84\x01\x07\x1e\x02\xea\x88' [<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/A\xcc\x9cT\xb6kr\xed\x00\x03\x03\n\x00\xa66!\x99\x19L\x000\xe0'
[<] Received log 0x713a of length 7: b'\x00\x02\x00\x00\x00\x83\x07'
[<] Received log 0x713a of length 7: b'\x01\x02\x00\x00\x00\x03\x8f'
[<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/A\xccPV\xb6kr\xed\x00\x01\x03\n\x00\x94n\w\x96\xc0\x00\x81\xc7\x80'
[<] Received response 152 of length 35: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x18\x00\x18\x00/A%L \xb9kr\xed\x00\x01\x02\x08\x00\xe8\xc6\xc9d\x1a\x04%@'
[<] Received response 152 of length 35: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x18\x00\x18\x00/A)\x10?\xb9kr\xed\x00\x01\x02\x08\x00\xbf=\x1b}\xa2\x04E@'
[<] Received log 0x713a of length 10: b'\x01\x05\x00\x00\x00\x03\xe5\x02\xe0\x90'
[<] Received response 152 of length 40: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1d\x00\x1d\x00/A:\x90\xc9\xb9kr\xed\x00\x01\x03\r\x00\x826A\x02\x1e\xc0\x02\x01\xf2\x81pH\x00'
[<] Received response 152 of length 41: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1e\x00\x1e\x00/AP\xa8t\xbakr\xed\x00\x03\x03\x0e\x00\xd2\x9b\xfe\xb9!@\x00\xb0e\xa1\x00\\x12\x00'
[<] Received log 0x713a of length 11: b'\x00\x06\x00\x00\x00\x83-\x08\x02\xe0\x90'
[<] Received log 0x713a of length 7: b'\x01\x02\x00\x00\x00\x03
'
[<] Received response 152 of length 37: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x1a\x00\x1a\x00/AP\v\xbakr\xed\x00\x01\x03\n\x00\xd4\xa1\xc5\x92\xa6\xc0\x00\x81\x95\x00'
[<] Received response 152 of length 34: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x17\x00\x17\x00/Ap\xb0t\xbbkr\xed\x00\x03\x01\x07\x00\xe2\x19f2\x8b\xe9\x00'
[<] Received response 152 of length 33: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x16\x00\x16\x00/Ap\xa0v\xbbkr\xed\x00\x01\x01\x06\x00\xc8\xf0\n\xa3\x8cD'
[<] Received response 152 of length 33: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\x16\x00\x16\x00/At\x1c\x97\xbbkr\xed\x00\x01\x01\x06\x00\xa2A\xeeF\x14D'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\x8c^(\xbckr\xed\x00\x84(\x1f\x00=\t\x01\xe8\xa6Q\x8bD3\x00\x0f\x10\xc0-\xb64\x00\x86\x11(\x16F\x10\xbd\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\x8eZ8\xbckr\xed\x00\x84(\x1f\x00=
\t\x01\xe8\xce\x01\x97\xe4\x03-\x08P\t\x12\x00\x10\xd2\xe7\x97\xac\x00\x15\x89Sa\x08\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\x90ZH\xbckr\xed\x00\x84(\x1f\x00=\t\x01\xe8\xee\x1b\x8f\x848E_\xeao\x00\x10\x08\x01\x00\x80h\x04\x80!E8\x00\x00\x00\x00\x00\x00\x00\x00\x03'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\x92VX\xbckr\xed\x00\x84(\x1f\x00=
\t\x01\xe9\x0e \x7fq\x95@D\xae!\xc1B!\x85\x84I\xc4\x820 8\xb8\x14\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response 152 of length 44: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00!\x00!\x00/A\x92\xbaY\xbckr\xed\x00\xfe(\x11\x00\x00q\x95@D\xae!\xc1B!\x85\x84I\xc4\x820 '
[<] Received response 152 of length 46: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00#\x00#\x00/A\x92\xbaY\xbckr\xed\x00\xfe(\x13\x00\x1b\x848E_\xeao\x00\x10\x08\x01\x00\x80h\x04\x80!E8'
[<] Received response 152 of length 47: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00$\x00$\x00/A\x92\xbaY\xbckr\xed\x00\xfe(\x14\x00\x01\xe4\x03-\x08P\t\x12\x00\x10\xd2\xe7\x97\xac\x00\x15\x89Sa\x08'
[<] Received response 152 of length 46: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00#\x00#\x00/A\x92\xbaY\xbckr\xed\x00\xfe(\x13\x00\x03\x83-\xbf\xb0B\xda\xc8\x08\xc0\xc3\x882\xbf\xff\xfe\xac"\x00'
[<] Received response 152 of length 101: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00Z\x00Z\x00/A\x92\xbaY\xbckr\xed\x00\xfe(J\x00\x05\xa3@\x0e\x80?\xc0\xff\xff\x04\x84<\nC\x02\xa0\x06\x00\x03#|\xacW\x98A\xfc\x00\x00\x0f\xd8\xf2\x99\xc0\x00\t\x1e%\x04\x0c\x80\x00A\x10\x01\x80\x88\xb9X\x805\x84\x814@0\x04C0\x00\xf1\x0c\x02\xdbc@\x08a\x12\x81da\x0b\xd0' [<] Received response 152 of length 457: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00\xbe\x01\xbe\x01/A\x92\xbaY\xbckr\xed\x00\xfe(\xae\x01\x0b\x9a\xc0\x1e\xb4\xfc\x01BhJm@@\x88\xa6\xcc\x04\x08\xca\x81\xc0@\x90\xa8$\x04\tJ\x84@@\x98\xa8T\x04\t\xcal@@\xa0\xad\x1c\x04\nJ>\xc0@\xa8\xa6\xdc\x04\n\xca\x12\xc0@\xb0\xa1\x1c\x04KJ;\xc0@\xb8\xa5\xac\x04\x0b\xca2@C\xc0\xa4|\x04<JG@C\xc8\xa4l\x04<\xca\x1d@C\xd0\xaa\\\x04\rJ\xa5@@\xd8\xaa\x0c\x04\r\xcaN\xc0@\xe0\xa7$\x04\x0eJq\xc0@\xe8\xa7\x14\x04\x0e\xca:\xc0@\xf0\xaf\x14\x04\x0fJ\n@@\xf8/\x1d\xf8X\xb8\x0f\x94\xc0\xcdAR\xb0P\x93\x0b,e(P\xc5\xd0\xb1%d\x17S\x0cP\xcb\x1b,e(P\xc5\x0c\xb2%d\x17S\x0cF\xab+,e(P\xc5\x83\xa3C\x10\xc2\x8f\x0cX\x9bBVAu0\xc5\x89\xb4\xb2\xc6R\x85\x0c]\x9aT1D\xe9p\xc4=\xa6C\x14\xaa\x9b\x0cF{rVAu0\xc4g\xb7\xb2\xc6R\x85\x0cB{\x82VAu0\xc4\'\xb8\xb2\xc6R\x85\x0cXj\x941\x01*p\xc4\xdd\xba%d\x17S\x0cM\xdaZ\x02\x86T\x86U\xabxJ\x19R\x19\x12\xa0"(eHd\xa2}\x8c\xa1\x95!\x90\xea\xd6B\x86T\x86M+\x19J\x19R\x19\x06\xac\xe6(eHe\x12\x81\x9c\xa1\x95!\x97J\xca\x82\x86T\x86^(\x1aJ\x19R\x19(\xad*(eHe\x82\xb8\xac\xa1\x95!\x96I\xfa\xc2\x86T\x86\\\xa8;J\x19R\x19\x16\xad\xee(eHe\xfa}\xbc\xa1\x95!\x93\xea\x0f\x02\x86T\x86X\xab<J\x19R\x19\x00\xae2(eHd\x8a~\xcc\xa1\x95!\x95\x8a\x0bB\x86T\x86H\xabmJ\x19R\x19t\xae6(eHe"\xb5' [<] Received response 152 of length 57: b'\x01\x00\x00\x02\x00\x00\x00\x10\x00.\x00.\x00/A\x92\xbaY\xbckr\xed\x00\xfe(\x1e\x00\x1fE\x89\x06R\xeb\xd7\x1a%^wFJ\xb0\x0e\xe2\xa3%Z`\x92\xe3D\xad1\xd5q\xa2\x14'
[<] Received response 152 of length 62: b'\x01\x00\x00\x02\x00\x00\x00\x10\x003\x003\x00/A\x94^h\xbckr\xed\x00\x84(\x1f\x00=*\t\x01\xe9."\x17\x00\x00\x10\x1c|\x19m\xfd\x82\x16\xd6@F\x06\x1cA\x95\xff\xff\xf5a\x10\x00\x00\x00\x00\x00'

Connectivity fails with Sony Xperia Z3 (D5803)

I'm currently struggling with connecting the Sony Xperia Z3 (D5803). Do you support this device? I get the output from the tool:
# ./qcsuper.py --adb --wireshark-live
Could not find /dev/diag, does your phone have a Qualcomm chip?

problem when running on wireshark

i have problem when ruuning with ./qcsuper.py --adb --wireshark-live
on wireshark send error message:
Could not create profiles directory
"/root/.config/wireshark"

Could not open common recent file
"/root/.config/wireshark/recent_common": Permission denied.

Could not open recent file
"/root/.config/wireshark/recent": Permission denied.

You don't have permission to read the file "hosts".

You don't have permission to read the file "subnets".

You don't have permission to read the file "subnets".

You don't have permission to read the file "ss7pcs".

You don't have permission to read the file "init.lua".

Could not open recent file
"/root/.config/wireshark/recent_common": Permission denied.

Error loading table 'Display expressions': Permission denied

Error loading table 'SMI Paths': Permission denied

Error loading table 'SMI Modules': Permission denied

Error loading table 'MaxMind Database Paths': Permission denied

Error loading table 'OID Tables': Permission denied

Error loading table 'Custom BootP/DHCP Options (Excl. suboptions)': Permission denied

Error loading table 'BTMesh Network keys': Permission denied

Error loading table 'Force Decode by Channel': Permission denied

Error loading table 'Decryption Table': Permission denied

Error loading table 'Node bodytypes': Permission denied

Error loading table 'DMP Security Classifications': Permission denied

Error loading table 'DPS Security Mode Templates': Permission denied

Error loading table 'DPS Session Keys': Permission denied

Error loading table 'DPS Identity Secrets': Permission denied

Error loading table 'DTLS RSA Keylist': Permission denied

Error loading table 'Device-Specific Profiles': Permission denied

Error loading table 'NodeID-Specific Profiles': Permission denied

Error loading table 'ESS Category Attributes': Permission denied

Error loading table 'Custom HTTP Header Fields': Permission denied

Error loading table 'Custom HTTP2 Header Fields': Permission denied

Error loading table 'WEP and WPA Decryption Keys': Permission denied

Error loading table 'Static Addresses': Permission denied

Error loading table 'Keys': Permission denied

Error loading table 'Custom IMF headers': Permission denied

Error loading table 'ESP SAs': Permission denied

Error loading table 'IKEv1 Decryption Table': Permission denied

Error loading table 'IKEv2 Decryption Table': Permission denied

Error loading table 'K12 Protocols': Permission denied

Error loading table 'LBMPDM-TCP tag definitions': Permission denied

Error loading table 'LBMR tag definitions': Permission denied

Error loading table 'LBT-RM tag definitions': Permission denied

Error loading table 'LBT-RU tag definitions': Permission denied

Error loading table 'LBT-TCP tag definitions': Permission denied

Error loading table 'Custom LDAP AttributeValue types': Permission denied

Error loading table 'LoRaWAN Encryption Keys': Permission denied

Error loading table 'Static LCID -> drb Table': Permission denied

Error loading table 'Message Decoding': Permission denied

Error loading table 'Security Contexts': Permission denied

Error loading table 'PDCP UE security keys': Permission denied

Error loading table 'PRES Users Context List': Permission denied

Error loading table 'Kind-ID Table': Permission denied

Error loading table 'SCCP Users Table': Permission denied

Error loading table 'Chunk types for the statistics dialog': Permission denied

Error loading table 'Custom SIP Header Fields': Permission denied

Error loading table 'SIP authorization users': Permission denied

Error loading table 'Secret session key to use for decryption': Permission denied

Error loading table 'SNMP Users': Permission denied

Error loading table 'SNMP Enterprise Specific Trap Types': Permission denied

Error loading table 'SSL Decrypt': Permission denied

Error loading table 'RSA Keys': Permission denied

Error loading table 'XTEA Keys': Permission denied

Error loading table 'NM User Data Fields Table': Permission denied

Error loading table 'User DLTs Table': Permission denied

Error loading table 'Bitstream Channel Table': Permission denied

Error loading table 'Pre-configured Keys': Permission denied

Error loading table 'ZigBee GP Security Keys': Permission denied

Error loading table 'Display Filter Macros': Permission denied

Error loading table 'Expert Info Severity Level Configuration': Permission denied

Error loading table 'Packet Lengths': Permission denied

Can't open your preferences file "/root/.config/wireshark/preferences": Permission denied.

Could not open your disabled protocols file
"/root/.config/wireshark/disabled_protos": Permission denied.

Could not open your enabled protocols file
"/root/.config/wireshark/enabled_protos": Permission denied.

Could not open your heuristic dissectors file
"/root/.config/wireshark/heuristic_protos": Permission denied.

Could not open your capture filter file
"/root/.config/wireshark/cfilters": Permission denied.

Could not open your display filter file
"/root/.config/wireshark/dfilters": Permission denied.

Could not open filter file
"/root/.config/wireshark/colorfilters": Permission denied.

and
couldn't run /usr/bin/dumpcap in child process: permission denied

please help me

How to run QCSuper for one of the adb devices when multiple adb devices are connected

adb command with qcsuper does not accept any arguments.
When multiple devices are connected and we want to run qcsuper for one of the particular device, I am not able to do so.
Only single ADB device when connected runs perfectly fine.

Please find the output below.

root@Uecontroller-anoopk:~/darpan/QCSuper-master# adb devices
List of devices attached
ZF6222B8NJ device
ZY3223D9F4 device

root@Uecontroller-anoopk:/darpan/QCSuper-master# ./qcsuper.py adb -s ZF6222B8NJ --wireshark-live
usage: qcsuper.py [-h] [--cli] [-v]
(--adb | --usb-modem TTY_DEV | --dlf-read DLF_FILE | --json-geo-read JSON_FILE)
[--info] [--pcap-dump PCAP_FILE] [--wireshark-live]
[--memory-dump OUTPUT_DIR] [--dlf-dump DLF_FILE]
[--json-geo-dump JSON_FILE] [--decoded-sibs-dump]
[--reassemble-sibs] [--decrypt-nas] [--include-ip-traffic]
[--start MEMORY_START] [--stop MEMORY_STOP]
qcsuper.py: error: one of the arguments --adb --usb-modem --dlf-read --json-geo-read is required
root@Uecontroller-anoopk:
/darpan/QCSuper-master#

Please help.
Thanks in advance

Works with Huawei Nexus 6P (angler), but DIAG_VERNO_F is not supported

Using a rooted Nexus 6P (angler) running LineageOS 15.1 (Oreo 8.1) and a NetHunter kernel:

$ su -c './qcsuper.py --adb --wireshark-live --reassemble-sibs --decrypt-nas --include-ip-traffic'

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

Trying the --info CLI argument with verbosity:

$ su -c './qcsuper.py -v --adb --info'
[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: /usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=0\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:sudaemon:s0\r\n'
[>] Running adb command: /usr/bin/adb exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"
[<] Obtained result for running "/usr/bin/adb exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"": b'DIAG_NOT_EXISTS=0\n'
[>] Running adb command: /usr/bin/adb push /home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 2.8 MB/s (11636 bytes in 0.004s)\n'
[>] Running adb command: /usr/bin/adb exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "/usr/bin/adb exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: adb_bridge: No such process\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'

[>] Sending request DIAG_VERNO_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x00'
Error: error response received: DIAG_BAD_CMD_F with payload b'\x00', while the request was DIAG_VERNO_F with payload b''. Maybe this operation is not supported by your device.

Trying to circumvent this error:

$ sed -i 's/accept_error = False)/accept_error = True)  # DEBUG/' modules/info.py

$ su -c './qcsuper.py -v --adb --info'
[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:shell:s0\n'
[>] Running adb command: /usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=0\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:sudaemon:s0\r\n'
[>] Running adb command: /usr/bin/adb exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"
[<] Obtained result for running "/usr/bin/adb exec-out "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"": b'DIAG_NOT_EXISTS=0\n'
[>] Running adb command: /usr/bin/adb push /home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/initbrain/Outils/qcsuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 4.1 MB/s (11636 bytes in 0.003s)\n'
[>] Running adb command: /usr/bin/adb exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"
[<] Obtained result for running "/usr/bin/adb exec-out "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"": b'killall: adb_bridge: No such process\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'

[>] Sending request DIAG_VERNO_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x00'
[>] Sending request DIAG_EXT_BUILD_ID_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'|'
[>] Sending request DIAG_DIAG_VER_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 1: b'\x1c'
[>] Sending request DIAG_ESN_F of length 0: b''
[<] Received response DIAG_BAD_CMD_F of length 0: b''

$ sed -i 's/accept_error = True)  # DEBUG/accept_error = False)/' modules/info.py

Extract of raw information about the device:

$ adb shell

angler:/ $ getprop | grep -iE 'hardware|network|version|cpu|baseband|qualcomm|model|build'
[gsm.network.type]: [LTE]
[...]
[gsm.version.baseband]: [angler-03.88]
[gsm.version.ril-impl]: [Qualcomm RIL 1.0]
[...]
[ro.baseband]: [msm]
[ro.boot.baseband]: [msm]
[ro.boot.hardware]: [angler]
[...]
[ro.boot.hardware.revision]: [ANGLER-ROW-VN1]
[ro.boot.hardware.sku]: [H1512]
[ro.boot.secure_hardware]: [1]
[ro.bootimage.build.date]: [Fri Mar 22 10:41:56 UTC 2019]
[ro.bootimage.build.date.utc]: [1553251316]
[ro.bootimage.build.fingerprint]: [google/angler/angler:8.1.0/OPM7.181205.001/5080180:user/release-keys]
[ro.build.characteristics]: [nosdcard]
[ro.build.date]: [Fri Mar 22 10:41:56 UTC 2019]
[ro.build.date.utc]: [1553251316]
[ro.build.description]: [angler-user 8.1.0 OPM7.181205.001 5080180 release-keys]
[ro.build.display.id]: [lineage_angler-userdebug 8.1.0 OPM7.181205.001 51a828909b]
[ro.build.fingerprint]: [google/angler/angler:8.1.0/OPM7.181205.001/5080180:user/release-keys]
[ro.build.flavor]: [lineage_angler-userdebug]
[ro.build.host]: [lineage-runner]
[ro.build.id]: [OPM7.181205.001]
[ro.build.product]: [angler]
[ro.build.selinux]: [1]
[ro.build.tags]: [release-keys]
[ro.build.type]: [userdebug]
[ro.build.user]: [gitlab-runner]
[ro.build.version.all_codenames]: [REL]
[ro.build.version.base_os]: []
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [51a828909b]
[ro.build.version.preview_sdk]: [0]
[ro.build.version.release]: [8.1.0]
[ro.build.version.sdk]: [27]
[ro.build.version.security_patch]: [2019-03-05]
[ro.hardware]: [angler]
[ro.lineage.build.version]: [15.1]
[ro.lineage.build.version.plat.rev]: [0]
[ro.lineage.build.version.plat.sdk]: [9]
[ro.lineage.display.version]: [15.1-20190322-NIGHTLY-angler]
[ro.lineage.version]: [15.1-20190322-NIGHTLY-angler]
[ro.modversion]: [15.1-20190322-NIGHTLY-angler]
[...]
[ro.product.cpu.abi]: [arm64-v8a]
[ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: [arm64-v8a]
[ro.product.model]: [Nexus 6P]
[...]
[ro.vendor.build.date]: [Fri Oct 19 16:45:06 UTC 2018]
[ro.vendor.build.date.utc]: [1539967506]
[ro.vendor.build.fingerprint]: [google/angler/angler:8.1.0/OPM7.181205.001/5080180:user/release-keys]
[ro.vendor.product.model]: [Nexus 6P]
[...]


angler:/ $ cat /proc/cpuinfo                                                                                    
processor	: 0
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 2

processor	: 1
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 2

processor	: 2
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 2

processor	: 3
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 2

processor	: 4
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 5
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 6
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

processor	: 7
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0xd07
CPU revision	: 1

Hardware	: Qualcomm Technologies, Inc MSM8994

PS: regarding the absence of the latest security patches, this is due to the fact that it is no longer my main smartphone ;)

Anyway, I can't tell you how much I appreciate your work.
Thank you for sharing with the community <3

Ioctl Invalid argument

Thank you for creating this nice tool.

I have a OnePlus 8 Pro which exposes the diag port but when I start the program is report an error:

oot@xps:/home/dario/dev/radio/QCSuper-master# ./qcsuper.py --adb --wireshark-live
ioctl: Invalid argument

The connection to the adb bridge was closed, or preempted by another QCSuper instance

Samsung A8 star (660) ROOT ,Neo works, no captured packets

Annotation 2019-07-18 192500

./qcsuper.py --adb --wireshark-live -v

[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux exec-out id
[<] Obtained result for running "/home/het/qcsuper/inputs/external/adb/adb_linux exec-out id": b'uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:shell:s0\n'
[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/home/het/qcsuper/inputs/external/adb/adb_linux exec-out "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\nDIAG_NOT_EXISTS=0\nDEV_NOT_READABLE=0\nuid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0\r\n'
[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""
[<] Obtained result for running "/home/het/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""": b'DIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux push /home/het/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/home/het/qcsuper/inputs/external/adb/adb_linux push /home/het/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/het/qcsuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 1.0 MB/s (11636 bytes in 0.011s)\n'
[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""
[<] Obtained result for running "/home/het/qcsuper/inputs/external/adb/adb_linux exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""": b'killall: adb_bridge: No such process\r\n'
[>] Running adb command: /home/het/qcsuper/inputs/external/adb/adb_linux forward tcp:43555 tcp:43555
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 11: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_EXT_MSG_CONFIG_F of length 7: b'\x05\x01\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x01\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 75: b'\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\t\x00\x00 \x04\x00\x00\x00\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8a\x03\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 338: b'\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x11\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 342: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x11\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 305: b'\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 309: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x10\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 147: b'\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 151: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00 \x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 175: b'\x00\x00\x00\x03\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 179: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\xff\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 129: b'\x00\x00\x00\x03\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 133: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x8a\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 80: b'\x00\x00\x00\x03\x00\x00\x00\x0b\x00\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 84: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x01\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x0c0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[>] Sending request DIAG_LOG_CONFIG_F of length 79: b'\x00\x00\x00\x03\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
[<] Received response DIAG_LOG_CONFIG_F of length 83: b'\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

[+] Enabled logging for: 1X (1), WCDMA (4), GSM (5), UMTS (7), DTV (10), APPS/LTE/WIMAX (11), TDSCDMA (13)

Issue while trying to use One plus 8

Hello
I am facing issues while trying to connect a Qualcomm phone. the phone is rooted. when I run the command in window 10 I see follwoing.

C:\Users\test\OneDrive - \Downloads\platform-tools_r30.0.3-windows\platform-tools>qcsuper.py --adb --wireshark-live
ioctl: Invalid argument
Traceback (most recent call last):
File "C:\Users\test\OneDrive - \Downloads\platform-tools_r30.0.3-windows\platform-tools\inputs_base_input.py", line 156, in _read_thread
self.read_loop()
File "C:\Users\test\OneDrive - \Downloads\platform-tools_r30.0.3-windows\platform-tools\inputs\adb.py", line 292, in read_loop
socket_read = self.socket.recv(1024 * 1024 * 10)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

On Pixel 3, get "The connection to the adb bridge was closed, or preempted by another QCSuper instance"

When I run with a rooted Pixel 3 attached (running AOSP master), I get:

./qcsuper.py --adb --pcap-dump outputfile
43555
ioctl: Invalid argument

The connection to the adb bridge was closed, or preempted by another QCSuper instance

When I run strace /data/local/tmp/adb_bridge on the device, here's the last lines:

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xeb8d1000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0xeb8d1000, 4096, "atexit handlers") = 0
mprotect(0xeb8d1000, 4096, PROT_READ) = 0
munmap(0xeb776000, 409600) = 0
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
openat(AT_FDCWD, "/dev/properties/u:object_r:vendor_socket_hook_prop:s0", O_RDONLY|O_LARGEFILE|O_NOFOLLOW|O_CLOEXEC) = 3
fstat64(3, 0xffef2e40) = 0
mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0xeb7ba000
close(3) = 0
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
futex(0xeb2d6080, FUTEX_WAKE_PRIVATE, 2147483647) = 0
mprotect(0xeb8e1000, 409600, PROT_READ) = 0
mprotect(0xeb9c1000, 409600, PROT_READ) = 0
mprotect(0xeb83e000, 409600, PROT_READ) = 0
mprotect(0xeb7da000, 409600, PROT_READ) = 0
mprotect(0xeb8d1000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xeb8d1000, 4096, PROT_READ) = 0
mmap2(NULL, 10498048, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xea584000
mmap2(0xea585000, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xea585000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0xea585000, 10489856, "scudo:secondary") = 0
openat(AT_FDCWD, "/dev/diag", O_RDWR|O_LARGEFILE) = 3
ioctl(3, _IOC(_IOC_NONE, 0, 0x20, 0), 0xb439f08c) = 1
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0x2) = -1 EFAULT (Bad address)
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0xb4395520) = -1 EINVAL (Invalid argument)
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0xb439552c) = -1 EINVAL (Invalid argument)
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0xffef47c0) = -1 EINVAL (Invalid argument)
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0x2) = -1 EFAULT (Bad address)
ioctl(3, _IOC(_IOC_NONE, 0, 0x7, 0), 0xffef47c0) = -1 EINVAL (Invalid argument)
write(2, "ioctl: Invalid argument\n", 24ioctl: Invalid argument
) = 24
mprotect(0xeb8d1000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xeb8d1000, 4096, PROT_READ) = 0
mprotect(0xeb8d1000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xeb8d1000, 4096, PROT_READ) = 0
exit_group(1) = ?
+++ exited with 1 +++

I'm at this commit:

commit 4a9fa934e9a564c09b5fddfe2b36a42b02e750c9 (HEAD -> master, origin/master, origin/HEAD)
Merge: ff44913 0ce0e27
Author: Marin <[email protected]>
Date:   Wed Dec 18 19:38:45 2019 +0100

    Merge branch 'master' of https://github.com/P1sec/QCSuper

No capture in Wireshark

I'm using the command /.qcsuper.py --adb --wireshark-live. The terminal shows "ioctl: Invalid argument" and "The connection to the adb bridge was closed, or preempted by another QCsuper instance". The Wireshark runs and closed immediately without capturing any data. The same problem happens when I'm trying to dump the packets to .pcap. May I know the reason for the same?

Manually listening to radio packets in wireshark

Hi all,

Thanks to P1sec for writing this tool.

After enabling the --Wireshark-live option If I close the Wireshark that is spawned by the QCsuper tool and try to listen to the loopback interface manually I only see TCP packets which do not have any LTE/GSM signalling messages, what interface is the DIAG traffic forwarded too?

Is it loopback or something else?

If it is loopback why am I not able to see any signalling messages?

AFAIK after hitting usr/bin/adb forward tcp:43555 tcp:43555 I should see signalling messages even if I manually listen on port 43555 using Wireshark and tshark but that is not happening in this case, what am I missing?

Also, can I implement the same using C language?

Regards.

Problem with HTC One V

Hello again developers.
I tried to connect with a rooted HTC One V. After executing the ./qcsuper.py --adb --wireshark-live --info -v command, I get the following results

[>] Running adb command: /usr/bin/adb exec-out id
[<] Obtained result for running "/usr/bin/adb exec-out id": b'error: closed\n'
[>] Running adb command: /usr/bin/adb shell "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"
[<] Obtained result for running "/usr/bin/adb shell "test -w /dev/diag; echo DIAG_NOT_WRITEABLE=$?; test -e /dev/diag; echo DIAG_NOT_EXISTS=$?; test -r /dev; echo DEV_NOT_READABLE=$?; su -c id"": b'DIAG_NOT_WRITEABLE=1\r\nDIAG_NOT_EXISTS=0\r\nDEV_NOT_READABLE=0\r\nuid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)\r\n'
[>] Running adb command: /usr/bin/adb shell "su -c \"test -e /dev/diag; echo DIAG_NOT_EXISTS=$?\""
[<] Obtained result for running "/usr/bin/adb shell "su -c \"test -e /dev/diag; echo DIAG_NOT_EXISTS=$?\""": b'DIAG_NOT_EXISTS=0\r\n'
[>] Running adb command: /usr/bin/adb push /home/evgenia/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp
[<] Obtained result for running "/usr/bin/adb push /home/evgenia/qcsuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/evgenia/qcsuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 0.2 MB/s (11636 bytes in 0.054s)\n'
[>] Running adb command: /usr/bin/adb shell "su -c \"killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge\""
[<] Obtained result for running "/usr/bin/adb shell "su -c \"killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge\""": b'sh: killall: not found\r\n'
[>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555
Segmentation fault 
[>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00'

The connection to the adb bridge was closed, or preempted by another QCSuper instance

Wireshark pops up but I get the No packets captured message.

Also executing adb exec-out su -c /data/local/tmp/adb_bridge returns error: closed

Trying to work on ZTE MF79S 4G

Hi guys!
I've been trying to run QCSuper on a 4g ZTE MF79S dongle, but so far unsucessfully.
What i've done:

  1. Mount command to find out the /dev directory of the dongle

This gives me the following result: /dev/sr1 on /media/root/ZTEMODEM type iso9660 (ro,nosuid,nodev,relatime,norock,check=r,map=n,blocksize=2048,uid=0,gid=0,dmode=500,fmode=400,uhelper=udisks2)

  1. I'm trying to run QCSuper with the following command:
    ./qcsuper.py --usb-modem /dev/sr1 --wireshark-live

This gets me the following error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 323, in _reconfigure_port
orig_attr = termios.tcgetattr(self.fd)
termios.error: (22, 'Invalid argument')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./qcsuper.py", line 68, in
diag_input = UsbModemConnector(args.usb_modem)
File "/root/tsworkshop/QCSuper/inputs/usb_modem.py", line 66, in init
dsrdtr = True
File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 240, in init
self.open()
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 272, in open
self._reconfigure_port(force_update=True)
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 326, in _reconfigure_port
raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (22, 'Invalid argument')

I'm pretty sure i'm doing something wrong. Could use your help. Thanks in advance!

Adding new message types/versions

Hi

After a little bit of working with my modem module (quectel) and QCSuper (and also mobile-insight) I have found out that my modem is using message versions not supported by this program (and not the other one either).
What is the procedure of adding such messages to the program so that I could analyze them properly?
And First and foremost, where could I find out what has changed in a message with a new version?

Connecticity issue LG Nexus 5 (rooted)

When I execute the command: ./qcsuper.py --adb --wireshark-live
I get the following result: Could not find /dev/diag, does your phone have a Qualcomm chip?

The phone is rooted and has a Qualcomm chip but I can't get it to connect.
I have also tried executing the command: su setprop sys.usb.config diag,adb to get the phone in diag mode, but I am not sure it works.

When run with --info, script crashes out when trying to parse version_strings

Hello,
Thanks again for your work on this. I suspect this is a relatively easy fix, I might even take a whack at in when I have time though python is not really my thing. The USB modem is a sierra wireless MC7455 module. When the script is run with --info on this device it returns the following output:

./qcsuper.py --info --usb-modem /dev/ttyUSB0

[+] Compilation date:    Jul 24 2018 18:20:25
[+] Release date:        May 02 2018 05:00:00
[+] Version directory:   C2300300

[+] Common air interface information: 
[+]   Station classmark: 58
[+]   Common air interface revision: 6
[+]   Mobile model:      255
[+]   Mobile firmware revision: 100
[+]   Slot cycle index:  2
[+]   Hardware revision: 0x922 (9.34)

Traceback (most recent call last):
  File "/home/pi/qcsuper/inputs/_base_input.py", line 218, in _init_single_module
    module.on_init()
  File "/home/pi/qcsuper/modules/info.py", line 88, in on_init
    build_id, model_string, _ = ver_strings.split(b'\x00')
ValueError: too many values to unpack (expected 3)

This seems to be incomplete, it looks like it's getting something within the version string that it does not expect.

If I can be of more help gathering further info on this to help improve the script please let me know.

Thanks!

[Issue] Pcap dump / Xiaomi Mi Note 3 / Fail to detect current RAT

Context

Xiaomi Mi Note 3 (Qualcomm Snapdragon 660), connected on 3G network for CS (CS fallback) and 4G for PS.
Only one SIM activated.

[+] Compilation date:    Mar 22 2019 19:44:52
[+] Release date:        Dec 19 2018 07:00:00
[+] Version directory:   sdm660.g

[+] Common air interface information:
[+]   Station classmark: 58
[+]   Common air interface revision: 9
[+]   Mobile model:      255
[+]   Mobile firmware revision: 100
[+]   Slot cycle index:  48
[+]   Hardware revision: 0x08c (0.140)

[+] Mobile model ID:     0x1012
[+] Chip version:        0
[+] Firmware build ID:   MPSS.AT.3.1.c7-00023-SDM660_GEN_PACK-1

[+] Diag version:        8

Issue

On running "PCAP dump" or "Wireshark-Live" on QCsuper, no PCAP traffic is generated despite I can see some "Diag" response from the debug logs when I initiate a call.

  • python qcsuper.py --adb -v --wireshark-live --reassemble-sibs --decrypt-nas --include-ip-traffic
  • python qcsuper.py --adb -v --pcap-dump ran.pcap

I've made some investigations and discovered that:

  • I'm receiving some "Diag" logs of type LOG_UMTS_NAS_OTA_MESSAGE_LOG_PACKET_C and enter in the following condition:
    elif log_type == LOG_UMTS_NAS_OTA_MESSAGE_LOG_PACKET_C: # 0x713a - 2G/3G DTAP from NAS
    if self.current_rat != '2g': # Not needed in 3G, where this is already embedded in RRC
    return

But:

  • The attribute current_rat value is None
  • By ignoring the return statement (I'm connected in 3G and not in 2g), QCSuper is able to properly decode the received packets and thus I'm able to generate some PCAP traces.

Oneplus 3 adb_bridge not working

Hi,
I can't get this to work on one plus 3 android 8.1 oreo. Looks like it has some issues with the adb_bridge arm executable. I'm getting ioctl: Invalid argument when I try to run the binary on the phone. I'm including the relevant section of the strace bellow and I'm happy to help you to with figuring this issue out.

openat(AT_FDCWD, "/dev/diag", O_RDWR|O_LARGEFILE) = 3
ioctl(3, _IOC(0, 0, 0x20, 0), 0xaaab5088) = 1
ioctl(3, _IOC(0, 0, 0x7, 0), 0x2)       = -1 EFAULT (Bad address)
ioctl(3, _IOC(0, 0, 0x7, 0), 0xaaaab3a4) = -1 EINVAL (Invalid argument)
writev(2, [{iov_base="ioctl", iov_len=5}, {iov_base=": ", iov_len=2}, {iov_base="Invalid argument", iov_len=16}, {iov_base="\n", iov_len=1}], 4ioctl: Invalid argument
) = 24
mprotect(0xf75f6000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xf75f6000, 4096, PROT_READ)   = 0
mprotect(0xf75f6000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xf75f6000, 4096, PROT_READ)   = 0
munmap(0xf75f6000, 4096)                = 0
exit_group(1)                           = ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.