[ANDROID] Final Vogue/Kaiser GPS Support (zImage/NBH/rootfs provided!)
I created a new thread for this because the old one was for development, and there's no more development
I finally decoded all the information GPS is providing, and updated the drivers to provide full GPS support.
Rootfs link below for those running from SD or NAND
This thread is for people who want the latest and greatest! As ROM builders integrate these libraries into their ROMs, you shouldn't have to come back here. GPS 5.0 is likely to stay, as I don't foresee any bugs.
Check out the old thread as well. Shidell put some work into an ADB how-to:
Rootfs with libgps5.0already pushed in (fixed some file permissions in this version and verified libgps is in there):
NBH (thanks jamezelle!):
zImage and libgps.so attached! Rootfs above!
INSTRUCTIONS (SD): Replace your zImage and rootfs.img with the ones provided and reboot! (Put them in the android directory).
INSTRUCTIONS (NAND): Flash the new NBH. Then either flash the new rootfs.img, or adb push the library to your /lib/donut, /lib/eclair, and /lib directories.
Bugs remaining (I don't feel like hunting them down):
* Satellite reporting is finicky (this is an issue with the gps messages themselves). Satellites disappear and come back randomly. Only way to fix this is put in a state machine that combines satellite messages over multiple seconds. Also you'd need to prune satellites that are old. I implemented one, but had crashing issues so I ditched it.
* [Fixed] After booting, the first time you try to use GPS with Google Maps/Nav, it will fail. Exit out and re-enter and it will always work from then onward.
-2.2: Fixed 'no position in maps/nav on first try after reboot'
-5.0: Fixed issue with negative altitudes, also rebaselined versioning to match versioning inside the software
For maximum compatibility, make sure you're running a 3.42.50 radio (CDMA):
Radio-only nbh that won't mess up your NAND.
Most newer NoMoRootfs (andboot) builds should already have this cooked in!
(also any of dzo's newer zImages work)