We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [fastboot]

Fastboot is a protocol used by Android to diagnose and flash new firmware images on an Android devices via USB. It is part of the Android Debug Bridge (ADB).

Filter by
Sorted by
Tagged with
35
votes
8answers
146k views

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 ...
34
votes
9answers
372k views

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 ...
28
votes
2answers
50k views

can fastboot be used to backup device?

Many people tell about fastboot that it can be used to flash a image on one of the partitions. Is the reverse also possible, that is take a binary snapshot and store it as a zip file containig the ...
23
votes
2answers
44k views

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 ...
21
votes
4answers
96k views

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 ...
19
votes
2answers
448k views

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 ...
16
votes
3answers
17k views

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 ...
16
votes
1answer
474 views

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 ...
14
votes
2answers
57k views

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 ...
13
votes
1answer
12k views

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 ...
10
votes
2answers
126k views

Flash boot.img without using fastboot USB

So I've recently rooted my phone and tried a ROM or two. I find it really handy that you can use TWRP recovery to install another ROM from the SD card, you don't need to have it connected to a PC. ...
10
votes
1answer
15k views

Clean way for flashing factory image on Samsung Galaxy Nexus?

Is this the correct and clean way for flashing factory Jelly Bean image on Samsung Galaxy Nexus, without using any external tool (apart from Android SDK)? I don't want to to break my phone, so I'm ...
9
votes
3answers
142k views

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 ...
8
votes
2answers
105k views

Windows 10 Fastboot Driver

My Sony Z3 Compact is currently unusable and I would like to flash the Marshmallow version of FXP. Unfortunately it seems like I can't find any fastboot (or as device manager calls it: S1Boot ...
8
votes
1answer
54k views

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. ...
8
votes
1answer
15k views

fastboot not working on my Nexus 4

I'm trying to root my N4, and fastboot doesn't seem to work. Running it on linux, and the fastboot binary seems to run. 'Fastboot devices' produces info on my device, but 'fastboot oem unlock' just ...
7
votes
2answers
14k views

Fastboot on Samsung devices

I was trying to do some fastboot commands on my Galaxy devices (Galaxy S4, 9515, 4Tab4), I start with fastboot devices and I am getting nothing (after adb reboot bootloader), is there any problem with ...
7
votes
1answer
69k views

What fastboot erase actually does?

I've seem some suggestions on the internet that we can do a factory reset on the Motorola Moto G (2nd gen) by using the following commands: fastboot erase modemst1 fastboot erase modemst2 fastboot ...
7
votes
1answer
17k views

Boot loop after flashing android 6.0 marshmallow on nexus 5 follow up

this question follows up on this one (but there are many other posts about this topic on the web.. see this reddit post and this xda developers post. I just want to approach this problem in a more ...
7
votes
1answer
6k views

How to run adb and fastboot commands from Termux?

Is it possible to run adb and fastboot commands using Termux terminal emulator? I am wanting to run commands from one Huawei T3 7 to another using USB/OTG cable. Need to unlock bootloader but have no ...
7
votes
1answer
25k views

How to Retrieve SD Card Files via fastboot or recovery?

I have a Nexus 4 (LG E960) running rooted stock 4.2.2/JDQ39. The phone fell from a foot high and the screen cracked. The touchscreen no longer works. I have a full Nandroid (TWRP type) backup under /...
7
votes
0answers
21k views

Device boots normally, but cannot enter recovery or fastboot

I have secondhand Vodafone Smart Tab 4G. It seems to me that previous owner messed something up. The device boots normally but I cannot enter either bootloader, fastboot, or recovery. I have tried HW ...
6
votes
3answers
3k views

Fastboot freezes on Mac OS Sierra

I just got a new MacBook 2016 with Mac OS Sierra installed, after setting up my complete development environment and all required tools via Android Studio, I tried to flash a new Android Wear release ...
6
votes
1answer
6k views

Nexus 10 won't boot after attempted unlock/root

I have a brand new Nexus 10 which is supposed to be a present for my partner for tomorrow. I wanted to have it rooted and set up for her before I gave it to her, so I installed WugFresh NRT on my ...
6
votes
2answers
7k views

What are the implications of doing fastboot erase modemst1?

I installed a Cyanogenmod 12.1 snapshot on my Moto G 2014 when I got it, it previously has only had the stock ROM installed, no other custom ROMs. I soon discovered that the GPS wasn't working on ...
6
votes
1answer
5k views

Documentation/reference for fastboot

Where can I find the documentation for fastboot in Android SDK's platform-tools? I know that running fastboot on its own gives a quick help for the different commands, but I'd like to know about ...
6
votes
2answers
3k views

nanddump vs fastboot

I have two identical phones. On one of them I've managed to corrupt the system partition and it won't boot. I have fastboot, root (on the one that boots), but I don't have ClockworkMod --- my phone ...
6
votes
5answers
71k views

Installing ROM from Fastboot — Can someone help?

I have a new HTC MyTouch (32A) that I tried to install a new ROM on using ROM Manager. I have done this many times (maybe 100 times), once in a while it goes wrong. Now, with this one, it can't get ...
6
votes
1answer
137 views

Where does the code pertaing to fastboot mode reside?

Is it in the primary-bootloader (on the mb), or the secondary-bootloader(on the emmc)? My motive behid the question is to understand what other codes are executed before system can get into fastboot ...
5
votes
2answers
3k views

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 (...
5
votes
1answer
14k views

OPO stuck in “Erasing…” while unlocking bootloader

I've been following this guide about rooting my OnePlus One. All seemed fine - adb was good, fastboot as well - and I reached point 6.1. Typed in fastboot oem unlock and got this output: ... OKAY [ ...
5
votes
4answers
6k views

“Fastboot devices” command doesn't work after macos high sierra 10.14.4 upgrade

I recently upgraded my 2016 MacBook Pro to High Sierra 10.4.4 update and since the update "fastboot devices" command hasn't been working. "fastboot" itself gives a response but "fastboot devices" ...
5
votes
1answer
13k views

Fastboot doesn't see nexus 6p

Currently trying to unlock my bootloader, but cannot get my nexus 6p to determine that it's connected to my PC. I can use adb commands while it's on, but booting it into fastboot mode with the adb ...
5
votes
2answers
64k views

Unlock bootloader using fastboot using Ubuntu/Linux

I am trying to unlock bootloader for my HTC Legend. I have ADT (Android SDK according to release 21.1) on my Ubuntu/Linux box. While following the HTCDev instructions to unlock bootloader of HTC ...
5
votes
2answers
39k views

Sony Xperia ZR fastboot driver

I am trying to get the fastboot driver for Sony Xperia ZR (dogo) for Windows 7 x64. I found a page with instructions which pointed me to a Sony site where you can download a android_winusb.inf file ...
5
votes
6answers
23k views

Nexus 10 stuck in bootloop after Lollipop flash no ADB and no Fastboot

So .... I flashed the mantaray-lrx21p image from Nexus Factory Images on my Nexus 10 (16GB Wifi) and it's stuck in a bootloop. No problem, I thought, I can get into fastboot and fix it, right? Maybe ...
5
votes
4answers
11k views

Getting Segmentation Fault on recovery

It's an Android 4.0.3. I'm trying to fix my tablet, because it doesn't start anymore. running fastboot devices returns nothing. Then, I'm trying to do that through adb. adb devices returns List of ...
5
votes
2answers
14k views

Xiaomi Mi Unlock “Not connected to the phone”

I am going insane here and I need help now. I am trying to unlock my Xiaomi Mi Note 4's bootloader since almost 2 weeks, but I am stuck in this problem where the Mi Unlock tool can't recognize that ...
5
votes
1answer
35k views

Bricked my TF300T: How to re-partition internal storage to get it back?

I upgraded to Katkiss's Android 5.0 image. It was nice but in reading I saw I could use the F2FS file system to prevent slowdown from normal usage. So I went to format /data thinking that would give ...
5
votes
2answers
48k views

Problem unlocking HTC phone using their fastboot program

According to HTC, my Amaze 4G is fully ready from the factory to be queried for its identifier tolken, but when I run the appropriate command, it doesn't work. I get: $ fastboot oem ...
5
votes
1answer
764 views

Phone boots very slow and restarts by itself

My problem is when I turn on the phone, the Google logo stays stuck and after unknown minutes boots in with the software animation, but very slow and then starts over again! First a little history of ...
5
votes
1answer
17k views

Problem with unlocking the HTC Wildfire bootloader with HTC unlocker

I tried to unlock HTC bootloader by the official tool but I get to the stage when I issue the command: fastboot oem get_identifier_token Unfortunatly I get error ... (bootloader) [ERR] Command ...
4
votes
4answers
5k views

Anyone have an alternative dowload site for a fastboot binary?

I'm working on rooting my android kernel and most sites list http://android-dls.com/files/linux/fastboot as the place to look for the fastboot binary. However, I've been getting a 404 (Page not Found) ...
4
votes
1answer
21k views

What are all the functions of fastboot on android 4.4.4?

I have recently been able to access fastboot but I have almost no knowledge about the different options inside it. Could someone please explain in details all the functions of fastboot? Extra info I ...
4
votes
3answers
39k views

fastboot flash bootloader = FAILED (remote: (InvalidState))

I'm trying to flash bootloader on my Nexus 7 (2012) and getting FAILED: mbp:nakasi-lrx21p alexus$ fastboot flash bootloader bootloader-grouper-4.23.img sending 'bootloader' (2100 KB)... OKAY [ 0....
4
votes
3answers
12k views

fastboot set_active command does not exist

I am trying to root my Xiaom mi a2 phone. But i am stuck on changing the active partition. When i enter "fastboot set_active b" it doesnt execute the command. Instead i get a list off all available ...
4
votes
5answers
37k views

How to put LG G2 in fastboot mode?

Is there any way to get an LG G2 (running the latest version of stock software, Lollipop 5.0.2) in fastboot mode? None of the methods listed anywhere online work for me. I'm getting the feeling that ...
4
votes
2answers
6k views

Installing TWRP on a Samsung device, no fastboot (using ADB or other ways)

My device (Samsung Galaxy S3 I9300) is not detected by fastboot in Download Mode, but it is detected properly by adb. I want to install TWRP as my device recovery. Is there any way to install it using ...
4
votes
2answers
61k views

FastBoot recovery failed: partition 'recovery' not support flash

My mobile is Lenovo S920 running official Android OS 4.4.2. I am trying to install cwm recovery through fastboot. I tried executing the command fastboot flash recovery recovery.img But I am ...
4
votes
1answer
3k views

How to hard brick an android phone (Galaxy Nexus)?

I'm trying to figure out whether or not I managed to brick my android phone, a Galaxy Nexus*. Using ClockworkMod Recovery, I pretty much erased everything I could find (/data, /cache, /factory, /...