Hi, i don't have a Mi 8 yet (ordered an Explorer Edition), but I actually use MIUI 10 on my phone with magisk. In order to run Pokémon you have to delete ALL Magisk and Titanium Bakcup folder (maybe also with other root-app) from internal memory and sub-folders.