Replying to Avatar Ava

I'll go ahead and post the steps here, for the room.

How to re-flash a Pixel back to Google OS via the terminal on Linux.

Prepare your device:

- Enable Developer Options (tap Build Number 7 times in Settings > About phone)

- Enable USB Debugging in Developer Options

- Enable OEM Unlocking in Developer Options

Download the appropriate OS image from

https://developers.google.com/android/images :

- Save to some directory (you choose)

- Extract file to same directory

Install Google developer tools via terminal:

https://developer.android.com/tools/releases/platform-tools

- Debian:

sudo apt install android-tools-fastboot android-tools-adb

- Fedora/RHEL:

sudo dnf install android-tools

- Arch:

sudo pacman -S android-tools

Check if fastboot is installed correctly:

fastboot --version

Check if adb is installed correctly:

adb --version

* If they are active, you will see version numbers.

Connect device to computer (avoid going through a dock):

- Verify connection (need to run with sudo)

sudo adb devices

- (Should show your device listed)

- Agree to the pop-up notification on device screen

Navigate to the uncompressed Android OS factory image directory:

cd [PATH TO EXTRACTED DIRECTORY FOLDER]

- * Alternatively, use file manager and open a terminal within the extracted OS image folder by right clicking on a blank space inside this folder and choosing "open terminal here" (or however your distro words it).

Make the flash script executable:

chmod +x flash-all.sh

Run the flash script:

./flash-all.sh

Your phone will now start flashing.

That's it. Let me know how it goes.

#IKITAO #Tech

Fond memories 🥹

I used to have a T-shirt that said "fastboot oem unlock" over a decade ago.

Reply to this note

Please Login to reply.

Discussion

That's pretty epic.

It was a fine timeline.