If I could get a compiled and signed 3.1.1 AntHalService.apk , as my debug signed compile won't run as a system app and got me stuck, I'd be REALLY thankful
I just started this thread on XDA regarding this, and will replicate the initial content here in the hope I find some help:
http://forum.xda-developers.com/showthread.php?p=47837990
Background:
Ant+ and Health/Sport accessories are not very widespread among smartphone users, but it was one of the major reasons a which I moved from the Nexus 4 to Galaxy S4.
While S4 on 4.3 works great with my Garmin Heart Rate Monitor(HRM), I'm not satisfied with Touchwiz and Knox.
My S4 feels laggy, slow and I want to use stock android, or even any of those KitKat releases.
Many Xperia devices have Ant+ support, and it seems that they manage to cook it into custom roms successfuly.
Target:
Assemble a flashable zip which would allow anyone with an S4 already flashed to 4.3 to use the Ant+ receiver.
Research:
I've spent some time embeddint the Ant+ files (com.dsi.ant.antradio_library.jar and .xml, and the AntHalService.apl) on MakTail's 4.3 GE but ran into an issue that blocked further investigation:
The AntHalService tries to enable bluetooth, can't find the method and reboots the device.
The version is 3.0.0 which is supplied on Stock ROM, and
there is already a 3.1.1 available from Ant Alliance which removes the requirement for enabling bluetooth.
I got the source code and compiled the apk, but I
can't run it as a System App, so I got stuck. Spent some time trying to workaround it, but no success.
I guess that even when I get hold of a working 3.1.1, there will be new issues, and I'm a complete newbie on ROM cooking.
So I would like help from others, maybe suggesting next steps or getting hands on with me on this project.