Then the fact that it has among the best camera out there [GCam Collections], and one cannot ask for much. Further extending it to the custom development, and the perks are literally endless. Once you have unlocked the device’s bootloader, you have opened the floodgates to a plethora of customizations. These include the ability to flash custom ROMs, a custom recovery like TWRP, or even gaining access to the system partition. The last one, in simpler terms, could be spelled out as rooting your device. [DON’T MISS: How to Root Pixel 3, 3 XL, 3a, 3a XL Android 11 without TWRP]. Once you do so, you could flash a custom kernel, install Magisk Modules, Xposed Framework, install Substratum Theme Engine, etc. However, on the flip side, all this might result in a few issues as well. If not done correctly, then your device might end up in a bootloop or bricked device. Fortunately, there exist some pretty nifty workarounds to rectify these issues. Given here are the steps to restore Pixel 3/3 XL/3a/3a XL to Stock Firmware via Fastboot Commands and hence unbrick these devices. Follow along for the detailed instructions.
How to Fix TWRP Error 20 GApps after flashing LineageOSFix Magisk Module Bootloop without TWRP RecoveryHow to Fix TWRP Error 70 [With Screenshots]How to Fix Error: Cannot load recovery.img
Restore Pixel 3/3 XL/3a/3a XL to Stock Firmware via Fastboot | Unbrick it
Before we list out the instructions steps, there are a few prerequisites that you need to go through. Make sure to tick-mark all these requirements before proceeding ahead. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Prerequisites
To begin with, you need to have an unlocked bootloader. This is something that all our readers might already have done, otherwise, they might not have landed here.Next up, download and install the Android SDK Platform Tools on your PC. This will provide you with the necessary ADB and Fastboot binaries.Finally, download the stock firmware for your device (these are the complete factory images and not the OTA file because OTAs wouldn’t work in this current scenario)“blueline” for Pixel 3: 11.0.0 (RP1A.201105.002, Nov 2020)“crosshatch” for Pixel 3 XL: 11.0.0 (RP1A.201105.002, Nov 2020)“sargo” for Pixel 3a: 11.0.0 (RP1A.201105.002, Nov 2020)“bonito” for Pixel 3a XL: 11.0.0 (RP1A.201105.002, Nov 2020)
These are the latest version at the time of publishing this guide. To check for newer builds, head over to Google’s Factory Images page. With that said, you may now proceed with the steps to restore Pixel 3/3 XL/3a/3a XL to stock firmware via Fastboot and unbrick it.
STEP 2: Extract Pixel 3/3 XL/3a/3a XL Stock Firmware
To begin with, extract the contents of the Pixel 3/3 XL/3a/3a XL ZIP firmware. Once you do so, you should get a bootloader.img file, three flash files, a radio.img file and a compressed folder.
This second compressed folder will have other image files such as the modem, system, vendor, boot, etc. You should not extract this ZIP file. This is because we would be flashing this ZIP file as it is. Now there are two different approaches that you take while flashing the firmware. You could either use the flash-all script that will automatically flash all the files. If that doesn’t work out, then you could manually flash the IMG files to its partition. We have shared both these methods in-depth, refer to the one that meets your requirements.
How to Fix FAILED (remote: unknown command) ErrorHow to Extract payload.bin and get the stock boot image fileFix: pip is not recognized as an internal or external commandDetailed Steps to Fix adb is not recognized Error
STEP 3A: Restore Pixel 3/3 XL/3a/3a XL via Flash-All Script
I inspected this Fastboot Firmware and the flashing file consists of a command that will wipe off all the data on your device. As of now, your device is stuck in Fastboot (kind of), hence a device backup is not possible. Fret Not. I will show you how to modify that flash file and remove the command responsible for device formatting. This way you will be able to flash the stock ROM on your Pixel 3/3 XL/3a/3a XL device, without losing any data! That’s it. These were the steps to restore Pixel 3/3 XL/3a/3a XL to Stock Firmware via Flash-All Script. This was the automated method and should do its job most of the time. And if it worked out for you, then you may skip the below STEP 3B and move over to STEP 4. However, if you are facing any issue or two, then you could manually flash these files as well. Here are the required fastboot commands for the same.
STEP 3B: Restore Pixel 3/3 XL/3a/3a XL via Fastboot Commands
That’s it. With this, you have successfully restored Pixel 3/3 XL/3a/3a XL to Stock Firmware via Fastboot Commands and unbricked it. Let’s now move onto the final step.
Fix Android stuck in Recovery Mode: No Command screenHow to Fix TWRP Error 7 (While Flashing Custom ROM via TWRP)How to Install OTA Updates in Rooted Android DevicePatch Stock Boot Image via Magisk and Flash it using Fastboot
STEP 4: Relock Bootloader
The fourth and final step requires you to relock the bootloader on your Pixel 3/3 XL/3a/3a XL device. Here are the steps for the same: With this, we conclude the guide on how to restore your Pixel 3/3 XL/3a/3a XL device to stock firmware via Fastboot and unbrick it. If you still have any queries, do let us know in the comments section below.
[GUIDE] Flash ROMs/Magisk/TWRP/Kernels on A/B Partition DevicesEverything About Magisk- Manager, Modules and MoreBest Magisk Modules of 2020 [PART-1]Fix Magisk Module Bootloop without TWRP Recovery