Prerequisites:
- Device must be running OxygenOS version 16.0.5.1301,
- Flash the current build again using local install to ensure both slots have the same firmware. (Failing to do so will get you bricked)
Clean flash:
- Reboot to bootloader
- Flash boot, vendor_boot, dtbo and recovery images
fastboot flash boot boot.imgfastboot flash vendor_boot vendor_boot.imgfastboot flash dtbo dtbo.imgfastboot flash recovery recovery.img
- Reboot to recovery
- Format data before sideload
- Sideload ROM zip
adb sideload PixelOS*.zip
- Reboot and voila!
Updating to a newer build (dirty flash):
- Sideload ROM zip
- Reboot and voila!
If sideloading rom gives error 7:
- Reboot to recovery
- Enter fastbootd
- fastboot wipe-super super_empty.img
- Enter recovery
- Sideload the rom zip
- Format data
- Reboot
If after sideloading rom, device boots to bootloader:
- Do clean flash steps again
- When it asks for Yes/No prompt for installing additional packages, select Yes
- After device reboots recovery, sideload again.
- This time when it asks for Yes/No prompt for installing additional packages, select No
- Format and Reboot