Hey, bitte registriere dich, um alle Funktionen nutzen zu können!

Mach's gut, CyanogenMod. Hallo LineageOS. ♥ Unsere Community freut sich auf die neue Ära.


Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Für Deutschland optimierte gps.conf
#1
Hat jemand eine für Deutschland optimierte gps.conf? Falls es wichtig ist, es geht um ein Zuk Z1, das kann auch Glonass und Baidou.

Offensichtlich kann man den NTP-Server verbessern. Was noch? IMHO sollte man den Port auf 7275 setzen um eine SSL-Verbindung zu erhalten. Vgl. https://blog.cryptomilk.org/2012/07/12/a...e-gps-fix/ und https://wwws.nightwatchcybersecurity.com/tag/gps/

Mein GPS wurde mit LineageOS deutlich schlechter als mit dem StockROM

Das ist die Default.conf von lineage-14.1-20171107


Code:
XTRA_VERSION_CHECK=0
ERR_ESTIMATE=0
NTP_SERVER=north-america.pool.ntp.org
DEBUG_LEVEL = 2
INTERMEDIATE_POS=0
SUPL_VER=0x10000
SUPL_ES=1
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
CAPABILITIES=0x31
LPP_PROFILE = 0
NMEA_PROVIDER=0
SGLTE_TARGET=0
A_GLONASS_POS_PROTOCOL_SELECT = 0


Hier nochmals mit Kommentaren:

Code:
#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=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.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 = 2

# 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=1

#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.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 = 0

################################
# 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


gps.conf vom Stock-ROM

Code:
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
ERR_ESTIMATE=0
NTP_SERVER=time.izatcloud.net
DEBUG_LEVEL = 2
INTERMEDIATE_POS=0
SUPL_VER=0x10000
SUPL_ES=1
CAPABILITIES=0x31
LPP_PROFILE = 0
NMEA_PROVIDER=0
SGLTE_TARGET=0
A_GLONASS_POS_PROTOCOL_SELECT = 0
Antworten
#2
FasterGPS (Faster GPS fix) - https://f-droid.org/app/org.fastergps

NTP Server auf Europa und dann Deutschland. Restliche Einstellungen habe ich nie angefasst, müsstest selbst recherchieren was davon relevant ist.

Sent from my MotoG3 using CyanogenMod Forum mobile app
Antworten
#3
Mit faster GPS u.ä. Apps hatte ich vor Jahren schon ziemliche Schwierigkeiten, die drehen auch nur an der gps.conf und da speziell an den Servern. Die verlinkten Artikel zeigen eigentlich ganz gut wo das Problem ist.

Ichhabe mittlerweile von lineageos auf Dirty Unicorns gewechselt, kann noch nichts sagen, wo es da hakt, aber jedenfalls funktioniert damit der Fingerprint-Sensor. Die gps.conf bei DU sieht so aus:


Code:
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
XTRA_VERSION_CHECK=0
ERR_ESTIMATE=0
NTP_SERVER=north-america.pool.ntp.org
DEBUG_LEVEL = 2
INTERMEDIATE_POS=0
SUPL_VER=0x10000
SUPL_ES=1
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
CAPABILITIES=0x31
LPP_PROFILE = 2
NMEA_PROVIDER=0
SGLTE_TARGET=0
A_GLONASS_POS_PROTOCOL_SELECT = 0

Ich habe aber mit lineageos nicht verglichen.
Antworten
#4
OK, bin raus, böhmische Dörfer. ;D

GPS funktioniert auf meinem Droiden gut, musste mich damit nie näher befassen.

Sent from my MotoG3 using CyanogenMod Forum mobile app
Antworten
#5
Also ich nehme immer den NTP des PTB in Braunschweig.
https://www.ptb.de/cms/ptb/fachabteilung...l-ntp.html

Gruß

P.S.: Schau mal hier rein: http://patricksalm.de/gps-signal-bei-vie...erbessern/
Antworten
#6
Ich habe mir folgende gps.conf beim Zuk Z1 überlegt:

Zitat: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
XTRA_VERSION_CHECK=1
ERR_ESTIMATE=0
NTP_SERVER=europe.pool.ntp.org
DEBUG_LEVEL = 2
INTERMEDIATE_POS=0
SUPL_VER=0x10000
SUPL_ES=1
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
CAPABILITIES=0x31
SUPL_SECURE_PORT=7275
LPP_PROFILE = 2
NMEA_PROVIDER=0
SGLTE_TARGET=0
A_GLONASS_POS_PROTOCOL_SELECT = 0

Ich bevorzuge eine Pool-Adresse, da bin ich besser dran, wenn ein Server down ist und auch wenn ich im Ausland bin.

Ob das schon optimal ist, keine Ahnung. Jedenfalls war es deutlich besser wie bei der Default-Variante. Es war stark bewölkt und ich stand am Abend hinter dem Südfenster.

Bilder mit und ohne AGPS. Ich habe nur ein paar Minuten gewartet, vielleicht zu kurz für Glonass. Davor gab es keinen Fix, dh 1. Fix nach der Installation.

ohne AGPS, Wifi aus, Flugzeugmodus
   

mit AGPS, Wifi an, bei Mobilfunkprovider angemeldet.
   
Antworten



Möglicherweise verwandte Themen...
Thema Verfasser Antworten Ansichten Letzter Beitrag
  GPS Conf einbinden ? denndsd 1 3.035 01.04.2018, 08:09
Letzter Beitrag: zelect0r

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste