- Oct 7, 2012
- 53
- 18
Using MIUI v5 4.12, on Xiaomi Mi-1s.
Ok, I already point this issue in one of the changleogs and in a thread I created (http://miuiandroid.com/community/threads/location-services-point-to-china-fix.20077). Basically, location services don't work. Half the time, the device points to China, half the time it says "unavailable location".
I already tried re-flashing gapps, pushing Google's services apks into /system/app, pushing just the location ones, faster fix, GPStest... But the new came when I delete BaiduNetworkLocation.apk, since then Android insists that has location services deactivated. So, I assumed MIUI is pointing somewhere somehow to BaiduLocation...apk.
I decompile the framework-res.apk and in the strings.xml I found:
Please, somebody does can take a look? It doesn't seem right, and I'm looking that it happens here and there to some users.
I'm trying to recompile with the Google provider, but I'm having issues with apktool, if somebody can recompile using V5 4.12 for Mi-1s and post it, would be great to know if that solves it.
Ok, I already point this issue in one of the changleogs and in a thread I created (http://miuiandroid.com/community/threads/location-services-point-to-china-fix.20077). Basically, location services don't work. Half the time, the device points to China, half the time it says "unavailable location".
I already tried re-flashing gapps, pushing Google's services apks into /system/app, pushing just the location ones, faster fix, GPStest... But the new came when I delete BaiduNetworkLocation.apk, since then Android insists that has location services deactivated. So, I assumed MIUI is pointing somewhere somehow to BaiduLocation...apk.
I decompile the framework-res.apk and in the strings.xml I found:
Code:
<string name="config_networkLocationProvider2">com.baidu.bms.location.BaiduNetworkLocationProvider</string>
<string name="config_geocodeProvider">com.baidu.bms.location.BaiduGeocodeProvider</string>
Please, somebody does can take a look? It doesn't seem right, and I'm looking that it happens here and there to some users.
I'm trying to recompile with the Google provider, but I'm having issues with apktool, if somebody can recompile using V5 4.12 for Mi-1s and post it, would be great to know if that solves it.