Join us on Tl   Wh

Hovatek Forum MOBILE Android [Tutorial] How to flash a Google Pixel smartphone using fastboot in Linux

[Tutorial] How to flash a Google Pixel smartphone using fastboot in Linux

[Tutorial] How to flash a Google Pixel smartphone using fastboot in Linux

hovatek
hovatek
hovatek
Administrator
49,778
22-07-2024, 11:05 AM
#1



This guide will demonstrate how to recover your soft-bricked Google Pixel smartphone using a factory image + fastboot on a Linux PC.

Requirements

  • A Linux-based PC
  • ADB and Fastboot Setup
  • Unlocked Bootloader
  • Factory Image to be flashed

How to flash Google Pixel factory images/firmware using fastboot in Linux


  1. Install ADB and Fastboot (if not already installed)

    Debian/Ubuntu
    Code:

    sudo apt update
    sudo apt install android-sdk-platform-tools-common

    Fedora/CentOS/AlmaLinux
    Code:

    sudo dnf install android-tools

    Arch Linux/Manjaro/EndeavourOS
    Code:

    sudo pacman -S android-tools

  2. Download and extract the factory image for your phone on your computer
  3. Power off your phone and boot into the bootloader by pressing the power and vol down button for about 5 seconds.
  4. Connect your phone to the PC using a USB Cable.
  5. Open a terminal in the extracted folder.
  6. Use the following commands to execute the installation script
    Code:

    fastboot devices
    ./flash-all.sh

  7. Your phone will reboot into the bootloader a few times and then into fastbootD.
  8. The phone will reboot to the startup menu once flashing is complete.

Important notice
This guide works for Pixel phones with unlockable bootloaders. If unlocking isn't possible, use the OTA Sideload method.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
skyhiatrist
skyhiatrist
skyhiatrist
Newbie
1
25-07-2024, 07:57 AM
#2
Try Pixel Flasher. It's a GUI tool that should make everything easy for you.  Pixel Flasher
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt