Gps Fix Problem

Discussion in 'Xiaomi Mi 4' started by Hobbes., Mar 22, 2016.

  1. Hobbes.

    Hobbes.Members

    Mar 22, 2016
    25
    3
    15
    Male
    Paris
    Hello,

    I am a French user of the Xiaomi Mi 4 LTE, with China Dev Rom from Xiaomi.eu.

    I have a problem with my phone, I lose the GPS connection all the time ... It takes a long time to get a fix and then I lose it after a few minutes each time. I can't use Google Maps or Waze in my car...

    In Paris, here is the fix gps I have:
    Screenshot_2016-03-22-11-53-41_com.chartcross.gpstest.png

    Do you know how I can fix it?
    Thanks !
     
  2. mypointofview

    Mar 22, 2016
    1
    1
    13
    Male
    Same happens here, from Spain. Dont know how to solve it yet.
     
    Octaviastikos likes this.
  3. polve91

    polve91Members

    Feb 20, 2016
    113
    24
    28
    I have a similar problem, when I try to using Google maps, so an app that needs the GPS, it doesn't work correctly and it is hard to use it in this conditions
     
  4. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    Change your ntp servers in order to get more accurate fix.
    Gps.conf located in root/etc folder

    As an example y change this lines and works ok

    NTP_SERVER=1.es.pool.ntp.org
    NTP_SERVER=1.europe.pool.ntp.org
    NTP_SERVER=3.europe.pool.ntp.org

    Sent from my MI 4W using Tapatalk
     
    debianus likes this.
  5. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    For france

    server 0.fr.pool.ntp.org server 1.fr.pool.ntp.org server 2.fr.pool.ntp.org server 3.fr.pool.ntp.org

    Sent from my MI 4W using Tapatalk
     
    Milous98 likes this.
  6. polve91

    polve91Members

    Feb 20, 2016
    113
    24
    28
    How can I do it? Which is it the way in order to do it?
    Do you know the dates for Italy?

    Thank you.
     
  7. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    #7Khuzastur,Mar 24, 2016
    Last edited: Apr 19, 2016
    You must reconfigure your gps.conf locsted in root/etc folder and change the ntp servers....

    #Test
    #NTP_SERVER=time.gpsonextra.net
    #Asia
    # NTP_SERVER=asia.pool.ntp.org
    #Europe
    NTP_SERVER=2.es.pool.ntp.org
    NTP_SERVER=1.europe.pool.ntp.org
    NTP_SERVER=3.europe.pool.ntp.org

    For italy change ntp_server=

    server 0.it.pool.ntp.org
    server 1.it.pool.ntp.org
    server 2.it.pool.ntp.org
    server 3.it.pool.ntp.org


    Use root explorer or similar app
    Sent from my MI 4W using Tapatalk
     
    polve91 likes this.
  8. polve91

    polve91Members

    Feb 20, 2016
    113
    24
    28
    Thank you for your advice. I will try to applying this configuration and I will let you know if it is works better
     
    Khuzastur likes this.
  9. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    Copy that,waiting 4 good news on your gps stability

    Sent from my MI 4W using Tapatalk
     
  10. Hobbes.

    Hobbes.Members

    Mar 22, 2016
    25
    3
    15
    Male
    Paris
    Thank you, it works much better !
    Here is the file after updating, do I have to change something else ? Sometimes the GPS loses connection ...
     

    Attached Files:

  11. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    Sure,uploading your new gps.conf you have duplicated ntpservers in two different lines and test server uncommented.

    About getting without connection, is a mayor trouble in mi4 architecture, metal frame and gps colides.

    Hope the new gps. conf solves some issues.


    Sent from my MI 4W using Tapatalk
     

    Attached Files:

  12. migliamario

    Sep 25, 2015
    16
    5
    13
    If you can edit gps conf, you have the root permission, download faster GPS from store and he work for you! It s very simple to use.

    Inviato dal mio MI 4W utilizzando Tapatalk
     
  13. polve91

    polve91Members

    Feb 20, 2016
    113
    24
    28
    Is there a way to improve the GPS quality without rooting permission?
     
  14. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    No,only perhaps with gps status,but as you have a bad gps.conf file.....you must have it running every time you need....

    Sent from my MI 4W using Tapatalk
     
    polve91 likes this.
  15. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    Not working sometimes,as mi4 have an emulated storage,so it didnt work at all.Yes the app make another gps.conf file but didnt place it the right place

    Sent from my MI 4W using Tapatalk
     
  16. Sanketh Bennur

    Jul 14, 2016
    1
    0
    11
    Male
    Hi. I am a Xiaomi Mi 4 user in India. I have faced the very same GPS issue in my device. I have tried all methods, like downloading a gps.conf for my country, rooting my device in order to replace the original gps.conf file with the new one etc.

    Even after this, GPS still can't lock my position.

    I have attached the gps.conf file that I'm using. Please verify the txt and let me know if there needs to be any correction.

    Also, if you feel I have used a wrong gps.conf file or some lines are missing, please edit the text and upload here.

    Thank you.
     

    Attached Files:

  17. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    For India copy this in your gps.conf and restart

    #Uncommenting these urls would only enable #the power up auto injection and force injection(test case). #XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin #XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin #XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin #Version check for XTRA #DISABLE = 0 #AUTO = 1 #XTRA2 = 2 #XTRA3 = 3 XTRA_VERSION_CHECK=0 # Error Estimate # _SET = 1 # _CLEAR = 0 ERR_ESTIMATE=0 #Test #NTP_SERVER=time.gpsonextra.net #Asia NTP_SERVER=1.in.pool.ntp.org NTP_SERVER=0.asia.pool.ntp.org NTP_SERVER=1.asia.pool.ntp.org NTP_SERVER=2.asia.pool.ntp.org NTP_SERVER=3.asia.pool.ntp.org #North America # NTP_SERVER=north-america.pool.ntp.org # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info # 4 - Debug, 5 - Verbose # If DEBUG_LEVEL is commented, Android's logging levels will be used DEBUG_LEVEL = 3 # Intermediate position report, 1=enable, 0=disable INTERMEDIATE_POS=0 # Below bit mask configures how GPS functionalities # should be locked when user turns off GPS on Settings # Set bit 0x1 if MO GPS functionalities are to be locked # Set bit 0x2 if NI GPS functionalities are to be locked # default - non is locked for backward compatibility #GPS_LOCK = 0 # supl version 1.0 SUPL_VER=0x10000 # Emergency SUPL, 1=enable, 0=disable SUPL_ES=0 #Choose PDN for Emergency SUPL #1 - Use emergency PDN #0 - Use regular SUPL PDN for Emergency SUPL USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1 #SUPL_MODE is a bit mask set in config.xml per carrier by default. #If it is uncommented here, this value will overwrite the value from #config.xml. #MSA=0X2 #MSB=0X1 #SUPL_MODE= # GPS Capabilities bit mask # SCHEDULING = 0x01 # MSB = 0x02 # MSA = 0x04 # ON_DEMAND_TIME = 0x10 # GEOFENCE = 0x20 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE CAPABILITIES=0x31 # Accuracy threshold for intermediate positions # less accurate positions are ignored, 0 for passing all positions # ACCURACY_THRES=5000 ################################ ##### AGPS server settings ##### ################################ # FOR SUPL SUPPORT, set the following # SUPL_HOST=supl.host.com or IP # SUPL_PORT=1234 SUPL_HOST=supl.google.com SUPL_PORT=7276 # FOR C2K PDE SUPPORT, set the following # C2K_HOST=c2k.pde.com or IP # C2K_PORT=1234 # Bitmask of slots that are available # for write/install to, where 1s indicate writable, # and the default value is 0 where no slots # are writable. For example, AGPS_CERT_WRITABLE_MASK # of b1000001010 makes 3 slots available # and the remaining 7 slots unwritable. #AGPS_CERT_WRITABLE_MASK=0 #################################### # LTE Positioning Profile Settings #################################### # 0: Enable RRLP on LTE(Default) # 1: Enable LPP_User_Plane on LTE # 2: Enable LPP_Control_Plane # 3: Enable both LPP_User_Plane and LPP_Control_Plane LPP_PROFILE = 2 ################################ # EXTRA SETTINGS ################################ # NMEA provider (1=Modem Processor, 0=Application Processor) NMEA_PROVIDER=0 # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE) SGLTE_TARGET=0 ################################################## # Select Positioning Protocol on A-GLONASS system ################################################## # 0x1: RRC CPlane # 0x2: RRLP UPlane # 0x4: LLP Uplane A_GLONASS_POS_PROTOCOL_SELECT = 0

    Sent from my MI 4W using Tapatalk
     
  18. Jimbooow

    JimbooowMembers

    Jul 18, 2016
    2
    0
    13
    Male
    Hi guys/girls,

    I have the same problem I think, I live in hungary, could you please help me out?
    Thanks in advance
     
  19. Ra7or

    Ra7orMembers

    Jan 19, 2012
    3
    2
    13
    Hi, I'm from Portugal and I'm having this issue too. Just change gps.conf and so on, and fix is almos impossible. MIUI 8 6.7.14 Tried stable, but the problem persists.
     
    dgeorgeg1 and Mitesh Patel like this.
  20. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    I will make some for portugal and hungary this night,will upload them tomorrow

    Sent from my MI 4W using Tapatalk
     
    dgeorgeg1 and Mitesh Patel like this.
  21. Mitesh Patel

    Jul 19, 2016
    2
    0
    11
    Male
    Hi,

    I live in Seattle, Washington, USA. And I am facing the same problem. It there in fix for this? I really neer GPS as I recently moved to Seattle and its difficult to drive without GPS !

    Thanks
     
  22. Mitesh Patel

    Jul 19, 2016
    2
    0
    11
    Male
    I have tried this file for USA. but the issue is still not solved. Can you please have a look?
     

    Attached Files:

  23. KcNirvana

    KcNirvanaMembers

    May 19, 2015
    449
    235
    67
    Male
    For the Euro2016 Winner
     

    Attached Files:

    • gps.txt
      File size:
      437 bytes
      Views:
      210
  24. manlysixpacks

    Jan 20, 2016
    85
    23
    20
    Male
    Very easy, i have done to my fone on China 7.5.3, it locates very well now. So, go to CH Play and install GPS Fix, open and Start Fixing, let it be done and your gps will be good at all :D. No need to replace gps.conf anymore.
     
    FERNANDO VICENTE likes this.
  25. Khuzastur

    KhuzasturMembers

    Mar 23, 2016
    16
    8
    13
    Male
    just overwrite the gps.conf with this
     

    Attached Files:

Share Our Site