corbindavenport / nexus-tools

Installer for ADB, Fastboot, and other Android tools on Linux, macOS, Chrome OS, and Windows
http://forum.xda-developers.com/general/general/tool-nexus-tools-2-8-featured-xda-t3258661
GNU General Public License v3.0
844 stars 86 forks source link

Fastboot not working on macOS High Sierra 10.13 #37

Closed anubhaw2091 closed 6 years ago

anubhaw2091 commented 7 years ago

ADB is working fine but fastboot isn't working.

$ fastboot devices ERROR: Unable to create a plug-in (e00002be)

ithang commented 7 years ago

how to install TWRP :(( on mac

corbindavenport commented 7 years ago

@anubhaw2091 What Android version are you using?

anubhaw2091 commented 7 years ago

@corbindavenport , am using Android version 26.0.2. sdk

ithang commented 7 years ago

I am using N 7.1.1 OOS, Fastboot not working on macOS High Sierra 10.13 :( after upgrading

corbindavenport commented 7 years ago

Flashing the Android O images might need a new version of Fastboot. I'll update the script tomorrow.

corbindavenport commented 7 years ago

@anubhaw2091 The Fastboot binaries have been updated, try running the script again.

anubhaw2091 commented 7 years ago

@corbindavenport , I tried running the script again, it gives me the same error. Adding a screenshot for the reference.

fastboot_issue 1

adriel commented 7 years ago

You need a newer version of fastboot, looks like Google are working on it, but till then, they have an updated and working fastboot binary here: https://issuetracker.google.com/issues/64292422#comment8

anubhaw2091 commented 7 years ago

I downloaded the fastboot.dms file which is attached in the comment #8, and then replaced it with the fastboot file in Android's platform folder after renaming it to fastboot.

But it didn't work. Did I miss anything?

adriel commented 7 years ago

That's what I done, though my file didn't have the .dms, not sure why that happens. Make sure you're replacing the right file, check the current place fastboot is from the fastboot --version command.

If done right you should be on version "9dc0875966c0"

$ fastboot --version
    fastboot version 9dc0875966c0-android
    Installed as /usr/local/bin/fastboot

Edit: Of course, you don't need to move the file; You can just cd to the downloads folder, e.g. cd ~/Downloads/ Then chmod +x ./fastboot And then ~/Downloads/fastboot --version

cameronaaron commented 6 years ago

I actually have a fix for this I think will fix after finals! In short, there is an issue with the currently available version of fast boot from Google but they gave a release candidate as a temp fix

uicnren commented 6 years ago

@anubhaw2091 you know of course, that the fastboot commands dont work unless the phone is booted into the bootloader...

your output really should look like this:

Jimmys-iMac:bin jimmy$ adb devices List of devices attached 70xxxxxxx63687 device

Jimmys-iMac:bin jimmy$ adb reboot bootloader Jimmys-iMac:bin jimmy$ fastboot devices 70xxxxxxx63687 fastboot Jimmys-iMac:bin jimmy$

corbindavenport commented 6 years ago

Closing due to inactivity.