[LG Optimus Black] affan94:
Hi anto,

This is what I do, when I make my gps working like it should:

- turn off gps

- uninstall any gps status/monitor/test software

- install only gps test by chartcross from play store

- try to clean the gps data by going to gps test setting.

- And go to open sky (it's just for the first time)

- goto terminal emulator and type the following:

su

stop glgps

/system/bin/glgps -d /system/etc/gps_brcm_conf.xml

-Turn on data connection

-Turn on gps

-Run gps test

-It will download lto.dat and start to sync with cell tower. This is an old broadcom chip it must use lto.dat to work properly.

-Wait until its fixed. And you're ready to go.

Ps. this is very important, please use your left hand, and use index finger at the top edge and your thumb at the bottom edge to hold the phone. I don't know why but it should give better signal reception.

This is my gps_brcm_conf.xml look like:

<!--taesook.yoon@lge.com 20110725 - change devicename from vsnet0 to rmnet0 -->

<!--taesook.yoon@lge.com 20110725 - change arp-supl-cap-ecid from true to false -->

<?xml version="1.0" encoding="utf-8"?>

<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >

<!--HAL Confguration: Please make sure to split the hal configuration when it's bigger than 1K bytes. -->

<hal

acPortName="/dev/ttyO0" lBaudRate="460800" cLogEnabled="true" acLogDirectory="/sdcard/gps/log" cLogEnableInitState="false"

enhanced-assisted="false"

arp-supl-enable="true" arp-supl-cap-msb="true" arp-supl-cap-msa="true" arp-supl-cap-ecid="false"

acSuplServer="lge.glpals.com" SuplPort="7275" tlsCertPath="/system/etc/cert/lge.cer"

tlsStopForInvPath="true" arp-supl-use-apn="true"

ReAidingType="3" ReAidingRetryIntervalSec="5" ReAidingIntervalSec="1800"

LbsEnable="true" LbsLocal="false" LbsServer="bcmlbsqa2.glpals.com" LbsPort="7275"

LbsSyncLto="true" LbsSyncCells="true" ltoFileName="lto.dat"

LbsGetGpsAssistance="true" LbsSyncLtoThresholdDays="3"

LbsCellEnable="true" LbsGpsEnable="true" LbsWlanEnable="false"

/>

<hal

acNmeaOutName="/data/gpspipe"

ResetOnStart="false"

gpioDelayMs="80"

ctrlPipe="/data/gps/glgpsctrl"

lcsApiSockName="/data/gps/lcs.socket"

acNvStoDir="/data/gps/"

gpioNStdbyPath="/sys/devices/platform/hub_gps_gpio/poweron"

gpioNResetPath="/sys/devices/platform/hub_gps_gpio/reset"

/>

<!-- Sample HAL Conf to enable TLS CA checking and GPIO setting.

acSuplServer="www.spirent-lcs.com" SuplPort="7275" tlsCertPath="/system/etc/spirentroot.cer" arp-supl-interface-device="vsnet0"

-->

<!-- Parameters passed to GlEngine -->

<!--gll

LogPriMask="LOG_DEBUG"

LogFacMask="LOG_GLLAPI | LOG_DEVIA | LOG_NMEA | LOG_RAWDATA | LOG_DEVMS | LOG_ASIC_IO | LOG_BBTEST | LOG_DEVET | LOG_MESM | LOG_DEVKF | LOG_DEVJG | LOG_DEVMR"

FrqPlan="FRQ_PLAN_10MHZ_2PPM_10MHZ_100PPB" FrqPlan="FRQ_PLAN_10MHZ_2PPM" "FRQ_PLAN_16_8MHZ_2PPM"

RfType="GL_RF_PALS7" "GL_RF_BARRACUDA" "GL_RF_2075_LN22" "GL_RF_2075_BRCM" "GL_RF_PALS7_BRCM" "GL_RF_BARRACUDA_BRCM" "GL_RF_BARRACUDA_EXT_LNA"

NOTE: "GL_RF_BARRACUDA_EXT_LNA" should be used for BAS

FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB"

/-->

<!-- NOTE: BrcmRFwildBase, BrcmRFclkDiv, anBrcmRFclkRefHz only needed for Broadcom RF front end test chips

( i.e. GL_RF_2075_BRCM and GL_RF_PALS7_BRCM )

BrcmRFwildBase="0x1E2D6409"

BrcmRFclkDiv="21"

BrcmRFclkRefHz="26000000"

pps-enable="false" pps-offset-madb shell chmod 777 /system/bin/gpsd/glgps_tmp

s="0" pps-width-ns="100"

LogFacMask="LOG_GLLAPI | LOG_DEVIA | LOG_NMEA | LOG_RAWDATA | LOG_DEVMS | LOG_ASIC_IO | LOG_BBTEST | LOG_DEVET | LOG_MESM | LOG_DEVKF | LOG_DEVJG | LOG_DEVMR | LOG_DEVCV"

-->

<gll

LogPriMask="LOG_DEBUG"

LogFacMask=" LOG_DEVMR"

FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB"

RfType="GL_RF_4751_DANUBE_EXT_LNA"

psf-not-connected="true"

/>

<!-- List of jobs can be performed by the GPS controller -->

<!-- The default job all parameters are set to default values -->

<job id="normal">

<task >

<startup ignore_osc="true" ignore_rom_alm="true" ignore_nav="true" ignore_pos="false" ignore_ram_alm="true" ignore_time="true"/>

</task>

</job>

</glgps>