Restore Asus TUF AX4200 to the original Asus Firmware

I also looked at this post and tried the method mentioned Revert to stock firmware RT-AX53U - #3 by molnaratt and when I use putty to mtd - r write factory.trx firmware it gives me an error "Could not open mtd device: firmware Can't open device for writing!" Please help