• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help GPS activates only for/after using google maps

I turn on GPS but it won't actually work until I open google maps.

The problem is, I try to turn GPS on to use in other apps (ie. asking skyvi for local weather) and GPS won't work unless I first open the google maps app.

My phone is an optimus V, cyanogen mod 7.2

Any input?
Thanks!
 
Just remember in the future to post your problems in the All Things Root Guide so they will be seen quicker. Almost didn't look in the regular V forum today, but I always look in the All Things Root sub-forum.

For faster GPS locks go to: /system/etc/gps.conf
Delete everything in it and add this:
Code:
NTP_SERVER=us.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
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_USER_PLANE=TRUE
DEFAULT_SSL_ENABLE=FALSE
INTERMEDIATE_POS=1
REPORT_POSITION_USE_SUPL_REFLOC=1
DEBUG_LEVEL=0
ACCURACY_THRES=3000
ENABLE_WIPER=1
CURRENT_CARRIER=common
SUPL_NO_SECURE_PORT=7276
SUPL_SECURE_PORT=7276
SUPL_PORT=7276
SUPL_HOST=supl.google.com


For better 3G connections go to /system/etc/sysctl.conf
Add this:
Code:
# sysctl.conf file
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.dirty_background_ratio = 90
vm.dirty_background_bytes = 0
net.ipv4.tcp_ecn=0
net.ipv4.route.flush = 1
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_rmem = 4096 39000 187000
net.ipv4.tcp_wmem = 4096 39000 187000
net.ipv4.tcp_mem = 187000 187000 187000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
 
I turn on GPS but it won't actually work until I open google maps.

The problem is, I try to turn GPS on to use in other apps (ie. asking skyvi for local weather) and GPS won't work unless I first open the google maps app.

My phone is an optimus V, cyanogen mod 7.2

Any input?
Thanks!

Likely Skyvi bug(s)... What other GPS-dependent apps used that also failed? Which CM-7.2 ROM and its revision?
 
Back
Top Bottom