#include <std_disclaimer.h> /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns before flashing this modification! * YOU are choosing to make these modification, and if * you point the finger at me for messing up your device, I will laugh at you. */
The Xperia M2 supports ANT+, so the 4G should too...
I've managed to build Cyanogenmod with support for ANT+ by following the information at
Here's the patch for https://github.com/CyanogenMod/android_device_motorola_msm8226-common:
diff --git a/msm8226.mk b/msm8226.mk index 5a27cf5..826f371 100644 --- a/msm8226.mk +++ b/msm8226.mk @@ -251,3 +251,7 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ kernel/motorola/msm8226/drivers/staging/prima/firmware_bin/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \ kernel/motorola/msm8226/drivers/staging/prima/firmware_bin/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini + +#ANT +BOARD_ANT_WIRELESS_DEVICE := "qualcomm-smd" +$(call inherit-product, external/ant-wireless/build/ant-wireless.mk)
So you could add ANT+ support just by flashing it over CM(or probably every other rom).
sha256sum: 42bb6f552b5150e1baab6f9b8f28cec8c7c2ab408b3fbca418 490d71159c2cf4
After you've flashed it, get the "ANT+ Plugin Sampler" from the Play Store and try to connect to any sensor.
If a black window appears with the waiting circle on the upper left screen, then everything is working properly.
I only have a 4G to test, but i'd be very interested whether it works on a Moto G or a Moto E.
If you look at the patch, then you'll see that the driver for ANT+ is called "qualcomm-smd", so it's not specific to the chipset of the 4G but to a group of Qualcomm chips.
Let's find out to which ones exactly!