Hey @konobi ! Got my new phone, unfortunately it's android 4.2 and sdb over tcp works just fine without auth. Do you know if it's possible to force auth on older android?
Andrey Sidorov
@sidorares
Also when I'm trying usb I get this error:
Error: LIBUSB_ERROR_ACCESS
node-adbhost/node_modules/usb/usb.js:139
lib/usb.js:103
100 USBDevice.prototype.start = function() {¬ 101 var self = this;¬ 102 ¬ 103 self.iface.claim(); // <-- this line
konobi
@konobi
howdy
I just pushed a new version to my repo... without USB, but has auth working for tcpip
konobi
@konobi
mkay... and usb is sorta on its way now
konobi
@konobi
now the userstream stuff is where it's going a little odd
@sidorares lemme know if you've got a few mins
konobi
@konobi
k... whole bunch of updates on my fork
_
Andrey Sidorov
@sidorares
Hi! have few mins :)
konobi
@konobi
ah cool
Andrey Sidorov
@sidorares
Need to find windows machine to flash my phone to 4.4 and try your tcp auth
konobi
@konobi
heh
there's always a vm
Andrey Sidorov
@sidorares
Do you know possible reasons for my LIBUSB_ERROR_ACCESS error?
konobi
@konobi
yeah, turns out there was a bug in node-usb itself
Andrey Sidorov
@sidorares
Yeah, I can probably download vm from microsoft
konobi
@konobi
I also streamlined the mincrypt stuff, and added the 2 other dependencies
but now one can actually talk to the usb device... though that's flakey as all hell, but it's progress at least
the tcp version is working much better, but the AdbStream stuff isn't handling it all that well
i encapsulated tcp/usb in a "link" stream
so there's probably a better way to encapsulate it now
i'm going to keep going with the usb stuff, but would you fancy having a look at the stuff over tcp?
Andrey Sidorov
@sidorares
I'll try later today ( after flashing to 4.4.2 )
konobi
@konobi
cool
Andrey Sidorov
@sidorares
Do you have your new usb code in master?
konobi
@konobi
yup
Andrey Sidorov
@sidorares
cool, I'll try it now
Andrey Sidorov
@sidorares
had to manually install "bindings" - need to add to package.json
konobi
@konobi
oh... doh... forgot about that one
oh... and nan too
Andrey Sidorov
@sidorares
USBDevice.is_adb_available return undefined for me
( and result is compared with null one line down - link.js:139 )
konobi
@konobi
the device is plugged in with usb debudding enabled?