QCSuper icon indicating copy to clipboard operation
QCSuper copied to clipboard

Not working on HTC one M8

Open spicyKo0l opened this issue 5 years ago • 8 comments

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.

spicyKo0l avatar Jul 17 '19 13:07 spicyKo0l

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!

p1-mmr avatar Jul 17 '19 17:07 p1-mmr

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

spicyKo0l avatar Jul 17 '19 19:07 spicyKo0l

Hello Here is the screen shot

image

spicyKo0l avatar Jul 19 '19 06:07 spicyKo0l

Hello p1-mmr, I did not hear from you. Do you need any more information, please let me know ?

Best Regards

spicyKo0l avatar Jul 22 '19 11:07 spicyKo0l

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

benjimons avatar Nov 21 '19 04:11 benjimons

I have same problem on M9 too! Anyone resolves this?

Al3x4n avatar Jun 19 '21 04:06 Al3x4n

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#

Mrnmap avatar Aug 29 '22 09:08 Mrnmap

same problem on Huawei Ascend G620s.

ohmg1401 avatar Nov 20 '23 16:11 ohmg1401