[Q] App says Bluetooth LE not supported, can editing build.prop fix it?
I recently installed Bactrack Mobile
by side loading the .apk file. I have a rooted Photon Q 4G running cm-10.2.1-xt897. The app requires Android 4.3 and Bluetooth 4.0 LE, both of which my phone have, but I had to side load because the google play store still thinks my device is incompatible. Apparently so does the app, because when I open the app it says "Low Energy Bluetooth not available. Low Energy Bluetooth is not supported by this device. Android version 4.3 or greater is required for this application. Please upgrade or change devices." I can hit OK and then hit the Connect button in the app to try to pair the device and the same error pops up again but the screen changes to "Connecting..." which goes on indefinitely. When I turn on my Bluetooth, I see "SmartBreathalyzer" listed as an available device but I can't pair it (Note: I believe this device has trouble pairing under the Bluetooth menu and requires the app to pair even on proven compatible devices). Anyway, I'm wondering how I can get this app to work since I'm fairly confident I have the necessary hardware. I am working under the following assumptions, any of which may be wrong:
1) The Motorola Photon Q 4G has Bluetooth 4.0 LE
2) Whatever the Google Play Store checked to determine that my phone was incompatible is the same thing that the app is checking when I open it
3) Said compatibility check is in build.prop
So far here's what I've tried:
1) Using Market Helper
2) Editing ro.product.model, ro.product.brand, and ro.product.manufacturer to imitate a Galaxy S3, a known compatible device (if it's running 4.3+)
3) Editing ro.product.model, ro.product.brand, and ro.product.manufacturer to imitate a Galaxy S4, another known compatible device if running 4.3+
All of these were attempts to trick Google Play just so I could install the app before I got a copy of the .apk file to side load, none worked. The latter 2 broke my keyboard, making it incredibly difficult to undo the changes (I had to copy and paste letters to type, all the while racing against pop up error messages which would interrupt my ability to copy). I am hesitant to try them again to get the now installed app to work, since I am operating under assumption 2.
Below is the text of my build.prop file. I've noticed that in other devices' build.prop file, there seems to be a lot more settings regarding Bluetooth, but nothing stands out as saying "version 4.0" or "Low Energy supported". It could also be that the app just doesn't recognize my phone as running Android 4.3 but it's giving me an ambiguous error about Bluetooth anyway. So my main questions are:
1) Is there any way to open the .apk file to see how it's running its compatibility check? (I'm assuming this is unlikely)
2) If not, what can I do to edit my build.prop file that would have the best chance of fixing the problem? Are there properties I can add, or would I need to change certain properties that are already there? Does my current build.prop file need help saying "I am Bluetooth LE compatible" or "No seriously, I really AM running Android 4.3. Really." or both?
3) What potential side effects would these edits have? I don't want to break anything that would prevent me from restoring my original build.prop file (Note: when I rooted my phone, I could never get any adb/fastboot commands to work from a command prompt on my PC. I had to do all that stuff with the hardware buttons on the phone, so if I DO break my keyboard or something like that, my only hope is to fix it from the phone itself).
4) Is there a chance assumption #3 is incorrect? If so where else would the app be running a compatibility check?
Thanks in advance for any help.
My current build.prop file:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.display.id=cm_xt897-userdebug 4.3.1 JLS36I 4d3a90376d test-keys
ro.build.date=Sat Feb 1 01:15:55 PST 2014
# ro.build.product is obsolete; use ro.product.device
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=cm_xt897-userdebug 4.3.1 JLS36I 4d3a90376d test-keys
# end build properties