Related
INTRO
Hey everyone!
Some of you, like me, loved to use the smart stay feature of Samsung, they disables the dimming of the screen while you are looking at it.
Unfortunately, on the latest builds (CM11 like CM12), this app is broken. What happens is that, when an app is using the camera and another tries to access it, there is a conflict. For example, you are using the camera. If smart stay + tries to see if you are still there, it tries to access the camera which is already in use. And so, the camera app doesn't know what to do and crashes ^^
A way to repair this is to modify directly the app to pause the search when the camera is already in use, but we can't do that, the only one who can is the app dev ^^ Another way is to refuse access to the camera when using the camera app, but not sure how we can do that... The way I did is bypassing this error by killing smart stay + when I use a specific app like the camera
Apps
To do this, you need to install :
Tasker : lets you automate stuff depending of the state of the phone, an app, or even the sensors,
Secure Settings : lets you change the phone settings directly from Tasker,
TaskKill : lets Tasker kill apps using several different methods.
Watch out! Make sure you have the latest version of each, or else bugs may appear!
Lets Start!
So, start by installing as those apps, and install the latest version of Smart Stay + (if you are on CM12, you can't download it from Play Store cause it's incompatible, so you need to use the apk from the Internet). Don't launch Smart Stay +, and don't enable its setting in the accessibility menu on the phone!
First off, we need to give root rights to Secure Settings. Launch the app, then go to the System+ tab and enable it. It will then ask for root rights, accept and we are good to go on.
Kill Switch
Now, launch Tasker and go on the profile tab (if you want to follow everything in english in the app, press the 3 dots in the upper right corner, then Preferences, go all the way down in the UI tab, then change the language). Create a new context using the + icon on the bottom of the app, then chose Application. A list of all your apps will be shown, so you need to chose which app will kill the other one. Here, I want the Camera app to be the "killer", so I chose the apps using the camera (I have Camera Next as well as the stock camera, so I chose both) :
Screenshot 1
To go back, do not press the X button on the upper right corner! It will erase your config Press the button on the upper left corner to go back to the profiles. The app will show you then a menu where you can enter a new task. Chose New Task and name it "Kill". A new screen will be shown :
Screenshot 2
Click +, then go into Plugin, and you will see all the plugins. Click on TaskKill, then press on the Pen logo on the upper right corner to config the plugin. Here, you can choose the method to use to kill, and the app. You need to use the Extrem method, or else Smart Stay will keep rebooting... Choose Smart Stay in the list, then click apply. Set the Timeout to 0, then save it by clicking on the upper left corner, and return to the profiles list.
Here is what we should see :
Screenshot 3
Starting the App
We now need to start smart stay after we finished using the camera, and it's a bit tricky. You can either start the app using Tasker, but it will ask for you to enable the accessibility option of Smart Stay (happens every time), and that is really a bummer... That made me look if we can't directly turn on that setting from Tasker, so that we don't need to open the settings, close the app, etc... And it is! We can change that settings from Tasker using a plugin! Buuuut, the catch is that we need root...
Soooo to enable this setting, you need to long press on the action we just did named "Kill", and add an Exist Task. Next, do a new task named "Start". After, choose the plugin Secure Settings, then press on the Pen logo on the upper right corner to config the plugin. Here, you can choose which action you want. Go to System+ Actions, then press Accessibility Services. A new menu will appear, where you can see the different apps that has an Accessibility Setting. Choose Smartstay+, and make sure the button underneath it is Disabled (so that it disables that setting). Save it, then go back to the profiles list using the button on the upper left corner.
Here is what you should see :
Screenshot 4
Testing
Tada! Done! You can now launch the camera app without having it bug! To test it out, you can go on each action, like "kill" and press the play button on bottom of the screen. You will see that the notification is closed. Go into the "start" action and press play, you will that icon return! Go try it out using the camera app!
Misc / Other Method
You may ask why I didn't use the Secure Settings in the first place, and the reason is that it doesn't work well. The app isn't totally killed, it's just paused, so we don't know if it still has access to the camera, or if it is draining battery... Using TaskKill ensure us that it isn't running in the background, and so not draining any battery.
For Android L users, you may know that with Smart Lock, you can unlock the phone with your face. To do so, Android uses the stock camera app. This means that you won't have any bugs at all using that unlocking method with Smart Stay, thanks to our bypass
Another method that was pointed out by triviums (1+1 forums) is to use Smart Stay EX Pro. It has an option to disable scanning when certain apps are launched. But, after testing this out, it doesn't work as well as my method. There is a missing option in that app which is Smart Timeout. Without this feature, it still scans if the user is there, even though he is typing something or scrolling a page. Smart Stay + has this feature for free )
If this could be implemented (cause on the photos on Google Play, the feature is there for PRO users, but after installing you don't see it...), then it may be better (no need to kill and restart app, which takes some battery). If this doesn't work, then the battery you gain from not killing the app is lost in the use of the camera when it isn't necessary...
Hopefully someone can help me out with this...been reading forums etc. for a while and can't find an answer..
Rooted HTC One m8. Tasker pro. Secure Settings free version. Running 5.0.1
I installed the helped for tasker (or whatever it's called now) and added a new task. Went to plugins >secure settings>gps and set for 'enabled'. When I test the task, it gives me nothing. I trying setting a shortcut to see if that might work and same result as the test. When I go into tasker and click 'test action' it says 'executing action' and it works. However, as soon as I try just clicking the play button,nothing. No clue what else to try, any help would be greatly appreciated.
Same Issue with Llama Locale + Secure Settings
Kevinj17 said:
Hopefully someone can help me out with this...been reading forums etc. for a while and can't find an answer..
Rooted HTC One m8. Tasker pro. Secure Settings free version. Running 5.0.1
I installed the helped for tasker (or whatever it's called now) and added a new task. Went to plugins >secure settings>gps and set for 'enabled'. When I test the task, it gives me nothing. I trying setting a shortcut to see if that might work and same result as the test. When I go into tasker and click 'test action' it says 'executing action' and it works. However, as soon as I try just clicking the play button,nothing. No clue what else to try, any help would be greatly appreciated.
Click to expand...
Click to collapse
I'm running Exodus 5.1.1 on my OnePlus One. In Llama with the Secure Settings plug in, when I test and activity to toggle GPS to High Accuracy Mode when Maps or Waze is launched, the test works flawlessly. When I actually launch Maps or Waze though, the action never triggers and remains on GPS Battery Savings Mode.
Hi,
can anybody tell me how I can set another step goal (its set with 6000) - I cant find it on the app at the phone and also not on the gear... But it must be possible to change it, or??
And another question: Can the gear s2 track the sleep? If yes, how to set it or do i need another app for it?
Thanks a lot
Frank
In the S health watch app go to the far right and open the settings menu and you can set your step goal in there.
Thanks for your answer, but it works not! I had only the choice to select the source of the stepcounter (gear or phone).
If I set it to phone I can change the goal - but when I switch back to gear it back again to 6000... And I have again no chance to change it...
Crazy...
As said above, you simply go S Health settings on the watch to change it.
I got it
Thanks for your help...
Or go into s health on s2 and scroll using bezel all the way to the right to Settings and select 2nd option - Step Target, and change target there.
That's exactly what had been advised in the first reply, isn't it?
What about the sleep tracking? For now it would seem they have forgotten it.
How about how to change from phone to gear for soirce? I know its there but can't seem to find it.
Is there anyway to switch function on the S2, i find as per my Gear 2 it is inaccurate (prefer using my mobile) and it consumes battery.
(Reopen Question) How to Change Pedometer Target / Steps Goal on Gear S2
While this was answered over a year ago, either it's changed since then, or I'm misunderstanding.
I can find several S Health widgets, but I can't see the S Health APP anywhere on the S2.
There's even a Pedometer widget, but turn the bezel as i might, I don't find the three-dot menu icon, "More", or "Settings" anywhere.
The Data Source is set to the watch, not the phone. But clicking on S Health even in the Apps List just brings up the 24 Hour Activity Log.
It's a bluetooth-only version of the watch, so there's no carrier involved. I'm using it with a Note 4 on Verizon.
The software version on the S2 ends in EPK5.
Thanks for any help!
TTZ1Z said:
While this was answered over a year ago, either it's changed since then, or I'm misunderstanding.
I can find several S Health widgets, but I can't see the S Health APP anywhere on the S2.
There's even a Pedometer widget, but turn the bezel as i might, I don't find the three-dot menu icon, "More", or "Settings" anywhere.
The Data Source is set to the watch, not the phone. But clicking on S Health even in the Apps List just brings up the 24 Hour Activity Log.
It's a bluetooth-only version of the watch, so there's no carrier involved. I'm using it with a Note 4 on Verizon.
The software version on the S2 ends in EPK5.
Thanks for any help!
Click to expand...
Click to collapse
I'm running the same version
Launch the S-health app on the S2 - not any of the widgets. Rotate the bezel to the right until you see the Settings "tab". Click on the button at the bottom. Scroll down to Step Target.
Rob
Must "Start" to get to Settings
As I said in my earlier post, starting the S Health app on the S2 simply brought up the 24 Hour Log (circle showing goals for sleep, serious exercise, light exercise, etc.) Rotating the bezel did nothing.
However, if you press the "Start" button on that circle, THEN rotating the bezel will bring up various screens (or "tabs"), including Settings!
Thanks for the help.
TTZ1Z said:
As I said in my earlier post, starting the S Health app on the S2 simply brought up the 24 Hour Log (circle showing goals for sleep, serious exercise, light exercise, etc.) Rotating the bezel did nothing.
However, if you press the "Start" button on that circle, THEN rotating the bezel will bring up various screens (or "tabs"), including Settings!
Thanks for the help.
Click to expand...
Click to collapse
I just had to reset my S2 because I got a new phone and I'm having the same issue and reading every forum and Forum post out there and I cannot find how to change this on the watch. Phone is at 10k, S2 is at 6k. Wat them both at 10k. This is so aggravating. These instructions worked like 6 months ago but there is no changing the step Count on the gearas far as I can tell. I'm so annoyed right now LOL the search continues
Sent from my [device_name] using XDA-Developers Legacy app
---------- Post added at 02:21 PM ---------- Previous post was at 01:53 PM ----------
Welp of course I figure it out after commenting lol
On watch:
1. Press on step graph
2. Press on 3 dots on the right
3. Press on gear on the right
4. Press on step target
5. Change
♡ [emoji1]
Sent from my [device_name] using XDA-Developers Legacy app
Thanks for posting your response. I've been struggling for a week trying to figure this out.
Loving my Gear S3 Frontier but still a bit confused about using it on occassions! Can anyone tell me is there a simple way to:
1. Keep an app you are currently using on the display?
For example, while walk around the supermarket, I was using the excellent "My Notes in Gear" to work through a shopping list I'd created previously. Problem was that when the watch display turned off if I raised my wrist up to look at the screen it frequently had reverted to the watch display. Only way i could get it back to my shopping list was to select the apps view and tap on the "My Notes in Gear" app again. Surely I must be doing something wrong and there's an easier way to resume the view of an app you are currently using?
2. Easily toggle between watchface (time) display and current other app in use?
Say I'm tracking a hike in S Health but I want to check the current time. Is there an easy way to toggle from S-Health to the watchface, and then quickly switch back to S-Health tracking again?
Having had the watch a couple of weeks now I'm sure I should have a handle on these things by now, so maybe I'm just being dumb - or maybe these things are not as easy to do as they should be?!
Really, NOBODY has a solution to this??!!
SirBindy said:
It's not rocket science.
Set your double-tap home button to "last app".
Click to expand...
Click to collapse
Thanks for the tip. OK, maybe it's not rocket science but to me it seems very strange that there's is not a standard quick way to click back to a current open app. After all, on your mobile phone it's very easy.
And is there any easy/quick way to toggle between watchface (time) display and current other app in use, as when I just want to quickly check the time? Yes, I realise now I can optionally set my double-tap on the home button to view current app, but what if you prefer to set that to normally open another app like S-Health or S-Voice? Sorry, but I really think this is an aspect of typical use of a smartwatch that the designers have not fully thought through. Surely the ability to easily switch between your watchface and another app you are running should be a standard and quick operation?!
I'm having the same issue. And yes, I've set the home button to revert to my previous apps. I'd prefer, however, to raise my wrist and have the app that I was currently using still be there. For example, whenever I'm out on a run and I'm listening to music, I have to double press the home button, and select the application in order to begin toggling to the next sound track. Similar situation happens when I'm using the notes app. Does anyone know of a way to "lock" the current app so that it doesn't go away when I put my hand down?
Worked in the previous Gear 1&2&S. There are a setting for movement activation : Last screen or Clock. Very usefull, do not know why Samsung removed this setting in the Gear S2/S3 ???
It does this on Galaxy Gear too.
It makes much more sense the app you're using is just there, no need to press any button :-/
Thanks for the double tap tip.
Hi Mate 30 pro fans,
I have weird issues, regarding whatsapp application. I will frequently disconnected while im idle or not turn on the phone for 5 minutes or more. Seem like EMUI keep killed Whatapp in backgroud. Does anyone have similar problem like me? For information, i already re-install the application twice, set special permission to disallow system to automatically kill the app manually. but the issue keep coming.
Thanks in advance guys!
amirxyz said:
Hi Mate 30 pro fans,
I have weird issues, regarding whatsapp application. I will frequently disconnected while im idle or not turn on the phone for 5 minutes or more. Seem like EMUI keep killed Whatapp in backgroud. Does anyone have similar problem like me? For information, i already re-install the application twice, set special permission to disallow system to automatically kill the app manually. but the issue keep coming.
Thanks in advance guys!
Click to expand...
Click to collapse
Are you losing connection with just that app or device wide when that happens?
Try creating a new apn with your details
I not losing network. I notice even with wifi or mobile data. The issue still same. Just i haven't reset my phone yet
Whatsapp
Evet aynı sorun benim mate 30 pro da var. Mesajlar geç geliyor .ayrıca whatsaptan konum göndermek mümkün değil. Bu nedenle Whatsapp plus yükledim. Simdi iyi.
amirxyz said:
I not losing network. I notice even with wifi or mobile data. The issue still same. Just i haven't reset my phone yet
Click to expand...
Click to collapse
2 things under settings u adjust. i solved mine via these 2
1) go App. under App launch. select "manual" and tick all 3 options for Google framework, account manager , huawei mobile services and whatsapp. i did that for google map too
2) again go App, under permission. select special access on the drop down list on top right hand corner. choose battery optimisation. i select whatsapp as well as those apps mentioned as above 1) and choose "not allowed" so that these wont be killed . Just adjusting 1) under App launch does not work. its the battery optimisation that kills the app after a while.
u need to perform these 2 adjustments so that whatsapp will continue to work behind .
this 3rd step is optional. I've also enabled locking whatsapp under the task it so that it won't be close even if i clear all app in the background. click on the square icon at the bottom most of the phone menu, scroll to whatsapp and swipe down to lock it. swiping up kills the app
make sure u enable data for these app.
hope it helps. i did it for my 5G set from china.
averllia said:
2 things under settings u adjust. i solved mine via these 2
1) go App. under App launch. select "manual" and tick all 3 options for Google framework, account manager , huawei mobile services and whatsapp. i did that for google map too
2) again go App, under permission. select special access on the drop down list on top right hand corner. choose battery optimisation. i select whatsapp as well as those mentioned as above 1) and choose "not allowed" so that these wont be killed . Just adjusting 1) under App launch does not work. its the battery optimisation that kills the app after a while.
u need to perform these 2 adjustments so that whatsapp will continue to work behind .
this 3rd step is optional. I've also enabled may whatsapp to lock it so that it went be close even if i close all app. just swipe down and lock it. swiping up kills the app
make sure u enable data for these app.
hope it helps. i did it for my 5G set from china.
Click to expand...
Click to collapse
Thanks. Let me test. Will update again later. Hopefully this help.
averllia said:
2 things under settings u adjust. i solved mine via these 2
hope it helps. i did it for my 5G set from china.
Click to expand...
Click to collapse
Hi @averllia
I will receive in a few days my Mate 30 Pro 5G version LIO-AN00 (chinese).
Do you think that I will have the same issue with WhatsApp app?
Thanks in advance!
luisvalino said:
Hi @averllia
I will receive in a few days my Mate 30 Pro 5G version LIO-AN00 (chinese).
Do you think that I will have the same issue with WhatsApp app?
Thanks in advance!
Click to expand...
Click to collapse
Hi im not too sure but it happens on mine. i discovered this… solution via trial and error. it should help if thats the issue. quite easy.
i encounter lagging in receiving wa msg after the phone was inactive for a while. did all i could including search via online. none helps until i toggled that adjustment. don't worry as it should address the prob if its the same issue
averllia said:
Hi im not too sure but it happens on mine. i discovered this… solution via trial and error. it should help if thats the issue. quite easy.
i encounter lagging in receiving wa msg after the phone was inactive for a while. did all i could including search via online. none helps until i toggled that adjustment. don't worry as it should address the prob if its the same issue
Click to expand...
Click to collapse
I am a little newbie with Huawei., @averllia
What route/steps did you follow exactly to activate the whatsapp? Because I did not understand you in the previous message.
amirxyz said:
Thanks. Let me test. Will update again later. Hopefully this help.
Click to expand...
Click to collapse
averllia said:
2 things under settings u adjust. i solved mine via these 2
1) go App. under App launch. select "manual" and tick all 3 options for Google framework, account manager , huawei mobile services and whatsapp. i did that for google map too
2) again go App, under permission. select special access on the drop down list on top right hand corner. choose battery optimisation. i select whatsapp as well as those apps mentioned as above 1) and choose "not allowed" so that these wont be killed . Just adjusting 1) under App launch does not work. its the battery optimisation that kills the app after a while.
u need to perform these 2 adjustments so that whatsapp will continue to work behind .
this 3rd step is optional. I've also enabled locking whatsapp under the task it so that it won't be close even if i clear all app in the background. click on the square icon at the bottom most of the phone menu, scroll to whatsapp and swipe down to lock it. swiping up kills the app
make sure u enable data for these app.
hope it helps. i did it for my 5G set from china.
Click to expand...
Click to collapse
Hi, I have a Mate 30 Pro with Google Services. WhatsApp keeps discconect too.
Where is Google Framework app to select "manual" as the other two?
And could you explain step 2, please?
Thank you!
averllia said:
2) again go App, under permission. select special access on the drop down list on top right hand corner. choose battery optimisation. i select whatsapp as well as those apps mentioned as above 1) and choose "not allowed" so that these wont be killed . Just adjusting 1) under App launch does not work. its the battery optimisation that kills the app after a while.
hope it helps. i did it for my 5G set from china.
Click to expand...
Click to collapse
Hi @averllia
Could you explain the route you follow at step #2, please ??
I have got a Mate 30 Pro 5G from China too.
[EDIT] Finally I found it !!!
...
is there anyone else with whatsapp problem? I had the same problem. whatsapp plus apk. problem is solved.