Are you aware of newer versions of no-verity-opt-encrypt
. You do not mention your device, but the subject is discussed here:
(Perhaps search the tread.) I understand newer versions can be found here.
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/