Glove Mode and Autoinput - anyone managed it? - Xperia Z3 Compact Q&A, Help & Troubleshooting

Trying to create a button to toggle glove mode (a feature I turn on and off multiple times a day).
Has anyone succeeded in creating a button for this using auto input and tasker?
Have tried for ages but can't get it to work.
Michael

Hey.
Check out my thread at http://forum.xda-developers.com/z3-compact/general/enabling-glove-mode-single-click-root-t3086462
Requires root though even for the Tasker method.

Related

xda toggles in & out of vibrate mode when turned on

I originally posted this in the "Wizard" forum but wasn't sure if this one was more appropiate:
Every time I turn off my device and turn it back on, if it was on ring mode before it toggles to vibrate mode, and if it was on vibrate mode it toggles to ring mode.
I've done several soft resets, looked at ring settings and changing them... but nothing that I've done has worked. I've searched this and other forums but I haven't found a way to fix this problem so far. I would really appreciate the help if anyone has any clues.
Click to expand...
Click to collapse
Also, if it's of any help, this problem started happening out of the blue. I haven't installed anything new or changed any configuration settings lately. So I have no idea what could have triggered it.
I figured out what was happening. It turns out my communications manager button was jammed and that was what was causing the problem. Fortunately I was able to fix it with a small screwdriver.

[Q] Torch not working with volume button since stock upgrade to lollipop

I'm on stock android S4 Active I9295. Since official Samsung upgrade to lollipop 5.0.1 the function and setting has disappeared to be able to use volume button to switch on torch when screen is off. Does anybody have a way to get it working again? Would very much appreciate if anybody can help. Made different searches but couldn't find anybody else mention this problem or solution.
This has been removed from Android Lollipop
It still works on mine, also official lollipop. Although when it times out and you it's 'up volume' again it doesn't turn on unless you turn the screen on and off.
Using an app called Torchie, just press both 'volume buttons' together to turn on/off torch anytime. It runs as a background service and just works anytime, even when screen off (if enabled from Torchie Settings). It kinda make your phone feel like a conventional battery operated torch. No root required.
https://play.google.com/store/apps/details?id=in.blogspot.anselmbros.torchie
XDA Thread here: http://forum.xda-developers.com/android/apps-games/app-torchie-torch-volume-buttons-anytime-t3270230

Tasker Auto Airplane Mode On/Off

any idea how to set up Tasker to turn on airplane mode at a specific time and turn it off at a specific time? The idea is to have airplane mode turned on at say 1am and turned off at 7am. Anyone?
Only with ROOT.
Do you have ROOT?
jonathansmith said:
any idea how to set up Tasker to turn on airplane mode at a specific time and turn it off at a specific time? The idea is to have airplane mode turned on at say 1am and turned off at 7am. Anyone?
Click to expand...
Click to collapse
New profile ---> Time ---> From 1:00 to 6:59
Task: Plugin ---> Secure Settings --> Configuration ---> Root Actions ---> Airplane Mode ---> On
Exit Task: Plugin ---> Secure Settings --> Configuration ---> Root Actions ---> Airplane Mode ---> Off
This requires you to have th Secure Settings plugin for Tasker and Root access.
Yep, I have root access. @alray ... thanks mate ... will give it a go and will report! Thanks to both of you
Worked as @alray explained ... but the only problem is that I set the time from ... to ... but but when the time frame has expired I would expect Tasker to turn off airplane mode (that's the whole point), but at the moment it doesn't. What am I missing here? Had to keep my eyes open and select 'Enable Tasker'. For a first time user, that switch could easily be skipped.
PS - I couldn't find anywhere in the settings where to remove the Tasker icon from the notification bar. I do want it to run in the background but i don't need it in my notification bar and also when i pull-down the notification screen. Any idea how to remove it?
OK, got the answer to the Notification area question (It was the Run in foreground tick). Furthermore, I tried both Root Actions ---> Airplane Mode ---> On and Root Actions ---> Airplane Mode ---> Toggle ... but with both options Tasker forgets to turn off Airplane Mode at the set end time for the profile ... When I was in the Configuration of the Airplane Mode and selected Toggle instead of On, I hit the 'Test action' setting and I ran that a few times. It correctly toggled on and off Airplane mode. So that seemed to work well, but not when I left Tasker do it. The problem occurs both with 'Run in foreground' ticked and un-ticked. Weird!
jonathansmith said:
Worked as @alray explained ... but the only problem is that I set the time from ... to ... but but when the time frame has expired I would expect Tasker to turn off airplane mode (that's the whole point), but at the moment it doesn't. What am I missing here? Had to keep my eyes open and select 'Enable Tasker'. For a first time user, that switch could easily be skipped.
Click to expand...
Click to collapse
jonathansmith said:
I tried both Root Actions ---> Airplane Mode ---> On and Root Actions ---> Airplane Mode ---> Toggle ... but with both options Tasker forgets to turn off Airplane Mode ... strange ...
Click to expand...
Click to collapse
Add an exit task turning back airplane mode off:
Create a new task: plugin --> Secure Settings --> Root Action ---> Airplane mode ---> Off.
Go back to your profile page, tap and hold the linked task and select "add an exit task" and link your "airplane mode OFF" task.
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01 (or if you prefer the task will end at 7:01)
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01
Yep .. thought about that, tested and FAIL
And now will give a try to your last suggestion. That ought to work
jonathansmith said:
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01
Yep .. thought about that, tested and FAIL
And now will give a try to your last suggestion. That ought to work
Click to expand...
Click to collapse
You have to use an exit task, that wasn't a suggestion
And the exist task (airplane mode off) will be triggered 1 minute after the desired time frame. So better to select from 1:00 to 6:59
alray said:
Add an exit task turning back airplane mode off:
Create a new task: plugin --> Secure Settings --> Root Action ---> Airplane mode ---> Off.
Go back to your profile page, tap and hold the linked task and select "add an exit task" and link your "airplane mode OFF" task.
Btw If you set your task from 1:00 to 7:00 then the exit task will start at 7:01 (or if you prefer the task will end at 7:01)
Click to expand...
Click to collapse
That now worked LIKE A BOSS !!! Thanks, man!
jonathansmith said:
That now worked LIKE A BOSS !!! Thanks, man!
Click to expand...
Click to collapse
Youre welcome, post #3 edited accordingly.
Just one last comment - it seems that it won't work unless you leave it run in the foreground. Turning it on DID happen last night while I had Tasker running in BACKGROUND, but turning it off did NOT. Might have something to do with the low memory killer settings or with the app Recently that I use, but since both of these 2 are needed in my case, I guess the only solution is to have tasker forced to run in foreground. Nice at least that I can hide the icon in the notif. bar when it is folded, but annoying when I unfold it and see that huge tasker thing taking all that screen real estate, but ... gotta live with it
And here comes the solution to my previous post. Now I can say the issue is finally resolved! (SEE screenshot)
@alray or @ anyone who's good at figuring out Tasker; how do I set up the following rule - I manually enter Air Plane mode when charging my phone. Can Tasker be automated to turn off the Air Plane mode upon removing the charger? Sometimes I forget to do that and it costs me ... I charge with Air plane mode ON cos it's just A BIT faster. And for my 10% tapping charges a small boost in time is desirable.
jonathansmith said:
@alray or @ anyone who's good at figuring out Tasker; how do I set up the following rule - I manually enter Air Plane mode when charging my phone. Can Tasker be automated to turn off the Air Plane mode upon removing the charger? Sometimes I forget to do that and it costs me ... I charge with Air plane mode ON cos it's just A BIT faster. And for my 10% tapping charges a small boost in time is desirable.
Click to expand...
Click to collapse
You'll need root + Tasker + Secure Settings. Create a new profile based on state: AC plugged in. Task: plugin, secure settings, root action, airplane mode, ON. Then add an exit task: plugins, secure settings, root action, airplane mode: OFF.
Sent from my HTC One using XDA Labs
10x man! You should have said that I first have to start with the Task(s) and then when creating the profile I add the Task(s). Now, your suggestion is good, but a bit different from what I asked. As far as I understand your suggestion would enable Airplane mode while on AC and will disable it as soon as I unplug from AC. Fair nuff, fair nuff. However, I was asking only for an action to disable Airplane mode in the event that I actually did enable it in the first place. I say that cos I don't ALWAYS enable airplane mode while charging. I do most of the time but not always. Sometimes I need longer charges and I really don't want airplane mode to be enable during them. I need the airplane mode only for short-term charges and therefore my idea is that I should be the one to decide whether or not I enable Airplane mode. What Tasker should do is only to disable Airplane mode upon unplugging from AC ONLY in case airplane mode was enabled in the first place. This way I can decide whether or not I want to charge with Airplane mode enabled and in case I did charge with Airplane mode enabled Tasker will do its thing and will turn it off when needed. I'm sure that whatever I decide Tasker will attempt to turn off Airplane mode. In case I didn't enable airplane mode then Tasker will attempt to disable it but it will be in vain cos I didnt enable it in the first place .. so all good with that situation too.
So I modified your idea a bit and this is what I did. In Tasks I have a task called 'Airplane mode OFF' and it consists of exactly what you said - plugin, secure settings, root action, airplane mode, here I only chose OFF and then the Save icon. So .. that's all there is to it about the Task. Now over to the Profiles. Hit +, State, Power, and here comes my different approach - I choose Battery Level (cos I know that I always charge up to about 90%) so I select a range from 90 to 100... basically anything above 90 would do cos that's the whole point. Reaching over 90 would trigger the action. Of course this approach only applies in case you do what I do, i.e. charge up ALWAYS to a certain %. [ofc I have apps alarming me when this % is off indicating to me that I have to unplug]. So, having done this now I have my range from say 90 to 100 and that then becomes my new Profile and it asks me to add a task and I ONLY add the task to turn off Airplane Mode. I add no exit task at all. Tested it and it works.
By mistake or sth I enabled the setting called 'Enable System+Module'. Is it actually better this way or should I disable it?
jonathansmith said:
What Tasker should do is only to disable Airplane mode upon unplugging from AC ONLY in case airplane mode was enabled in the first place. This way I can decide whether or not I want to charge with Airplane mode
Click to expand...
Click to collapse
OK got it. You could try the same thing but once the profile and tasks are created, delete the entry task so you only have an exit task. This way Tasker will only run a task (airplane mode off) when disconnecting your charger. It won't do anything if airplane mode is already off but it will switch it back off if you turned it on.
Sent from my HTC One using XDA Labs
Correct! Just remember that when you do what you suggest you should restart the app. I closed it and cleared the recents and reopened the app in order to apply the changes. They wouldn't take effect prior to doing that. So ... all things being equal you are absolutely right. Your way is much better, cos it guarantees that in case I want to charge with Airplane mode on, the Airplane mode will be disabled after a charge from ... say 60 to 70% ... in case I'm in a hurry and can only tap 10%. The approach I suggested only works in case you always reach up to the specified 90-ish% and that's not always doable as is the case with the example I gave of a quick charge from 60 to 70%!
Thank you big time for the support!
oh @alray ... as I said - By mistake I enabled the setting called 'Enable System+Module'. Is it actually better this way or should I disable it ... is it a problem?
Is it possible to have airplane mode on when the signal is really low ? and quit after a while ? If so how ?

How to switch to normal (ring ) mode

Hi there,
I use Takser v5.0u6 on my rooted OP5 Android 7.1.1 and i have a very simple question: How can i switch to "normal" mode ?
I have tried without any plugin, in tasker when i go to "Audio" and " do not disturb" it works like a charm, the device switchs from any mode to "Do not disturb" mode. But from this menu if a select the "ring" mode the scenario doesn't work, my phone doesn't switch to normal mode (i tried to change the Type for Alarm, Notification or Ring).
I have found a nice App "Sound Mode Tasker Plugin" which is a plugin for Tasker and it allow me to switch to silent mode, but switching to normal mode doesn't work neither
At work my phone is in silent mode and i would like it to switch to normal mode once i am at home, its seems to be a very simple action, i am sure someone already did this
I apply do not disturb for an overnight process, then in my normal process for the day time I include an action for do not disturb. I set mode to be All which removes do not disturb. Hopefully this is what your after
Hello mgdorbit, thank you for your reply, if a create a task with just one action "Do not distrub" mode "all" the mode of my phone doesn't change, if i am in silent i stay in silent mode, if i am in do not disturb i stay in do not distrub (which is normal) and if i am in normal mode i stay in normal mode.
Am i missing something here ?

How to disable Emergency Mode from showing in lock screen?

I recently had my Note 7 stolen (yes, I still had the original Note 7) and I just got a Note 8. I made it so the phone can't be turned off and disabled the power off and restart buttons using a package disabler. I did this for the sole purpose of making the phone be more capable of being tracked, with my last stolen phone being simply shut off and all.
However, there's still a way of disabling the tracking if someone knew how. If they put it on Emergency Mode (which still shows if you hold down the power button via the lock screen) the phone will no longer send or receive data as long as the screen is off. I've tried to track it this way and it will not show on the map if it is in Emergency Mode. How do I disable this button and what is the package name for it if it has one? The fact that someone can still turn my GPS off even from my lock screen annoys me. There must be a way around this. So if anyone knows the package name to disable this or some other way to turn this off that'd be great, thanks.
I have Cerberus and in the settings there is an option to block power button, so when pressed nothing happens, no way to turn emergency mode on as the menu doesn't come up.
Sent from my SM-N950F using XDA Labs

Categories

Resources