30

Linux/OSX Run fastboot as root or with sudo. Other OS: credits


29

Are you rebooting the device into the bootloader and entering fastboot USB on the bootloader menu? Try: adb reboot bootloader Then, look for on-screen instructions to enter fastboot mode.


22

To make the system recognize the Android device, in their several modes, one needs to set permissions for his user in udev. You need to repeat this process of loading Android udev IDs, for every mode the phone has (operating system, bootloader or recovery) because they have different USB IDs # reboot into fastboot mode adb reboot bootloader # grab you ...


19

(Self answering here because I only found this answer after hours of dredging through 200 page threads of forum posts.) There are two non-standard but semi-prevalent methods that may work depending on your make and model (and why recovery isn't working in the first place). Some phones actually respond to fastboot reboot recovery. This is quite natural ...


18

If you check with our fastboot tag-wiki, and follow up the link to the List of fastboot commands, you will see the answer is NO. Fastboot only has commands to write to the device. A few exceptions include: making sure there is a device at all, using fastboot devices some OEM specific commands to read configuration values (fastboot oem <option> – note ...


17

By looking at the inf file, you can find that it tells to use the WinUSB driver. So there is a better solution than disabling driver signature enforcement, you can use the tool Zadig (http://zadig.akeo.ie/). This tools create a self-signed inf for this specific device, using ephemeral keys, added to the trusted certificate store (for this only device / inf), ...


16

Personally I had to run fastboot as root/sudo for fastboot to detect the device. I tried this on Linux as I don't own a Mac, but it's *NIX anyway ;)


14

There's a couple of ways to do this: cat /proc/last_kmsg > /sdcard/last_kernel_message_log.txt dmesg > /sdcard/kernel_boot_log.txt plug in the usb cable with the smart-phone switched off. Then issue the command adb logcat from your Windows cmd or Linux terminal, it will hang waiting for the device to come on-line, now power up the smart-phone. The ...


14

For future reference, this was my related case (involving a Nexus 4): I tried to bring my phone back to the original state (bootloader locked + stock rom). Now fastboot devices did not show the device where adb device did, until I put the phone in fastboot mode (this makes sense, but took me a while to figure out...) To put the Nexus 4 in fastboot mode: ...


14

I encounter the same problem today :) flash-all script failed when writing userdata I have managed to solve this issue by manually continue the flashing process: 1) extract image-hammerhead-m4b30z.zip 2) cd to the extracted folder 3) run the following commands (one by one) fastboot erase userdata fastboot flash userdata userdata.img fastboot erase cache ...


13

This approach will work (provided there are no proprietary funny locks in place anywhere), but the recovery partition is no party to it from the very beginning. The default.prop is overwritten on bootup, copied from the boot partition, which is not a directly accessible file system. You need an image of the boot partition, which you will then unpack, make ...


12

Problem solved. At the end I saw that drivers for android were not installed. I installed drivers from this site http://forum.xda-developers.com/showthread.php?t=2126036 and device is visible by fastboot. One thing I don't understand is why adb saw device and fastboot not.


12

Simple... Samsung devices do not support fastboot, you use Odin or Heimdall to flash what you need.


10

What needs to be done is to bundle the boot.img and construct a new zip file suitable for flashing via ClockworkMod or TWRP. Pre-requisites: a Linux environment that has the usual development packages, such as Java installed. (It can also apply to other platforms, just be careful that the instructions here indicating the path used below, uses a forward ...


10

I found the solution myself: Windows 10 somehow does not want to install the driver, as it can not verify the manufacturer. So the driver from Sony Developer's site works just fine. After deactivating the Windows driver signature check everything works fine. To deactivate proceed like this: (taken from HERE) Press Win + X then U then Shift + R ...


9

Details for that can be found in our usb-debugging tag-wiki (where I've just added them): By default, USB debugging is disabled with stock ROMs (some custom ROMs however have it enabled by default). To toggle it on or off, you can find the corresponding switch in Settings › Development – a section originally hidden with Android 4.2 and up. You can make ...


9

This thread on XDA has a post ....what is the aim of the "fastboot erase modemst" command? Answer modemst1 and modemst2 are storage partitions for Radio Firmware .... - and it's obviously a recommended practice to wipe these partitions when flashing a newer Radio Firmware This XDA thread is all about fastboot commands fastboot erase system ...


9

To answer your question specifically: In Moto devices, Preflash Validation Error means the factory image you are attempting to flash is older than the one you have currently installed and Moto devices do not support downgrading of the bootloader or partition table (gpt.bin) regardless if the bootloader is locked or unlocked. There is also a second issue ...


8

ADB and fastboot require different USB drivers. Whilst you may see your device under adb when your phone is on it will not be detected by fastboot until you install the driver for it and hence will show "waiting for device". You can follow the steps below to do so: Open your device manager and reboot your device into fast boot by pressing volume up, down ...


8

Yes. Locking the bootloader is possible after you have installed a custom firmware. A locked bootloader will not allow you to ad-hoc boot custom binaries (using fastboot boot boot.img and will not allow you to directly write to the flash chips. An unlocked bootloader however does offer you this and newly available commands are: fastboot flash partition ...


8

Step 1: Unlock the bootloader; fastboot oem unlock This WILL wipe your device. Skip if already unlocked. Set up your device and put SuperSU.zip into it. Step 2: Download the appropriate TWRP/CWM image for your device. Step 3: Boot your phone into bootloader; adb reboot bootloaderwhile the device is on or hold the power button and the volume down button while ...


8

We can temporarily load a custom recovery fastboot boot <kernel> [<ramdisk>] then backup system partitions


8

That's expected. Devices with A/B partition scheme don't have a recovery partition. You can only boot in recovery mode with fastboot boot twrp.img. But to permanently flash recovery to device which can be booted into by proper key combination, you need to unpack both of your boot.imgs (A/B) from device and replace the ramdisk with the one extracted from twrp....


7

I had the same problem with InFocus M512, recognized by adb but not by fastboot when in download mode. I've found that specifying vendor ID with -i works (0xID). fastboot -i 0x0489 worked for me.


7

Fastboot allows you to send commands to your phone while in the bootloader. The bootloader is the one place that ADB is not running. Disclaimer, not all of these may work with your device. fastboot oem unlock Unlock your bootloader. If your device supports this, you can unlock your bootloader here. Most phones require an exploit in order to gain root ...


7

Episode 3: Return of the Shell. If I ever had any chance of solving this, I first had to figure out why the shell wasn't working. adbd itself was responding, so it was started on the tablet side - but it could not execute the shell, even when I hack-patched it to invoke a file (/sbin/sh) that I myself placed in the boot image - being 100% sure that it had ...


7

I too faced this issue and issuing the fastboot commands manually (instead of relying on flash-all) and it worked well. These are the commands to use (just forget everything and make sure these commands are executed in this order with the appropriate .img file available): fastboot flash recovery recovery.img fastboot flash boot boot.img fastboot flash ...


7

Turns out that some old adb tooling was in my PATH variable, so I was using an old version of fastboot.. It all worked well when I used the right version! Will accept this as an answer in 2 days.


7

First you need the actual fastboot, e.g. 1.4.3 (from link in the other answer). Then the correct command is: fastboot --set-active=a or: fastboot --set-active=b In the help (fastboot help) you can read in fastboot version 28.0.3: --slot <slot> Specify slot name to be used if the ...


6

Assuming your device adheres to some Android standards, you'd want to run fastboot oem device-info. Often you can also run fastboot reboot-bootloader to get into the bootloader which often says right there on screen whether it's locked or not. Different devices can display the lock state differently. fastboot is located in %ANDROID_SDK_DIR%\platform-tools,...


Only top voted, non community-wiki answers of a minimum length are eligible