Poor Wifi - Optimal wlan config? - Xperia SP Q&A, Help & Troubleshooting

Wifi range is terrible and keeps disconnecting me, what's the best way to edit these settings?
Code:
# This file allows user to override the factory
# defaults for the WLAN Driver
# Enable IMPS or not
gEnableImps=1
# Enable/Disable Idle Scan
gEnableIdleScan=0
# Increase sleep duration (seconds) during IMPS
# 0 implies no periodic wake up from IMPS. Periodic wakeup is
# unnecessary if Idle Scan is disabled.
gImpsModSleepTime=0
# Enable BMPS or not
gEnableBmps=0
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
# Phy Mode (auto, b, g, n, etc)
# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
gDot11Mode=0
# Handoff Enable(1) Disable(0)
gEnableHandoff=0
# CSR Roaming Enable(1) Disable(0)
gRoamingTime=0
# Assigned MAC Addresses - This will be used until NV items are in place
# Each byte of MAC address is represented in Hex format as XX
Intf0MacAddress=000AF58989FF
Intf1MacAddress=000AF58989FE
Intf2MacAddress=000AF58989FD
Intf3MacAddress=000AF58989FC
# UAPSD service interval for VO,VI, BE, BK traffic
InfraUapsdVoSrvIntv=0
InfraUapsdViSrvIntv=0
InfraUapsdBeSrvIntv=0
InfraUapsdBkSrvIntv=0
# Make 1x1 the default antenna configuration
gNumRxAnt=1
# Beacon filtering frequency (unit in beacon intervals)
gNthBeaconFilter=50
# Enable WAPI or not
# WAPIIsEnabled=0
# Flags to filter Mcast abd Bcast RX packets.
# Value 0: No filtering, 1: Filter all Multicast.
# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
McastBcastFilter=3
#Flag to enable HostARPOffload feature or not
hostArpOffload=1
#SoftAP Related Parameters
# AP MAc addr
gAPMacAddr=000AF589dcab
# 802.11n Protection flag
gEnableApProt=1
#Enable OBSS protection
gEnableApOBSSProt=1
#Enable TrafficMonitor
gEnableTrafficMonitor=1
#Set TracfficIdleTimeout
gTrafficIdleTimeout=3000
#Enable/Disable UAPSD for SoftAP
gEnableApUapsd=0
# Fixed Rate
gFixedRate=0
# Maximum Tx power
# gTxPowerCap=100
# Fragmentation Threshold
# gFragmentationThreshold=2346
# RTS threshold
RTSThreshold=2347
# Intra-BSS forward
gDisableIntraBssFwd=0
# WMM Enable/Disable
WmmIsEnabled=0
# 802.11d support
g11dSupportEnabled=1
# 802.11h support
g11hSupportEnabled=1
# CCX Support and fast transition
CcxEnabled=0
FastTransitionEnabled=1
ImplicitQosIsEnabled=1
gNeighborScanTimerPeriod=200
gNeighborLookupThreshold=76
gNeighborReassocThreshold=81
gNeighborScanChannelMinTime=20
gNeighborScanChannelMaxTime=30
gMaxNeighborReqTries=3
# Legacy (non-CCX, non-802.11r) Fast Roaming Support
# To enable, set FastRoamEnabled=1
# To disable, set FastRoamEnabled=0
FastRoamEnabled=1
#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
#the RSSI of the new/roamable AP should be for roaming
RoamRssiDiff=3
# If the RSSI of any available candidate is better than currently associated
# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
# registering for reassoc threshold).
# NOTE: Value of 0 means that we would register for reassoc threshold.
gImmediateRoamRssiDiff=10
# To enable, set gRoamIntraBand=1 (Roaming within band)
# To disable, set gRoamIntraBand=0 (Roaming across band)
gRoamIntraBand=0
# SAP Country code
# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
# Example
# US Indoor, USI
# Korea Outdoor, KRO
# Japan without optional byte, JP
# France without optional byte, FR
#gAPCntryCode=USI
#Short Guard Interval Enable/disable
gShortGI20Mhz=1
gShortGI40Mhz=1
#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
gAPAutoShutOff=0
# SAP auto channel selection configuration
# 0 = disable auto channel selection
# 1 = enable auto channel selection, channel provided by supplicant will be ignored
gApAutoChannelSelection=1
# Listen Energy Detect Mode Configuration
# Valid values 0-128
# 128 means disable Energy Detect feature
# 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
# 10-128 are reserved.
# The EDET threshold mapping is as follows in 3dB step:
# 0 = -60 dBm
# 1 = -63 dBm
# 2 = -66 dBm
# ...
# 7 = -81 dBm
# 8 = -84 dBm
# 9 = -87 dBm
# Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
#
# Range Loss (dB) = EDET threshold level (dBm) + 127 dBm.
#
gEnablePhyAgcListenMode=128
#Preferred channel to start BT AMP AP mode (0 means, any channel)
BtAmpPreferredChannel=0
#Preferred band (both or 2.4 only or 5 only)
BandCapability=0
#Beacon Early Termination (1 = enable the BET feature, 0 = disable)
enableBeaconEarlyTermination=0
beaconEarlyTerminationWakeInterval=3
#Bluetooth Alternate Mac Phy (1 = enable the BT AMP feature, 0 = disable)
gEnableBtAmp=0
#SOFTAP Channel Range selection
gAPChannelSelectStartChannel=1
gAPChannelSelectEndChannel=11
#SOFTAP Channel Range selection Operating band
# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND
gAPChannelSelectOperatingBand=0
#Channel Bonding
gChannelBondingMode5GHz=1
#Enable Keep alive with non-zero period value
#gStaKeepAlivePeriod = 30
#AP LINK MONITOR TIMEOUT is used for both SAP and GO mode.
#It is used to change the frequency of keep alive packets in the AP Link Monitor period which is by
#default 20s. Currently the keep alive packets are sent as an interval of 3s but after this change
#the keep alive packet frequency can be changed.
#gApLinkMonitorPeriod = 3
#If set will start with active scan after driver load, otherwise will start with
#passive scan to find out the domain
gEnableBypass11d=1
#If set to 0, will not scan DFS channels
gEnableDFSChnlScan=1
gVhtChannelWidth=2
gEnableLogp=1
# Enable Automatic Tx Power control
gEnableAutomaticTxPowerControl=1
# 0 for OLPC 1 for CLPC and SCPC
gEnableCloseLoop=1
#Data Inactivity Timeout when in powersave (in ms)
gDataInactivityTimeout=200
# VHT Tx/Rx MCS values
# Valid values are 0,1,2. If commented out, the default value is 0.
# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
gVhtRxMCS=2
gVhtTxMCS=2
# Enable CRDA regulatory support by settings default country code
#gCrdaDefaultCountryCode=TW
# Scan Timing Parameters
# gPassiveMaxChannelTime=110
# gPassiveMinChannelTime=60
# gActiveMaxChannelTime=40
# gActiveMinChannelTime=20
#If set to 0, MCC is not allowed.
gEnableMCCMode=1
# 1=enable STBC; 0=disable STBC
gEnableRXSTBC=1
# Enable Active mode offload
gEnableActiveModeOffload=1
#Enable Scan Results Aging based on timer
#Timer value is in seconds
#If Set to 0 it will not enable the feature
gScanAgingTime=0
#Enable Power saving mechanism Based on Android Framework
#If set to 0 Driver internally control the Power saving mechanism
#If set to 1 Android Framwrok control the Power saving mechanism
isAndroidPsEn=1
#disable LDPC in STA mode if the AP is TXBF capable
gDisableLDPCWithTxbfAP=1
#Enable thermal mitigation
gThermalMitigationEnable=1
#List of Country codes for which 11ac needs to be disabled
#Each country code must be delimited by comma(,)
gListOfNon11acCountryCode=RU,UA,ZA
#Maxium Channel time in msec
gMaxMediumTime = 6000
# 802.11K support
gRrmEnable=1
gRrmOperChanMax=8
gRrmNonOperChanMax=8
gRrmRandIntvl=100
# If set to 1, generate the p2p device address from primary mac address
# with the locally administered bit set
isP2pDeviceAddrAdministrated=1
#Enable Telescopic Beacon wakeup
gEnableDynamicDTIM=0
gIgnoreDtim=0
gTelescopicBeaconWakeupEn=1
telescopicBeaconTransListenInterval=2
telescopicBeaconTransListenIntervalNumIdleBcns=10
telescopicBeaconMaxListenInterval=3
telescopicBeaconMaxListenIntervalNumIdleBcns=15
END
# Note: Configuration parser would not read anything past the END marker

xinfernal said:
Wifi range is terrible and keeps disconnecting me, what's the best way to edit these settings?
Code:
# This file allows user to override the factory
# defaults for the WLAN Driver
# Enable IMPS or not
gEnableImps=1
# Enable/Disable Idle Scan
gEnableIdleScan=0
# Increase sleep duration (seconds) during IMPS
# 0 implies no periodic wake up from IMPS. Periodic wakeup is
# unnecessary if Idle Scan is disabled.
gImpsModSleepTime=0
# Enable BMPS or not
gEnableBmps=0
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
# Phy Mode (auto, b, g, n, etc)
# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
gDot11Mode=0
# Handoff Enable(1) Disable(0)
gEnableHandoff=0
# CSR Roaming Enable(1) Disable(0)
gRoamingTime=0
# Assigned MAC Addresses - This will be used until NV items are in place
# Each byte of MAC address is represented in Hex format as XX
Intf0MacAddress=000AF58989FF
Intf1MacAddress=000AF58989FE
Intf2MacAddress=000AF58989FD
Intf3MacAddress=000AF58989FC
# UAPSD service interval for VO,VI, BE, BK traffic
InfraUapsdVoSrvIntv=0
InfraUapsdViSrvIntv=0
InfraUapsdBeSrvIntv=0
InfraUapsdBkSrvIntv=0
# Make 1x1 the default antenna configuration
gNumRxAnt=1
# Beacon filtering frequency (unit in beacon intervals)
gNthBeaconFilter=50
# Enable WAPI or not
# WAPIIsEnabled=0
# Flags to filter Mcast abd Bcast RX packets.
# Value 0: No filtering, 1: Filter all Multicast.
# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
McastBcastFilter=3
#Flag to enable HostARPOffload feature or not
hostArpOffload=1
#SoftAP Related Parameters
# AP MAc addr
gAPMacAddr=000AF589dcab
# 802.11n Protection flag
gEnableApProt=1
#Enable OBSS protection
gEnableApOBSSProt=1
#Enable TrafficMonitor
gEnableTrafficMonitor=1
#Set TracfficIdleTimeout
gTrafficIdleTimeout=3000
#Enable/Disable UAPSD for SoftAP
gEnableApUapsd=0
# Fixed Rate
gFixedRate=0
# Maximum Tx power
# gTxPowerCap=100
# Fragmentation Threshold
# gFragmentationThreshold=2346
# RTS threshold
RTSThreshold=2347
# Intra-BSS forward
gDisableIntraBssFwd=0
# WMM Enable/Disable
WmmIsEnabled=0
# 802.11d support
g11dSupportEnabled=1
# 802.11h support
g11hSupportEnabled=1
# CCX Support and fast transition
CcxEnabled=0
FastTransitionEnabled=1
ImplicitQosIsEnabled=1
gNeighborScanTimerPeriod=200
gNeighborLookupThreshold=76
gNeighborReassocThreshold=81
gNeighborScanChannelMinTime=20
gNeighborScanChannelMaxTime=30
gMaxNeighborReqTries=3
# Legacy (non-CCX, non-802.11r) Fast Roaming Support
# To enable, set FastRoamEnabled=1
# To disable, set FastRoamEnabled=0
FastRoamEnabled=1
#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
#the RSSI of the new/roamable AP should be for roaming
RoamRssiDiff=3
# If the RSSI of any available candidate is better than currently associated
# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
# registering for reassoc threshold).
# NOTE: Value of 0 means that we would register for reassoc threshold.
gImmediateRoamRssiDiff=10
# To enable, set gRoamIntraBand=1 (Roaming within band)
# To disable, set gRoamIntraBand=0 (Roaming across band)
gRoamIntraBand=0
# SAP Country code
# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
# Example
# US Indoor, USI
# Korea Outdoor, KRO
# Japan without optional byte, JP
# France without optional byte, FR
#gAPCntryCode=USI
#Short Guard Interval Enable/disable
gShortGI20Mhz=1
gShortGI40Mhz=1
#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
gAPAutoShutOff=0
# SAP auto channel selection configuration
# 0 = disable auto channel selection
# 1 = enable auto channel selection, channel provided by supplicant will be ignored
gApAutoChannelSelection=1
# Listen Energy Detect Mode Configuration
# Valid values 0-128
# 128 means disable Energy Detect feature
# 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
# 10-128 are reserved.
# The EDET threshold mapping is as follows in 3dB step:
# 0 = -60 dBm
# 1 = -63 dBm
# 2 = -66 dBm
# ...
# 7 = -81 dBm
# 8 = -84 dBm
# 9 = -87 dBm
# Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
#
# Range Loss (dB) = EDET threshold level (dBm) + 127 dBm.
#
gEnablePhyAgcListenMode=128
#Preferred channel to start BT AMP AP mode (0 means, any channel)
BtAmpPreferredChannel=0
#Preferred band (both or 2.4 only or 5 only)
BandCapability=0
#Beacon Early Termination (1 = enable the BET feature, 0 = disable)
enableBeaconEarlyTermination=0
beaconEarlyTerminationWakeInterval=3
#Bluetooth Alternate Mac Phy (1 = enable the BT AMP feature, 0 = disable)
gEnableBtAmp=0
#SOFTAP Channel Range selection
gAPChannelSelectStartChannel=1
gAPChannelSelectEndChannel=11
#SOFTAP Channel Range selection Operating band
# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND
gAPChannelSelectOperatingBand=0
#Channel Bonding
gChannelBondingMode5GHz=1
#Enable Keep alive with non-zero period value
#gStaKeepAlivePeriod = 30
#AP LINK MONITOR TIMEOUT is used for both SAP and GO mode.
#It is used to change the frequency of keep alive packets in the AP Link Monitor period which is by
#default 20s. Currently the keep alive packets are sent as an interval of 3s but after this change
#the keep alive packet frequency can be changed.
#gApLinkMonitorPeriod = 3
#If set will start with active scan after driver load, otherwise will start with
#passive scan to find out the domain
gEnableBypass11d=1
#If set to 0, will not scan DFS channels
gEnableDFSChnlScan=1
gVhtChannelWidth=2
gEnableLogp=1
# Enable Automatic Tx Power control
gEnableAutomaticTxPowerControl=1
# 0 for OLPC 1 for CLPC and SCPC
gEnableCloseLoop=1
#Data Inactivity Timeout when in powersave (in ms)
gDataInactivityTimeout=200
# VHT Tx/Rx MCS values
# Valid values are 0,1,2. If commented out, the default value is 0.
# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
gVhtRxMCS=2
gVhtTxMCS=2
# Enable CRDA regulatory support by settings default country code
#gCrdaDefaultCountryCode=TW
# Scan Timing Parameters
# gPassiveMaxChannelTime=110
# gPassiveMinChannelTime=60
# gActiveMaxChannelTime=40
# gActiveMinChannelTime=20
#If set to 0, MCC is not allowed.
gEnableMCCMode=1
# 1=enable STBC; 0=disable STBC
gEnableRXSTBC=1
# Enable Active mode offload
gEnableActiveModeOffload=1
#Enable Scan Results Aging based on timer
#Timer value is in seconds
#If Set to 0 it will not enable the feature
gScanAgingTime=0
#Enable Power saving mechanism Based on Android Framework
#If set to 0 Driver internally control the Power saving mechanism
#If set to 1 Android Framwrok control the Power saving mechanism
isAndroidPsEn=1
#disable LDPC in STA mode if the AP is TXBF capable
gDisableLDPCWithTxbfAP=1
#Enable thermal mitigation
gThermalMitigationEnable=1
#List of Country codes for which 11ac needs to be disabled
#Each country code must be delimited by comma(,)
gListOfNon11acCountryCode=RU,UA,ZA
#Maxium Channel time in msec
gMaxMediumTime = 6000
# 802.11K support
gRrmEnable=1
gRrmOperChanMax=8
gRrmNonOperChanMax=8
gRrmRandIntvl=100
# If set to 1, generate the p2p device address from primary mac address
# with the locally administered bit set
isP2pDeviceAddrAdministrated=1
#Enable Telescopic Beacon wakeup
gEnableDynamicDTIM=0
gIgnoreDtim=0
gTelescopicBeaconWakeupEn=1
telescopicBeaconTransListenInterval=2
telescopicBeaconTransListenIntervalNumIdleBcns=10
telescopicBeaconMaxListenInterval=3
telescopicBeaconMaxListenIntervalNumIdleBcns=15
END
# Note: Configuration parser would not read anything past the END marker
Click to expand...
Click to collapse
having the same issue. fresh install android O. did you ever find any info about this?

ElwOOd_CbGp said:
having the same issue. fresh install android O. did you ever find any info about this?
Click to expand...
Click to collapse
I can't remember if there was a solution but overall the Xperia SP wasn't good enough for my needs so I replaced it within the year.

Related

[Q] Seeking a build.prop dump.

hi, i am looking for a dump of the build.prop for the droid bionic.
i am wanting to do a little experimenting with my nook Tab with app compatibility.
if a kind soul would post a dump of there build.prop i would greatly appreciate it.
The build.prop file is I believe a simple text file, please folks a simple copy and paste of your build.prop
would be quite helpful.
Here you go!
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=5.5.1_84_DBN-55
ro.build.display.id=5.5.1_84_DBN-55
ro.build.version.incremental=110814
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.4
ro.build.date=Sun Aug 14 23:56:58 CDT 2011
ro.build.date.utc=1313384218
ro.build.type=user
ro.build.user=hpn683
ro.build.host=il93lnxdroid29
ro.build.tags=release-keys
ro.product.model=DROID BIONIC
ro.product.brand=verizon
ro.product.name=targa_vzw
ro.product.device=cdma_targa
ro.product.board=targa
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=omap4
# ro.build.product is obsolete; use ro.product.device
ro.build.product=targa_vzw
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=cdma_targa-user 2.3.4 5.5.1_84_DBN-55 110814 release-keys
ro.build.fingerprint=verizon/targa_vzw/cdma_targa:2.3.4/5.5.1_84_DBN-55/110814:user/release-keys
# end build properties
#
# system.prop for CDMA Droidwe
#
# rild.libpath=/system/lib/libril-moto-umts-1.so
rild.libpath=/system/lib/libmoto_ril.so
rild.libargs=-d /dev/ttyO0
ro.sf.lcd_density=240
ro.default_usb_mode=2
ro.mot.ril.danlist=611,*611,#611
persist.ril.ecclist=911,*911,#911
persist.ril.modem.mode =1
# This defines the max event window manager can
# handle in 1 s. We may adjust this # for performance
# reason later
windowsmgr.max_events_per_sec=70
# USB modes allowed for UI and switching
ro.ngp_available=1
ro.modem_available=0
# Default network type.
# 4 => CDMA/EVDO. To be used until Targa has LTE SFN
# 7 => GLOBAL.
ro.telephony.default_network=7
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.config.vc_call_vol_steps=7
# wlan interface
wifi.interface = tiwlan0
softap.interface = tiap0
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
wifi.supplicant_scan_interval = 45
# Indicate carrier OTA SP number schema
# refer to frameworks/base/telephony/java/com/android/
# internal/telephony/cdma/CDMAPhone.java for the schema:
ro.cdma.otaspnumschema=SELC,1,80,99
# write cdma MIN to property for VVM use in GSM/UMTS mode
persist.radio.cdma.min = 0
# true Horizontal VVM is preloaded, not allow to install standalone version of
# VVM from Android Market
# false Horizontal VVM is not preloaded
ro.HorizontalVVM=true
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version = 131072
# This is a high density device with more memory, so larger vm heaps for it.
dalvik.vm.heapsize=32m
# our HTML browser (not WAP browser ) does not need to specify UAProf URL
ro.mot.hw.uaprof=http://uaprof.vtext.com/mot/xt875/xt875.xml
# Enable HAC to also display Call Setting Menu Option.
ro.mot.hw.HAC=1
# Motorola, a19622, 12/28/2009, IKSHADOW-204 / Location Settings for android
# Property to set enabling state of the location privacy setting feature.
# Motorola, a19622, 03/16/2010, IKSHADOW-2141 / Disable feature 33067
#ro.mot.settings.locprivacy=1
# ERI feature
# 0 OFF
# 1 ON
ro.mot.eri=1
# Motorol,a6889c,02/Feb/2010,IKSHADOW-619
# Proximity Sensor feature
# 0 disable
# 1 enable
persist.mot.proximity.touch=1
# End IKSHADOW-619
# BEGIN Motorola, a22976, 25-Feb-2010, IKSHADOW-702, FID 31841
# VZW Requirement Specifications: NETWORK BASED PLUS CODE DIALING
# 0 disable
# 1 enable
ro.cdma.nbpcd=1
# END IKSHADOW-702
# BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone
# Motorola, a22976, 12-Apr-2010, IKSHADOW-3298, Remove temporary power up tone
# persist.mot.powerup.tone=/system/media/bootup.ogg
# END IKSHADOW-1784
persist.mot.usb.mediasync = 1
# persist.usb.android_config = 1
# System property for SMC
ro.service.start.smc=1
ro.HorizontalBUA=true
#Proximity sensor debounce time
mot.proximity.delay=450
# disable touch below 60 pixels
mot.proximity.distance=60
#inphone calibration backup support
ro.mot.hw.calibratedImager=1
# BEGIN Motorola, qpmc46, 05-Jul-2010, IKMAIN-311
persist.ril.mux.noofchannels = 8
# END Motorola, qpmc46, 05-Jul-2010, IKMAIN-311
#BEGIN Motorola, nfjb73, 21-jun-2010,
# this is for feature 34386, other features for vzw global phone
# could use this property too. IKMAIN-732
#1 this is verizon wireless globle phone
#0 this is not verizon wireless globle phone
ro.mot.phonemode.vzwglobalphone=0
# END Motorola, nfjb73, 21-jun-2010, IKMAIN-732
# BEGIN Motorola, nfjb73 23-jun-2010, IKMAIN-624
# this is for feature 33860, when phone is activated, the cdma mdn is written.
persist.radio.vzw.cdma.mdn=
# END Motorola, nfjb73
# BEGIN Motorola, qmfd78, 14-Jul-2010, IKMAIN-884
# GSM SMS traffic needs to be routed/sent through North America SMSC.
# This is part of the VZW World-phone Feature. SMS are always sent to a US SMSC and then injected
# into that network. This allows for billing and give the user the impression that the device is
# still in the US.
ro.telephony.gsm-routes-us-smsc = 1
# END Motorola, qmfd78, 14-Jul-2010, IKMAIN-884
# BEGIN Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423
# For north american cdma operators, this flag should be 1.
# It enables number mangling when nbpcd (plus code dialing) is not supported.
# This is part of the VZW World-phone Feature.
ro.cdma.home.operator.isnan=1
# END Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423
# EDM feature - IKDROIDPRO-381 - Start
ro.mot.dpmext = true
# EDM feature - IKDROIDPRO-381 -End
# BEGIN Moto,IKDROIDPRO-430, a17673
# Feature33857 on DroidWE, support DualMode switch, UMTS/CDMA
##### Override in cdma_targa.mk until LTE + Global support. ######
#ro.mot.FTR.33857=true
# END IKDROIDPRO-430
# This is necessary for framework to support
# the LTE and eHRPD capability.
##### Override in cdma_targa.mk until LTE + Global support. ######
#ro.mot.lte_on_cdma=1
# BEGIN Moto, IKSTABLETWO-1284, nfjb73
# without this property, the lock screen would take global phone as UMTS
# block user to operate before setup
keyguard.no_require_sim = true
# End Moto
# BEGIN Moto, IKSTABLETWO-689, nfjb73, for 34387,33857
# when phone in Global mode, FW need to know the last phone mode beore power off
# when phone power up, it would use the right mode to avoid switch
persist.radio.ap.phonetype=2
# END IKSTABLETWO-689
# Multimode RIL Paths
##### Override in cdma_targa.mk until LTE + Global support. ######
#lte_ril.libpath=/system/lib/lib-mot-lte-ril.so
#cdma_ril.libpath=/system/lib/libmoto_ril.so
#ril.rat=LTE
# Motorola, IKHALFMWK-3, w001091
# Feature 32711, deep sleep mode support
ro.mot.deep.sleep.supported=true
# BEGIN Motorola, A24124, 10-June-2011, IKTARGA-1744
ro.mot.bindervm.config = 251
# END IKTARGA-1744
#BEGIN Motorola, w30471, 16-Mar-2011, IKSTABLEFIVE-1796 35691 - Set configurable parameters for Verizon products
mot.mms.con.timeout = 30000
mot.mms.socket.timeout = 120000
mot.mms.tr.vc.timeout = 55000
mot.mms.trm.timeout = 240000
mot.mms.abort.prog.lim = 90
mot.mms.retry.pic.size = 512000
mot.mms.retry.default = false
mot.mms.retry.timeout.1 = 30000
mot.mms.retry.timeout.2 = 180000
mot.mms.retry.timeout.3 = 300000
mot.mms.retry.timeout.4 = 480000
# END IKSTABLEFIVE-1796
# Give extra time for LTE bug dumps
ril.dumpstate.timeout=60
#Enable hdcp support
ro.hdcp.support=2
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.google.clientidbase=android-motorola
ro.com.google.clientidbase.ms=android-verizon
ro.com.google.clientidbase.am=android-verizon
ro.com.google.clientidbase.gmm=android-motorola
ro.com.google.clientidbase.yt=android-verizon
ro.kernel.android.ril=yes
persist.ril.mux.noofchannels=10
persist.ril.mux.ttydevice=/dev/ttyO0
persist.ril.modem.ttydevice=/dev/ttyUSB4
persist.ril.tcmd.ttydevice=/dev/usb/tty2-1:1.3
persist.ril.features=0x90A
persist.ril.mux.retries=500
persist.ril.mux.sleep=2
rild.libpath=/system/lib/moto-ril-multimode.so
ro.config.ringtone=DROID_Chime.ogg
ro.config.notification_sound=Droid.ogg
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.default_usb_mode=0
ro.media.enc.aud.fileformat=qcp
ro.media.enc.aud.codec=qcelp
ro.media.enc.aud.bps=13300
ro.media.enc.aud.ch=1
ro.media.enc.aud.hz=8000
ro.com.google.gmsversion=2.3_r6
ro.mot.phonemode.vzw4gphone=1
ro.mot.lte_on_cdma=1
lte_ril.libpath=/system/lib/lib-mot-lte-ril.so
cdma_ril.libpath=/system/lib/libmoto_ril.so
ril.rat=LTE
lte_ril.netcfg_to=90
ro.mot.tmp.telephony.refactor=true
ro.cdma.subscription=0
ro.telephony.call_ring.multiple=false
ro.telephony.call_ring.delay=3000
ro.setupwizard.enable_bypass=1
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.cdma.data_retry_config=default_randomization=2000,max_retries=infinite,0,0,120000,180000,540000,960000
ro.gsm.data_retry_config=default_randomization=2000,max_retries=infinite,0,0,80000,125000,485000,905000
ro.gsm.2nd_data_retry_config=max_retries=1,15000
ro.media.camcorder.1080p=mp4,h264,30,15000000,aac,128000,44100,2
ro.media.camcorder.720p=mp4,h264,30,10000000,aac,128000,44100,2
ro.media.camcorder.d1NTSC=mp4,h264,30,6000000,aac,128000,44100,2
ro.media.camcorder.vga=mp4,h264,30,4000000,aac,128000,44100,2
ro.media.camcorder.cif=mp4,h264,30,1500000,aac,128000,44100,2
ro.media.camcorder.qvga=mp4,h264,15,500000,aac,64000,44100,2
ro.media.camcorder.mms=3gp,h264,15,128000,amrnb,12200,8000,1
ro.media.camcorder.mmsres=qvga
ro.camcorder.zoom=true
ro.media.capture.maxres=8m
ro.media.capture.fast.fps=4
ro.media.capture.slow.fps=120
ro.media.capture.flash=led
ro.media.capture.flashMinV=3300000
ro.media.capture.torchIntensity=40
ro.media.capture.flashIntensity=70
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
ro.camcorder.videoModes=false
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-record=false
ro.media.camera.focal=3451.0,3451.0
ro.media.camera.principal=1632.0,1224.0
ro.media.camera.skew=0.0
ro.media.camera.distortion=0.0,0.0,0.0,0.0,0.0
ro.media.camera.calresolution=3264,2448
ro.mot.setuptype=2
ro.HorizontalBUA=true
ro.HorizontalVVM=true
ro.horizontalIM=true
ro.horizontalNGM=false
ro.horizontalVMM=false
ro.horizontalMOD=false
ro.horizontalVOD=false
ro.horizontalEmail=false
ro.mot.internalsdcard=1
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.mot.dpmext=true
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.mot.hw.uaprof=http://uaprof.motorola.com/phoneconfig/MotoMB200/profile/MotoMB200.rdf
ro.build.version.full=Blur_Version.5.5.886.XT875.Verizon.en.US
ro.mot.hidden_keyboards=evfwd
Sent from my DROID BIONIC using Tapatalk
Remember to hit the "Thanks" button when someone helps you!
Thank you. I appreciate this !!

Q&A: GPS on Custom Roms

Since I keep seeing this problem raised in all the development threads I've decided to add this information here.
I hope this will help others too. I had no problem with GPS on any Custom ROM like CM, Carbon, OMNI or AOKP after following the instructions below.
87Fra87 said:
What i can do to resolve the problem of GPS?
Click to expand...
Click to collapse
First thing is first: TIME is ESSENTIAL for GPS, and here is why:
Essentially, the GPS receiver compares the time a signal was transmitted by a satellite with the time it was received. The time difference tells the GPS receiver how far away the satellite is. Now, with distance measurements from a few more satellites, the receiver can determine the user's position and display it on the unit's electronic map.
Click to expand...
Click to collapse
In order for you to get the correct time you will need to edit the GPS.conf file and add the NTP servers for your geography (country and continent).
Find your NTP server here:
http://www.pool.ntp.org/en/
Preferably use a GPS.conf file from your stock XV Rom as template (I've added one below)
NTP_SERVER=time.gpsonextra.net
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# ULP = 0x20
# default = MSA | MSB | SCHEDULING | ULP
CAPABILITIES=0x3
# 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.sonyericsson.com
SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# Sensor Settings
################################
# Needs to be set explicitly based on sensor
# There is no default value.
#GYRO_BIAS_RANDOM_WALK=
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
# Sensor Control Mode (0=AUTO, 1=FORCE_ON)
SENSOR_CONTROL_MODE=0
# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
SENSOR_USAGE=1
# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK)
SENSOR_PROVIDER=1
################################
# Indoor Positioning Settings
################################
# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only
QUIPC_ENABLED = 0
################################
# EXTRA SETTINGS
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
ENABLE_WIPER=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
Click to expand...
Click to collapse
Supplementary, look on the internet and see how is the Glonass satellite coverage in your area - if it's problematic, this may impede getting a fast first fix.
GLONASS coverage:
http://glonass-iac.ru/en/
After implementing the change use a good navigation application to get the FIRST fix - I prefer Sygic.
There is a big difference - I get a MUCH faster fix with Sygic than with other applications such as (but not limited to) GPS Status&Toolbox.
Afterwards, your TTFF (time to first fix) will drastically improve, even in other apps, such as Ingress.
!!! > Not properly tested yet:
Differential Global Positioning System (DGPS) is an enhancement to Global Positioning System that provides improved location accuracy, from the 15-meter nominal GPS accuracy to about 10 cm in case of the best implementations.
DGPS uses a network of fixed, ground-based reference stations to broadcast the difference between the positions indicated by the satellite systems and the known fixed positions. These stations broadcast the difference between the measured satellite pseudoranges and actual (internally computed) pseudoranges, and receiver stations may correct their pseudoranges by the same amount. The digital correction signal is typically broadcast locally over ground-based transmitters of shorter range.
The term refers to a general technique of augmentation
You should be able to use DGPS corrections in Europe via custom application for SISnet receiving correction signals from EGNOS augmentation satellites.
The Android app is available under the link below:
http://egnos-portal.gsa.europa.eu/news/egnos-gets-invite-your-smartphone-11
Sent from my Xperia V using Tapatalk

guide to fix slow gps fix

i found out how to speed it up, the problem is the wrong gps settings in conf file
im in the uk, change the 4 #uk server ones to your countries settings, a quick google will find them
go to
system/etc/gps.conf
this is the contents of my conf file
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# 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
#uk server
# NTP_SERVER=0.uk.pool.ntp.org
1.uk.pool.ntp.org
2.uk.pool.ntp.org
3.uk.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 = 4
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# 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=0x37
# 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
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
####################################
# 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 # Sensor R&D : This will not be injected to MODEM
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=1
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0x0
##################################################
# Delete only Ephemeris files
##################################################
#0 : off - default
#1 : on - Erase only eph files when we use 'delete aiding data' function.
DEL_EPH_ONLY = 0
My gps works pretty fast...well we can't fix what isn't broken.
Sent from my SM-G900F using XDA Free mobile app
trettet said:
My gps works pretty fast...well we can't fix what isn't broken.
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
Same here, GPS is really fast.
But thanks for posting.
Best regards
Franck
trettet said:
My gps works pretty fast...well we can't fix what isn't broken.
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
you do realise not everyone is selfcentered on here.
because the majority of rom developers come from say the us the settings for them dont always work that well in other countries.
the gps-conf is an example of just one of these things, the gps works by locking onto multiple gps sources.
not everyone on here is a septic ignorant of the outside world
Thanks @shanky887614
Did you happen to take average fix times before and after your update to see just how much of an improvement it made?
Diskb0x said:
Thanks @shanky887614
Did you happen to take average fix times before and after your update to see just how much of an improvement it made?
Click to expand...
Click to collapse
it went from a couple mins to fix to a couple seconds.
this is why internet on, it is much quicker.
if you want some help to do this ill try.
Hi,
it's not exactly clear to me what has to be changed.
Do you recommend to change the NTP_SERVER line? Because your NTP_SERVER lines after "#uk server" are commented out, so it's normally not used.
Regards,
meiser

Need stock gps.conf! Greatly appreciated!

Hey everyone,
I recently installed Cm12.1 on my z3c and I can't get a gps lock ever. When using the app called gps status, I'm only getting an average of 4/20 satellite locks. Could someone be so kind and extract the /etc/gps.conf from your stock rom for me? The latest the better. Thank you!
i couldnt upload on phone please copy below and save as conf file
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin
XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.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 2.0
SUPL_VER=0x20000
# 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 over write 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=0x13
# 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.sonyericsson.com
SUPL_PORT=7275
# 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 = 0x2
###########################################
# Enable/Disable reading H-SLP address and
# certificates from the SIM card
###########################################
# 0: Disable (Default)
# 1: Enable
ENABLE_READ_FROM_SIM = 0
Thank you!

[GUIDE] How to FIX your GPS | Slow/Not Working/Not Fixing/Not Finding GPS [OP3/T]

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
Hello guys!
On this guide, I'll guide you on how to fix the GPS of your OP3/T. Technically this should work on any device as some of the techniques used are just universal for all devices, but some of the stuff shown is only applicable to the OP3/T and therefore the guide will be focused on this 2 devices.
Both the OP3/T are known for not having the greatest GPS on the market, although, that doesn't mean it shouldn't work. It's still more than capable (If working fine) to be used on Google Maps, Waze and some Fit apps like Strava, RunKepper etc
First of all, let's narrow down the problem. A normal working GPS should be able to get a full 3D Fix in about 30 seconds outside on a clear sky. If you are testing this inside your house or office the times may variate.
This is a what a properly working GPS Looks like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this is a what a not working GPS Looks like.
I recommend GPS Test for all the test we're going to do.
It will give you pretty much all the information you need to know.
GPS Test
​
[*]If your GPS takes a while to get a Fix/Or it's quite inaccurate then I recommend trying Method 1 & 2
[*]If your GPS can see the GPS Satellites but won't connect to any of them I recommend trying Method 3
[*]If you are having problems with GPS just while using 4G/LTE, I recommend Method 2 or Click HERE
[*]If your phone is not detecting your GPS Sensor I recommend Method 3 & 4
[*]Although I'd suggest trying all the Method until you can get your GPS properly working
Method 1: (Non-Root Method)
Let's get the obvious things over.
Make sure that Location Services are enable
Turn OFF and ON location
Switch from all 3 different modes. Devices Only, Battery Saving and High Accuracy
Reboot the Phone
Make sure Location History is enabled. Not sure why and how, but this seems to help with getting faster and better location.
Most likely this won't fix it, but it was worth to try.
Now let's try other methods.
Download the following app.
GPS Status
Open the app and go to the Sensor Diagnostic.
Press the GPS sensor and do Reset and then Download GPS Assistance.
Calibrate as well your Magnetic Field Sensor.
Test GPS.
Method 2: (Root Method)
I recommend performing a full backup before attending any of the following steps.
Once again let's get the obvious thing over.
Wipe both Cache and Dalvik
Try changing ROMs or Update your current ROM
Try updating or reflashing the lastest or your current Firmware/Modem
Try changing Kernel
Doing this we eliminate most of the possible problem related to your apps or configuration that you're currently using.
You might turn off or blocked some Alarm/Service/Wakelock that left you completely with GPS or Location service at all.
Now we are going to tweak our gps.conf file!
This should fix Slow Fixing or Not Accurate GPS.
I found this 2014 XDA Article about Faster GPS.
Open the link found on the Article or just click HERE
Search for your country/region and download the zip file there
Transfer it over your devices
Now we have a couple options to do.
You can replace your whole gps.conf for the one that you've downloaded or modify your current one.
On both case:
Open your fav File Explorer
Go to /system/etc/
Search for the gps.conf and back it up to a safe location
From here you can unzip the file you did download previously and copy and paste on /system/etc/ make sure that it's set to perms 644 or rw-rw-r--
There are a couple apps on the Google Place that does this as well.
The best ones in my option:
Faster GPS | TopNTP
What I like to do is take the default gps.conf and modify it with the additional setting found in both the apps and the zip file from above.
I like to this file and apps just substitute the whole gps.conf file and there is some additional information found in the default gps.conf that's not found on the replaced files. These settings are particular to the device, so it'd be interesting to keep it. Anyways, this what you have to do:
Do a backup of your current gps.conf
We are going to search for the new active NTP service for your region.
Go to http://www.pool.ntp.org/en/
Lock for "Active Servers". Click your region
For example, If you click Europe it will show: 0.europe.pool.ntp.org; 1.europe.pool.ntp.org; 2.europe.pool.ntp.org; 3.europe.pool.ntp.org
Then the servers for your country at the list down below. Example: Spain — 2.es.pool.ntp.org; 1.europe.pool.ntp.org; 2.europe.pool.ntp.org
Write down all this information somewhere, take as well the NTP information from the zip files you've downloaded previously.
We should have something like this.
NTP_SERVER=hora.roa.es
NTP_SERVER=hora.oxixares.com
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
NTP_SERVER=es.pool.ntp.org
NTP_SERVER=0.es.pool.ntp.org
NTP_SERVER=2.es.pool.ntp.org
Now we are going to modify our gps.conf file
Open it and add or uncomment (remove "#" before the line) the following lines of code.
Code:
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
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=5000 //This can be reduced If you are not quite getting all servers (Even by 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.google.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
####################################
# 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 = 3 //There's controversy where this setting should be set to 0,1,2 or 3, I personally get best result with 3 but 1 should
work as well.
Make sure the file was the right perms 644 or rw-rw-r---
Reboot your phone
This is how my gps.conf looks like. Use it as a comparison, but I don't recommend just copying and pasting into your own file unless you live in Spain.
Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
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
#ifdef VENDOR_EDIT
# [email protected] add gps xtra server for speed up gps cold start
XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin
XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin
#endif
#ifdef VENDOR_EDIT
# [email protected],XTRA download config for debug
XTRA_TEST_ENABLED = 1
XTRA_THROTTLE_ENABLED = 0
#endif
#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
#NTP server
NTP_SERVER=hora.roa.es
NTP_SERVER=hora.oxixares.com
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=0.europe.pool.ntp.org
NTP_SERVER=1.europe.pool.ntp.org
NTP_SERVER=2.europe.pool.ntp.org
NTP_SERVER=3.europe.pool.ntp.org
NTP_SERVER=es.pool.ntp.org
NTP_SERVER=0.es.pool.ntp.org
NTP_SERVER=2.es.pool.ntp.org
#NTP_SERVER=time.izatcloud.net
#XTRA CA path
XTRA_CA_PATH=/system/etc/security/cacerts
# 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 = 0
# 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=0
#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=0x37
# 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.google.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
# 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 = 3
################################
# 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
#ifndef [email protected] enable all bit mask for GLONASS
#A_GLONASS_POS_PROTOCOL_SELECT = 0
#else
A_GLONASS_POS_PROTOCOL_SELECT = 15
#endif
##################################################
# Select technology for LPPe Control Plane
##################################################
# 0x1: DBH for LPPe CP
# 0x2: WLAN AP Measurements for LPPe CP
LPPE_CP_TECHNOLOGY = 0
##################################################
# Select technology for LPPe User Plane
##################################################
# 0x1: DBH for LPPe UP
# 0x2: WLAN AP Measurements for LPPe UP
LPPE_UP_TECHNOLOGY = 0
##################################################
# AGPS_CONFIG_INJECT
##################################################
# enable/disable injection of AGPS configurations:
# SUPL_VER
# SUPL_HOST
# SUPL_PORT
# C2K_HOST
# C2K_PORT
# LPP_PROFILE
# A_GLONASS_POS_PROTOCOL_SELECT
# 0: disable
# 1: enable
AGPS_CONFIG_INJECT = 1
# AP Coarse Timestamp Uncertainty
##################################################
# default : 10
# or as per clock uncertainty of product
AP_TIMESTAMP_UNCERTAINTY = 10
#####################################
# GNSS PPS settings
#####################################
#AP DR engine availability status
# 0 : NO AP DR (default)
# 1 : AP DR enabled
#EXTERNAL_DR_ENABLED = 0
#####################################
#DR_SYNC Pulse Availability
#####################################
# 0 : DR_SYNC pulse not available (default)
# 1 : DR_SYNC pulse available
DR_SYNC_ENABLED = 0
#####################################
#PPS Device name
#####################################
PPS_DEVICENAME = /dev/pps0
#####################################
#AP Clock Accuracy
#####################################
AP_CLOCK_PPM = 100
#####################################
#MAX ms difference to detect missing pulse
#####################################
MISSING_PULSE_TIME_DELTA = 900
#####################################
#Propagation time uncertainty
#####################################
PROPAGATION_TIME_UNCERTAINTY = 1
Alright, after this I'd recommend Downloading again AGPS Data (Assistance GPS), you can use GPS Status again or any other app that does this.
They are called AGPS Injectors, you can use them for getting it faster GPS fix by the AGPS from time to time, but If your GPS is not working this most likely won't do anything.
Method 3: (Using Un-Brick Tool)
If nothing of the above have worked for you, don't worry there is still hope.
This is the method that actually Fixed my GPS which was not getting a fix. It would find the Satellites (See them) but could connect to them.
As I said, we are going to use the MEGA Unbrick Tool. Credits to @Naman Bhalla
Backup everything and transfer it to your PC!!!
Go to the following link
Download the Method 2 and follow the instructions there
But wait, now there is no need to backup everything as Method 2 does no longer erase your Internal Storage.
Yes and No, it's true that now deleting a line will make it so it doesn't delete your Internal Storage, but we DON'T want this.
I have found that If we don't delete the internal it won't fix anything. If you want to try you can do it without the Data wipe, but If that doesn't work you have lost a lot of time...
Once you have performed the FULL Method 2
Boot to System (OOS 3.1.2)
There try downloading the apps mentioned before and test whether your GPS is working or not
If it's working you can install TWRP and start getting everything restored
I recommend doing a CLEAN install of the ROM and then install all your apps, just in case something was wrong with your previous System partition
Method 4: (Hardware Issue)
If anything has worked so far a possible case is that it's a Hardware and not software issue.
That means as well, that when open GPS Test or any GPS app the GPS Sensor WILL NOT BE FOUND.
If it does not the case and the GPS is Found but it cannot get a FIX (But sees the different GPS Satellites) or straight doesn't see any GPS Satellites.
*DISCLAIMER* Opening your phone avoids you Warranty, so If your phone is under warranty I'd recommend sending it back to One Plus
What can be done?
Well... If your phone is still under warranty I'd recommend opening an RMA Ticket and sending your phone for repair.
If your phone is not under warranty, and your GPS Sensor is not found at all, most likely your GPS is just broken, you can attempt the following method, but instead of putting tin foil you should reconnect the pins or buy a new replacement and installing it.
If your phone still sees GPS Satellites you can do the following guide.
This guide was designed for the S4 but it will work on the OP3/T (and any other phones)
http://www.instructables.com/id/Galaxy-S4-GPS-repair/
Here is a video from JerryRigEverything on the disablement of the OP3/T
https://www.youtube.com/watch?v=Hh_XgrcQ9oo
With all this, you should be able to Fix your GPS no matter what had happened to it.
I'll update adding additional pictures.
Reserved.
Good work for this topic, although I don't think this solves anything. I only have a decent GPS when I set my connection to 2g/3g. When 4g is enabled strange things occurs.
Tried that not sure if it helps, although some claim that it helped.
Darkje said:
Good work for this topic, although I don't think this solves anything. I only have a decent GPS when I set my connection to 2g/3g. When 4g is enabled strange things occurs.
Click to expand...
Click to collapse
That's most likely due to this part of your gps.confg
Code:
####################################
# 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 = 3 //There's controversy where this setting should be set to 0,1,2 or 3, I personally get best result with 3 but 1 should
work as well.
The Default is 0 or RRLP you should use LLP either User_Plane or Both enabled.
I can send you the article about with that happen If you are interested.
Asiier said:
That's most likely due to this part of your gps.confg
Code:
####################################
# 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 = 3 //There's controversy where this setting should be set to 0,1,2 or 3, I personally get best result with 3 but 1 should
work as well.
The Default is 0 or RRLP you should use LLP either User_Plane or Both enabled.
I can send you the article about with that happen If you are interested.
Click to expand...
Click to collapse
Yes please!
Darkje said:
Yes please!
Click to expand...
Click to collapse
The article I was refering to -> Expert Advice: Positioning Protocol for Next-Gen Cell Phones
Another article about the topic -> LTE, Positioning, and the Implications for GNSS Over-the-Air Testing
And a full written paper about the matter -> LTE Location Based Services Technology Introduction
Asiier said:
That's most likely due to this part of your gps.confg
Code:
####################################
# 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 = 3 //There's controversy where this setting should be set to 0,1,2 or 3, I personally get best result with 3 but 1 should
work as well.
The Default is 0 or RRLP you should use LLP either User_Plane or Both enabled.
I can send you the article about with that happen If you are interested.
Click to expand...
Click to collapse
It is set to option 2. So I quess I should try option 3 right
Darkje said:
It is set to option 2. So I quess I should try option 3 right
Click to expand...
Click to collapse
Probably, from what I've read Control_Plane doesn't work really good
Hi asiier, in fact I did try most of the method before.
1: fully wipe my phone with unbrick tool.
2: using GPS status box etc.
3: change ROM, firmware etc.
But the above method doesn't solve my GPS issued. The weird part was whenever I changed a new Rom. Gps locked or detected very fast.. After sometimes, the problem came back.
Also for my temporary fixed was to reboot the device. This method mostly worked for me. But sometimes when I reset my GPS data, I can't detect the satellite. Required reboot few times.
This gps issued hunted me for months now. It frustrated and disappointed with oneplus. I'm a waze user and using daily. :crying:

			
				
Flasher8 said:
Hi asiier, in fact I did try most of the method before.
1: fully wipe my phone with unbrick tool.
2: using GPS status box etc.
3: change ROM, firmware etc.
But the above method doesn't solve my GPS issued. The weird part was whenever I changed a new Rom. Gps locked or detected very fast.. After sometimes, the problem came back.
Also for my temporary fixed was to reboot the device. This method mostly worked for me. But sometimes when I reset my GPS data, I can't detect the satellite. Required reboot few times.
This gps issued hunted me for months now. It frustrated and disappointed with oneplus. I'm a waze user and using daily. :crying:
Click to expand...
Click to collapse
Flasher8 said:
Click to expand...
Click to collapse
Then something is wrong with the settings you apply to your ROM and not your GPS.
Do you use Amplify, block any Wakelocks, alarms? Use some weird apps that could cause some problems?
And about the reset. I think it's a bug, because it happens to me as well, If I reset (Cold Start) my AGPS Data sometimes won't find any GPS Satellite unless I reboot.
So just don't reset it, just Download new AGPS data, it will replace the previous one, so there is no need in actually resetting.
Asiier said:
Then something is wrong with the settings you apply to your ROM and not your GPS.
Do you use Amplify, block any Wakelocks, alarms? Use some weird apps that could cause some problems?
And about the reset. I think it's a bug, because it happens to me as well, If I reset (Cold Start) my AGPS Data sometimes won't find any GPS Satellite unless I reboot.
So just don't reset it, just Download new AGPS data, it will replace the previous one, so there is no need in actually resetting.
Click to expand...
Click to collapse
No amplify, block and wakelocks etc.. Just normal usage. Even Oos and ob room having same issued. Im thinking hardware problem but mostly reboot could solve temporary. Damn op.
Wtf... I'm dam frustrated when need to use gps
Flasher8 said:
No amplify, block and wakelocks etc.. Just normal usage. Even Oos and ob room having same issued. Im thinking hardware problem but mostly reboot could solve temporary. Damn op.
Click to expand...
Click to collapse
Flasher8 said:
Wtf... I'm dam frustrated when need to use gps
Click to expand...
Click to collapse
If your GPS is getting signal from time to time and even getting a lock I won't say it's a hardware issue
If you give me more information maybe we can find out. Try to replicate it and record the screen or something
Asiier said:
That's most likely due to this part of your gps.confg
Code:
####################################
# 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 = 3 //There's controversy where this setting should be set to 0,1,2 or 3, I personally get best result with 3 but 1 should
work as well.
The Default is 0 or RRLP you should use LLP either User_Plane or Both enabled.
I can send you the article about with that happen If you are interested.
Click to expand...
Click to collapse
Si only optimizes the fixtime. It has ZERO influence on GPS performance... You do realize you don't even need cell signal to use the GPS, right? Any modification of this file can only enhance the NON GPS localisation methods.
Looks like you should read the articles you posted
Nobody07 said:
Si only optimizes the fixtime. It has ZERO influence on GPS performance... You do realize you don't even need cell signal to use the GPS, right? Any modification of this file can only enhance the NON GPS localisation methods.
Looks like you should read the articles you posted
Click to expand...
Click to collapse
Is true that the GPS is independent of Cell Signal, but currently since 3.5G If a cell connection is found the GPS will take advantage of that and get the Satellites fixed faster as it will "focus" on those near to Cell tower connected.
Nobody07 said:
Si only optimizes the fixtime. It has ZERO influence on GPS performance... You do realize you don't even need cell signal to use the GPS, right? Any modification of this file can only enhance the NON GPS localisation methods.
Looks like you should read the articles you posted
Click to expand...
Click to collapse
Then please explain me why I have a perfect GPS connection on 2G/3G and a bad one on 4G?
I can get a lock but problem is when I try recording path I get lots of drift and didn't record some of my route
Darkje said:
Then please explain me why I have a perfect GPS connection on 2G/3G and a bad one on 4G?
Click to expand...
Click to collapse
Bug or hardware issue with the SoC. May i ask how reception is with mobile connection completely shut off? Like in plane mode for instance.

Categories

Resources