Questions tagged [fastboot]

fastboot is a tool that comes with the Android SDK. It can be used to manipulate the partitions of your Android device when booted into the bootloader. DO NOT USE this tag for Ember FastBoot related questions.

fastboot is a tool that comes with the Android SDK. When your Android device is booted into the bootloader and connected to a computer over a USB connection it can be used to manipulate the partitions of your Android device. It has various functions including

  • flashing images to different partitions
  • erasing the data on different partitions, and
  • completely reflashing your device from an update.zip file

It is a powerful tool that used incorrectly can damage your Android device or completely wipe all of the data from it.

131 questions
1
vote
2 answers

Error updating Google Glass firmware using Mac w/ M1 CPU: fastboot: cannot get boot partition size

I am updating the Firmware for the Google Glasses Enterprise 2 as stated on google's documentation. I am getting the error while I am running this command on terminal fastboot flash boot boot.img It returns with an error as stated above fastboot:…
Inshal Irshad
  • 227
  • 3
  • 17
1
vote
3 answers

Google Coral Dev Board: Fastboot is not found on path?

I am trying to flash my google coral dev board on the macos. I learned that Catalina wouldn't function for using the board, so I downgraded to Mojave. Everything goes smoothly, except when I type the command bash flash.sh Onto my terminal in the…
1
vote
4 answers

`fastboot devices` not listing coral dev board

I'm trying to flash the coral dev board following the steps at https://coral.withgoogle.com/docs/dev-board/get-started/#flash-the-board. I have the serial connection working and can run fastboot 0 in u-boot on the board. However, when I run fastboot…
Brian Yu
  • 43
  • 2
  • 5
1
vote
0 answers

Windows 10 raw usb access for fastboot and adb

I'm working on an electron app that wraps fastboot and adb executables to communicate with android devices. It works on Windows 7, Linux, and macOS. On Windows 10, the program can only detect the android device when running from source. When running…
NeoTheThird
  • 360
  • 3
  • 16
1
vote
1 answer

Android device not listed in adb devices

I have this super cheap JAY-tech Tablet PC PA7807-8 (FYI not exactly the linked model) and no matter what I do I couldn't get it recognized by adb/fastboot, meaning it doesn't appear in adb devices or fastboot devices at all. It has Android 4.4.2…
TaylanKammer
  • 5,177
  • 1
  • 19
  • 16
1
vote
1 answer

aosp can not boot for bullhead(lg nexus 5x)

from branch MDB08M android-6.0.0_r26 Marshmallow Nexus 5X, Nexus 6P I did source build/envsetup.sh lunch aosp_bullhead-userdebug make -j16 then fastboot fastboot flash bootloader bootloader-bullhead-bhz10i.img //this is from google's…
songtzu
  • 90
  • 2
  • 12
1
vote
0 answers

How to unlock bootloader on Android on a User Build

I have tried everything to unlock the boot loader on my Android 410 device. I have an AOSP based ROM on it (not a production device). I turned on USB debugging, turned on 'OEM unlock' and tried the following in fastboot mode: Images-Debug$ sudo…
Sofia Clover
  • 669
  • 1
  • 7
  • 18
1
vote
0 answers

Hard reseting takes no effect in Android

I'm trying to hard reset my phone with a password, but hard reseting in fastboot runs fine, but when it reboots, nothing is erased at all. I also tried to install CWM and TWRP Recovery, and when the device is rebooted, nothing changes. The only…
Henrique Barcelos
  • 451
  • 1
  • 4
  • 15
1
vote
1 answer

Is there an alternative to fastboot erase modemst1/2?

I have both a Windows and a Linux (Mint) computer and I need to fix gps on my LG G2 D802 (with a custom CM mod), but I can't do it. I read online that I should erase modemst1 and modemst2 partitions but I get an annoying "waiting for device" message…
Giacomo Sarrocco
  • 421
  • 1
  • 7
  • 16
1
vote
1 answer

How do I Enable Debugging Mode in Xperia M Without Booting in?

I'm unable to access my device, because it asks me to type in a password to decrypt the internal storage. I did not, in fact, place any password here, so I don't know how I got here. I've been trying to flash the device with another firmware for…
Tushant M
  • 11
  • 3
1
vote
1 answer

Compile FastBoot (used for android user space flashing) on Windows

I have compiled FastBoot on Linux platform. But I am stucked while compile it on windows.I am using WinDDK for compilation of FastBoot on windows.In WinDDK, It is giving errors like missing "unistd.h","sys/time.h","zipfile/zipfile.h". Are there any…
ManishB
  • 171
  • 2
  • 2
  • 7
1
vote
0 answers

Android M Developer Preview - adb devices not working

I flashed the Android M developer preview to my Nexus 5 tonight and now I can't get ADB to recognize the device. I have developer options enabled and when I reboot to the bootloader the command "fastboot devices" lists my device. I feel like I may…
whitaay
  • 493
  • 1
  • 6
  • 18
1
vote
1 answer

Android Fastboot over Ethernet to flash boot image

I have connected my host with an Android device over ethernet. I have an android device connected via ethernet cable to a router and a Host (linux-Ubuntu) connected to the same router. Host Ip is : eth1 : inet addr : 192.168.101.102 mask :…
Raulp
  • 7,758
  • 20
  • 93
  • 155
1
vote
1 answer

How to compile and use adb on Ubuntu 12.04?

I am following Google's instructions to build Android on Ubuntu 12.04. Somewhere on https://source.android.com/source/building-devices.html it says If you don't already have those tools, fastboot and adb can be built with the regular build…
George
  • 21
  • 3
1
vote
1 answer

Output from Python and Android Fastboot

I'm creating a python script to work with some fastboot commands, and I am trying to do fastboot getvar product In order to see what product I have selected. The problem is when I run this code: p = subprocess.Popen(['fastboot', "getvar",…
Andrew T.
  • 4,598
  • 4
  • 35
  • 54
1 2 3
8 9