I have solved this problem. Now after flashing stock rom three strange things happen first is that my finger print is not showing in setting. Second is that auto brightness controll feature is gone. And third an android icon is showing as icon of my camera app.1 - Had you flashed vendor via fastboot? ( fastboot flash vendor vendor.img )
2 - Can you boot into twrp ?
Since /vendor is symbolic link, you need to flash vendor image to /dev/block/mmcblk0p51.
Or even full path /dev/block/platform/soc/7824900.sdhci/by-name.
You can do it from twrp, terminal as superuser (su) via dd and vendor image on sd card >
dd if=/external_sd/vendor.img of=/dev/block/mmcblk0p51. Also try to flash dm-verity + forced-encryption patch.
3 - You can probably boot to eRecovery to recover latest stock system. Also flash the same patch with twrp and permissive kernel.
If they can work after installing custom rom and then please recomend me an A-only android 11 custom rom for ldn-l21.