In this tutorial, we show you how to fix GPS Location locking issue on Xiaomi smartphone when playing Pokemon Go, or using Google Maps or similar GPS based application. Thanks to MIUI device team member BharatG, his GPS configuration file lets you fix the issue quickly. All you need to replace the original gps.conf file with his modified file. Note that, as this method requires accessing system internals and replacing a system file, you should have root access on the phone. If you have root access on the phone and good knowledge on Android system, just follow as described below.
How to Fix GPS Location Locking Issue on Xiaomi smartphone
This guide is assuming that you have already root access on your phone.
Install a root explorer app (For example, ES File Explorer with Root Permissions enabled)
Download gps.conf zip file [HERE] [mirror] (requires free sign up to download the file)
Unzip the downloaded gps.conf zip file. You will get many country lists
Copy the appropriate version of gps.conf file (according to your country) and save it inside the folder to your internal storage.
Open ES File Explorer and copy the gps.conf file to /system/etc/
Replace the original gps.conf file and then reboot your phone. Your GPS should fix almost instantly. Now when you on ‘high accuracy’ mode, you will be able to play your favorite game Pokemon Go game without location error. You may also like: How to fix GPS related issue on Android smartphone? (Source – MIUI)