Verified
Status Update
Comments
jc...@magicleap.com <jc...@magicleap.com> #2
Forgot to mention running platform-tools 26.0.0. And Android "O" public beta
jc...@magicleap.com <jc...@magicleap.com> #3
Not to be "that guy" but is there any update on this? Any additional information needed?
en...@google.com <en...@google.com> #4
Project: platform/system/core
Branch: master
commit f806a3c303028014eec43894386fbfb117667684
Author: Josh Gao <jmgao@google.com>
Date: Fri Aug 18 18:25:44 2017
fastboot: gracefully handle failure to open a USB device on OS X.
High Sierra restricts opening some USB devices (e.g. the touchbar)
to processes that have specific entitlements. Ignore devices that we
can't open.
Bug:http://b/64292422
Test: manual
Change-Id: I6074b53a365b8d936610bafea60244f8bba1a33f
M fastboot/usb_osx.cpp
https://android-review.googlesource.com/461857
https://goto.google.com/android-sha1/f806a3c303028014eec43894386fbfb117667684
Branch: master
commit f806a3c303028014eec43894386fbfb117667684
Author: Josh Gao <jmgao@google.com>
Date: Fri Aug 18 18:25:44 2017
fastboot: gracefully handle failure to open a USB device on OS X.
High Sierra restricts opening some USB devices (e.g. the touchbar)
to processes that have specific entitlements. Ignore devices that we
can't open.
Bug:
Test: manual
Change-Id: I6074b53a365b8d936610bafea60244f8bba1a33f
M fastboot/usb_osx.cpp
jc...@magicleap.com <jc...@magicleap.com> #5
Since OSX 10.13 is being released the 25th of September (in 5 days as of writing), is it possible to create a new Android Platform Tools release, so the impact can be as low as possible?
jc...@magicleap.com <jc...@magicleap.com> #6
Project: platform/system/core
Branch: sdk-release
commit 73f4670f380679ba5e6081968ba7ea992edf51b9
Author: Josh Gao <jmgao@google.com>
Date: Fri Aug 18 18:25:44 2017
fastboot: gracefully handle failure to open a USB device on OS X.
High Sierra restricts opening some USB devices (e.g. the touchbar)
to processes that have specific entitlements. Ignore devices that we
can't open.
Bug:http://b/64292422
Test: manual
Change-Id: I6074b53a365b8d936610bafea60244f8bba1a33f
(cherry picked from commit f806a3c303028014eec43894386fbfb117667684)
M fastboot/usb_osx.cpp
https://android-review.googlesource.com/489920
https://goto.google.com/android-sha1/73f4670f380679ba5e6081968ba7ea992edf51b9
Branch: sdk-release
commit 73f4670f380679ba5e6081968ba7ea992edf51b9
Author: Josh Gao <jmgao@google.com>
Date: Fri Aug 18 18:25:44 2017
fastboot: gracefully handle failure to open a USB device on OS X.
High Sierra restricts opening some USB devices (e.g. the touchbar)
to processes that have specific entitlements. Ignore devices that we
can't open.
Bug:
Test: manual
Change-Id: I6074b53a365b8d936610bafea60244f8bba1a33f
(cherry picked from commit f806a3c303028014eec43894386fbfb117667684)
M fastboot/usb_osx.cpp
jc...@magicleap.com <jc...@magicleap.com> #7
Thanks for the reminder, I'm kicking off the process now.
df...@magicleap.com <df...@magicleap.com> #8
Release process is still churning along, until then I've attached the binary we're planning to release that should work on 10.13.
df...@magicleap.com <df...@magicleap.com> #10
Sweet, thanks a bunch!
sh...@google.com <sh...@google.com>
[Deleted User] <[Deleted User]> #11
I think i still have this issue
MacBookPro13,3 (late 16" touchbar)
macOS 10.13 (17A405)
fastboot version 4022467
bnaya@bmbp ~ $ fastboot --version
fastboot version -4022467
Installed as /Users/bnaya/Library/Android/sdk/platform-tools/fastboot
bnaya@bmbp ~ $ fastboot devices
ERROR: Unable to create a plug-in (e00002be)
Sudo didn't help
MacBookPro13,3 (late 16" touchbar)
macOS 10.13 (17A405)
fastboot version 4022467
bnaya@bmbp ~ $ fastboot --version
fastboot version -4022467
Installed as /Users/bnaya/Library/Android/sdk/platform-tools/fastboot
bnaya@bmbp ~ $ fastboot devices
ERROR: Unable to create a plug-in (e00002be)
Sudo didn't help
sh...@google.com <sh...@google.com> #12
More info:
when starting adb i see this message
bnaya@bmbp platform-tools $ adb devices
List of devices attached
* daemon not running. starting it now at tcp:5037 *
adb E 10-28 17:42:35 1657 37964 usb_osx.cpp:152] Unable to create an interface plug-in (e00002be)
* daemon started successfully *
LGH815*** device
when starting adb i see this message
bnaya@bmbp platform-tools $ adb devices
List of devices attached
* daemon not running. starting it now at tcp:5037 *
adb E 10-28 17:42:35 1657 37964 usb_osx.cpp:152] Unable to create an interface plug-in (e00002be)
* daemon started successfully *
LGH815*** device
sh...@google.com <sh...@google.com> #13
it not yet fix
sh...@google.com <sh...@google.com> #14
Same error message for me. MacOS 10.13, Platform-tools 26.0.2
sh...@google.com <sh...@google.com> #15
it seems the version attached in comment#8 actually works on MacOSHighSierra,
(./fastboot version 9dc0875966c0-android ) , but the one (version -4022467) included in 26.0.2 tools release, does not work (it reports the same bug)
I've just flashed fine with the provided version (9dc0875966c0).
(./fastboot version 9dc0875966c0-android ) , but the one (version -4022467) included in 26.0.2 tools release, does not work (it reports the same bug)
I've just flashed fine with the provided version (9dc0875966c0).
en...@google.com <en...@google.com> #16
jmgao: did we somehow lose this patch when we fixed the Pixel 2 support bug?
ph...@gmail.com <ph...@gmail.com> #17
Yeah, the fastboot we released was from a separate branch.
sh...@google.com <sh...@google.com> #18
Hi, I have a similar issue. I tried to download the latest platform-tools with fastboot version -4022467 but it still tells me:
ERROR: Unable to create a plug-in (e00002be)
How can I fix it?
Thanks for any help.
ERROR: Unable to create a plug-in (e00002be)
How can I fix it?
Thanks for any help.
ju...@gmail.com <ju...@gmail.com> #19
Not working here too. Am using 26.0.2 platform tools + completely updated High Sierra on MBP 2017.
ju...@gmail.com <ju...@gmail.com> #20
+1 Stil not working on new MBP running High Sierra, with fully updated platform tools 26.0.2
sh...@gmail.com <sh...@gmail.com> #21
+1 Still not working new MBP with latest sdk. This is a P1 for us
ka...@gmail.com <ka...@gmail.com> #22
Platform tools 26.0.2 is not working on High Sierra. I rollback to 26.0.1 and it is working well.
ju...@gmail.com <ju...@gmail.com> #23
Where can I find 26.0.1?
ju...@gmail.com <ju...@gmail.com> #24
SOLVED: I have downloaded the fastboot file attached in comment #8 above. Then I have replaced it in the platform-tools folder in sdk and now fastboot works again in High Sierra. I can confirm that the newer version in 26.0.2 does not work as the fixed version in comment #8 . NOTE: if the downloaded file has the .dms extension just remove it. It worked for me.
NEW PROBLEM: I think that a similar problem is in the adb because when I issue adb shell I receive the following error:
adb E 11-05 17:05:17 601 15446 usb_osx.cpp:152] Unable to create an interface plug-in (e00002be)
Different from the fastboot in platform-tools 26.0.2, adb works despite this error.
NEW PROBLEM: I think that a similar problem is in the adb because when I issue adb shell I receive the following error:
adb E 11-05 17:05:17 601 15446 usb_osx.cpp:152] Unable to create an interface plug-in (e00002be)
Different from the fastboot in platform-tools 26.0.2, adb works despite this error.
ju...@gmail.com <ju...@gmail.com> #25
Can we get a 26.0.3 revision with the fix? Thanks.
[Deleted User] <[Deleted User]> #26
Project: platform/development
Branch: sdk-release
commit 2a75ddf513caf9f971dbecd4474094d5c0f8fcb6
Author: Josh Gao <jmgao@google.com>
Date: Mon Nov 06 13:29:02 2017
Update platform-tools version to 27.0.0.
Bug:http://b/64292422
Test: none
Change-Id: I1849f0df04af390e8aed716262d2be20efdc3491
M sdk/plat_tools_source.prop_template
https://android-review.googlesource.com/529912
https://goto.google.com/android-sha1/2a75ddf513caf9f971dbecd4474094d5c0f8fcb6
Branch: sdk-release
commit 2a75ddf513caf9f971dbecd4474094d5c0f8fcb6
Author: Josh Gao <jmgao@google.com>
Date: Mon Nov 06 13:29:02 2017
Update platform-tools version to 27.0.0.
Bug:
Test: none
Change-Id: I1849f0df04af390e8aed716262d2be20efdc3491
M sdk/plat_tools_source.prop_template
tr...@gmail.com <tr...@gmail.com> #27
fastboot version -4022467
Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android
I install the latest platform-tools via homebrew
I test on my 2016 MacBook Pro 15' with macOS 10.13.1
fastboot still can't work normally
Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android
I install the latest platform-tools via homebrew
I test on my 2016 MacBook Pro 15' with macOS 10.13.1
fastboot still can't work normally
xu...@gmail.com <xu...@gmail.com> #29
What's the solution for someone with a Pixel 2 on High Sierra? 26.0.1 works, however 26.0.2 says it's a fix for Pixel 2, so don't want to break anything using .1
fa...@hotmail.com <fa...@hotmail.com> #30
Project: platform/development
Branch: master
commit 4592d6f91c24d4cd9f5599c98eebabcb4c3cefcb
Author: Josh Gao <jmgao@google.com>
Date: Mon Nov 06 13:29:02 2017
Update platform-tools version to 27.0.0.
Bug:http://b/64292422
Test: none
Change-Id: I1849f0df04af390e8aed716262d2be20efdc3491
(cherry picked from commit 2a75ddf513caf9f971dbecd4474094d5c0f8fcb6)
M sdk/plat_tools_source.prop_template
https://android-review.googlesource.com/535055
https://goto.google.com/android-sha1/4592d6f91c24d4cd9f5599c98eebabcb4c3cefcb
Branch: master
commit 4592d6f91c24d4cd9f5599c98eebabcb4c3cefcb
Author: Josh Gao <jmgao@google.com>
Date: Mon Nov 06 13:29:02 2017
Update platform-tools version to 27.0.0.
Bug:
Test: none
Change-Id: I1849f0df04af390e8aed716262d2be20efdc3491
(cherry picked from commit 2a75ddf513caf9f971dbecd4474094d5c0f8fcb6)
M sdk/plat_tools_source.prop_template
ju...@gmail.com <ju...@gmail.com> #31
@29: yeah, sorry for the mess. 26.0.1 works on Mac OS 10.13 but doesn't know about the Pixel 2's extra partitions. 26.0.2 knows about the Pixel 2's extra partitions but doesn't work on Mac OS 10.13. We have 27.0.0 going through QA at the moment that will fix both issues. (Linux and Windows are unaffected: 26.0.2 should be fine for them.) we're also addressing the over-complicated process (too many branches!) that led to this mistake in the first place.
fr...@gmail.com <fr...@gmail.com> #32
not yet fixed... :(
I hate high Sierra.
I hate high Sierra.
ka...@gmail.com <ka...@gmail.com> #33
Sorry, our platform-tools release is still going through QA. In the mean time, I've attached the binary we're planning to release.
fa...@gmail.com <fa...@gmail.com> #34
fastboot of #33 works!
br...@gmail.com <br...@gmail.com> #35
Can also confirm the fastboot binary in #33 worked.
sh...@google.com <sh...@google.com>
on...@gmail.com <on...@gmail.com> #36
Does the new release fix also the same problem with adb shell?
ro...@gmail.com <ro...@gmail.com> #37
How to use #33 fastboot binary because its not recognized terminal.app
ro...@gmail.com <ro...@gmail.com> #38
I'm blocked by this too :(
pr...@gmail.com <pr...@gmail.com> #39
How to use #33 fastboot binary because its not recognized by terminal.app ? Is this fastboot binary compressed?
da...@gmail.com <da...@gmail.com> #40
After downloading the binary on OSX, you need to run the command:
chmod +x ./fastboot
Then you should be able to execute it:
./fastboot devices
chmod +x ./fastboot
Then you should be able to execute it:
./fastboot devices
af...@gmail.com <af...@gmail.com> #41
Comment has been deleted.
7a...@gmail.com <7a...@gmail.com> #42
#41: are you using a direct cable from laptop to device, or going via a USB hub? I've seen problems with some hubs before.
mw...@gmail.com <mw...@gmail.com> #43
Same problem with ADB on high sierra : Unable to create a plug-in (e00002be)
And can't see my tablet.
Both, tablet and usb cable, are working fine on my windows.
And can't see my tablet.
Both, tablet and usb cable, are working fine on my windows.
sa...@google.com <sa...@google.com>
sa...@google.com <sa...@google.com> #44
Same problem, unable to create a plug-in
Description
maxPacketSize=5120
zero_mask = 5120-1 = 0b1001111111111
usb_write() is called with buffer of length 1024 0x10000000000
The following expression in usb_write() will not properly determine when to send the ZLP.
if(!(len & handle->zero_mask)) {
In some cases, a ZLP will be written when it's not needed (the ZLP is only needed when the amount of data being written is an integer multiple of maxPacketSize, as explained here
In a much more troubling case, a ZLP will NOT be written when it should. Imagine, in the above scenario (maxPacketSize=5120), that usb_write() is called with 5120. The expression !(5120 & 5119) resolves to false, and so a ZLP is not sent, but clearly 5120 is an integer multiple of 5120, and thus a ZLP should be sent. This can absolutely result in buggy behavior. In fact, with Android 10 devices, it can result in adb aborting. How? Well, because a ZLP hasn't been sent, the buffer may be combined with a subsequent write and adbd might receive a combination of two amessages (the final payload portion of one message, and a header (24 bytes) of the next amessage). We are in fact seeing that happen. And because UsbFfsConnection::ProcessRead() in Android 10 has a CHECK_LE() to ensure the final read of an amessage has exactly the expected remaining bytes of the amesssage and not one byte more, then adbd aborts (effectively "crashes").