0

The adb devices command is working for me, the fastboot devices command is not (Mac OS X Mavericks, SDK downloaded yesterday, phone is a HTC Desire Z):

$ sudo fastboot -i 0x0bb4 -p 0x0c91 devices
$ fastboot -i 0x0bb4 -p 0x0c91 devices
$ fastboot devices
$ adb devices
List of devices attached 
HT0C5RT00804    device
$ adb shell
#

So fastboot doesn't list devices, whatever I try (sudo, or specifying -i and -p options), while ADB works just fine. I found vendor and product IDs via Mac OS X system information. ADB working seems to indicate that communication between my laptop and the phone does work fine.

How can I get fastboot to work?

Background info:

I'm trying to install cyanogenmod on a HTC Desire Z. Part of the procedure I'm following is described here: http://wiki.cyanogenmod.org/w/HTC_Desire_Z:_Firmware_Downgrade_(Gingerbread)

I get stuck at the fastboot oem rebootRUU step:

 $ fastboot oem rebootRUU
 < waiting for device >

(hangs, I gave up after 20 minutes), and I think that is due to fastboot not working. Any other ideas on how to get past this appreciated?

  • If adb is detecting your device then you're in the wrong boot mode for fastboot. You need to boot into your bootloader, not the regular Android system or your recovery. You should be able to find instructions for getting into your device's bootloader on Google, I would imagine, but running adb reboot bootloader is typically the easiest method. – eldarerathis Mar 18 '15 at 20:42
0

From your first quoted block, I assume your phone is booted up normally (adb devices lists it as "device"). Fastboot cannot find it there. Try adb reboot fastboot, then check again when your device has booted up into fastboot mode.

See also:

  • 1
    What is the definitive test to know the device is in fastboot mode? tried 'adb reboot fastboot' and power+keydown (and check if its selected in the menu). Anything on the device itself, or via adb shell to definitely see the device being in fastboot mode? – Emile Aben Feb 28 '15 at 14:10
  • 1
    I've never used fastboot myself, but AFAIK it's definitely showing its own screen on the device (as recovery-mode does as well). So if you see the "standard user UI", I'd say you're definitely not in fastboot mode. – Izzy Feb 28 '15 at 16:45
0

Use adb reboot bootloader, and then Mac OSX,assuming the drivers work, will detect it in fastboot mode, as attested to by fastboot devices.

If your android version is lower than 4.3, use Framaroot to root it, use Flashify to flash a custom recovery, and flash the CyanogenMod rom.zip from the custom recovery. No PC involved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.