[ANDROID] Final Vogue/Kaiser GPS Support (zImage/NBH/rootfs provided!)

Search This thread

tatnai

Senior Member
Jul 17, 2008
2,186
234
Ann Arbor, USA
Well I trid setting it to 1 and 2 and neither worked. Here is what I've done:

Unlocked with 2.31 coke
Flashed Verizon stock 3.37.78 radio
Flashed nfsfans rom
Applied Verizon agps provisioning cab
Installed Valhalla gps server cab
GPS didn't work in winmo, so I flashed to nomorootfs nand for myns build using opengl nbh from 1-30-10
Entered console commands (echo -e...etc)
No gps locks whatsoever

ok, so it is a verizon problem. verizon is the most difficult to get gps working on, looks like you've done your reading. you need to go back to win mo and get it working there, that will be far easier than messing around with settings within android. it is a pain on verizon, and I can't help you any further; find the forums on this and post there, you'll get more responses from people who have dealt with it a bunch.
 

drewden123

Senior Member
Mar 8, 2008
661
11
ok, so it is a verizon problem. verizon is the most difficult to get gps working on, looks like you've done your reading. you need to go back to win mo and get it working there, that will be far easier than messing around with settings within android. it is a pain on verizon, and I can't help you any further; find the forums on this and post there, you'll get more responses from people who have dealt with it a bunch.

Will do. Thank you very much and thanks dzo.
 

tatnai

Senior Member
Jul 17, 2008
2,186
234
Ann Arbor, USA
Tatnai, as you saw that I was having GPS difficulties no matter what I tried, I finally got it to work by following these instructions to a T: http://xdaforums.com/showthread.php?t=533639&highlight=verizon+agps

If anybody cannot get GPS to work no matter what, follow that and you will have it within 4 hours most likely. Then flash/install the very latest Android files and GPS WILL work. Thanks for all your help.

glad you got that figured out, verizon gps is a . . . wait, I can't say that word here, huh.
 

lilkrazzie

Member
Feb 18, 2010
31
0
Hi guys, new to the forums here. I've had my touch for two years now and being able to put android on the phone is awesome. I am currently running your eclair and it is doing real good so far. GPS works and I am going to upgrade the lib file and zimage file to update the gps files in a bit, got those files from some other thread around here. One question though, does anybody else's phone freezes when you try to shut down or reboot? I think I saw someone mention but didn't see a fix for that or anything.
 

drewden123

Senior Member
Mar 8, 2008
661
11
Hi guys, new to the forums here. I've had my touch for two years now and being able to put android on the phone is awesome. I am currently running your eclair and it is doing real good so far. GPS works and I am going to upgrade the lib file and zimage file to update the gps files in a bit, got those files from some other thread around here. One question though, does anybody else's phone freezes when you try to shut down or reboot? I think I saw someone mention but didn't see a fix for that or anything.

Well, this isn't quite the right thread for that question but...I'm pretty sure that's a well-documented issue with the latest eclair build. I'd check in the thread where you got your eclair build (msmisson's?) for an answer
 

mrkite38

Retired Forum Moderator
Mar 30, 2009
1,545
366
California
Well, this isn't quite the right thread for that question but...I'm pretty sure that's a well-documented issue with the latest eclair build. I'd check in the thread where you got your eclair build (msmisson's?) for an answer

Still o/t, but drewden is correct. I believe vilord has fixed reboot and is still working on shutdown, but I don't think he's synced his changes yet.
 

jnadke

Senior Member
Jul 17, 2008
831
165
Hi guys, new to the forums here. I've had my touch for two years now and being able to put android on the phone is awesome. I am currently running your eclair and it is doing real good so far. GPS works and I am going to upgrade the lib file and zimage file to update the gps files in a bit, got those files from some other thread around here. One question though, does anybody else's phone freezes when you try to shut down or reboot? I think I saw someone mention but didn't see a fix for that or anything.

I believe the eclair build already uses this latest libgps.

I noted it in the first post:
"Most newer NoMoRootfs (andboot) builds should already have this cooked in!"

I could be wrong though. If GPS isn't working for you with a kernel dated after 1/28/10, then you probably don't have the right libgps (v5.0).
You can push it using:
adb shell mount -o remount,rw /system
adb push libgps.so /system/lib/libgps.so
 
Last edited:

lilkrazzie

Member
Feb 18, 2010
31
0
I believe the eclair build already uses this latest libgps.

I noted it in the first post:
"Most newer NoMoRootfs (andboot) builds should already have this cooked in!"

I could be wrong though. If GPS isn't working for you with a kernel dated after 1/28/10, then you probably don't have the right libgps (v5.0).
You can push it using:
adb shell mount -o remount,rw /system
adb push libgps.so /system/lib/libgps.so

Oh wow, so sorry, posted the wrong message to the wrong thread, they are probably telling me I am off topic on the other thread as well :(, but thanks, I will try pushing it.
 

jnadke

Senior Member
Jul 17, 2008
831
165
A lot of Kaiser users (including myself) are reporting GPS lockups... Is anyone else still having problems? I haven't been able to lock down the cause of it yet... perhaps it is build related?

Lockups as in... Phone locks up? Or GPS and Google Maps/Nav stops working?

If it's the latter, try to make it lock up, keep the app open until you get home. Then plug it into your computer and check dmesg.

As data comes in, it should be printed to the dmesg logs. This tells me coarsely where it's locking up.
 

jnadke

Senior Member
Jul 17, 2008
831
165
I haven't had any issues with GPS v5, has anyone had any loss of GPS or freezing issues? I finally got around to running Android via NAND, so I use it 24/7 now.

I'd fix it if I could reproduce it. I'd hate to re-write the GPS driver to be more robust and have it not fix the issue.

Also, bump to people people from getting confused with the old thread.
 
Last edited:

smarcin

Senior Member
Mar 8, 2008
525
67
Minneapolis
I haven't had any issues with GPS v5, has anyone had any loss of GPS or freezing issues? I finally got around to running Android via NAND, so I use it 24/7 now.

I'd fix it if I could reproduce it. I'd hate to re-write the GPS driver to be more robust and have it not fix the issue.

Also, bump to people people from getting confused with the old thread.

Is GPS v5 cooked into dzo's 2-26-10 zImage and .nbh ? Thanks.
 

hexto

Senior Member
Aug 13, 2008
760
77
Middletown, CT
I always have issues with my GPS and have since switching to Android. For me its weird. Whenever I switch to a new build I get perfect GPS once. After the first time it'll never work again. The last time I switched was to Myn's build and I used Google Nav from Vermont to CT (over 150 miles) without issue. Thought the issue was no more but I tried to use Google Maps a few days later and nothing. Hasn't worked since. I recently switched to radio 3.42.50 from 3.37.77 hoping for better GPS but no such luck.

I just don't understand why it only works after a fresh install. Weird.
 

polyrhythmic

Senior Member
Oct 19, 2007
536
7
Seattle
www.doublerebel.com
Perhaps the problems I was having before were build-related. I got a solid GPS lock just now, and GPS Test works again. "GPS Status" app crashes on startup, I think it can't handle the lack of a compass. I also get errors about once a second like this:
Code:
03-02 15:10:57.808 I/ActivityManager( 1455): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.chartcross.gpstest/.GPSTest bnds=[0,153][240,201] }
03-02 15:10:57.988 I/ActivityManager( 1455): Start proc com.chartcross.gpstest for activity com.chartcross.gpstest/.GPSTest: pid=2036 uid=10051 gids={}
03-02 15:10:58.848 W/InputManagerService( 1455): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@443bc6c0
03-02 15:10:59.428 D/        ( 2036): unable to unlink '/data/data/com.chartcross.gpstest/shared_prefs/com.chartcross.gpstest_preferences.xml.bak': No such file or directory (errno=2)
03-02 15:10:59.738 D/dalvikvm( 2036): GC freed 1900 objects / 243520 bytes in 116ms
03-02 15:11:00.028 D/SensorManager( 2036): found sensor: AK8976A 3-axis Accelerometer, handle=0
03-02 15:11:00.048 D/SensorManager( 2036): found sensor: AK8976A 3-axis Magnetic field sensor, handle=1
03-02 15:11:00.068 D/SensorManager( 2036): found sensor: AK8976A Orientation sensor, handle=2
03-02 15:11:00.078 D/SensorManager( 2036): found sensor: AK8976A Temperature sensor, handle=3
03-02 15:11:00.159 D/LocationManager( 2036): Constructor: service = android.location.ILocationManager$Stub$Proxy@43fff750
03-02 15:11:00.218 D/GpsLocationProvider( 1455): setMinTime 0
03-02 15:11:00.228 D/GpsLocationProvider( 1455): startNavigating
03-02 15:11:00.259 D/GpsLocationProvider( 1455): Acquiring wakelock
03-02 15:11:00.278 E/Sensors ( 1455): Couldn't open /dev/akm8976_aot (No such file or directory)
03-02 15:11:00.538 E/Sensors ( 1455): Couldn't find or open 'compass' driver (Not a typewriter)
03-02 15:11:00.548 E/SensorManager( 2036): mDataChannel == NULL, exiting
03-02 15:11:00.778 I/ActivityManager( 1455): Displayed activity com.chartcross.gpstest/.GPSTest: 2816 ms (total 2816 ms)
03-02 15:11:01.359 E/JavaBinder( 2036): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
03-02 15:11:01.359 E/JavaBinder( 2036): java.lang.ArrayIndexOutOfBoundsException
03-02 15:11:01.359 E/JavaBinder( 2036): 	at android.location.GpsStatus.setStatus(GpsStatus.java:153)
03-02 15:11:01.359 E/JavaBinder( 2036): 	at android.location.LocationManager$GpsStatusListenerTransport.onSvStatusChanged(LocationManager.java:1181)
03-02 15:11:01.359 E/JavaBinder( 2036): 	at android.location.IGpsStatusListener$Stub.onTransact(IGpsStatusListener.java:87)
03-02 15:11:01.359 E/JavaBinder( 2036): 	at android.os.Binder.execTransact(Binder.java:287)
03-02 15:11:01.359 E/JavaBinder( 2036): 	at dalvik.system.NativeStart.run(Native Method)
03-02 15:11:03.288 E/JavaBinder( 2036): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
03-02 15:11:03.288 E/JavaBinder( 2036): java.lang.ArrayIndexOutOfBoundsException
03-02 15:11:03.288 E/JavaBinder( 2036): 	at android.location.GpsStatus.setStatus(GpsStatus.java:153)
03-02 15:11:03.288 E/JavaBinder( 2036): 	at android.location.LocationManager$GpsStatusListenerTransport.onSvStatusChanged(LocationManager.java:1181)
03-02 15:11:03.288 E/JavaBinder( 2036): 	at android.location.IGpsStatusListener$Stub.onTransact(IGpsStatusListener.java:87)
03-02 15:11:03.288 E/JavaBinder( 2036): 	at android.os.Binder.execTransact(Binder.java:287)
03-02 15:11:03.288 E/JavaBinder( 2036): 	at dalvik.system.NativeStart.run(Native Method)
03-02 15:11:04.148 E/JavaBinder( 2036): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
03-02 15:11:04.148 E/JavaBinder( 2036): java.lang.ArrayIndexOutOfBoundsException
03-02 15:11:04.148 E/JavaBinder( 2036): 	at android.location.GpsStatus.setStatus(GpsStatus.java:153)
03-02 15:11:04.148 E/JavaBinder( 2036): 	at android.location.LocationManager$GpsStatusListenerTransport.onSvStatusChanged(LocationManager.java:1181)
03-02 15:11:04.148 E/JavaBinder( 2036): 	at android.location.IGpsStatusListener$Stub.onTransact(IGpsStatusListener.java:87)
03-02 15:11:04.148 E/JavaBinder( 2036): 	at android.os.Binder.execTransact(Binder.java:287)
03-02 15:11:04.148 E/JavaBinder( 2036): 	at dalvik.system.NativeStart.run(Native Method)
03-02 15:11:05.158 E/JavaBinder( 2036): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
03-02 15:11:05.158 E/JavaBinder( 2036): java.lang.ArrayIndexOutOfBoundsException
03-02 15:11:05.158 E/JavaBinder( 2036): 	at android.location.GpsStatus.setStatus(GpsStatus.java:153)
03-02 15:11:05.158 E/JavaBinder( 2036): 	at android.location.LocationManager$GpsStatusListenerTransport.onSvStatusChanged(LocationManager.java:1181)
03-02 15:11:05.158 E/JavaBinder( 2036): 	at android.location.IGpsStatusListener$Stub.onTransact(IGpsStatusListener.java:87)
03-02 15:11:05.158 E/JavaBinder( 2036): 	at android.os.Binder.execTransact(Binder.java:287)
03-02 15:11:05.158 E/JavaBinder( 2036): 	at dalvik.system.NativeStart.run(Native Method)
03-02 15:11:05.858 D/skia    ( 1704): purging 59K from font cache [7 entries]
03-02 15:11:06.028 D/dalvikvm( 1704): GC freed 1575 objects / 90200 bytes in 167ms
03-02 15:11:06.158 E/JavaBinder( 2036): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
03-02 15:11:06.158 E/JavaBinder( 2036): java.lang.ArrayIndexOutOfBoundsException
03-02 15:11:06.158 E/JavaBinder( 2036): 	at android.location.GpsStatus.setStatus(GpsStatus.java:153)
03-02 15:11:06.158 E/JavaBinder( 2036): 	at android.location.LocationManager$GpsStatusListenerTransport.onSvStatusChanged(LocationManager.java:1181)
03-02 15:11:06.158 E/JavaBinder( 2036): 	at android.location.IGpsStatusListener$Stub.onTransact(IGpsStatusListener.java:87)
03-02 15:11:06.158 E/JavaBinder( 2036): 	at android.os.Binder.execTransact(Binder.java:287)
03-02 15:11:06.158 E/JavaBinder( 2036): 	at dalvik.system.NativeStart.run(Native Method)
polymod_2.1g-GPSworking.png

As you can see, starts up fine and runs fine despite the repeating errors -- but GPS Status gives the same errors and it won't load at all. This isn't directly related to the GPS driver, but would there be any use for a dummy compass driver to prevent those errors?

EDIT: Just noticed the screenshot time is off, right now the time is jumping back and forth between 15:29 and 11:04 -- it's 3:29 PST so I suppose the 11:04 is just a bad reading. I checked dmesg and the time it gets from the driver is consistent... now the app has stopped jumping and is fixed at the correct time. No worries.
 
Last edited: