Resolved Default location service is Baidu, from 2.6.29 roms ?

Discussion in 'Bugs' started by krispuniq, Jul 11, 2012.

Thread Status:
Not open for further replies.
  1. krispuniq

    krispuniq Members

    Trophy Points:
    18
    I think the blokes at xiaomi have set the location service to BAIDU instead of Google location services, starting from ROMS dated 2.6.29. My foursquare, banjo and a host of other location based apps have started to act crazy since then and i guess this is the only reason for those apps to think i am not in a location where i actually am !

    Can MIUIandroid.com please do something about this ? may be restore the location services to Google in all the roms before releasing them ? Any other option that can prevent this issue?

    I was thinking of something like a flashable patch or zip file that has google apps including location services! but, flashing something like this on my Mi-One is not possible i believe because the recovery will accept only update.zip crap !

    Whatever be the solution, it would help a lot of guys if the location services bug is fixed. May be admins here can write to xiaomi asking them to stop binding the default location services to baidu ?
    any help to solve this issue is appreciated. I dont have the location service apk from earlier roms and faster fix didnt solve my issue !
  2. Google Adsense

  3. boxcarracer81

    boxcarracer81 Members

    Trophy Points:
    75
    Push this to your device, it's from 2.6.15 and should work fine.

    Attached Files:

    walkdifferent likes this.
  4. azzy166

    azzy166 Members

    Trophy Points:
    13
    Sorry to ask such simple question, can you please explain how to use this file? I copied it into my phone and try to install it but been noticed "Application not installed", is this the correct way to do?

    Many thanks!!
  5. krispuniq

    krispuniq Members

    Trophy Points:
    18
    Do you have ROOT permission enabled on your device ? ( i guess you have, coz you are on MIUI)

    1. Download one of these apps, either Super Manager or Root Explorer.I am using Super Manager.
    2. Open Super Manager, go to File manager screen within the app. click menu->settings->setup root
    3. Now it will ask for root permission to this app, click allow.
    4. Now browse to the folder where you downloaded the NetworkLocation.apk.
    5. select the file & click copy (in the bottom bar)
    6. now go back to root of your phone "/" (keep pressing back button untill you reach "/" shown on the top left)
    7. now go to /system, it will ask ways to mount, select R/W option
    8. got o /System/app and delete the NetworkLocation.apk here
      Paste the file and reboot.You are done
    martijnvdw and azzy166 like this.
  6. azzy166

    azzy166 Members

    Trophy Points:
    13

    Thank you so much for this very detail instruction, and I got the google map work now!!!

    However, it seems not that accurate as before, I was using Scotland MIUI ROM but now they are closed, and they suggested their fans to come to MIUI andriod, do you know where I can find the summary for the functions that MIUI andriod optimised or added base on the original MIUI ROM?

    Many thanks!!
    krispuniq likes this.
  7. krispuniq

    krispuniq Members

    Trophy Points:
    18
    It is mostly a simple translated ROM only. Very few changes are done, like adding google apps etc. official changelog can be found on friday at ROM Release section.

    What phone are you using btw ?
  8. azzy166

    azzy166 Members

    Trophy Points:
    13
    I'm using Samsung Galaxy S II, the google map was quite accurate when I was using Scotland MIUI, so if I install the MIUI android ROM, do I need to copy this NetworkLocation.apk to do the file replacment again? or the Google map will automatically work?

    Thanks.
  9. krispuniq

    krispuniq Members

    Trophy Points:
    18
    As of now, like it is being mentioned everywhere, location service apk is default set to Baidu or some chinese thing i believe. So if you install MIUI v4 2.7.6 or 2.6.29, from miuiandroid.com also, you need to copy this networklocation.apk into system/app so that network location works properly for you. I hope this issue would be solved in today's build or next week's build at the latest !
  10. boxcarracer81

    boxcarracer81 Members

    Trophy Points:
    75
    Also, you can try fasterfix (playstore) to get a faster and more accurate fix.
  11. kmarkb_8017

    kmarkb_8017 Members

    Trophy Points:
    1
    hi guys i tried both instructions, pusing the old networklocation.apk file provided here and also fasterfix from playstore but it still wont find my gps when i use google maps offline, i have galaxy s2 running MIUI v4 2.7.13

    I've used root explorer to copy and paste the file and still didnt work so i tried fasterfix and it seemed to change some settings but it still not working. I've downloaded some maps to googlemaps and i was hoping gps only without data/wifi would find my location but no luck.

    any other solution guys?
  12. nayan3

    nayan3 Members

    Trophy Points:
    11
    This trick worked with Nexus S MIUI v4 2.7.6 but is not working again with 2.7.13 :-(
  13. walkdifferent

    walkdifferent Members

    Trophy Points:
    13
    Thanks for the file and the fix, do not forget to change permissions on new .apk before reboot. read for all, write for owner. I am new to the MIUI ROM and this was the only thing stopping it from being nearly perfect, all good now. nice work by devs.
  14. kmarkb_8017

    kmarkb_8017 Members

    Trophy Points:
    1
    ok how do you change permissions on the new apk? can u give a step by step guide pls
  15. walkdifferent

    walkdifferent Members

    Trophy Points:
    13
    Once you have copied. apk press and hold until menu pops up, then select permissions and simply deselect and select required ones
  16. kmarkb_8017

    kmarkb_8017 Members

    Trophy Points:
    1
    Nevermind guys its working now but it's hard to get a signal
  17. daica

    daica Members

    Trophy Points:
    13
    thanks for all the info, now i know why the Map show wrong location
    no baidu please
  18. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    I'm trying to get to the bottom of this. Updates soon.
  19. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    I have talked to Mark, and this is pretty serious. Xiaomi never told anyone they were moving from Google -> Baidu. We have removed the Baidu apk and replaced it with the Google one for next release. I don't trust Baidu either, and this pisses me off that they included this without telling anyone. We are currently debating whether we release a hotfix tomorrow.
    krispuniq and daica like this.
  20. boxcarracer81

    boxcarracer81 Members

    Trophy Points:
    75
    Doesn't that have to do with xiaomi removing all gapps from Miui as they had stated a while ago? At least that is what I thought. Nevertheless, it's still shite. Thanks for your efforts:D
  21. iBotPeaches

    iBotPeaches Script Gatekeeper Staff Member

    Trophy Points:
    335
    That could be true. Either way more investigating is under way.
    pa.pn2 likes this.
Thread Status:
Not open for further replies.

Share Our Site