Android 11 cant set background permission for smartwatch - Google Pixel 4 XL Questions & Answers

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.

Related

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

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.

[Q] OK pebble now!

I'm not an experienced programmer. Or in that way inclined but would I'd like to develop or would want helping. An app that would activate the google now voice search from a pebble application.
1. Activate pebble and access the OK pebble now app.
2. Would activate the google now voice search on your phone.
2.5 speak your request through your headset (if wearing a headset) (hands free).
3. Speak your request through the microphone through your phone.
4. Does the request in your pocket. Shows task complete on the pebble.
5. Show message sent to recipient.
Thanks in advance. if an experienced pebble developer decided to take on the project. i'm willing to pay them £10 through paypal once the job is finished. all i want to see is the project complete.
Vibrate on task complete.
I tried my hand at the application and couldn't do it.
UI is very simplistic.
I've just found an application that has functionality like what I'm asking for. Its called tasker and it works in conjunction with pebble tasker. So commands and apps can be open from the watch and to be opened up on the phone itself without even touching your phone. But its so long winded.
There's so many more options that you can do with the tasker/pebbletasker but I just want a google now voice search launcher.
No with the pebble receiving an update that allows you to have shortcuts to the apps that you assign them buttons too. This is a perfect opportunity to have a google now voice search launcher or a siri launcher so it covers both platforms.
Don't forget, I am willing to pay someone that will develop this idea. I will be creating images that I would like the UI to be.
Sent from my LG-D802 using XDA Free mobile app
Update With Proposed UI design
Here's pictures that i've designed that i would like for some to develop this app.
as you can see it's very minimalistic and it's very simple.
Somebody make me an offer and i will pay them to develop this app, it will be benefical for those working at an office and those working in retail that would like to reply back to family/friends whilst working.
$12 USD really isn't worth the time for any real development. We need people interested in this and create a bounty.
Kickstarter URL
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Here's the link for the kick starter project, I've set up for this particular application.
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
kfreels said:
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
Click to expand...
Click to collapse
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
techguy276 said:
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
Click to expand...
Click to collapse
Sadly, no. I can't develop anything but film. But I'll put $20 in for the developer who puts it together.
There is someone who created a nice dashboard app that lets me find my phone if lost, control wifi, lock the screen, and a number of other things. I think I'll email that developer and see if they can just add that. I really want this and I want it to work. And with the new Pebble coming out soon I think I'll be picking one of those up as well so I'm committed to the platform. This is the one thing I feel I'm missing.
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
imaginaryenemy said:
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
Click to expand...
Click to collapse
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
imaginaryenemy said:
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
Click to expand...
Click to collapse
OK. I'm setup a little different. I installed the Xposed mod which lets me do this without a task to wake the phone. I simply set a task to launch VoiceSearch, and when I press the button on pebble tasker, the app launches without even lighting up the screen.
Here's the link to it. forum.xda-developers.com/xposed/modules/mod-secure-google-search-t2606688
I think there's something else going on here though. It was working fine Sunday. I'm having general issues with Google now it seems. Reminders aren't getting set to notes and instead are getting sent to alarms. Even if I say "remind me to get cheese the next time I'm at walmart", it tries to set an alarm then it stops because it's waiting for me to set a time. I installed Keep thinking that might fix it...no joy. I cleared the cache and all data, uninstalled google app and the launcher, restarted to clear the cache partition, rebooted in safe mode, went back to regular mode and still get the same problems. Kind of stumped right now. I can't delete older cards and if I go directly into reminders and try to push the plus sign button to add a reminder, it correctly identifies my words and they go on the screen and it just stops there. it's not locked up or anything. It just won't go any further. So something is really wrong with google. just dont' have a clue what it could be at the moment.
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
imaginaryenemy said:
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
Click to expand...
Click to collapse
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
kfreels said:
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
Click to expand...
Click to collapse
As far as I know, a lot of voice-initiated command will become available with Pebble-core's connection to Alexa
Currently, the pebble is also capable of doing such with 'snowy' commands. See mydogsnowy.com
I have no stake in that product whatsoever, and in fact I struggling a bit with its voice-recognition ... I'm dutch, so perhaps my english is not adequate for the recognition. So... your mileage may vary, but from what I've tested and seen described it's really promising
kfreels said:
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
Click to expand...
Click to collapse
where to buy such a gadget

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

[GUIDE] Stop Google Play Services Wakelocks (AppMeasurement, net_scheduler, etc.)

Update 09.12.17: The methods below may not fully work on the latest OS versions. There is an ongoing discussion in the last pages so I hope it gets cleared out eventually, sadly I've been busy with my studies and haven't touched my phone since initially making this thread (it's on OOS 4.0.2). I write this just to make sure I don't waste your time accidentally, so please check the latest replies if you're on newer OS versions.
Hello everybody,
*the undermentioned methods and app(s) require root*
I have asked you guys in the AKT thread if you would like to see a small tutorial on how to stop the constant "com.google.android.gms/.measurement.PackageMeasurementService" and "net_scheduler" wakelocks that might or might not be responsible for the device waiting longer than it should before dozing off.
Please keep in mind that this method does work for me, and might or might not work for you, as everybody uses different things/apps so in case you see unwanted behavior, just revert back and sigh that the method has failed you.
I am not responsible for any hardware-/software damage that may occur upon using these settings.
So, now that we've got all the generic stuff out of the way, first few words about why this might bother you:
1) You don't like your device doing stuff you didn't make it do.
2) You want to minimize wakelocks
3) You're here because you just saw the two beforementioned wakelocks and already decided you want to get rid of them.
So, regarding the first one, all I can say is I got the method from this reddit post , which briefly explains which services are doing the waking and what they are. Starting with "At the heart of Firebase is Firebase Analytics, a free and unlimited analytics solution. .." got me raising an eyebrow, as I don't like handling control of my device to other people, without me even knowing.
UPDATE: I have merged the two approaches into just using one app and making the changes on a global level, so you can just do them in like 5 minutes and forget about it, but in case you have problems with disabling package measurement you can also check the hidden text just below for instructions using another app, which was basically "the old way".
So to get rid of the "snooping", as already described in that post, you need to download MyAndroidTools.
Disclaimer: Disabling some services/receivers may "crash" the app. I found it is normal, just go back to where you were and check if you managed to disable the thing you wanted, if yes, then it was successful.
1. Open the app
2. Click on the top left to open the panel, click on Broadcast Receiver.
3. On the menu that opens go to the right column named System. Click search on the top right, type "Play" and choose the Google Play Services option.
4. In the search bar there type at least "ana" and disable the two found results with the names "AnalyticsReceiver" and "AnalyticsSamplerReceiver"
5. Hit x and search again for at least "meas". You will see three results with the names "AppMeasurementInstallReferrerReceiver", "AppMeasurementReceiver" and "PackageMeasurementReceiver*". Disable all three.
****Update 15.02.17*** Apparently this one resets every once in a while, I blame this again on Google's efforts to have their spying on, but anyways. Go to services->system->Google Play Services->search "meas"->disable both "AppMeasurementService" and "MeasurementBrokerService". The third one (PackageMeasurementService) will restart too so don't bother. This should do the trick though.
6. There was discussion about "Campaign Tracking" . I only found it in the same System menu, in Android Pay, by searching at least "cam" you get the result "CampaignTrackingReceiver". Disable it if you feel you want to. I don't use Android Pay and cannot say if it breaks something there, but otherwise have it disabled and haven't noticed any problems so far.
7. Search for Google Play Store in System. In that option, search for at least "app" and disable "AppMeasurementReceiver". Hit x and search for at least "fir", then disable the two results with names "FirebaseInstanceIdInternalReceiver" and "FirebaseInstanceIdReceiver"
8. Done. All the setttings are now global for any sort of app measurements, as far as I know.
This is the "old way" of dealing with app measurement. If you have done the steps above just ignore (hide) this part and continue with disabling net_scheduler below.
So to get rid of the "snooping", as already described in that post, you need to download Root Package Disabler or equivalent alternative.
ATTENTION: As per the last version of the app, I see there might be a bug which reverts some settings when you use the search bar, so please try and find the services by hand in stead of searching, as it is more reliable.
1. Open the app
2. Start with the left-most pane, e.g. "Installed". There you can see all your installed apps
3. Click on the first app on the list, it will display a small menu. Apps that use services will have the bottom-left option named "SERVICES" available, click there. This will take you to the services list that this app uses.
4. Click on the searching icon on the top-right in order to filter the services we need disabling.
5. Write at least "appm" . If the AppMeasurementService is used by this app, it will now be displayed.
6. Tick that off (the switch will turn gray)
7. Hit x, and search again for at least "fireb". This will display all services that use the Firebase SDK. You may also check under the name of the service and see the word is contained in the "executable name", so it might not always have "an official" name that states Firebase, but still use one of their "executables" (sorry for lack of detail)
7.1 Check for any other services that have "analytics" in their description, although I haven't checked if this stops something useful, but I doubt it.
8. When you're done with the current app, it will no longer call these services and cause wakelocks as long as the services remain stopped. To my experience the settings stay after reboot, it's just the above mentioned bug you have to keep in mind since it happened to me now while making the guide, and I know it came with the latest update.
9. Go back to the installed pane and maybe tick on the star next to the app in question. It will be added to the "favourite" list where you can have all those apps and don't bother to search them again if needed.
10. Repeat from step 1 for the next app and go through all your apps. If not you will still get calls to this service from the apps that still have these services on. Also a reminder here, you have to remember and check every new app you install, as most apps do have the service enabled.
11. After you're done with all apps in "Installed", check out bloatware (I think I haven't found anything there, but it's worth checking).
12. "System" apps that I know have some of those services: Calendar, (probably) Chrome (I have that disabled so dunno), Drive, Duo, Gboard, Google Play Services, Google Play Store, Google VR Services.
Here are two pictures how an app's services list looks like, and one with some of the services disabled:
all services on
some services off
After doing these steps, you should charge your battery to 90% to reset the battery statistics and you should see that the "com.google.android.gms/.measurement.PackageMeasurementService" wakelock no longer occurs (or stays really, really low, and not thousands like before). If you still have it after all this, then you probably have an app you haven't disabled the services for.
The second approach will get rid of the "net_scheduler" wakelock. Thanks to @denon480 for the idea, it's post #34 in this thread It involves installing (again) MyAndroidTools or equivalent alternative.
1. Open the app
2. Click on the top left corner to open the menu panel.
3. Click on Broadcast Receiver
4. Navigate to the System pane
5. Click on search on the top right. Search for Google Play Services. Click on them when they show up
6. In the search top right, write at least "sche" and you will see the two receivers responsible for the "net_scheduler" wakelock, "SchedulerInternalReceiver" and "SchedulerReceiver" . Here's a picture how it looks
7. Switch the first one off. The app will quit, don't worry.
8. Go back to where you were (steps 1 to 6) . You will see that you indeed managed to swtich that receiver off.
9. Switch the second one off. The app will quit, again no worries.
10. Check if you managed to switch the second one as well. After that you're done!
I hope I could help you guys out. I know there is nothing fancy in these methods but felt a thread might be useful as I saw a good number of requests when I mentioned it in the AKT thread.
Also sorry for misleading the guys I already told it was going to be a short guide, I honestly thought it would take way less words than it did. But I think it is for the better.
Have fun.
* Reserved *
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
MeggaMortY said:
* Reserved *
Click to expand...
Click to collapse
I think Everything is fine or?
tzbigworm said:
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
Click to expand...
Click to collapse
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
1+3_FA said:
I think Everything is fine or?
Click to expand...
Click to collapse
Yup looks great.
MeggaMortY said:
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
Click to expand...
Click to collapse
Crazy how much of a beast that phone was. People forget it's actually a windows phone, Android was put on it so much lol!
Thanks for the tips. Works great!
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
youknownothing said:
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
Click to expand...
Click to collapse
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
MeggaMortY said:
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
Click to expand...
Click to collapse
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
youknownothing said:
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
Click to expand...
Click to collapse
Assuming you're disabling services, which we are lol (should've been more obvious for me too I guess), I'd say you should be fine, and even say maybe the same goes for just using MyAndroidTools, just scroll through the Service menu in Table Third-Party and you'll see the same settings you applied with the other app/Package Disabler. I guess I was lazy to realize that since I liked I can favourite the apps I need to keep an eye on in the Package Disabler.
So all in all you should be okay, but even better you may try and just use MyAndroidTools for both. I have some exams coming so I won't be able to test those things but will make sure to update the tutorial if indeed that turns out to be right (for the app you suggested or even just MyAndroidTools).
Give a shout in case you find out something more. And thanks for the info
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Mr.Jay said:
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Click to expand...
Click to collapse
Like mentioned, it works fine for me, and probably depends on personal usage. I don't use Google Pay for example, and Chrome, and Google Music.... but besides those I haven't had problems anyway.
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
NJGSII said:
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
Click to expand...
Click to collapse
Have you disabled location history in the Google App? The problem is this guide fixes only one concrete aspect of the whole "Google stalking experience" shenanigans. Please check for the thing I mentioned and also in Settings -> Backup & Reset, make sure Back up my data is off if you haven't logged in an account and intend to use that - these two things were also draining battery for me when I was on the go as far as I can remember.
LMcR92 said:
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
Click to expand...
Click to collapse
I did some checking on that list and am currently testing a way to only use MyAndroidTools for the whole aproach. If it turns out to be working the whole guide would get reduced to like 10 clicks, since the settings are global. I'll post more info after a day or so to make sure it is working, but as for now I see promising results.
Anyone used Franco's Servicely app to do this?
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
MeggaMortY said:
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
Click to expand...
Click to collapse
Will Doing like #1 post notifications from Gmail?
techusthad said:
Will Doing like #1 post notifications from Gmail?
Click to expand...
Click to collapse
Don't know what you mean by #1 - disabling the AppMeasurement stuff, e.g. first set of instructions? I haven't had problems with Gmail and I use it with two accounts on there.

[APP][5.0+]AndroidAuto carNotifier (Multi-language and Email support)

Beta 1.0 released
I will like to start saying a very big thank you to @bggold who asked me to consider this in the first place
While there isn't any way to use the nice Google Assistant voice, and it's still rough around the edges, this demonstrates how we can use Android Auto in a multi-lingual environment as well as how to read out and reply emails.
The concept is very simple, instead of relaying on Android Auto to read out the notifications I have created a small app which mimics that behaviour, with some extras:
1) It try to do a language detection for each test, and use the appropriate TextToSpeech
2) It allows the user to select which app notification does he/she want's to read
3) If the content is really long (like a lengthy email) the app will prompt the user if it want's to go ahead with the message readout or not
4) If notification supports quick-reply the app will prompt the user for a reply (in the same language as the the original message)
Planning to support a lot of languages but there I will need user input, I have translated the basic strings to around 70 languages using Google translator, but I can tell it's not quite right (I can see with the languages I do speak)
Best part, app won't be affected by 3rd party restriction at all and it won't require root either, however I'm pretty sure Google will not allow it on the PlayStore
Beta version available now on XDA Labs.
App will be payable, however current beta is free so grab a copy while you can
To use the app you will need to enable unknown sources in Android Auto, simply open Android Auto, go to About, tap the "About Android Auto" header 10 times till you become a developer, then from the 3 dotted right menu select developer options and enable "Unknown sources"
Emil Borconi said:
Beta 1.0 released
I will like to start saying a very big thank you to @bggold who asked me to consider this in the first place
While there isn't any way to use the nice Google Assistant voice, and it's still rough around the edges, this demonstrates how we can use Android Auto in a multi-lingual environment as well as how to read out and reply emails.
The concept is very simple, instead of relaying on Android Auto to read out the notifications I have created a small app which mimics that behaviour, with some extras:
1) It try to do a language detection for each test, and use the appropriate TextToSpeech
2) It allows the user to select which app notification does he/she want's to read
3) If the content is really long (like a lengthy email) the app will prompt the user if it want's to go ahead with the message readout or not
4) If notification supports quick-reply the app will prompt the user for a reply (in the same language as the the original message)
Planning to support a lot of languages but there I will need user input, I have translated the basic strings to around 70 languages using Google translator, but I can tell it's not quite right (I can see with the languages I do speak)
Best part, app won't be affected by 3rd party restriction at all and it won't require root either, however I'm pretty sure Google will not allow it on the PlayStore
Beta version available now on XDA Labs.
App will be payable, however current beta is free so grab a copy while you can
To use the app you will need to enable unknown sources in Android Auto, simply open Android Auto, go to About, tap the "About Android Auto" header 10 times till you become a developer, then from the 3 dotted right menu select developer options and enable "Unknown sources"
Click to expand...
Click to collapse
Thanks for making this app!
After first start it asked for notification permission and then it was gone to build the list of installed apps/services - endless...
So I've forced close the app after minutes, went to app info/permissions, and enabled unselected permissions for it.
After that the app works now, as it should!
I'll test the functionality today while using AA in my car.
Regards bitstra
bitstra said:
Thanks for making this app!
After first start it asked for notification permission and then it was gone to build the list of installed apps/services - endless...
So I've forced close the app after minutes, went to app info/permissions, and enabled unselected permissions for it.
After that the app works now, as it should!
I'll test the functionality today while using AA in my car.
Regards bitstra
Click to expand...
Click to collapse
Thanks. It was 3 am )) updating the app now.
This is exactly what I needed. Unfortunately I couldn't get it to work. Using Samsung S9 plus running Oreo. Gave read permission to the app, enabled developer settings on Android Auto, enabled unknown sources, enabled whatsapp and Gmail.
Whatsapp notifications haven't changed and it continues to read the foreign text in English. Gmail notifications don't pop up at all.
Any suggestions?
yavuzyay said:
This is exactly what I needed. Unfortunately I couldn't get it to work. Using Samsung S9 plus running Oreo. Gave read permission to the app, enabled developer settings on Android Auto, enabled unknown sources, enabled whatsapp and Gmail.
Whatsapp notifications haven't changed and it continues to read the foreign text in English. Gmail notifications don't pop up at all.
Any suggestions?
Click to expand...
Click to collapse
Not sure if you saw but there is a new release. It fixes this issue. Just remember to reboot after updating.
Unfortunately I have the same problem as @yavuzyay. I'm using a Samsung Galaxy S6 edge with Android 7.0 and Carnotifier Beta v3.
Thanks to @yavuzyay for bugreport and Turkish language input.
I have identified the problem where the app was crashing in case you where using AA on the phone only, and this has been now fixed.
@CeldeSuS - Are you phone only or are you using AA on the car? If phone only, download the new beta 1.4
Emil Borconi said:
@CeldeSuS - Are you phone only or are you using AA on the car? If phone only, download the new beta 1.4
Click to expand...
Click to collapse
I'm using AA on the car (Alpine X802D-U head unit). I'll try the new beta anyway and report back.
Awesome. Works perfectly.
V4 work fine with SM960F(android 8.0) & RLink1 !
Great job!
Very good stuff!
I use it with the now playing feature - basically phone picks up music on the radio,.detects the song and artist and throws a notification. This app picks that up and shows it as a notification on the car screen! I have disabled read out. So it stays as a simple notification.
Quick question - haven't been able to try it - if I set zero seconds as the duration, will it leave the notification forever?
Tested but not working as expected. Line is an application which doesn't support Android Auto.
Positive: Yes, Car Notifier shows there is a message on Line.
Negative: Can't do anything, it won't read the message, the notification stays in grey color and nothing happens when I click on the message.
Cheers
Tom
tom1807 said:
Tested but not working as expected. Line is an application which doesn't support Android Auto.
Positive: Yes, Car Notifier shows there is a message on Line.
Negative: Can't do anything, it won't read the message, the notification stays in grey color and nothing happens when I click on the message.
Cheers
Tom
Click to expand...
Click to collapse
You can't click the notification to have it read at this time. If you want them read to you enable the read option.
"Read out notifications" is enabled in the settings, my Honda headunit is hacked and I have root access, so I don't think this is related to that.
Cheers
Tom
tom1807 said:
"Read out notifications" is enabled in the settings, my Honda headunit is hacked and I have root access, so I don't think this is related to that.
Cheers
Tom
Click to expand...
Click to collapse
I'm sure you have but have you checked all the permissions?
CarNotifier asks only permissions to Microphone and Phone, both are granted.
Wondering now whether it has something to do with the new Android Auto v3.8.584554 where some on Reddit claim, that notification is broken
Cheers
Tom
Edit: Maybe the the new AA version interferes with CarNotifier, because AA can show now also message preview
More edit: My friend tested on the Samsung S7 (I have a OnePlus 3T). Also on his mobile nothing happens with Line.
Can't read out and nothing happens in AA when click on it
Is there an app for Speed cams like in your obd2aa app, to have only the speed cam notification?
tom1807 said:
CarNotifier asks only permissions to Microphone and Phone, both are granted.
Wondering now whether it has something to do with the new Android Auto v3.8.584554 where some on Reddit claim, that notification is broken
Cheers
Tom
Edit: Maybe the the new AA version interferes with CarNotifier, because AA can show now also message preview
More edit: My friend tested on the Samsung S7 (I have a OnePlus 3T). Also on his mobile nothing happens with Line.
Can't read out and nothing happens in AA when click on it
Click to expand...
Click to collapse
I am running the new aa and it is working. Get Emil a bug report right after it happens.
The only thing you can do at this time is swip away the notifications. Clicking them will not do anything.
Thanks
After more testing, I do believe the culprit is Line. Gmail works as expected, Facebook also (just for test).
However, Line refuses, which is actually the reason to install the program in the first place.
Probably one of the few programs which won't work.
Great program though.
Cheers
Tom
Hi guys.
I'm finally back in the UK and in front of my PC, I've also managed to tied up quiet a few of my loose ends and I have no big project starting this year. I will dedicated the last 2 weeks of this years to the following:
1) Looking into fixing some of the FC for obd2aa, also try to find a solution for non-standard PIDs
2) Get AA GateWay to Beta/Stable version (most work needs to be done on this app)
3) Fix some issues and FC with HUR (including Waze sound cut off).
4) Get the carNotifier to a stable version.
January and February are again fully booked so I will focus on stability rather then adding new features especially because obd2aa and HUR and fairly mature apps with most of the functions already covered.
For some reason I'm not really getting any notifications from XDA and being a lot on the road I don't visit the site too often lately, therefore I will kindly ask you if you need support, please email me directly to [email protected].

Categories

Resources