security – How to execute Android verified boot during first boot after updating OS in Android

I need to execute AVB (Android verified boot) during first boot after updating Android OS. BOARD_AVB_ENABLE = true is already present in the mk file device/hikey/common/BoardConfigCommon.mk in the external/AVB folder.

I want to know how to check if it is detected normally or not.

Execute AVB during first boot after updating OS.

How to detect AVB abnormal / normal detection to aosp framework?

I am clueless where exactly need to proceed. Kindly guide me.

Reference which I gonethrough: https://android.googlesource.com/platform/external/avb/+/master/README.md