QCSuper
QCSuper copied to clipboard
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.
Hello,
Thanks for your interest in QCSuper. Could you please run the following command:
./qcsuper.py --adb --wireshark-live -v
including the -v
flag, and paste the output in this ticket?
Thanks!
Thank you very much for your support. I tried now on Kali Linux with the latest version of the QCSuper. I could see the wireshark but no packets captured. Wireshark output is same as shown in screenshot attached in Issue #6. Here is the output as requested.
..../Downloads/QCSuper# ./qcsuper.py --adb --wireshark-live -v [>] Running adb command: /home/hacker/Downloads/QCSuper/inputs/external/adb/adb_linux exec-out id [<] Obtained result for running "/home/hacker/Downloads/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) context=u:r:shell:s0\n' [>] Running adb command: /home/hacker/Downloads/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/hacker/Downloads/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) groups=0(root) context=u:r:init:s0\n' [>] Running adb command: /home/hacker/Downloads/QCSuper/inputs/external/adb/adb_linux exec-out "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"" [<] Obtained result for running "/home/hacker/Downloads/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/hacker/Downloads/QCSuper/inputs/external/adb/adb_linux push /home/hacker/Downloads/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp [<] Obtained result for running "/home/hacker/Downloads/QCSuper/inputs/external/adb/adb_linux push /home/hacker/Downloads/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/home/hacker/Downloads/QCSuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 0.5 MB/s (11636 bytes in 0.023s)\n' [>] Running adb command: /home/hacker/Downloads/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/hacker/Downloads/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' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
On the Wireshark
Hello Here is the screen shot
Hello p1-mmr, I did not hear from you. Do you need any more information, please let me know ?
Best Regards
Wow, same problem here. M8 too :)
root@kali:~/QCSuper# ./qcsuper.py --adb --cli -v [>] Running adb command: /root/QCSuper/inputs/external/adb/adb_linux exec-out id [<] Obtained result for running "/root/QCSuper/inputs/external/adb/adb_linux exec-out id": b'error: closed\n' [>] Running adb command: /root/QCSuper/inputs/external/adb/adb_linux 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 "/root/QCSuper/inputs/external/adb/adb_linux 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)\r\n' [>] Running adb command: /root/QCSuper/inputs/external/adb/adb_linux shell "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?"" [<] Obtained result for running "/root/QCSuper/inputs/external/adb/adb_linux shell "su -c "test -e /dev/diag; echo DIAG_NOT_EXISTS=$?""": b'DIAG_NOT_EXISTS=0\r\n' [>] Running adb command: /root/QCSuper/inputs/external/adb/adb_linux push /root/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp [<] Obtained result for running "/root/QCSuper/inputs/external/adb/adb_linux push /root/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'[100%] /data/local/tmp/adb_bridge\n/root/QCSuper/inputs/adb_bridge/adb_bridge: 1 file pushed. 0.8 MB/s (11636 bytes in 0.013s)\n' [>] Running adb command: /root/QCSuper/inputs/external/adb/adb_linux shell "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"" [<] Obtained result for running "/root/QCSuper/inputs/external/adb/adb_linux shell "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge""": b'sh: killall: not found\r\n' [>] Running adb command: /root/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' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out
I have same problem on M9 too! Anyone resolves this?
saem problem in Nexus 5 root@dushare:/opt/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'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) 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=1\nDEV_NOT_READABLE=1\nuid=0(root) gid=0(root) groups=0(root) context=u:r:init:s0\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\n' [>] Running adb command: /usr/bin/adb push /opt/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp [<] Obtained result for running "/usr/bin/adb push /opt/QCSuper/inputs/adb_bridge/adb_bridge /data/local/tmp": b'/opt/QCSuper/inputs/adb_bridge/adb_bridge: 1 file pushed, 0 skipped. 0.8 MB/s (16332 bytes in 0.020s)\n' [>] Running adb command: /usr/bin/adb exec-out "su -c "killall -q adb_bridge; chmod 755 /data/local/tmp/adb_bridge"" [>] Running adb command: /usr/bin/adb forward tcp:43555 tcp:43555 ioctl DIAG_IOCTL_DCI_REG fails, with ret val = -1 ioctl DIAG_IOCTL_DCI_REG: Bad address ioctl DIAG_IOCTL_PERIPHERAL_BUF_CONFIG fails, with ret val = -1 [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' [>] Sending request DIAG_LOG_CONFIG_F of length 7: b'\x00\x00\x00\x00\x00\x00\x00' Error: Diag request DIAG_LOG_CONFIG_F with payload b'\x00\x00\x00\x00\x00\x00\x00' timed out root@dushare:/opt/QCSuper#
same problem on Huawei Ascend G620s.