BT Tether WiFi-based Location (no GPS) to save battery? - Samsung Galaxy Gear

Hi,
I was wondering if it was possible to tether the wifi based location data to the gear (running null) from a phone. I know it is possible to tether the GPS data (see http://forum.xda-developers.com/showthread.php?p=47857358#post47857358), but this will require a lot of power on the phone. Wifi needs a lot less power and works for most purposes good enough in big city with a lot of wifi access points.

skyworxx said:
Hi,
I was wondering if it was possible to tether the wifi based location data to the gear (running null) from a phone. I know it is possible to tether the GPS data (see http://forum.xda-developers.com/showthread.php?p=47857358#post47857358), but this will require a lot of power on the phone. Wifi needs a lot less power and works for most purposes good enough in big city with a lot of wifi access points.
Click to expand...
Click to collapse
did you find an answer???
I am also interested with this,
thanks

Hi,
I am also interrested in having my location available on the gear without having to drain the battery using gps or have to start/stop the gps tether on both phone and gear when I need it. So having done some android development I tried to put together a small app that enables you to use three modes for location tethering, off, wifi/cell or gps. The wifi/cell updates every 5 minutes if the location has moved 100 meters or more. The setting can be changed on the phone or on the gear. I have tested it on my stock S4 and gear with null_13 so it may not work in other situations and as it is my first test I do not guarantee it will work in all situations or that it will not crash your devices.
The app must be installed on both phone and gear, it is signed with my debug certificate so you must enable app install from untrusted sources.
This is my first contribution to the community so I hope I have done it in the right way.
Regards
Martin
Get the app from http://forum.xda-developers.com/showpost.php?p=48333080&postcount=5

link is not working
mohlsson said:
Hi,
I am also interrested in having my location available on the gear without having to drain the battery using gps or have to start/stop the gps tether on both phone and gear when I need it. So having done some android development I tried to put together a small app that enables you to use three modes for location tethering, off, wifi/cell or gps. The wifi/cell updates every 5 minutes if the location has moved 100 meters or more. The setting can be changed on the phone or on the gear. I have tested it on my stock S4 and gear with null_13 so it may not work in other situations and as it is my first test I do not guarantee it will work in all situations or that it will not crash your devices.
The app must be installed on both phone and gear, it is signed with my debug certificate so you must enable app install from untrusted sources.
This is my first contribution to the community so I hope I have done it in the right way.
Regards
Martin
Click to expand...
Click to collapse
link is not working.... can't download

Uploaded to github
I hope this works for everyone interested, the project is now on github. As a new user here I cannot post direct links so here goes
Screenshot:
raw.github.com/Mohlsson/GearLocationBridge/master/device-2013-12-08-162923.png
Install and run the apk on both gear and phone
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
/Martin

I was able to get it installed and was able to select connection method but neither worked in google maps to pull my location.

well done
works for me, get location now on Gear without GPS.... great for Google Now / Search / Weather etc
Thanks

I must have something else going on. I can't get the "old" manual way of Share GPS to work either. It used to work but now it doesn't. I know this is off topic but I'm having trouble with Autoremote BT as well. I'm working in another thread to get it working but since both don't seem to be working, they must be related to my BT connection but for the life of me I can't figure out what. Everything else seems to work great, I get notifications, the stock weather app updates correctly, and other items like mini gallery and pedometer work.
Feeling lost and confused.

triplerider said:
I must have something else going on. I can't get the "old" manual way of Share GPS to work either. It used to work but now it doesn't. I know this is off topic but I'm having trouble with Autoremote BT as well. I'm working in another thread to get it working but since both don't seem to be working, they must be related to my BT connection but for the life of me I can't figure out what. Everything else seems to work great, I get notifications, the stock weather app updates correctly, and other items like mini gallery and pedometer work.
Feeling lost and confused.
Click to expand...
Click to collapse
Let see if we can help you getting my app to work by first looking at the app status. What does the title in my app say on the phone and on the gear (sorry to ask, you did install it on both right?) when you run it? If it says "Gear connected" and "Phone connected" BT communications work. If it says "Waiting for connection" there are problems opening the BT connection. If it says "Restarting" the connection has been made and then lost.
/Martin

mohlsson said:
Let see if we can help you getting my app to work by first looking at the app status. What does the title in my app say on the phone and on the gear (sorry to ask, you did install it on both right?) when you run it? If it says "Gear connected" and "Phone connected" BT communications work. If it says "Waiting for connection" there are problems opening the BT connection. If it says "Restarting" the connection has been made and then lost.
/Martin
Click to expand...
Click to collapse
They both said connected and as I would make different selections it would change on the other device. But no actual location service on the gear (as mentioned, the previously working Sharegps app also isn't working but also shows connected).

triplerider said:
They both said connected and as I would make different selections it would change on the other device. But no actual location service on the gear (as mentioned, the previously working Sharegps app also isn't working but also shows connected).
Click to expand...
Click to collapse
Ok, good! Next check that I can think of is that mock locations is allowed in developer settings on the gear and Use GPS is checked i the phone settings.
/Martin

mohlsson said:
Ok, good! Next check that I can think of is that mock locations is allowed in developer settings on the gear and Use GPS is checked i the phone settings.
/Martin
Click to expand...
Click to collapse
Checked these things again thinking maybe one of them got unchecked but sadly they are correct and still no joy.
Sent from my SPH-L720 using Tapatalk

mohlsson said:
I hope this works for everyone interested, the project is now on github. As a new user here I cannot post direct links so here goes
Screenshot:
raw.github.com/Mohlsson/GearLocationBridge/master/device-2013-12-08-162923.png
Install and run the apk on both gear and phone
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
/Martin
Click to expand...
Click to collapse
Very Interesting. Installed and working!
Edit: NOT Working, Still has ShareGPS running. Once that was turned off Gear no longer gets location, Withing Maps it says "Waiting for location" when I try and get it. All other settings are correct.
Edit: A restart of both devices has fixed the issue. (But needed to wait for the app to update)
Would be nice if we could have it update our location at specific intervals.

New version of GearLocationBridge
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin

mohlsson said:
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin
Click to expand...
Click to collapse
Great job bud, you should get your hands stuck into a tasker plugin !

Thank you fOmey, good idea to make it a Tasker plugin. I took a google crash course on how to make a plugin so there is a new version on github that should work with Tasker. I haven't used Tasker myself so I have only done some simple testing creating a task and triggering it.

mohlsson said:
Hi all!
I have been using my app for a week now and found some bugs that i fixed. I also added settings for network location update frequency. You can now set the intervall for updates from one second to one hour and the minimum distance moved for updates to occur from none to 1000 meters. Updates are sent to the gear if both criteria are fulfilled. Be aware that network location might not be available everywhere, so if you don't get a location on the gear when using network location that is the most probable reason.
Donwload from
github.com/Mohlsson/GearLocationBridge/blob/master/bin/GearLocationBridge.apk?raw=true
Instructions, thanks to almulder1092, can be found at
http://forum.xda-developers.com/showpost.php?p=48324092&postcount=15&nocache=1&z=9810111129152026
Note that you must allow mock locations on the gear as described in the turtorial for option one in the first steps of setup. Also, this is beta software and I take no responsibility if it messes up your device. All source code is on Github if you are interrested in how it works.
/Martin
Click to expand...
Click to collapse
Looks like this needs to be updated for ML1 firmware, could you take a look?
or its just me. Using null_18 full system ui.
Tried reinstalling same thing "GearLocationBridge has stopped"

almulder1092 said:
Looks like this needs to be updated for ML1 firmware, could you take a look?
or its just me. Using null_18 full system ui.
Tried reinstalling same thing "GearLocationBridge has stopped"
Click to expand...
Click to collapse
al i found i think i got it go to developer options on the gear and enable mock locations. zfarishta

red rocket said:
al i found i think i got it go to developer options on the gear and enable mock locations. zfarishta
Click to expand...
Click to collapse
No that was already turned on. I could not figure it out, So i just tried a full reset again. now it works. ODD not sure what is different this time around, but not going to complain.

Related

Location services

I'm guessing that the reason many apps (i.e. Twitter, Weatherbug etc)won't install has to do with missing location frameworks. In most of these cases, the app even has allowances for functioning without location services. I'm guessing that if this problem has been solved before it's going to be one of the other devices sans GPS which has been hacked (so Pandigital Novel, Cruz tablet etc). Has anyone seen anything along these line? I'm doing some hunting around now.
quietglow said:
I'm guessing that the reason many apps (i.e. Twitter, Weatherbug etc)won't install has to do with missing location frameworks. In most of these cases, the app even has allowances for functioning without location services. I'm guessing that if this problem has been solved before it's going to be one of the other devices sans GPS which has been hacked (so Pandigital Novel, Cruz tablet etc). Has anyone seen anything along these line? I'm doing some hunting around now.
Click to expand...
Click to collapse
In Settings, there should be an option to use wireless networks for Location. Seemed to work fine on my Pandigital.
The NC has a modified settings panel and there's no location setting unfortunately.
Huh....well, I'll start looking into this once I get mine tonight as well.
It does appear to be the location services which were the problem, and this thread has a fix:
http://forum.xda-developers.com/showthread.php?t=861955
I just added a bunch of apps to the "work" list: basically all the stuff that didn't work because it required a location check.
what exactly needs to be done here?
quietglow said:
It does appear to be the location services which were the problem, and this thread has a fix:
http://forum.xda-developers.com/showthread.php?t=861955
I just added a bunch of apps to the "work" list: basically all the stuff that didn't work because it required a location check.
Click to expand...
Click to collapse
I see references to Twitter and a zip file containing many Google apk files but I do not see any explicit instructions on what needs to be installed.
quietglow said:
I'm guessing that the reason many apps (i.e. Twitter, Weatherbug etc)won't install has to do with missing location frameworks.
Click to expand...
Click to collapse
Huh?
My Twitter works fine. I never had an issue with it.
BigBadger said:
I see references to Twitter and a zip file containing many Google apk files but I do not see any explicit instructions on what needs to be installed.
Click to expand...
Click to collapse
Check here:
http://forum.xda-developers.com/showthread.php?t=861955
But does location services work?
I installed the suggested files and was able to install Google Latitude w/o problems. Problem is that location services is not working, and Latitude asks me to enable it via the device's settings. Of course B&N was kind enough to leave location services out of the modified settings page. Anyone have a solution for this?
You could try pulling settings.db (the same settings.db you have to change to enable nonmarket apps), and enable it there manually... then push it on the device again.
ixampl said:
You could try pulling settings.db (the same settings.db you have to change to enable nonmarket apps), and enable it there manually... then push it on the device again.
Click to expand...
Click to collapse
i tried this already. in the "secure" table in settings.db, i changed location_providers_allowed from gps to network. this had no apparent effect.
see http://developer.android.com/reference/android/provider/Settings.Secure.html
and http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER
Have you tried checking the "use mock locations" box found in the development menu?
http://forum.xda-developers.com/showthread.php?t=862531
jazzcat007 said:
Have you tried checking the "use mock locations" box found in the development menu?
http://forum.xda-developers.com/showthread.php?t=862531
Click to expand...
Click to collapse
yeah. no dice.
Too bad there is no Bluetooth on board, would have been great to connect to a Bluetooth GPS !
webvan said:
Too bad there is no Bluetooth on board, would have been great to connect to a Bluetooth GPS !
Click to expand...
Click to collapse
Oh its there (semi-confirmed on Wifi chipset used).. The question is when will it be unlocked
Do not use the files in this thread. Use the one in listed in http://www.nookdevs.com/NookColor_Install_missing_google_geolocate_library
The com.google.android.maps.jar from the .zip in this thread doesn't work. Example: Flickster won't work.. once you use the right one, it does..
norkoastal said:
Oh its there (semi-confirmed on Wifi chipset used).. The question is when will it be unlocked
Click to expand...
Click to collapse
Really? Wow, that would be cool, has this been discussed in another thread?
webvan said:
Really? Wow, that would be cool, has this been discussed in another thread?
Click to expand...
Click to collapse
I believe this is an assumption based on the fact that it uses the same SoC as the Droid X.
ok, let's hope if the smart ones around here can bring BT to life !

Easy GPS bluetoothed from your Android Phones. No ADB needed.

1. Download and install "ShareGPS" from market on your phone.
once the app is installed
make sure in the App's setting, check "Use bluetooth" and "Create NMEA"
2. Download and install "Bluetooth GPS provider" from market on your tablet.
once the app is installed
make sure you have these settings:
in the app preferences
check "Force"
check "Raw HDOP"
GPS type is set to "MTK"
Update rate is set to "10Hz"
SBAS is Enable
Next
on your phone, open sharegps, then bring up the menu, click make discoverable once.
then go to your tablet, bring up the bluetooth gps provider app,
go in to the preference, click chose GPS provider, do a scan, you should see your phone come up.
click on it.
you are all set.
Now setup the bluetooth gps provider widget on one of your home screens.
every time before your run any navigation apps on the tablet just make sure you go back to your phone,
bring up shareGPS,
bring up Menu and click Make discoverable.
then go to your tablet, and click once on the bluetooth gps widget.
if the widget turns "green", you have working gps on your tablet.
if the widget turns "red", meaning that your devices aren't pair correctly, just re-scan/re-pair your devices.
*** Also make sure you have "Allow mock locations" checked as well on your tablet. And that's in menu, setting, application, development.
Enjoy
** edited
Found an issue with share gps, while it works fine on any 2.2 ROM on your phone, but the nmea output is way off in certain area on 2.3 based ROMs. After a little bit of researching, I found that BlueNMEA works very well.
You can find it in market, disregard the rating, the app is very easy to use and just may take a couple of tries to pair both devices.
So use blueNMEA instead of shareGPS on your phone..
Also fo for those who are not able to find these apps, here is how I did it..
Downloaded all apps from market on phone.
Use rootexplorer and look in /data/app
Find those apps, copy and paste onto your sd card.
Then transfer over to the tablet.
Install.
I cannot get my market to find "bluetooth GPS provider" even after preforming the market fix several times. Can you post the apk?
thebrain73 said:
I cannot get my market to find "bluetooth GPS provider" even after preforming the market fix several times. Can you post the apk?
Click to expand...
Click to collapse
Same here I only come up with network info II. But I see it in the market on my phone
I found it here http://www.filecrop.com/54831309/index.html
Working good for me on Vegan 5
thanks inbound
Edited for spelling, for some reason I was giving the western keyboard a second chance.
there is also tetheredGPS which started for the nook - has both client and server widgets included.
Works pretty well, over specific wifi port, and doesnt require both wifi and bluetooth to be on. power saver!

Disable bluetooth MAP?

My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
You can probably unpair (from both the phone and sync) and then repair and when you repair just deny the MAP access request.
Also, you should be able to turn off new message download in Sync
triton302 said:
My X is paired to my 2013 F-150 via SYNC and it automatically adds the voice, media and message features upon connecting. However, every time I get a text, SYNC stops everything to tell me I have a new text message, and it's annoying. You can turn MAP off temporarily by manually disabling it while the phone is paired, but once it re-pairs with SYNC, it automatically activates MAP again. I do use the voice and media though.
My question is this... is there any way to permanently disable the MAP feature on the X? I don't use it and never will. I always check my phone when a new message arrives or wait until I'm at a stop. I just want to be able to be able to remove the MAP feature.
Click to expand...
Click to collapse
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
boosting1bar said:
Did you ever find a solution for this? I just got a '14 Raptor and it does the same damned thing. I've deleted the phone pairing and repaired and deny access when repairing but it still automatically connects to all 3 protocols when I get in the truck. My phone is actually an LG G3 but it seems to be an android problem and not a specific phone problem.
Click to expand...
Click to collapse
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Yeah that's exactly what I'm getting in my 14 Raptor. Terrible, I guess I have to disable it every time I get in the car now.
triton302 said:
Nope. I also got a '14 Focus ST and the bluetooth "feature" is even worse on it. Since I have the full touchscreen, it will now display the notification that I have a text, and who it's from. Again, you can temporarily disable it on the phone but not permanently.
Click to expand...
Click to collapse
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
dtg7 said:
Do you guys have root? if so maybe you can try something. but keep in mind I have not tried this myself and also I could be completely wrong.
Anyway, I noticed in my moto x build.prop file (that sets the phone settings on boot) that one of the lines seems to disable Bluetooth SAP on boot. The line is
ro.qualcomm.bluetooth.sap = false
if that can turn off SAP maybe
ro.qualcomm.bluetooth.map = false
can turn off MAP on boot.
Keep in mind editing build.prop the wrong way can give you boot up problems. Backup the file, and also keep track of and set the appropriate permissions for the file.
In fact, it's probably better before editing build.prop to try the setting on the fly. In a terminal emulator with SU enabled try the line
setprop ro.qualcomm.bluetooth.map false
then check that with getprop and with your car.
this is safer if you have any problems you can just reboot. if it works you can proceed to build.prop
Click to expand...
Click to collapse
Great idea, however I just tried it with no avail.
I just thought of something as well... my fiance has a '13 Focus SE with the base stereo, and she has the same model phone as me (VZW X Dev). Her SYNC doesn't alert her to new messages, but my truck with the same SYNC setup did, but I figured my truck had a more recent version of SYNC. I dunno, all I know is it's annoying as hell and I'd like to find a more permanent solution. Especially since I'm contemplating on buying the Droid Turbo in the future and I'm sure it will do the same thing.
triton302 said:
Great idea, however I just tried it with no avail.
Click to expand...
Click to collapse
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
dtg7 said:
That sucks... Just to clarify I assume you tried this with a terminal emulator. did you remember to give it root before running the setprop command? i.e. type su and enter. without root setprop will appear to go through but won't actually set anything. And if it's set properly, getprop ro.qualcomm.bluetooth.map should return false like it does for SAP. otherwise it will return empty.
Another thing that might or might not make a difference, was Bluetooth on when you tried this, if so try it with Bluetooth off.
As for the difference between the two SYNCs my guess is you're right the version difference could be affecting something. A quick Google search suggests some versions of SYNC have a setting for MAP. in SYNC menu check System Settings -> Advanced -> MAP Profile
Click to expand...
Click to collapse
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
boosting1bar said:
The newer SYNC version doesn't have that MAP option, that was the first thing I found when googling as well. (and for the record I don't have a moto, I'm using an LG G3 and found this thread while searching for a solution). Unfortunately my build.prop doesn't have those lines in it. Not sure if I could just add the MAP entry or not, that's above my knowledge base
Click to expand...
Click to collapse
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
https://play.google.com/store/apps/details?id=cn.wq.disableservice
good luck.
dtg7 said:
well without putting in commands manually I see two things you guys can try. the first doesn't need root while the second one does.
1) turn on Bluetooth on your phones, then go to Settings -> Apps -> Running -> Bluetooth Share then just Stop the Map service. This method will stick as long as you don't turn off Bluetooth and start it again, and as long as you don't restart the phone. if you do either you'll have to do the stopping again.
2) this requires that your phone be rooted, but on the plus side it might be more permanent. There's a nifty app in the play store made by some benevolent developer that claims to disable any service started by any app. appropriately enough the app is called Disable Service. You open the app, slide over to the System Apps section, find Bluetooth Share and click it, then just uncheck the Maps service box. So simple, but won't work without root. Try it with Bluetooth off and if that doesn't work reset it then try it with Bluetooth on. But word of caution you don't want to go messing around disabling other things unless you're sure of what you're doing. disabling the wrong thing will cause you problems.
good luck.
Click to expand...
Click to collapse
Thanks so much! Option 2 is exactly what I've been looking for! Option 1 doesn't work for me because I use Trigger and have conditional BT on/off and that would just recreate the same problem lol.
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
triton302 said:
Just tried option 2... If any of those services are unchecked, Bluetooth itself turns off automatically and won't turn back on until that service is restored.
Click to expand...
Click to collapse
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
boosting1bar said:
Yep same here, tried it on my way home yesterday and the disable service app completely disables bluetooth if you disable MAP.
Click to expand...
Click to collapse
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of profile).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Roger, I'm off work today so I'll try these out here shortly.
EDIT: From what I recall, if you have a recent version of MFT, there are no options whatsoever for MAP, in phone or system settings. I'll double check.
EDITING EDIT: #2 doesn't work.
dtg7 said:
Wow no breaks...but not quite out of ideas yet. a few more to spitball, going from simple to more complex:
a) we've established there's no option to disable MAP from within SYNC under System Settings. What about under Phone Settings? Indications are there should be an option there to turn off Message Notification. If it's there set it to OFF. frankly I'd expect there to be such a setting somewhere in there.
b) reaching a bit here, but in Disable Service app I notice there's another system app that has Bluetooth service settings. the app's name is org.codeaurora.bluetooth (Apparently Code Aurora is the Qualcomm Linux kernel). No idea if this will work where the other failed but won't hurt to try. the service says BluetoothMasService but if you check the full name it is map (maybe service instead of protocol).
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
that's it. personally I still prefer my original idea of figuring out how to do it manually thru setprop and build.prop, but if that's not an option then try these.
Click to expand...
Click to collapse
I think we have a winner! #3 works perfectly.
I tested it with the phone unlocked and locked, rebooting the phone, toggling bluetooth on and off, turning the car on and off... seems to work every time. As long as you turn off just the SMS/MMS options, you can still have it send and receive calls and allow the device to remain unlocked while connected.
Ahhhh...... Success feels good...
Xposed is pretty amazing... It gives us a fighting chance lol.
if only they'd installed Xposed on Skynet things might have turned out differently...
dtg7 said:
c) this one brings out the big guns. not only do you need root, but you also need Xposed installed. if you already have Xposed then it would be quick to try. if not, just read up on it. anyway, with Xposed installed you need the AppOpsXposed module. when you have that up and running you open the App Ops screen of the Bluetooth Share app (a few ways to do that, doesn't matter how). in that screen you turn off all of Bluetooth Share's access to SMS. Basically you disable Bluetooth from interacting with Messaging. you revoke the permissions. Bluetooth will still work unaware that it can't access messages, and I figure if it can't access messages it damn well can't send them to the car.
There's another module that can do this more thoroughly, but App Ops is less scary/more user friendly.
Click to expand...
Click to collapse
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
You're welcome!
boosting1bar said:
Awesome, worked here as well!! I'd looked through xposed and didn't see any modules that would do what we were after, completely forgot about AppOps. Outstanding work and thanks so much for the help!
Click to expand...
Click to collapse
How did you get this yo work? I am on a cm12 Rom also with the same issue.
Did all the above, but anytime I start the Bluetooth afterwards, it just reactivates the "Read / Write sms messages permission all over again nd im back to square 1.
Sorry to bump an old thread. But its still yhe same issue I am dealing with.

Sports app like endomondo getting killed in background

Yesterday i was riding on bike with endomondo and strava apps both running for about 3 hours and everything was ok.
But today, when i was riding only with endomondo app, something killed it after ~ 1 hour of tracking. It just died, and my training wasn't complete.
Both apps are protected in battery menu, battery mode is set on normal. I have about 1GB or more ram free. I do not use auto optimization
I heard about huawei problems with sports tracker apps, but come on, on new flagship phone?...
Any solution to this problem?
my model is european one, eva-l09 with stock rom b136
If you are rooted try freezing "power genie". Worked for me with another app that I had issues with, which relies on background process (gmd gesture control).
And/or try making it a system app.
I do not have root yet, didn't want to woid my warranty unless i knew everything is ok with this phone
today my endomondo and strava apps were killed after 2 hours and 48 minutes of workout... this is so bull****
Just add it to the memory whitelist. All settings available via preinstalled Huawei Phone Manager app.
i've added them to memory whitelist and to the battery whitelist but unfortunatelly this doesn't work at all
Nothing? It's only me having this problem, or nobody uses sports apps? Today it died after 70 minutes of training. Old samsung galaxy ace 2 recorded training perfectly...
Anyone rooted could check if this problem is still present? After you add endomondo or strava to system apps folder?
For what its worth, I am having exactly the same issues with Endomondo. Did you manage to find a solution at all?
ylapas said:
Just add it to the memory whitelist. All settings available via preinstalled Huawei Phone Manager app.
Click to expand...
Click to collapse
How do you do this?
Edit: found it. Click phone manager, optimize, then the gear in the top right
Me too, I am having the same issues with Endomondo. I don't want to get root but I've set the memory whitelist and the battery whitelist.
Sadly, I gave up and now I am using Sport Tracker that, since now, didn't stop event after 2 hours.
Hi, I've done everything said in this thread but the app strava closes after an hour of use..
Anyone have found how to fix this issue?
Thanks
Have you tried another app? Mapmyride seems to be ok for me apart from when the gps gets confused and I get the odd straight line, seems to be another feature of this phone
Greasedferret said:
Have you tried another app? Mapmyride seems to be ok for me apart from when the gps gets confused and I get the odd straight line, seems to be another feature of this phone
Click to expand...
Click to collapse
Sorry, but I want to use strava.
I've tried with another smartphones and it works fine...
Might be worth trying just for the purpose of elimination?
Greasedferret said:
Might be worth trying just for the purpose of elimination?
Click to expand...
Click to collapse
Sorry, I don't understand, what do you mean?
As in, try a third .sport app. to rule out an issue with the app.
Yes, install android 7.0 It is fixed there
I had / have the same issue, after a few hours it is seeying it as an battery drain app and it closes it. (Running the newest EMUI and Android 7.0) ... so still not great, also using Strava (in combination with relive.cc)
will try the memory thing though
Well first of all, if not every app behave like that, and not everyone have that problem, its obvious its not problem of model but your specific device and lack of optimization(bigger companies are actually more know of lacking that).
Next.
I used before endomondo, now I installed it again... and no problem at all. So again, I would say that its problem of specific device and your system configuration.
I would suggest checking AGAIN those options:
Settings->battery-> options(top-right corner) and disable option "turn off energy-intensive applications"
And then go to Application list in settings-> select settings(bottom gear icon)->Special access->Ignore Optimization and there select your app.
Hard to say anything else, because its impossible to reconstruct behave of your phone, and see what cause the problem. In this case everything matter, starting from apps you use to settings you have on your device.
rudnik8 said:
Yes, install android 7.0 It is fixed there
Click to expand...
Click to collapse
Akinaro said:
Well first of all, if not every app behave like that, and not everyone have that problem, its obvious its not problem of model but your specific device and lack of optimization(bigger companies are actually more know of lacking that).
Next.
I used before endomondo, now I installed it again... and no problem at all. So again, I would say that its problem of specific device and your system configuration.
I would suggest checking AGAIN those options:
Settings->battery-> options(top-right corner) and disable option "turn off energy-intensive applications"
And then go to Application list in settings-> select settings(bottom gear icon)->Special access->Ignore Optimization and there select your app.
Hard to say anything else, because its impossible to reconstruct behave of your phone, and see what cause the problem. In this case everything matter, starting from apps you use to settings you have on your device.
Click to expand...
Click to collapse
Thnx, did the things you mentioned, will let you know next week
did not work

Android 11 cant set background permission for smartwatch

Hello folks. I've been reading a lot to fix this issue but no luck yet so I come to you. I have a Pixel 4XL running android 11, and a smartwatch brand Haylou Ls05, with the apk Haylou Fit.
The thing is I cant set the proper permissions to use the location services in the background. Mi GF has a android 10 phone and no problem.
I already tested everything I founded over the internet and nothing works. When I start running, the app goes good until the screens is off and the tracking of the running gets lost.
Any suggestion? Thanks in advance!!
Are you running without your phone? This watch doesn't have any GPS chip or functionality, so it is not going to track your location or track your your route by itself. Sorry if this was obvious already but I don't know what your use case is. On Android 10/11 you can control the location use on a per-app basis. If your watch app uses the newest API and supports this function, you will see under the Haylou Fit app permissions>>location the following: (Allow all the time/Allow only when using the app/Ask every time/ Deny). If you don't see this option in your app settings then the app itself needs to be updated. It's not the phone that is the issue, but the app. See the screenshot attached. Android 10 has this same functionality, so I'm not sure why your GF's is working correctly and yours is not. You may try removing and re-installing? Please post a screenshot of what you are seeing under location permissions for this app. Cheers.
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer.
Agustín.
agucasta said:
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer. Agustín.
Click to expand...
Click to collapse
Not that I know of. I still would like to know why the app it works on your GF's phone (10) and not yours (11) because they both have the same location security options. Is the "always" option available on hers, or is it working on the "when app is running"? Running the same version? This may be related to the API used by the app and until the dev updates it, it will not work. Try contacting the dev? Contact info is available on the Google Play Store.

Categories

Resources