What exactly have you done? Only the boot.img or anything else?
How did you install TWRP and what have you done to remove it, because I understand you are back on AOSP recovery?
When you follow my link above further to the FP4 topic, I guess what you would need(ed) is a clean vanilla status
however I’m not sure which role TWRP might add, as normally you only boot into TWRP (never flash it) and I dont know what a permanent install would change.
When you say
Which OS Version, i.e. any older Version than latest A13 (guessing you had the latest A13 installed,that should habe been FP5.TT4H.A.162.20240609?