You seem to be having a huge number of problems. I haven't seen anyone else post this many problems. Maybe starting over from an original unrooted mi9 might correct all of your problems. Not trying to offend. Just making an observation. Good luck.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?