Smali Patcher can do this automatically via ADB, but it is slow.
Hides the "Mock Location" setting so apps treat fake GPS data as real. Secure Flag: smali patcher magisk module top download
Smali Patcher is a powerful utility designed to apply low-level system patches to an Android device's framework, primarily used to enable mock locations without detection by apps like Pokémon GO. What is Smali Patcher? Smali Patcher can do this automatically via ADB,
To download the Smali Patcher Magisk module, follow these steps: follow these steps: