To build:
Setup envirnoment
. build/envsetup.sh
Then prepare
lunch twrp_apollob-eng
Don't forget this
export ALLOW_MISSING_DEPENDENCIES=true
Finally, make the image
m recoveryimage
cd $OUT
see recovery.img