Then once you are done with your work, you may reboot your device to switch slots and be on the new updated OS. However, with the latest iteration of the OS and the Pixel devices, things are getting complicated. For the unaware, Google has implemented an Anti-Rollback Protection with Android 13 on the Pixel 6 series. As a result of which, you’ll no longer be able to perform a downgrade to Android 12 [though you could still do so by being on the Android 13 bootloader and flashing the Android 12 firmware].
While that’s well and good, where does the need for flashing the firmware on both slots fits in this scenario? Let me explain. As of now, your device has been flashed with the Android 13 firmware in one slot. If you end up flashing a custom binary that prevents the device from booting up [this is quite a usual phenomenon in this domain], then it will try booting using the second slot, which still has Android 12 installed.
In other words, it will try performing a downgrade, which would straightaway kick in the Anti-Rollback mechanism, and prevent your device from booting up. And here it is- a bricked Pixel device! So to prevent that from happening, it is recommended to install the Android 13 build to both the slots on your Pixel 6A/6/Pro. And in this guide, we will show you how to do just that. Follow along.
Install Android 13 in Both Slots on Pixel 6A/6/Pro to Prevent Brick
Before starting, it is recommended that you take a complete device backup. 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: Modify Android 13 flash-all.bat File
When we flash the firmware via flash-all file, it tends to automatically restart the device once the flashing is complete. So we will add a command and instruct it not to do so because we will have to change slots and then flash to the other partition as well. Here’s how it could be done
STEP 2: Install Android SDK
Next up, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.
STEP 3: Enable USB Debugging and OEM Unlocking
You will also have to enable USB Debugging and OEM Unlocking on your Pixel device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.
So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.
STEP 4: Unlock Bootloader on Pixel 6A/6/Pro
Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock Bootloader on Google Pixel Devices.
STEP 5: Boot Pixel 6A/6/Pro Fastboot Mode
STEP 6: Check Current Active Slot
Let’s now check the current active slot to which we would be flashing the firmware.
STEP 7: Flash Android 13 Firmware to Both Slots
That’s it. These were the steps to install Android 13 to both the slots on your Pixel 6A/6/Pro to prevent it from getting bricked. Now you are in a safe spot- if your device is unable to boot via the current active slot, it will try booting from another slot, which also has Android 13 installed. So there is no rollback involved and it should be able to access the OS [even if it doesn’t, you will at least be able to access the Fastboot mode from where you could manually flash the stock firmware].
The second approach to get this job done
So is there any other way of getting this job done? Well, there is another similar approach. In that, you should flash the Android 13 firmware without adding the fastboot –skip-reboot command in the flash-all file. Once the flashing is done, your device will boot to the OS. Now reboot to the Fastboot Mode and switch to the inactive slot as explained in STEP 7. Then again flash the firmware via flash-all.bat and you would have Android 13 installed across both the slots. On that note, we conclude these two different methods to install Android 13 to both the slots on your Pixel 6A/6/Pro to prevent it from getting bricked. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
How to Bypass Anti Rollback Mechanism in Pixel 6A/6/6 ProHow to Pass SafetyNet in Rooted Pixel 6/ProHow to Install OTA Updates on Rooted Pixel 6A/6/ProDowngrade Pixel 6A/6/Pro from Android 13 to Android 12: Bypass Anti Rollback