Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Only opening this to make it clear that GPS is NOT working on the ROM, and to document the current status.
The situation on our tablet appears to be the following: the tablet has a combined Bluetooth/GPS chip, which communicate over the same interface. What they did on the stock ROM is hack Android's Bluetooth implementation (
Normally changes like these should be made in the device specific hardware implementation (HAL), but for some reason they decided to hack it into Android's Bluetooth implementation directly. Because of that, it is pretty much impossible to port this to newer Android versions - with each major update the Bluetooth implementation is also updated with new features and other changes - the old version wouldn't work at all on newer Android versions. Bluetooth (and GPS) is entirely broken when trying to use it on Nougat.
This does not only affect our tablet, but also some other smartphones from ASUS, e.g. the Zenfone 5.
With that said, it's unlikely that GPS will ever be working on this ROM, at least not unless ASUS releases the necessary source code for this setup. And this is likely never going to happen.
It seems at least the translation from hci to /data/gps/brcm_gps_unix_socket is trivial: