For Mi10 And Mi10 pro , the only solution i found to modify , delete system files, folders, is :
- first if you need root , you must install root from TWRP it self ( in advances - instal root ) (magisk v20.3 ) and before reboot make sure you make this steps:
TWRP Recovery , then Advanced ...