It seems like this app is also ephemeral? you just uninstall it after they've ripped all your data. So as usual you should cross borders with an empty phone, no?
Factory resetting might work if the system partition is not modified, but that covers only a portion of Android devices.
Source: https://chinadigitaltimes.net/2019/07/spyware-used-on-phones...
MFsocket is a separate app that has both an iPhone and Android version that police in Beijing use that does attempt to gain root on both platforms. It is unlikely to actually get root on an Android phone that a technologist would use.