This problem is characterized by modified recovery-> twrp file
And the root permit results in an unauthorized system modification. Before upgrade -> Original Recovery Restore, ROOT Permissive Delete!
This is a known phenomenon in Android phones since the first TWRP modified Recovery. This trick is used at the time of purchase by the fraudulent sellers!