Pixel 5 "adb remount" not working - ro.boot.vbmeta.device_state is locked

I just installed /e/os on my pixel 5 and enabled developer options and usb debugging. However, “adb remount” fails with:

Binder ioctl to enable oneway spam detection failed: Invalid argument
remount failed
Skipping /system for remount
Skipping /system_ext for remount
Skipping /vendor for remount
Skipping /product for remount
No partitions to remount```

Further research indicates that this is caused by the fact that `ro.boot.vbmeta.device_state` is set to `locked`. I've tried `fastboot flashing unlock`, which works but doesn't change that property, and `fastboot oem unlock` (after verifying that "OEM Unlocking" is enabled in Developer Options), which gives the error:

```$ fastboot oem unlock
FAILED (remote: 'Invalid oem command unlock')
fastboot: error: Command failed```

How do I set `ro.boot.vbmeta.device_state` to `unlocked` (or anything other than `locked`, based on the code I've found that checks it) on this phone?

Thanks,

Keith

**[Regain your privacy! Adopt /e/ the unGoogled mobile OS and online services](https://e.foundation/)**![phone|80x80](upload://mtacZf1KIgDZJegjO3jnRNYJDPg.png)

I found the answer. I downloaded vbmeta.img from the lineageos web site and ran:

fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

That changed ro.boot.vbmeta.device_state to be an empty string, and adb remount now works.