In an effort to support the newly released external GPS expansion in CM9, we are happy to present our GPS Wrapper!
Once this has been tested, it will be merged into CM9!
On our small-scale tests this seems to work fine, however we would like to get the widest range of test data possible!
This is not guaranteed to work as it is Work-in-progress, however there are instructions below on how to restore!
How to use:
- Install the update.zip below from CWM recovery
- To switch between internal and external GPS, you need to attach or detach the GPS Dongle, then turn GPS on/off in settings. The GPS wrapper will make sure to take care of the rest.
Updated 17/05/2012 – New wrapper that should allow the change of device without GPS settings toggle
update.zip Install (CM9 Only)
- Install this update.zip
Manual Install Instructions (CM9 Only)
- extract zip file bellow
- navigate to the /system/ directory within that folder
- adb root
- adb remount
- adb push lib/hw/gps.tegra.so /system/lib/hw/
- adb push lib/hw/gpsdongle.tegra.so /system/lib/hw/
- adb push lib/hw/gpsinternal.tegra.so /system/lib/hw/
- adb push etc/u-blox.conf /system/etc/
- adb push etc/gps.conf /system/etc/
- adb shell reboot
To switch between GPS devices
- Just switch GPS off/on in settings while the dock is either connected or disconnected
Manual Uninstall Instructions (CM9 Only)
- adb root
- adb remount
- adb shell cp system/lib/hw/gpsinternal.tegra.so system/lib/hw/gps.tegra.so
- adb push lib/etc/gps.conf.old /system/etc/gps.conf
- adb shell reboot

