Location services - Nook Color General

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 !

Related

What is a 'mock location'.

Hi,
I'm posting this here because I'm kind of in a hurry and I might get a better answer here. I'm translating an Android phone, and it's full of commands in very broken English. So I ran across this term (mock) that I've never seen in such context and I want to know if that's the actual name or it's just broken English for 'fake' (fictitious).
This is the description of the function:
mock location
Create mock location sources for testing. Malicious applications can use this to override the location and/or status returned by real location sources such as GPS or Network providers.
Click to expand...
Click to collapse
'Mock' to me is this: sticking your tongue out and make fun of the stupid so I don't get it. The term 'fake' is also used so it somebody might have overlooked at it and use 'mock' instead, or it's a different process. I'd appreciate any help.
It means it is not a real location obtained from the GPS.
mock location is the actual term used to allow you to specify (I believe in the android emulator) a location seperate from what you're actually at (to allow GPS on the emulator, when there is actually no GPS hardware preset, used for testing purposes)
Thank you so much to the both of you!
I know this is an old topic but with everything being said do we want the "mock location box checked on or unchecked off??
Titan33 said:
I know this is an old topic but with everything being said do we want the "mock location box checked on or unchecked off??
Click to expand...
Click to collapse
If you want to accurately get a pinpoint of your location you want it off.
If you want it to tell you strange locations like Antarctica then turn it on.
If the phone can fake locations randomly, surely it can also fake location on demand to wherever a user wanted?
This would be extremely helpful for apps which are location based. i.e nba league pass.
Burko said:
If the phone can fake locations randomly, surely it can also fake location on demand to wherever a user wanted?
This would be extremely helpful for apps which are location based. i.e nba league pass.
Click to expand...
Click to collapse
No, this is referred to in the emulator (on a computer) not the actual phone.
I have never seen my phone fake a location randomly. Talk to the NBA about blackout restrictions.
Thank you to All.
thank you very much for the info
thank you very much for the info
and wow this is the second search result in google.com for 'what is allow mock locations android' HAHA.
Devin-J said:
thank you very much for the info
and wow this is the second search result in google.com for 'what is allow mock locations android' HAHA.
Click to expand...
Click to collapse
first for "allow mock locations"
Hi all!
I got a bluetooth gps that I sometimes use it and sometimes I used the phone's built in gps. To use the bluetooth, I need to enable the 'allow mock locations'. To use built in gps hardware, I believe I need to switch off the 'allow mock locations' setting.
However, to keep turn on and off that setting everytime I switch between bluetooth gps and phone's gps is not very 'comfortable'. I wonder, is it ok for me to leave the setting enabled all the time. Will it affect the accuracy of my location when I'm using the phone's built in gps?
Thanks.
If it's an emulator function, why is it's switch on the phone?
rikupw said:
mock location is the actual term used to allow you to specify (I believe in the android emulator) a location seperate from what you're actually at (to allow GPS on the emulator, when there is actually no GPS hardware preset, used for testing purposes)
Click to expand...
Click to collapse
If it's an emulator function, why is it's switch on the phone?
oh .. maybe to turn off the phone's GPS when connected via USB to the computer?
If so, its a strangely-labeled thing!
Thanks for info everyone!
I was looking for information regarding mock location and found this article very much helpful. Actually, I am developing an security application which includes mock location...
Do not get it to work ...omly when connecting usb ... and its says wireless on wifi when its on usb and tethering mode ??? not really wireless is`nt it ?? don`t get it ??
Binary100100 said:
If you want to accurately get a pinpoint of your location you want it off.
If you want it to tell you strange locations like Antarctica then turn it on.
Click to expand...
Click to collapse
Now this is best answer one could have got

Need to turn on locations (google maps/square)

the error i get is "please enable my location source in system settings" in google maps.
I have already done the "Google location services fix (formerly, Twitter client recommendations?)"
any other suggestions?
Thanks
Chris
Spanel said:
the error i get is "please enable my location source in system settings" in google maps.
I have already done the "Google location services fix (formerly, Twitter client recommendations?)"
any other suggestions?
Thanks
Chris
Click to expand...
Click to collapse
AFAICT all that does is fix dependencies - it definitely doesn't activate locations. You are still missing NetworkLocation.apk, among other things. I am trying to figure it out; it might require pushing a more rhobust settings.apk.
I am going to start digging around in the nook source to see if I can make sense of how they castrated settings. I think that might be the best way to attack this problem.
Sent from my NOOKcolor using XDA app
ok thanks! keep this thread updated with your findings.
thanks again!
Chris
A side effect I just found of following the instructions to get the Market working here- http://nookdevs.com/Enable_the_Android_Market
is that Network Location is working.
When I run maps I have the indicator for where I am.
I will be testing how accurate this is tomorrow- I have a long drive to do and will tether to my Droid with gps running.
With luck, the droid will relay location data to the nook over the network.
Pass or fail, I will post the results once I know.
Good to hear, but you're probably getting a position via WiFi and GPS data can't be passed on via tethering AFAIK so you can't get it off the Droid.
I know that the GPS data can't be passed on per se and that I am getting network location data via wifi- 100% agreement.
My hope, and no testing yet to verify, is that if the Droid knows its location by GPS it will pass it along as a Network Location since it is providing Network Services so to speak.
I have no documentation saying this will happen, just pure speculation and wishful thinking.
OK - that is nice guys, but Spanel (and include me as well) have run the location fix and we still get the error: ""please enable my location source in system settings".
I have most everything working and running: rooted, Market, maps installed and working - but for whatever reason, maps does not display my location - just the aforementioned error message when I do.
Note: I also followed http://nookdevs.com/NookColor_Install_missing_google_geolocate_library, completed it with no errors - but still, my wifi - location is not popping up.
rogerdugans said:
A side effect I just found of following the instructions to get the Market working here- http://nookdevs.com/Enable_the_Android_Market
is that Network Location is working.
When I run maps I have the indicator for where I am.
I will be testing how accurate this is tomorrow- I have a long drive to do and will tether to my Droid with gps running.
With luck, the droid will relay location data to the nook over the network.
Pass or fail, I will post the results once I know.
Click to expand...
Click to collapse
Strange, as I followed it as well but I do not.
Sent from my NOOKcolor using XDA
rad131304 said:
Strange, as I followed it as well but I do not.
Sent from my NOOKcolor using XDA
Click to expand...
Click to collapse
Th8is might be a side effect of when performing the initial Android setup portion of the process, the first question asks info regarding location, etc. I unchecked these options (knowing I dont have GPS) and am thinking this may be where it is being "enabled."
Just a thought.
norkoastal said:
Th8is might be a side effect of when performing the initial Android setup portion of the process, the first question asks info regarding location, etc. I unchecked these options (knowing I dont have GPS) and am thinking this may be where it is being "enabled."
Just a thought.
Click to expand...
Click to collapse
Nork - are you saying that you are, in fact, getting a wifi-location fix on your device?
So does anyone have WiFi location up and running ? In Maps, I get the "please enable location" popup and even with "NookColor Tools" (http://forum.xda-developers.com/showthread.php?t=868366) that shows a ton of hidden settings I don't have location either.
The Autonooter author suggested I install NetworkLocation.apk to fix that, but I still get "Please enable a MyLocation source in system settings, anyone ?
webvan said:
The Autonooter author suggested I install NetworkLocation.apk to fix that, but I still get "Please enable a MyLocation source in system settings, anyone ?
Click to expand...
Click to collapse
From what I've seen, that is normal. I just skipped that screen. I am getting a wifi location fix though which is very cool.
Yes Autonooter activates WiFi location, not the scripts though for some reason.
I JUST got my wifi to work in maps -- figured it out after a bunch of frustrated digging -- by editing the com.android.settings_preferences.xml and adding the line
<boolean name="location_wifi" value="true" />
(I did it in the text editing option in the Root Explorer App after making the system folder R/W, but if your use your favorite editor [command-line or otherwise] at will)
since that xml file, for me, only had a "location_gps"="false argument."
Granted I had also replaced the Settings.apk with a 2.1 build 2 stock one and pushed a stock NetworkLocation.apk, neither of which, by my tests, would make maps zero in on my wifi-based location. Going to restore the NookSettings app and see if this holds.
EDIT: Yes. editing com.android.settings_preferences.xml seems to do the trick. Mileage varies, perhaps, as they say.
EDIT2: That file WAS in /data/data/com.android.settings/shared_prefs/ but it seems to have disappeared since I pushed back the NC Settings.apk -- though while I had the stock 2.1 settings.apk installed, the xml file was there, and Google Maps did use my wifi to locate my position. Now that I've pushed back Settings.apk, Maps still finds my location via wifi. Freaky, quirky, but if you want to be able to use the wifi-location finder feature, this is how I got mine to work:
1. Installed a stock NetworkLocations.apk from a 2.1 build,
2. Renamed Settings.apk -> Settings.old
3. ADB installed stock 2.1 settings.apk
4. Enabled wifi location, which now has an option to "set my location"
5. tested Maps application, no dice.
5. edited the XML file as above -- /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml
6. tested on maps, success!
7. then removed the 2.1 stock Settings.apk.
8. Renamed Settings.old -> Settings.apk.
I'm sure there is a muuuuuuch easier way to do this, but I'm a total noob. Anybody else have any success?
(The stock Android 2.1 Settings.apk crashed too frequently, anyways, and is annoyingly unreadable with the NC skinning).
I think the process I outlined here will do it for ya...
All you need to do is change the location_provider_allowed field in the secure table in settings.db to network.
Sent from my LogicPD Zoom2 using Tapatalk
fortuno01 Can this be done through Android Commander? Where is the settings.db file, ie which folder?
Also can someone post a clean working NetworkLocation.apk file. I see many on the web.
Finally got it working! Its a festivus miracle!
Alright, so after some playing around, I finally got this working. I used steps similar to above on a win 7 PC. Its all based on the /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml file. But you wont have one until you install this apk.
Step one. Download and install attached NetworkLocation.apk with ADB.
Step two. Use android commander (Google it, its free) and navigate to the file.
Note when you first run AC, it will ask which os you are using. I say I dont know, mostly because I'm lazy. Its 2.1 of course.
Step three. Pull the .xml file to desktop and open with notepad.
Step four. Add this as the last line in this file. <boolean name="location_wifi" value="true" />
Step five. Save and Close
Step six. Drag and drop into right panel of android commander where original file was. AC will ask you if you want to place on the right panel. Yes, you do.
Step seven. Exit adb.
Step eight. REBOOT. Dont try before a reboot *it wont work*
Step nine. Please thank me if this works for you.
Merry Christmas.
Where do you get the stock 2.1 apk OS files? (I got your attachment). I have the SDK installed are they in there somewhere or can I pull them from the android developers site somewhere? Thanks.

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.

Google Account Settings issue

** UPDATE **
To be more specific, I'm not having issue with Android Device Manager, I'm having issue with the message "You don't have any devices" in Google Play Store.
I've looked it up in lots of places but seems like no one has a concrete answer.
Any further direction would be appreciated!
******
Hello,
I've installed all of the required apps to run Google Play store and have installed apps without issue. I'm having a couple of issues:
1) When I tap on Google Account Settings, it doesn't load anything, just closes the app
2) When I log in to Google Play on my browser, it says that I have no devices connected to the account, even thought I'm downloading apps just fine with that very same account in Google Play app. I'd like to remotely add and delete apps from my tablets as they are for the kids and I don't always have the tablets by my side to install / delete things.
Please help, thanks!
dymlu said:
Hello,
I've installed all of the required apps to run Google Play store and have installed apps without issue. I'm having a couple of issues:
1) When I tap on Google Account Settings, it doesn't load anything, just closes the app
2) When I log in to Google Play on my browser, it says that I have no devices connected to the account, even thought I'm downloading apps just fine with that very same account in Google Play app. I'd like to remotely add and delete apps from my tablets as they are for the kids and I don't always have the tablets by my side to install / delete things.
Please help, thanks!
Click to expand...
Click to collapse
Sometimes takes a few days for everything to sync up on Google's end.
Davey126 said:
Sometimes takes a few days for everything to sync up on Google's end.
Click to expand...
Click to collapse
It's been like this since I got everything set up 3 weeks ago. It's never recognized that the tablet is associated to the account.
dymlu said:
It's been like this since I got everything set up 3 weeks ago. It's never recognized that the tablet is associated to the account.
Click to expand...
Click to collapse
Another poster (perhaps a few) described a similar situation along with the steps taken to remediate. If I stumble across that I will repost here. As I recall it involved deleting and readding Google account(s) on the device side (reboot between) plus a tweak or two from the web version of Android Device Manager.
Davey126 said:
Another poster (perhaps a few) described a similar situation along with the steps taken to remediate. If I stumble across that I will repost here. As I recall it involved deleting and readding Google account(s) on the device side (reboot between) plus a tweak or two from the web version of Android Device Manager.
Click to expand...
Click to collapse
That would be awesome, thanks a million in advance!
Davey126 said:
Another poster (perhaps a few) described a similar situation along with the steps taken to remediate. If I stumble across that I will repost here. As I recall it involved deleting and readding Google account(s) on the device side (reboot between) plus a tweak or two from the web version of Android Device Manager.
Click to expand...
Click to collapse
dymlu said:
That would be awesome, thanks a million in advance!
Click to expand...
Click to collapse
Problem appears to be widespread with no generic solution. See (one of many similar posts):
http://www.androidpolice.com/2015/0...android-device-manager-googles-working-on-it/
Might be something you just have to live with.
Davey126 said:
Problem appears to be widespread with no generic solution. See (one of many similar posts):
http://www.androidpolice.com/2015/0...android-device-manager-googles-working-on-it/
Might be something you just have to live with.
Click to expand...
Click to collapse
Rats, I want to remotely install and delete apps on my kids tablets, any ideas on remote device management tools for Android tablets?
dymlu said:
Rats, I want to remotely install and delete apps on my kids tablets, any ideas on remote device management tools for Android tablets?
Click to expand...
Click to collapse
While there are quite a few you might want to start with AirDroid. Generally well regarded albeit sometimes a bit schizophrenic. You should be able to accomplish basic app/device management with the free version. Can also look at some of the more focused tools once you decide which features are most important.
Davey126 said:
While there are quite a few you might want to start with AirDroid. Generally well regarded albeit sometimes a bit schizophrenic. You should be able to accomplish basic app/device management with the free version. Can also look at some of the more focused tools once you decide which features are most important.
Click to expand...
Click to collapse
I was looking for something that I can use while I'm at work and the kids are at home?
dymlu said:
I was looking for something that I can use while I'm at work and the kids are at home?
Click to expand...
Click to collapse
Yes - did you look at AirDroid? Claims to have that capability. Also note there are various workarounds (eg: create a second account) for the original issue you reported. None work 100% which is why I didn't elaborate. You are going to have to do a little research to get what you want.
Davey126 said:
Yes - did you look at AirDroid? Claims to have that capability. Also note there are various workarounds (eg: create a second account) for the original issue you reported. None work 100% which is why I didn't elaborate. You are going to have to do a little research to get what you want.
Click to expand...
Click to collapse
AirDroid doesn't allow me access to install apps, just delete I'll have to keep researching, thanks for the advices.
Davey126 said:
Yes - did you look at AirDroid? Claims to have that capability. Also note there are various workarounds (eg: create a second account) for the original issue you reported. None work 100% which is why I didn't elaborate. You are going to have to do a little research to get what you want.
Click to expand...
Click to collapse
To be more specific, I'm not having issue with Android Device Manager, I'm having issue with the message "You don't have any devices" in Google Play Store.
I've looked it up in lots of places but haven't found anything concrete for solution. Is it because I'm using a Fire Tablet and it's not supported on Google Play?
dymlu said:
AirDroid doesn't allow me access to install apps, just delete I'll have to keep researching, thanks for the advices.
Click to expand...
Click to collapse
dymlu said:
To be more specific, I'm not having issue with Android Device Manager, I'm having issue with the message "You don't have any devices" in Google Play Store.
I've looked it up in lots of places but haven't found anything concrete for solution. Is it because I'm using a Fire Tablet and it's not supported on Google Play?
Click to expand...
Click to collapse
Answered the last question in a previous post (below). As for remote install a tool like AirDroid can get the job done but you will need to get creative with the approach. In the end it may not be worth the effort, especially if the target devices are physically accessible albeit with a little inconvenience wrestling it away from the kid.
http://forum.xda-developers.com/amazon-fire/help/google-account-settings-issue-t3441323/post68240076

[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.

Categories

Resources