QCSuper icon indicating copy to clipboard operation
QCSuper copied to clipboard

Disconnect fix

Open cewatkins opened this issue 5 years ago • 0 comments

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.

cewatkins avatar Jan 04 '20 06:01 cewatkins