yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] DaOldMan:
Cool. Happy to hear. Now please push the thanks button to people that helped you ☺

Thomas
[Android Q&A, Help & Troubleshooting] ivkrznar:
Hello!

I apologize if you made ​​a mistake, I'm new here, I come from the Croatian.

Questions about rooting Huawei MediaPad 7 lite S7-931u (Android 4.0.3):

1.Do you have to be switched on the tablet when I'm root?

2.Do I have to remove the SIM card?

3.And that mode set when I connect a PC and a tablet?

Thank you for your understanding!
[Android Q&A, Help & Troubleshooting] zoyar:
1. Yes, but you have to enable USB debugging in your developer settings

2. Not necessary

3. Just plug it in and the software you use for rooting should see your device.

Check this threads

http://xdaforums.com/showthread.php?t=2620655

http://xdaforums.com/huawei-mediapad/general/root-huawei-mediapad-7-youth-s7-701u-t2839925
[P3300, MDA Compact III General] devon:
Has anyone out there found a solution to the corrupt microSD card problem? Are any cards immune?
[P3300, MDA Compact III General] grun:
I don't think the problem is due to the card, but that it is a software problem. Maybe HTC can solve the problem in the next firmware release.
[Hardware Hacking General] iRant:
## Saved for instructions on how to discover if a device has ANT+ (including a list of other wireless chips, so you know if it doesn't). ##

How to check if you're phone has ANT hardware:

4 options:

1. Look at the hardware. Open up your phone, remove the metal shields, and see if one if the chips listed above...or look at a teardown on sites like https://www.ifixit.com/Teardown

2. Check the firmware files. For example, look at the file names in /system/vendor/firmware like done at http://xdaforums.com/showpost.php?p=58619104&postcount=13

3. Check from an app. This only works if your phone is ANT enabled, but you can get the firmware version by running https://github.com/ant-wireless/ANT...SDK/Tools/Android_ANTSupportChecker_1-2-0.apk

4. adb shell command line. This is not a definitive answer, but it can help. Useful commands:

a. getprop and looking at something like ro.hardware
[Hardware Hacking General] iRant:
## Saved for instructions on how to build an ANT+ enabled ROM from source ##

Using CyanogenMod as an example, it should be possible to add ANT+ to any phone built from AOSP source.

CyanogenMod already has source code for building for devices with Qualcomm radio chips, and the device config simply needs to be updated. I have managed to build an ANT+ enabled ROM completely from source for a Broadcom chip (should also work with the TI chips), which requires patching the Bluedroid Bluetooth stack. This was based on the source Garmin pushed to the AOSP Gerrit (https://android-review.googlesource.com/#/q/owner:"James+Bootsma"+status:open) but ANT Wireless now has the source on their GitHub (eg. https://github.com/ant-wireless/pla...mmit/75f70267404c0209bc20a6c627c11ebcd527d228) which would have made things easier.

I only have a Galaxy Nexus with a Broadcom part, so I am building CM11 and need to deactivate BTLE to add ANT+ as the BCM4330 only supports one. I took the firmware patch file that adds ANT instead of BTLE from a Sony Xperia S, which is using new Bluetooth functionality, so I get BT enable issues (which will be fixed if I find a newer patch file). This won't be a problem with the Broadcom wireless chips in newer phones.

I will publish my source and work through turning on ANT in as many phones as I can, but I am unable to test. If there is anyone with any of the phones above, who is doing a ROM build from source and would like to add ANT+, let me know and I can prioritise that device.
[Hardware Hacking General] Trespassing:
Just search installed system apps for ANT-Service ;)

By the way: my former former former Sony Ericsson Neo V was ANT+ enabled, too. Z1 as well ;)

Von meinem Sony Xperia Z1 gesendet. Mit Hirn.
[Hardware Hacking General] iRant:
Most of the phones listed above won't have any ANT service, as (even though they have the hardware) they haven't had the software support added.

The Neo V and Z1 are already included above. They were both released with ANT+ support stock (and ANT+ certified, so are also easily found by looking in the ANT+ Product Directory).
[Hardware Hacking General] rubensa:
Xiaomi Redmi 1S

Used ANT Checker to identify Chip on Xiaomi Redmi 1S

Built-in firmware: AVN1.01B04

So, It's a Qualcomm chip (not surprise as phone has Qualcomm Snapdragon 400 MSM8228 SoC)
[Hardware Hacking General] rubensa:
Xiaomi Redmi 1S

Now I'm running CM11 (11-20141201-UNOFFICIAL-armani) on Xiaomi Redmi 1S and flasheable zip for standard OnePlus One CyanogenMod, works for Redmi 1S.
[Hardware Hacking General] LayerEight:
Seems that S4 Active also comes with BCM4335.

The firmware files for BMC4335 are included in CM12 roms (and possibly Stock roms, ill verify this)
[Hardware Hacking General] johnvuong1999:
anybody know how to obtain bcm20715 proprietary binaries,used by lg g watch bluetooth
[Hardware Hacking General] LayerEight:
Update for the S4 Active: It generally supports ANT+.
[Hardware Hacking General] Jeimygirl:
I have a Nexus 6 and it looks like they have a BCM4356 chip (from searches). I haven't been able to activate it so I'm not sure if it supports ANT+

My Firmware folder shows this though:

BCM4354A2

BCM20795_firmware (NFC)

** Uodate** Just downloaded this and this is the result:

https://github.com/ant-wireless/ANT-Android-SDKs/tree/master/ANT_Android_SDK/Tools

Still can't get it to work though.
[Hardware Hacking General] iRant:
As I just added to post #3: if there is anyone with any of the phones above, who is doing a ROM build from source and would like to add ANT+, let me know and I can try and get you a patch to enable ANT+.
[Hardware Hacking General] Rebellos:
I thought it's a thread about hardware compromised by devices included in NSA ANT (http://en.wikipedia.org/wiki/NSA_ANT_catalog).

Such an unfortunate technology naming. ^.-
[Hardware Hacking General] zyghom:
oneplus one is ok

oneplus one with Exodus 5.0.2 is working very well with Garmin ANT+ heart rate monitor (belt)
[Hardware Hacking General] A. Nieveen:
ehhh there are some ant apps in play store, u might find an device list there also?
[Hardware Hacking General] Mukhtarxda:
My xiaomi redmi 1s has ant+ hardware
[Hardware Hacking General] xc-racer99:
Moto G 2013

I think this is incorrect. On my xt1032, if I flash the file located at http://xdaforums.com/moto-g/general/ant-moto-g-4g-maybe-t2875420 (intended for the Moto G 4G), I can pair with a Garmin HR monitor and pick up its signals. Tested on CM12.1
[Hardware Hacking General] dan74:
Hello iRant, did you manage to get ANT+ working on your Galaxy Nexus using the internal BCM4330? I'd dearly love to find out - Last January I've retired my old Galaxy Nexus as a "bike computer" and it did work very well in this role for these 2 years using a Suunto ANT+ USB adapter connected via an USB OTG cable, but the phone's micro USB connector finally failed on Saturday due to wear & tear. The phone is otherwise still working great (even charging the battery via the same micro USB connector!) so I'd very much like to keep using it as my bike computer if at all possible. I'm also using CM11 (cm-11-20150626-SNAPSHOT-XNG3CAO1L8).

Many thanks in advance!

Dan
[Hardware Hacking General] iRant:
Hi Dan,

My GNex doesn't come out much anymore as the USB connection is a pain to get working, including with a charger for me.

I ran in to problems with newer CM versions as they use Bluetooth (or maybe it was WiFi...) functionally that was added in the BCM4330 patch, which made it hard to find a suitable ANT+ enabled patch. I don't remember if I found something. If there is a suitable patch, it would likely be from a phone with a slightly newer Broadcom part (BCM4334?)...or the Recon Jet if you can access the patch file (older Android version, but still using the older radio chip)

No specific help from me on this, sorry
[Hardware Hacking General] iRant:
Depending what bike computer app you use, just go with an older version of CM and you can build with the Xperia S patch and the source from the ant-wireless Github. I'm assuming there is an implementation available to work with the Bluedroid Bluetooth stack - it's been a long time since I've looked at this
[Hardware Hacking General] fathroen:
Big hope for Xiaomi Redmi 3 to support ANT+ . http://en.miui.com/thread-223075-1-1.html

Excellent 4G phone with 4100mah battery and IPS Screen. Did I mention it costs about 100USD in China?
[Hardware Hacking General] APD500:
In my xt 1040 (moto g 4g) didn't work the patch that is indicated in a link at the beginning of this thread for moto g 4g (http://xdaforums.com/moto-g/general/ant-moto-g-4g-maybe-t2875420).

May be my problem is that I'm using the stock ROM lollipop 5.1 of Motorola.

After flashing the patch, "Ant+ pluggin sample give me error:

"Ant+ tester" show me this:

What can I do if I want to activate the ant+ on the stock ROM? Is it possible or I must use a CM ROM?

(I like the stock ROM because is very stable and fluid)
[Hardware Hacking General] xc-racer99:
Hmm, based on that it looks as if the zip didn't flash correctly. Can you check if /system/app/AntHALService.apk exists? That's one of the files that Ant+ tester is saying it can't find.

If the file is there, then you could try downloading a CM ROM, unzipping it and replacing the files in the zip from the thread you linked with the updated ones from the CM zip.
[Hardware Hacking General] APD500:
Thanks [MENTION=5414656]xc-racer99[/MENTION].

I check that /system/app/AntHALService.apk exists (also ANTRadioService.apk ant ANTPlusPlugins.apk)

I have downloaded and unziped cm-12.1-20160405-STABLE-peregrine but I can´t find the similar files. In "C:\Users\PC Internet\Downloads\cm-12.1-20160405-STABLE-peregrine\system" I only see one file: build.prop

I'm sorry but I'm very rookie in this things
[Hardware Hacking General] xc-racer99:
Rats, I forgot that CM no longer has the files individually there but rather in a sparse image (IIRC). Since these are a pain to unzip on Windows, you should be able to download one of the ROMs from http://xdaforums.com/moto-g/development/rom-unofficial-omnirom-5-1-moto-g-2013-t3197356 as it has the files individually (and yes, its my own ROM, and yes, its for the non-4G version but this part of the config is shared between the versions).
[Hardware Hacking General] APD500:
I downloaded your CM ROM, I unzipped it and replace manually the files in the zip from the thread with the updated ones from the CM zip.

Now the "ant+ tester" show me:

Thanks for the help
[Hardware Hacking General] xc-racer99:
Darn. Can you try flashing the attached file? Make a backup first as it has the possibility of breaking wifi. Basically its the updated files but also includes the firmware files. Hopefully I didn't make any stupid typos...

I haven't tested this as I have the non-4G first-gen Moto G and don't want to go back to the stock ROM.

Solution found: see http://xdaforums.com/showpost.php?p=66775154&postcount=31
[Hardware Hacking General] APD500:
Excuse me, but what attached file?

I've flashed the zip from the thread ant+ for moto g 4g (http://xdaforums.com/moto...maybe-t2875420) without problems
[Hardware Hacking General] xc-racer99:
My bad, I totally forgot to attach the zip to my previous post, its there now.
[Hardware Hacking General] APD500:
I can't flash the attached file.

I get an installation error in CWM recovery...
[Hardware Hacking General] xc-racer99:
Oops, my fault again - I messed up creating the zip. Can you try the one attached to this post? It should flash just fine. If this doesn't fix the ANT+ problem, send me a PM and we'll work on it there to avoid cluttering up this thread any more.

Solution found for stock first-gen Moto G ROMs:

1) Flash the original, unmodified moto_g_ant.zip

2) Delete /system/app/AntHalService.apk

3) Install the AntHalService.apk attached. What's been changed is that it no longer uses the system uid so it actually installs but needs the next two steps:

4) Set selinux to permissive

5) Change permissions of /dev/smd5 and /dev/smbd6 to 666 (from an adb shell or a terminal emulator - the command is "chmod 666 /dev/smd5 /dev/smd6").

Note this does weaken the security of the device due to selinux and permissions changes and you will need to do the last two steps after every boot - could probably setup an init.d script to do this...
[Hardware Hacking General] MpandAUS:
Samsung Galaxy SM-A300Y/FU

Hope this helps
[Hardware Hacking General] APD500:
Excuse me I don't understand you. Do you have the ant+ working?

If I use that program I get:

But in my moto g ant+ is not working. Thanks for your help.
[Hardware Hacking General] APD500:
I just want to publicly thank xc-racer99 for his great help.

He knows how to activate the ant + in the Moto g 4G with stock room. Thank you very much

Solution found: see http://xdaforums.com/showpost.php?p=66775154&postcount=31
[Hardware Hacking General] MpandAUS:
After installing ANT apps (radio service, usb, plugins etc) on Google play store, this was my result below and is now working. I'm also using Resurrecent Remix custom ROM. :)
[Hardware Hacking General] papzi57:
I have OnePlus Two with CM13 ROM.

Why does not work the ANT + service? Why can not I connect to ANT + devices?

How can I switch on it?
[Hardware Hacking General] papzi57:
Could you patch for me? (Oneplus 2 CM13)
[Hardware Hacking General] whizz:
The OnePlus 3 also has ANT+ support:

https://imgur.com/IdloTyl
[Hardware Hacking General] nimrodsv:
When trying to build a rom with ANT support for OnePlus 3 i'm getting the following error.

qcom bt and libbt repos are being synced so i have no idea why there is a missing file

external/ant-wireless/ant_native/src/bt-vendor_vfs/ant_native_chardev.c:47:86: fatal error: bt_vendor_qcom.h: No such file or directory

#include "bt_vendor_qcom.h" /* used by qualcomms code to call into libbt-vendor.so */

^

compilation terminated.

build/core/binary.mk:801: recipe for target '/home/nimrodsv/Android/ss/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libantradio_intermediates/src/bt-vendor_vfs/ant_native_chardev.o' failed

make: *** [/home/nimrodsv/Android/ss/out/target/product/oneplus3/obj/SHARED_LIBRARIES/libantradio_intermediates/src/bt-vendor_vfs/ant_native_chardev.o] Error 1

make: *** Waiting for unfinished jobs....
[Hardware Hacking General] xc-racer99:
Well, I can't guarantee anything, but I have gotten ANT+ to work on my first-gen Moto G (it does use a different driver than yours) in my source-built Omni (https://plus.google.com/113980509121487778505/posts/AEPEryxcsZg is you, right?). You can view my commit at https://github.com/xc-racer99/andro...mmit/98d70b56d97e936370bfed2b35b7174323335333 - note that you probably won't want to copy any firmware from the kernel and your BOARD_ANT_WIRELESS_DEVICE should be qualcomm-uart. Note that the dependencys I've used are not from CM (I think they may have changed a few things), but the ones directly from the ANT foundation - see https://github.com/xc-racer99/andro...mmit/9757280e564097be380e008c76f87a8c2751451d - you shouldn't need any other repos.

I find no reference to "bt_vendor_qcom.h" in my source tree, just so you know. Good luck!
[Hardware Hacking General] roger777:
I have Samsung Galaxy S5 SM-G901F (named Galaxy S5 Plus,Galaxy S5 LTE-A)

It's official european version and has latest official Android 6.0.1.

ANT+ doesn't work with this combination. I've tried Endomondo, IpBike and ANT+ Plugin Sampler.

They do not even start to scan for ANT+ accessories.

ANT+ Plugin Sampler gives message: "ANT adapter not available. Built-in hardware or external adapter required"

I've installed ANT support checker. It gives info that device is ANT capable but there is no built-in firmware that supports ANT (screenshot attached) .

I've checked friends phones with Galaxy S5 G900F with Android 5.0.1 and 6.0.1 and these versions fully support ANT+. Everything works.

Is it problem with Samsung ROM?

Is there any solution that supports ANT+ with G901F?

According to application manager I can see that ANT HAL Service is consuming a lot of battery: 25% since last full charge (24h)

Thanks
[Hardware Hacking General] santi1993:
Running moto x xt1058 at cm13, i can test whatever u want, hope it helps the project

Sent from my fridge running CM13
[Hardware Hacking General] Kakashi02:
Running Galaxy S4 at CM 13, I can test whatever you want , hope it helps the project
[Hardware Hacking General] KUASIMISAI:
Lenovo Vibe X2

How to make ANT work with Vibe X2? It has a MT6595 chip
[Hardware Hacking General] Brooklyn911:
Using N290T-C-P running TEKXODUS Level 10 I can test

---------- Post added at 03:56 AM ---------- Previous post was at 03:54 AM ----------

By the way, how am I even able to do.that run all three variants on the same phone?
[Hardware Hacking General] _ck_:
Are there any cheaper prepaid smartphones out there that have ANT+ possibilities in 2016-2017 ?

I realize an OTG dongle could add it to many phones but trying to keep it compact and power efficient.

For the record XT1030 (Droid Mini) does NOT have ANT+ support as far as can be detected.
[Hardware Hacking General] jontis:
oneplus X onyx with LineageOS 14.1 supports ant+

I'm posting this as info to help others.

After putting fresh batteries in my ant+ sender, I was able to connect to my

oneplus X onyx with LineageOS 14.1 supports ant+
[Hardware Hacking General] Delgoth:
All I know, is that the ANT hardware uses the same acronym as the NSA.

https://en.m.wikipedia.org/wiki/NSA_ANT_catalog

It all sounds fishy.
[Hardware Hacking General] unqualified:
The Moto G 2013 (Falcon) does have ANT+ capability with LineageOS 14.1 (also worked on CM). It has an MSM8226 (SoC with built-in ANT capability). I've been using it as a bike computer for over a year now.

I'm hoping someone knows an easy way to port ANT+ flashable zips, or better yet, integrate into LineageOS for other motorola phones that obviously could be activated but weren't certified by motorola/lenovo for ANT+. I currently have a Moto G 2015 Osprey, which shares the same qualcomm MSM8916 chip as the Asus Zenfone 2 Laser and BQ E5, which both appear to have ANT+ activated in LineageOS.
[Hardware Hacking General] xc-racer99:
Just an FYI - the "official" ANT wireless Github is at https://github.com/ant-wireless I used it to add ANT+ support to falcon on unofficial OmniRom builds - my commits are at https://github.com/xc-racer99/andro...751451d#diff-dfae556379c73dbe35de7e48b1ff5d81 for the dependencies and https://github.com/xc-racer99/andro...mmit/98d70b56d97e936370bfed2b35b7174323335333 for the board-specific changes. CM/Lineage's change for falcon is very similar, it is at https://review.lineageos.org/#/c/25048/

msm8226 and msm8974 devices use the qualcomm-snd chip for ANT+, but I have no idea if newer devices use the same driver or a different one. Try looking at the source for a device with the same chipset that has it activated. Note that some selinux changes also needed to be done back when I messed around with it.
[Hardware Hacking General] unqualified:
Yeah it's weird. The Asus Laser and BQ both use the same chip, but one Lineage build uses "qualcomm-smd" and the other uses "vfs-prerelease". Are all official Lineage builds signed the same? Meaning can you pull an AntHalService.apk from one Lineage build and flash it to another without having signature issues? If so, maybe I can patch something together without having to learn to compile.
[Hardware Hacking General] unqualified:
Wow, it actually worked! I made a new flashable zip following the same template as the original one in this thread https://xdaforums.com/moto-g/general/ant-moto-g-4g-maybe-t2875420, only replaced with all the identical files from Lineage 14.1 from the BQ vegetalte. I flashed the zip, and although ANT Checker still shows missing ANT Hal, it is reading my HR monitor, and I was able to upload a Garmin file from my ANT+ watch.

Flashable zip available here, should work with any msm8916 phone running LineageOS14.1 https://xdaforums.com/showpost.php?p=75069149&postcount=31
[Hardware Hacking General] unqualified:
Instructions if anyone wants to try making a flashable zip for other ROMs or other phones. Different chips might differ slightly, this is how I created one for Osprey in LineageOS14.1, which uses qualcomm msm8916:

1) Find out what, if any, ANT+ chip you have in your phone. It seems most phones with qualcomm chips have ANT+ capability in the SoC whether activated or not by the manufacturer.

2) See what other phone models exist with the same chip and ANT+ enabled. It seems like Samsung, Asus, and BQ tend to activate the ANT+ out of the box, maybe others.

3) Find the ROM source for the other phone (same ROM version as your phone - this probably wouldn't work for stock ROMs), and confirm it includes ANT+ by checking in BoardConfig.mk or BoardConfigCommon.mk for an #ANT configuration.

4) Download the ROM zip for the other phone, and extract the system.new.dat using a tool like https://xdaforums.com/chef-central/android/tool-extract-repack-dat-img-android-5-8-t3670763

5) Grab the following files from the extracted system folder:

/system/app/AntHalService/AntHalService.apk

/system/etc/permissions/com.dsi.ant.antradio_library.xml

/system/framework/com.dsi.ant.antradio_library.jar

/system/lib/libantradio.so

6)Add all those into a flashable zip under the appropriate subfolders, and flash in recovery! (you might need to mount /system first)

7) You will need to install ANT Radio Service and ANT Plugin Service from the play store to activate ANT+. Also ANT+ Tester will tell you whether you now have it successfully enabled.

Not responsible for any carnage, just passing along what I learned.
[Hardware Hacking General] ontwerp:
Wow sounds great. I have galaxy s7 and soon a s9 I think which are capable of ant+ As I like playing with roms like Lineage I tend to loose ant+ Would adding the files from #5 to a Lineage rom live system do the trick?? Or do you have to tweak system settings via zip route?

I'm new to building your own rom and such but due to ant+ is missing I'm thinking of developing my own ant+ cap. Lineage rom for my galaxy s7 or s9 .... Anyone a successful route?

Ciao
[Hardware Hacking General] BenBBenB:
Just wanted to let you know that somehow I got Ant+ working on my Moto G first gen.

I did install the most recent LineageOS and plugged in a USB/Ant+ dongle.

After removing the dongle, ANT+ still works without flaws and recognizes several sensors including HR, Speed, Cadence and so on. Some were connected the first time AFTER the dongle was removed.
[Hardware Hacking General] ontwerp:
Great to hear progress on Lineage systems
[Hardware Hacking General] unqualified:
Moto G 1st Gen had ANT+ enabled in CM13.1, so that was carried over into Lineage. Dongle wasn't ever needed, but I did the same thing at first. Glad it's working for you!
[Hardware Hacking General] BenBBenB:
Oh - ok - good to know!

I just read, that it is NOT supported by the chipset:

...and wanted to clarify ;)

Do you know if the chipset QCA6174A (from the LG G6) is supported/enabled in Lineage 14 - or where I could find info about it? The first post only mentions the QCA61x4...

Thx, Ben
[Hardware Hacking General] mirhl:
The x is usually put there, exactly to mean "any number here"..
[Hardware Hacking General] BenBBenB:
Yes - thanks.

I am not sure if the chipset is supported because of the "A" at the end:

QCA61x4 these chipsets are covered (includes the QCA6174)

QCA6174A also has an additional "A" at the end.

But do I understand correctly, that - assuming the QCA6174A is also covered - the LG G6 should have direct Ant+ support in LineageOS?

Thanks, Ben