This script will copy your firmware to both slots. Makes flashing ROMs on A/B devices that much easier.
General flash steps are:
- Flash StockOS, A custom ROM and Finalize.zip
- Wipe/Format Data (Optional)
- Boot System
Bash script for copying vendor partitions to both slots on A/B android devices: Download TWRP-Ready zip