Open Drizzt321 opened 3 months ago
Thanks @Drizzt321, this is very interesting!
It looks like the initial root-access setup works fine (the certificate has been injected successfully) but the subsequent step to install the HTTP Toolkit Android app via ADB is failing.
Seemingly because there's an unexpected EOF error - it's unclear whether that means the APK file itself is incomplete, or the connection is being interrupted as it's being transferred. And then after that, ADB becomes unresponsive (and HTTP Toolkit tries to restart it, but fails because it can't see an adb
binary in PATH).
I'm not sure exactly what's going on here. Is there anything particularly unusual about this device? Does this happen the same way every time?
One way to test this further would be to do the failing step manually: download the APK from https://github.com/httptoolkit/httptoolkit-android/releases, and then install it on the device via ADB. If you can do that successfully, HTTP Toolkit should just work afterwards (since it won't need to install anything), and if that fails then at least you'll see more info about what's not working here.
I'm trying to intercept/use HTTP Toolkit for Android 14 3rd party app HTTPS traffic sniffing. Obviously the CA Cert issue is...annoying. In searching found HTTP Toolkit, which seemed like the answer to my prayers. Unfortunately, I'm getting errors trying to get it connected.
I'm running on a Pixel 7a, running LineageOS 21 (Android 14), Rooted with Magisk, without Chrowme or what not, and getting the below errors when trying to start the Android ADB interception. I do see on the screen saying
Shell granted Superuser
, momentarily, so I know it's getting to root fine.It looks like something it's trying to do is causing ADB Debug to disconnect, because after this,
./adb devices
shows nothing. If I restart the ADB server, I see the device listed asoffline
. If I unplug and re-plug, after restating the ADB server (viasudo ./adb start-server
), I see the device again.Since HTTP Toolkit is running as my user, it looks like whatever it's doing is causing an ADB Debug issue, and might be killing the ADB server (sometimes), it tries to restart ADB server. And since there's apparently there's udev permissions issues for my Linux install (Debian/Testing) with ADB server and
usb_libusb
, when I try and start it up myself via unzipped platform-tools, things error out completely.