✴️ If your ROM has an OTA Updater use that if possible to install updates.
Prerequisites:
- excluding
recovery imageandvbmetathe prerequisites remain the same asPrerequisites
1. Rreboot to recovery mode with the command fastboot reboot recovery

2. In recovery, go to Factory reset > Format cache partition and hit Yes. Go back and select Apply update > Apply from ADB. You should see this when running adb devices:

3. Now run the command adb sideload custom-rom.zip (replace custom-rom.zip with custom ROM package name). For example, I updated Pixel Experience Plus to the latest release:

ℹ️ You might need to sideload GApps again