Questions tagged [fastboot]

Fastboot is a protocol used by Android to diagnose and flash new firmware images on Android devices via USB. It is part of the Android Debug Bridge (ADB). For Samsung devices, use [download-mode] instead.

What is fastboot intended for?

Fastboot supports a rather limited set of actions. Its primary uses include:

What fastboot does not do

Don't mis-interpret its name to be a "fast alternative to boot your device" (unfortunately, some manufacturers like HTC and Sony have a similarly named "Fast Boot" option). Admitted, a start into fastboot mode is faster -- but that's due to the fact it only needs a limited set of libraries etc. It does e.g. not start Zygote or the System Server (see: Can somebody explain the boot process of an Android device? -- that's what above mentioned "Fast Boot" option on some devices does for a "fast boot": killing the System Server; Unix-Users might compare that to killing the X-Server), so no GUI and no apps here. Neither does it offer a full set of commands (shell access) or the like. As described, it's just a very minimal system for a very specific purpose.

How do I get my device into fastboot mode?

Multiple ways for that:

  • when already connected to your computer via : adb reboot bootloader
  • with the device being switched-off: Press and hold volume up and power keys, release when boot completed (if that doesn't work, add the volume down button to the key combo, making it 3 buttons to simultaneously press-and-hold)
  • with the device being powered up in "normal mode" and the screen being switched on: long press the power button to bring up the power menu. Some ROMs have a shortcut here. On some, long-pressing the "reboot" option here brings it up.

Some good questions and answers tagged

Ever-returning Troubleshooting questions

Useful resources

813 questions
54
votes
9 answers

fastboot doesn't see device

I've read a lot of articles about this problem but I can't resolve it. I decided to install my developer application on phone using wifi. To do this I need to do some things with my phone. The first step is to unlock bootloader. I stack on step 8,…
pepuch
  • 801
  • 1
  • 6
  • 11
46
votes
2 answers

Can fastboot be used to backup device?

Many people say that fastboot can be used to flash an image on one of the partitions. Is the reverse also possible, that is to take a binary snapshot and store it as a zip file containing the exact binary representation of the partition to be backed…
humanityANDpeace
  • 807
  • 1
  • 10
  • 16
40
votes
8 answers

ADB can discover devices but not fastboot

I've searched on the web about this problem and it's usually solved by installing the appropriate drivers. Problem is I'm on a Mac. When I plug in my device, it can be discovered when I run adb devices. I run adb reload bootloader and it goes into…
radj
  • 575
  • 2
  • 5
  • 7
31
votes
3 answers

Android boot-up messages for debugging?

I am trying to figure out if Android (i.e. Galaxy Nexus, Nexus S, and/or Motorola Xoom) come with some sort of capability to produce a "boot-up" log. (kind of like Linux boot-up screen) It would be immensely helpful in figuring out how far one's…
9exceptionThrower9
  • 559
  • 3
  • 6
  • 11
31
votes
1 answer

How can I reboot into recovery from fastboot?

I have a phone that is bootlooping after a power failure + battery depletion during system encryption. How it got bricked isn't important here, the trouble is that I can't get into the recovery mode. Usually turning on the phone¹ via Volume Up+Power…
Caleb
  • 2,004
  • 3
  • 21
  • 28
24
votes
4 answers

What does "fastboot oem lock" do?

I've had my phone for months, loading with several firmware, ROMs and OTAs, without ever running this command. What does it do? What I know is that "fastboot oem unlock" displays the confirmation screen and obliges me to wipe my device data, and…
William C
  • 1,484
  • 6
  • 21
  • 28
22
votes
2 answers

How to enable USB Debugging in Android if forgotten pattern for screen-unlock?

I want to use some third party software to clear my device's screen unlock pattern which I forgot. They require USB debugging enabled but I don't have it enabled in my Android. How do I turn on USB Debugging through Recovery mode, or Fastboot?
Jenabictak
  • 331
  • 1
  • 2
  • 6
17
votes
3 answers

Trying to flash a system.img I took with dd - failing

Long-time UNIX guy here, but relatively new to the world of Android. Read on. EPISODE 1: A New Backup (I hoped) I have recently purchased an Asus MemoPAD (ME103K) ; I then became root, and took a dd image of the read-only system partition to the…
ttsiodras
  • 691
  • 2
  • 5
  • 12
16
votes
2 answers

Obtaining root by modifying default.prop(ro.secure)?

To get a privileged shell you need to modify the following lines to the given values in the default.prop file ro.secure=0 ro.debuggable=1 persist.service.adb.enable=1 I have the extracted the recovery image of my phone model : So is it possible to…
Kedar
  • 293
  • 1
  • 2
  • 7
16
votes
1 answer

What's the name of the protocol that android devices use in debug mode?

I have a strange Android prototype what we got from a customer. Said customer has forgotten about it, and I'm now fiddling with it to see if I can make it do anything interesting. The device appears to be the same family as the Acer beTouch. It used…
David Given
  • 480
  • 1
  • 4
  • 12
14
votes
3 answers

Flashing Nexus 5 factory image fails on writing userdata

Recently, I purchased a used Nexus 5. I would like perform a full reset, so I’m trying to flash the factory image using Google’s official instructions. However, I keep getting the message FAILED (remote: 'Bogus size sparse and chunk header') for the…
Jonathan
  • 241
  • 2
  • 5
14
votes
1 answer

What fastboot erase actually does?

It's been said that we can do a factory reset with the following commands: fastboot erase modemst1 fastboot erase modemst2 fastboot erase cache fastboot erase userdata Now, the fastboot CLI provides the following description for erase: Erase a…
user1620696
  • 263
  • 1
  • 4
  • 9
13
votes
3 answers

How to check if your bootloader is unlocked

I'm about to flash a custom recovery, but I'm not sure if my bootloader is unlocked or not (phone is rooted, but I did it a while ago, so I can't remember the process I went with), and I don't want to do anything that might risk losing all my…
13
votes
1 answer

Can I lock the Nexus 4/7 bootloader after flashing a non-stock ROM?

I know that doing a fastboot oem unlock will both unlock the bootloader and wipe the data on the device. Unfortunately, while this allows me to install a non-stock ROM like Cyanogenmod, my understanding is that it also allows anyone w/ physical…
Jeff
  • 233
  • 1
  • 2
  • 6
12
votes
2 answers

Fastboot on Samsung devices

I was trying to do some fastboot commands on my Galaxy devices (Galaxy S4, 9515, 4Tab4). I started with fastboot devices and I am getting nothing (after adb reboot bootloader). Is there any problem with fastboot on Samsung devices?
medlamine Semassel
  • 145
  • 1
  • 1
  • 8
1
2 3
54 55