robinpaulson / SimpleRT

Simple Reverse Tethering utility for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read_usb_packet failed: Input/Output Error

fervi opened this issue · comments

commented

Phone: Samsung Galaxy Note 2
OS: Replicant 6.0

Log:
http://meshnet-users.tk/paste/p/ajwo/z.txt

It looks normally, but internet doesn't work

looks like some devices have such issue. i dont have any ideas how to fix this. can u run simplert, connect device and copy output of lsusb -vvv? thanks.

seems like i got it

https://github.com/vvviperrr/SimpleRT/blob/master/simple-rt-cli/src/adk.c#L55

change this constants to:

#define AOA_ACCESSORY_EP_IN 0x82
#define AOA_ACCESSORY_EP_OUT 0x04

recompile and try again.

btw. try first with google dns (-n param) for clearance

commented

Yep it works. Thanks.

If u can, fix something to works automatically without modify.

Thanks again

AWESOME :) Thanks for u support.

I will update the code to get this numbers from device.

commented

Ofc. it works for me. Maybe for someone else it doesn't work or something like that :P

i understand. the problem was in this params, they are hardcoded. i need to read this numbers from user device (as lsusb does) :)

i hope, this issue was fixed in 0a3ff8a46

please, check on your device, as soon as you can.

commented

Sorry, now works without mods 👍