Why Nostr? What is Njump?
2025-03-24 07:35:34
in reply to

Ava ॐ on Nostr: I'll go ahead and post the steps here, for the room. How to re-flash a Pixel back to ...

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
Author Public Key
npub1f6ugxyxkknket3kkdgu4k0fu74vmshawermkj8d06sz6jts9t4kslazcka