Skip to content

Instantly share code, notes, and snippets.

@testmodem
Created January 10, 2020 10:25
Show Gist options
  • Save testmodem/9be2a14d4b4715d042c010803ce514f6 to your computer and use it in GitHub Desktop.
Save testmodem/9be2a14d4b4715d042c010803ce514f6 to your computer and use it in GitHub Desktop.
QcSuper and Oneplus7 pro
root@ubuntu:/home/user1/Desktop/QCSuper-master# ./qcsuper.py --adb --cli
ioctl: Invalid argument
Traceback (most recent call last):
File "/home/user1/Desktop/QCSuper-master/inputs/_base_input.py", line 156, in _read_thread
self.read_loop()
File "/home/user1/Desktop/QCSuper-master/inputs/adb.py", line 292, in read_loop
socket_read = self.socket.recv(1024 * 1024 * 10)
ConnectionResetError: [Errno 104] Connection reset by peer
root@ubuntu:/home/user1/Desktop/QCSuper-master# ./qcsuper.py --adb --wireshark
ioctl: Invalid argument
The connection to the adb bridge was closed, or preempted by another QCSuper instance
root@ubuntu:/home/user1/Desktop/QCSuper-master#
root@ubuntu:/home/user1/Desktop/QCSuper-master# ./qcsuper.py --adb --wireshark -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.6 MB/s (11636 bytes in 0.019s)\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#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment