Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Gps.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ciccioesposito
    Member
    • Aug 2014
    • 75

    Gps.conf

    I own a THL W8S Smartphone and the GPS is really a crap, I have tried all the solutions found on the Internet but I have not solved the problem.

    The GPS does not lock the Satellites unless I use an internet connection, but when I have a SIM with no data traffic, the GPS does not work.
    I would like to test it with the GPS.conf file used in a Samsung device, is there anybody who can post the file here?
  • aplok
    Experienced Board Member
    • Jun 2013
    • 1155

    #2
    Re: Gps.conf

    et voila:

    3. Modify the gps.conf file (Most Crucial Stage)
    Copy the codes in grey box (in first post) to a notepad, then change the extension name from .txt to .conf then copy to your phone
    Use file manager to copy to this location: /etc/gps.conf and replace the original gps.conf
    Open and Edit the gps.conf using rootexplorer or others file managers
    Change the COUNTRY and REGION in following lines with the info you got from the website just now. Keep other values unchange unless you know what it is. Example of REGION such as NorthAmerica, Asia, Africa, Europe.
    Your new gps.conf should look as below:


    NTP_SERVER=0.COUNTRY.pool.ntp.org
    NTP_SERVER=1.COUNTRY.pool.ntp.org
    NTP_SERVER=2.COUNTRY.pool.ntp.org
    NTP_SERVER=3.COUNTRY.pool.ntp.org
    NTP_SERVER=0.REGION.pool.ntp.org
    NTP_SERVER=1.REGION.pool.ntp.org
    NTP_SERVER=2.REGION.pool.ntp.org
    NTP_SERVER=3.REGION.pool.ntp.org
    NTP_SERVER=COUNTRY.pool.ntp.org <-This is changed from the top line to here. It may works better if we put it here.

    XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
    XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
    XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

    # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
    # 4 - Debug, 5 - Verbose
    DEBUG_LEVEL =0

    # Intermediate position report, 1=enable, 0=disable
    INTERMEDIATE_POS=0

    # Accuracy threshold for intermediate positions
    # less accurate positions are ignored, 0 for passing all positions
    ACCURACY_THRES=0

    # Report supl ref location as position, 1=enable, 0=disable
    REPORT_POSITION_USE_SUPL_REFLOC=1

    # Wiper (wifi positioning), 1=enable, 0=disable
    ENABLE_WIPER=1

    ################################
    ##### AGPS server settings #####
    ################################

    # FOR SUPL SUPPORT, set the following
    SUPL_HOST=supl.******.com
    SUPL_PORT=7276
    SUPL_NO_SECURE_PORT=3425
    SUPL_SECURE_PORT=7275
    SUPL_TLS_HOST=FQDN
    SUPL_TLS_CERT=/etc/SuplRootCert

    # FOR C2K PDE SUPPORT, set the following
    C2K_HOST=c2k.pde.com
    C2K_PORT=1234

    CURRENT_CARRIER=common
    DEFAULT_AGPS_ENABLE=TRUE
    DEFAULT_SSL_ENABLE=FALSE

    # TRUE for "User Plane", FALSE for "Control Plane"
    DEFAULT_USER_PLANE=TRUE
    Make sure the permission of the file is rw-r--r--
    thx

    Comment

    • ciccioesposito
      Member
      • Aug 2014
      • 75

      #3
      Re: Gps.conf

      This version is slightly different from my GPS.conf file and it works perfect when I have the connection to the Internet but, once again if I am disconnected from it, I cannot loch any satellite.

      Comment

      • gianni253
        Experienced Board Member
        • Nov 2012
        • 903

        #4
        Re: Gps.conf

        You can fix satellites when connected because your position is derived by the network itself, not by gps.
        I think there's no solution to your problem or, at least, it's not a software solution because the problem is a hardware issue ... most of times it's related to a poor antenna design.

        Comment

        • ciccioesposito
          Member
          • Aug 2014
          • 75

          #5
          Re: Gps.conf

          Originally posted by gianni253
          You can fix satellites when connected because your position is derived by the network itself, not by gps.
          I think there's no solution to your problem or, at least, it's not a software solution because the problem is a hardware issue ... most of times it's related to a poor antenna design.
          I'm sorry gianni 253 but I don't agree with you in reference to your statement that the position is derived by the network, due to the same SIM inserted in a Samsung phone works perfectly and so does when using different GPS.Conf file. I do agree instead when you say that most of time is related to an hardware issue i.e. poor antenna design.
          Additionally, a "well configured" GPS.conf file makes the difference!

          I found the solution and I post it here due to it is applicable to all the smartphones with a gps antenna. Keep in mind that the phone must be rooted in order to allow the program to write the gps.conf file into the system.

          1. Download from the market FasterFix (it is free of charge) and install it; launch the program and choose from the menu your Country then push "Go" you get a pop up saying that the new gps.conf file has been written into the system.

          2. Turn on the gps, use GPS Test tomonitor the status of the satellites in view and after a while you'll see those in use and the level of the signal.

          Amazing!!!!! I was going crazy :-)

          Comment

          • fandm
            Experienced Board Member
            • Aug 2011
            • 648

            #6
            Re: Gps.conf

            try this link below, also have you downloaded the ****** maps, your phone needs these, gps on aphone is assisted hence the agps settings in your phone and ****** maps will help you to lock on the sats.

            _http://lifehacker.com/5873007/how-can-i-fix-my-androids-crappy-gps

            Comment

            • ciccioesposito
              Member
              • Aug 2014
              • 75

              #7
              Re: Gps.conf

              Originally posted by fandm
              try this link below, also have you downloaded the ****** maps, your phone needs these, gps on aphone is assisted hence the agps settings in your phone and ****** maps will help you to lock on the sats.

              _http://lifehacker.com/5873007/how-can-i-fix-my-androids-crappy-gps
              I had already downloaded ****** maps and used all the suggested settings for Agps and so on but it didn't work for me, using the procedure described in my previous post, did help me.

              Comment

              Working...