No location services when phone is locked - Galaxy S6 Q&A, Help & Troubleshooting

I just noticed that when my phone is in standby/locked screen, I can't remotely locate or control it using either Cerberus or Android Device Manager. As soon as I unlock the screen, these services work fine. I've tried various suggestions that have come up in my searching, but as far as I can tell I've installed all of the necessary services and settings to enable remote device control. Other background things like SMS/phone calls/email/facebook notifications/etc seem to work fine when phone is in standby.
Any ideas? Remote controlling the phone isn't very useful if you can only do it when the device is in your hands and you're using it!
I have a Galaxy S6 Edge on AT&T, Android 5.0.2 rooted with PingPong Root but otherwise fairly close to stock. Thanks

Related

[Q] Remotely Turn on GPS To Track Lost Redmi URGENT

Ok, so my phone was recently stolen. It's a Redmi 1S. Location settings are off but has internet connection. Whatsapp is still active on the phone as well as the google account.
I'm able to access some features like remote lock through Android Device Manager.
I find it strange that the phone has not been resetted and the account removed yet, but I was able to lock the phone.
I was able to remotely lock the phone using ADM and I also had the idea of using the browser play store to install an app whenever it connects to the internet.
But, the location settings are off so I am unable to locate it.. is there any way to enable the setting remotely? If I am able to remote lock should there not be a way to turn on GPS remotely?
Is there any app that would turn on GPS as soon as it is installed? That might help...
Looking forward to a few quick and helpful answers..

[Q] Using watch with SmartLock

I have a Note 4 with Smart Lock. I wanted to set it up so that my watch can keep my phone from locking. I added the device to SmartLock successfully. Even if my watch is sitting right next to the phone, it is not unlocking it. I use a PIN. Is there anything else that I need to do, or is this just not going to work.
Thanks
I was looking for an answer to that too. I tried and it did not work at all.
I use tasker for lots of things, but I could never get it working with this. I have a task set up to unlock the phone if the bluetooth is connected to the Gear S2. Even when my connection is just fine, tasker doesn't see the connection and never unlocks the phone.
I use Gear s2 from Tmobile with my Note 4 with no problems. When locked I use patern not pin if that makes any difference. Running lollipop 5.1.1 , no root, latest gear manager from play store.
It is added to my trusted devices
This might be a misunderstanding on my part about how this is supposed to work. I have a PIN set up, and when I have my watch connected, it doesn't require the PIN. It just puts up the screen that I have to swipe. I expected that it wouldn't put up the swipe screen at all. I don't want it to, but can't find a way around it. I tried setting up tasker to disable the lock, but it didn't work. Apparently tasker doesn't know when the watch is connected. It does work for my bt headset.
I don't think it can be done. It looks like smart lock removes requirement for any kind password but doesn't remove screen lock altogether.
usmaak said:
This might be a misunderstanding on my part about how this is supposed to work. I have a PIN set up, and when I have my watch connected, it doesn't require the PIN. It just puts up the screen that I have to swipe. I expected that it wouldn't put up the swipe screen at all. I don't want it to, but can't find a way around it. I tried setting up tasker to disable the lock, but it didn't work. Apparently tasker doesn't know when the watch is connected. It does work for my bt headset.
Click to expand...
Click to collapse
If you have one of those flip cases, it does unlock automatically. Other than that, I don't know a way around it.
bendez1985 said:
If you have one of those flip cases, it does unlock automatically. Other than that, I don't know a way around it.
Click to expand...
Click to collapse
Same issue here. Guessing a 2 part app (specific to s2 and android) might be able to solve the problem. The s2 app would communicate with the android app (not sure if background communication is possible for s2 apps though). Upon a cut in connection, the android app would trigger the lockscreen.
Thoughts?
darekz said:
I don't think it can be done. It looks like smart lock removes requirement for any kind password but doesn't remove screen lock altogether.
Click to expand...
Click to collapse
I've never understood the need for that. When I don't have security on my phone, I have always just shut it off. An extra swipe accomplishes nothing.
Before the gear, I was using tasker to unlock my phone when connected to my wifi and when my bluetooth headset was on. I'd carry it with me, turned on, and my phone would not lock at all. It was flawless. Never saw the lock screen and never had to enter my PIN.
I might just go back to that, as the extra screen is really annoying and serves no purpose. I just have to remember to always have my BT headset turned on and on me. I always have my watch, but always seem to forget the headset.
I wish I knew why tasker doesn't recognize the the connection to the watch. My settings clearly show that the phone is connected to the watch, so it should recognize the connection, but doesn't. I don't know how much support tasker is getting any longer. I saw something about the developer having to take a break because of medical issues. There are now many other automation apps out there. Maybe I'll give some of them a try and see if one of them will accomplish what I am able to accomplish with tasker and my wifi/bluetooth headset.
When I add the watch to SmartLock, I get the following message:
Smart Lock can't detect the security features of this device. To help protect your phone, Gear S2 (393A) will only be able to keep your phone unlocked once it's already unlocked by you. Your Gear S2 (393A) can keep your phone unlocked when it's nearby, even if someone else is holding it.
Not sure what that means or what it does to the unlocking feature.
I don't know much about tasker but one time I played with tasker plugin called trigger. Maybe that can be help for you. It is possible that tasker looking for certain Bluetooth profiles being active and since gear s2 has no speaker there is not headset or headphone profile. On my gear s2 3g Bluetooth shows call audio profile.

Airplane mode or switching of mobile data without root possible?

Hi folks,
I just switched my rooted custom rom HTC One M8 with the Galaxy S7 and now I am missing a few things (which was expected).
Is there a way to activate / deactivate airplane mode with Tasker or toggle mobile data even though Secure Settings is out of the picture (for now)?
I know this is not exactly a Galaxy S7 specific question but there may be a chance that someone else also switched from a rooted phone....
Additionally, I can't get Android Auto to work.
massaquah said:
Hi folks,
I just switched my rooted custom rom HTC One M8 with the Galaxy S7 and now I am missing a few things (which was expected).
Is there a way to activate / deactivate airplane mode with Tasker or toggle mobile data even though Secure Settings is out of the picture (for now)?
I know this is not exactly a Galaxy S7 specific question but there may be a chance that someone else also switched from a rooted phone....
Additionally, I can't get Android Auto to work.
Click to expand...
Click to collapse
Yes, I was able to do this on my unrooted Z3C using Tasker and AutoInput. AutoInput emulates user swipes on the screen, meaning that you can pull down the notification menu and then enable/disable whatever toggle you want, including airplane mode.

No VPN on Marshmallow

After I updated my sprint galaxy s6 edge to marshmallow OTA, VPN is not working for me. I have tried more than 5 different VPN apps, but none of them work. They say they are connected, but as soon as I switch to a new app, they stop working. VPN worked fine before I updated, but now it is not. Please help!
Yoshi20017 said:
After I updated my sprint galaxy s6 edge to marshmallow OTA, VPN is not working for me. I have tried more than 5 different VPN apps, but none of them work. They say they are connected, but as soon as I switch to a new app, they stop working. VPN worked fine before I updated, but now it is not. Please help!
Click to expand...
Click to collapse
I've got this problem too, on chinese 9250
Go to Settings > More > VPN
Set up your VPN in there. I've set up VPN on my Galaxy S6 and S7 using L2TP IPSec with a signed certificate from GoDaddy.
I had it working on the S7 with a PSK also. Both phones are running Android v 6.0.1 Marshmallow.
It's strange but the VPN connection settings are different. My S6 is a Sprint phone, and I can't assign it a Certificate Authority. But the Verizon S7 won't let me save the VPN connection without a CA. I have to install the certificates in different ways for each phone as well. Very odd.
Anyway good luck.
MrKrunch said:
Go to Settings > More > VPN
Set up your VPN in there. I've set up VPN on my Galaxy S6 and S7 using L2TP IPSec with a signed certificate from GoDaddy.
I had it working on the S7 with a PSK also. Both phones are running Android v 6.0.1 Marshmallow.
It's strange but the VPN connection settings are different. My S6 is a Sprint phone, and I can't assign it a Certificate Authority. But the Verizon S7 won't let me save the VPN connection without a CA. I have to install the certificates in different ways for each phone as well. Very odd.
Anyway good luck.
Click to expand...
Click to collapse
Could you tell me how to do this please?
same problem for me Samsung s6 edge android 6..0.1 VPN apps work.... cyberghost / opera max/ and the rest .
PS after Zamber88 suggestion go to settings>> battery>app power saving > turn off for opera max or other vpn app.
PPS: if that is not enough do this: Settings >>Battery >> Battery Usage >> more (right up cornet button) >> Optimize battery usage >> select All apps and choose your VPN app and turn off .
also if in OPERA MAX when u use mobile data u get the error "enable background data " is because of the power saving.
CASE CLOSE !
That's a really strange issue. We did a lot of testing on MM with Nexus devices and everything works as intended. We even have a S6 Edge with MM that works fine (SM-G925F with one of the Unknown build listed on sammobile IIRC).
All I can come out with now is that you could try checking if there aren't any battery saving features interfering with the VPN apps.
Solved.
S6 edge.. disabled powersaving features. Vpns are working fine. Strange but cant figure out how powersaving is meddling with vpn. Solved.
Its not power saving . its restrict background data . just off the restrict background data and will work fine
zamber88 said:
That's a really strange issue. We did a lot of testing on MM with Nexus devices and everything works as intended. We even have a S6 Edge with MM that works fine (SM-G925F with one of the Unknown build listed on sammobile IIRC).
All I can come out with now is that you could try checking if there aren't any battery saving features interfering with the VPN apps.
Click to expand...
Click to collapse
I'm not sure if anyone can help me over here, but I'm not finding anything in the Nexus forums. Since @zamber88 did MM testing with Nexus, maybe you can help me with my Nexus 6. I have a 10 day trip to China coming up in a couple weeks and really need to get VPN working.
Google searches haven't helped, except to point me here. I have purchased VPN Unlimited and tried it with their app and an OpenVPN app. I got a free Galaxy J7 as a spare through the T-Mobile promotion a while back, and both apps work on it with no changes at all. Neither work on my Nexus 6, despite turning off power saving and restricting background data for both apps.
When I select a server, the J7 the Allow connection pops up, I OK it, and connect. On my Nexus 6, the refused to grant permission pops up. See the attached screenshots.
Any help would be greatly appreciated.
JimSmith94 said:
I'm not sure if anyone can help me over here, but I'm not finding anything in the Nexus forums. Since @zamber88 did MM testing with Nexus, maybe you can help me with my Nexus 6. I have a 10 day trip to China coming up in a couple weeks and really need to get VPN working.
Google searches haven't helped, except to point me here. I have purchased VPN Unlimited and tried it with their app and an OpenVPN app. I got a free Galaxy J7 as a spare through the T-Mobile promotion a while back, and both apps work on it with no changes at all. Neither work on my Nexus 6, despite turning off power saving and restricting background data for both apps.
When I select a server, the J7 the Allow connection pops up, I OK it, and connect. On my Nexus 6, the refused to grant permission pops up. See the attached screenshots.
Any help would be greatly appreciated.
Click to expand...
Click to collapse
I'll try to cover all of the bases from easiest to most cumbersome. Given you have some time on your hands this should helpful. Read through the list before doing anything and once you start doing stuff note it down as you're going so that we'll be able to pinpoint any other problems that could pop up. If you succeed then you'll have an answer pretty much ready for posting .
Reboot. Sometimes freshly installed VPN apps fail exactly like the screenshots show.
Try setting up a VPN connection with another app. Shameless plug: Opera Max, Opera VPN (note: there's an issue in Max which makes some VPNs disconnect after a couple of minutes so make sure to kill it before running any other VPNs).
Scan the device with Avast, AVG and Avira to rule out any worms.
Rule out any other apps interfering by booting into safe mode and try connecting again (with your app and, Opera Max for a sanity check).
If you don't want to commit to steps that will follow (or the step before this one succeeded) remove apps from least to most needed retesting with your app and Max after each uninstall.
Upgrade to Android Nugat. It shouldn't break anything and could potentially fix this issue. Either ways it's always a good idea to upgrade when updates are available. It's not like you're on iOS .
Now it's a god time to make a backup (frankly, anytime is good for a backup). If you went over with uninstalling apps making one will be easier. If you have root on your device you probably have TWRP, make a backup with it and download it to your PC. You could also make a Titanium backup if you're not big on setting up basic apps but it's optional. If you don't have root just backup all sensitive data (photos, videos, settings if it's possible to export these in-app). Also note down all apps you can't live without. Google Play has a history of installed apps but going through it is a pain and the "Copy settings from another device" option when setting up a fresh device is helpful but will not restore in-app settings. Also I would advise to not use it given that the culprit can sill be lurking in your apps.
MAKE THAT BACKUP, there's no going back from here . Do a factory reset. After that as mentioned before don't restore settings and set up a "new" device. Set up your accounts and check if both VPN apps work (they should by this point). Now start installing your basic app setup and after configuring each one make sure that the VPN still works.
If somehow this didn't help make sure you're not running a ROM that's botched by flashing the official system image (and upgrade to Nugat as a bonus). If you know what I'm talking about then you will know how to do it, if you don't know AND the issue still reproduces the there's something really strange going on.
By now you should have your issue solved, hopefully in the first three steps at most. There's one other thing to take into account. The great firewall does not like VPNs and there's a fair chance that Unlimited VPN will not work so be prepped to have a backup plan. You could try with Opera VPN (no idea if it works, not my project, would be nice to get feedback) and also get a trial for any service that looks interesting to you on this list.
Hope this helps and that you'll have a safe trip .
UPDATED minutes after posting:
One simple step I missed: reboot. In most cases it solves exactly the issue you're having. No idea why it happens but probably there's a 2y bug opened and tagged as low prio in the Android project .
Thanks for the quick reply!
1. Besides VPN Unlimited, I've already tried OpenVPN for Android and OpenVPN Connect. They both use .ovpn files from VPN Unlimited. I just installed Opera VPN and whether I swipe through the intro screens or skip them, I can't click on "GOT IT"; nothing happens. I think this might be the crux of the problem as some of the buttons in the other VPN apps don't respond either. I'm "almost" positive it's not a screen overlay problem because I used to use f.lux that did that, got rid of it, and haven't had any problems since.
2. I run Lookout Security & Antivirus and just scanned again to be sure. Nothing found.
3. I tried safe mode earlier, only to learn that you can't install or run any aftermarket apps.
4-7. Nougat hasn't been released yet and I'm too dependent on systemless root and Xposed, I'm still stock rooted on MM 6.0.1 with the September security update. I do run TWRP and Titanium Backup and make sure their backups are up to date before I try anything dangerous.
8. Unless you can think of why I can't click on "GOT IT" in Opera VPN, I guess my next step is to sideload the latest OTA again and try all of the VPNs before installing TWRP, SU, and Xposed. That's about all that's left.
JimSmith94 said:
Thanks for the quick reply!
1. Besides VPN Unlimited, I've already tried OpenVPN for Android and OpenVPN Connect. They both use .ovpn files from VPN Unlimited. I just installed Opera VPN and whether I swipe through the intro screens or skip them, I can't click on "GOT IT"; nothing happens. I think this might be the crux of the problem as some of the buttons in the other VPN apps don't respond either. I'm "almost" positive it's not a screen overlay problem because I used to use f.lux that did that, got rid of it, and haven't had any problems since.
2. I run Lookout Security & Antivirus and just scanned again to be sure. Nothing found.
3. I tried safe mode earlier, only to learn that you can't install or run any aftermarket apps.
4-7. Nougat hasn't been released yet and I'm too dependent on systemless root and Xposed, I'm still stock rooted on MM 6.0.1 with the September security update. I do run TWRP and Titanium Backup and make sure their backups are up to date before I try anything dangerous.
8. Unless you can think of why I can't click on "GOT IT" in Opera VPN, I guess my next step is to sideload the latest OTA again and try all of the VPNs before installing TWRP, SU, and Xposed. That's about all that's left.
Click to expand...
Click to collapse
1. Some of the buttons don't respond? What about Opera Max? Opera VPN is fairly new in the game and it still can have issues (though I haven't found any during the brief time I was testing how it works with Max). This sounds really strange. Does it happen in other apps?
2. Rerunning the same Antivirus app will not double the likelyhood of finding a thread . Try with Avast too. You can safely uninstall it after that.
3. What aftermarket apps you have in mind? APK's installed not from the Play Store? It shouldn't impact testing if Unlimited VPN works fine. All background stuff shouldn't run by definition in safe mode.
4-7. Nougat is released. After beta 4 they started releasing OTAs and images for the final release on the beta channel and now it's going to go global. There are factory images for Nexus 9 which I upgraded recently and we have a Nexus 6 but after checking it looks like got the OTA from the beta channel, so it will take a while for the official release to roll out to 6 (though 6P and 5X already have it). Also you're right, there's no systemless root for it yet. We're rolling standard SuperSU on test devices in the office (no need for Android Pay or banking apps there).
8. I'll reach out to the VPN guys for info on gathering debug information for this. Meanwhile try with Opera Max or even Betternet. Do these also fail to connect? Also does it reproduce on mobile and on WiFi?
Got a response from the VPN guys. Most probably your network blocks VPNs. Try pinging http://api.surfeasy.com/ from mobile and WiFi. If it doesn't go through then your network provider is blocking it. Probably it will be the same case for other VPNs. The issue is known and they'll probably add an error message in the next release .
zamber88 said:
1. Some of the buttons don't respond? What about Opera Max? Opera VPN is fairly new in the game and it still can have issues (though I haven't found any during the brief time I was testing how it works with Max). This sounds really strange. Does it happen in other apps?
2. Rerunning the same Antivirus app will not double the likelyhood of finding a thread . Try with Avast too. You can safely uninstall it after that.
3. What aftermarket apps you have in mind? APK's installed not from the Play Store? It shouldn't impact testing if Unlimited VPN works fine. All background stuff shouldn't run by definition in safe mode.
4-7. Nougat is released. After beta 4 they started releasing OTAs and images for the final release on the beta channel and now it's going to go global. There are factory images for Nexus 9 which I upgraded recently and we have a Nexus 6 but after checking it looks like got the OTA from the beta channel, so it will take a while for the official release to roll out to 6 (though 6P and 5X already have it). Also you're right, there's no systemless root for it yet. We're rolling standard SuperSU on test devices in the office (no need for Android Pay or banking apps there).
8. I'll reach out to the VPN guys for info on gathering debug information for this. Meanwhile try with Opera Max or even Betternet. Do these also fail to connect? Also does it reproduce on mobile and on WiFi?
Got a response from the VPN guys. Most probably your network blocks VPNs. Try pinging http://api.surfeasy.com/ from mobile and WiFi. If it doesn't go through then your network provider is blocking it. Probably it will be the same case for other VPNs. The issue is known and they'll probably add an error message in the next release .
Click to expand...
Click to collapse
I installed Opera Max and it was the only app that gave me a helpful error message, so thank you and the coders for that! The message said something like it couldn't establish a VPN connection due to an Xposed module. I disabled Xposed, rebooted, and all of my VPN apps worked. Further searching found this thread saying that Xposed's Immersive Mode was the cuprit. http://forum.xda-developers.com/xperia-z2/help/vpn-to-t2850981
I re-enabled Xposed and disabled only Immersive Mode and VPN still works. Hopefully this will help others in this thread too.
JimSmith94 said:
I installed Opera Max and it was the only app that gave me a helpful error message, so thank you and the coders for that! The message said something like it couldn't establish a VPN connection due to an Xposed module. I disabled Xposed, rebooted, and all of my VPN apps worked. Further searching found this thread saying that Xposed's Immersive Mode was the cuprit. http://forum.xda-developers.com/xperia-z2/help/vpn-to-t2850981
I re-enabled Xposed and disabled only Immersive Mode and VPN still works. Hopefully this will help others in this thread too.
Click to expand...
Click to collapse
I missed that you mentioned Xposed earlier. We implemented Xposed detection to prevent abuse so it's good to hear that it helped you to resolve your issue . Thanks forwarded to the developer behind it . Enjoy your trip!

Something like Csploit for Samsung S8

Hi guys I rooted my Samsung S8 for adjust battery and cpu.
Now I need to keep my wifi network under control
I tried csploit (even nightly mode) but it doesn't work.
I tried zanti but that doesn't work either.
Zanti scans the connected devices but then goes no further.
Do you have any idea of an app that works? Especially that it works with my Samsung.
There are many apps but either they are too old and incompatible with android 9 or not working.

Categories

Resources