Root Install Tasker and anti-theif - Nexus 5 Q&A, Help & Troubleshooting

So i am setting up my standard anti-thief profiles and i just want to know is there any way Tasker or its plugins can disable hardware buttons and also is there a way for me to install tasker + its data to the system partition so that if the phone did get reset all my profiles and setting would still be on it
Thanks

Related

Permanently enable developer options [disable hardware overlays]

like the title says. how do i make developer options permanent thru reboots power offs. Because some of those settings are the only way I can run, certain aspects of my Samsung i727 running CM 10.2 stable, smoothly.
Also why won't my games run efficiently without HW overlays enabled, what gives?
drago10029 said:
like the title says. how do i make developer options permanent thru reboots power offs. Because some of those settings are the only way I can run, certain aspects of my Samsung i727 running CM 10.2 stable, smoothly.
Also why won't my games run efficiently without HW overlays enabled, what gives?
Click to expand...
Click to collapse
I'm not an expert by any means...but the best way I've found to make 'disable HW overlays' persistent (on my Rikomagic MK802IIIs) is to use Tasker and Secure Settings. Create a task and name it whatever you like. Then create an action / plugin / Secure Settings / Hardware Overlays (under Root Actions). Set the desired state to Off and save. Then make a Profile to trigger that task. I tried doing the system / boot event, but that failed horribly. So instead I currently use Wifi connected state. When my device boots, as soon as the wifi sees my network SSID, Tasker checks the Disable HW Overlays option in Developer Options. Works slick for my purposes.
loadedlen said:
I'm not an expert by any means...but the best way I've found to make 'disable HW overlays' persistent (on my Rikomagic MK802IIIs) is to use Tasker and Secure Settings. Create a task and name it whatever you like. Then create an action / plugin / Secure Settings / Hardware Overlays (under Root Actions). Set the desired state to Off and save. Then make a Profile to trigger that task. I tried doing the system / boot event, but that failed horribly. So instead I currently use Wifi connected state. When my device boots, as soon as the wifi sees my network SSID, Tasker checks the Disable HW Overlays option in Developer Options. Works slick for my purposes.
Click to expand...
Click to collapse
will this work for JB4.12?
loadedlen said:
I'm not an expert by any means...but the best way I've found to make 'disable HW overlays' persistent (on my Rikomagic MK802IIIs) is to use Tasker and Secure Settings. Create a task and name it whatever you like. Then create an action / plugin / Secure Settings / Hardware Overlays (under Root Actions). Set the desired state to Off and save. Then make a Profile to trigger that task. I tried doing the system / boot event, but that failed horribly. So instead I currently use Wifi connected state. When my device boots, as soon as the wifi sees my network SSID, Tasker checks the Disable HW Overlays option in Developer Options. Works slick for my purposes.
Click to expand...
Click to collapse
I think this would work better with the activate on boot option, what's wrong with that? I'm not always on Wifi :/

GPS mode setting change by App

My Nexus 5 is mostly on Battery saving mode all the time.
When using Google Maps, I do want to use the High Accuracy mode but changing mode frequently is troublesome.
Is the any Apps or Setting that will automate changing mode with different Apps??
Is this doable??
I use Tasker for this. But my english ist not good enough to explain this correctly
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
If you go the Tasker route you'll also need to install Secure Settings and the Helper Alternative within Secure Settings or the plug in will not toggle GPS.
Ok, thanks. I will try Tasker.
Trying my best to stay stock on Nexus 5 but Custom Rom is getting more tempting will all the extra setting baked in.

[Q] Security

Hi, my phone's security is always set to slide, but i want it to automatically change to pattern or PIN for ex. from 23:00 - 06:00 and then set back to slide after that time interval. Does anyone have a solution for this?
Thanks in advance
EDIT: I have root so all apps that require it and can solve my problem are welcome
nasye said:
Hi, my phone's security is always set to slide, but i want it to automatically change to pattern or PIN for ex. from 23:00 - 06:00 and then set back to slide after that time interval. Does anyone have a solution for this?
Thanks in advance
EDIT: I have root so all apps that require it and can solve my problem are welcome
Click to expand...
Click to collapse
I would recommend using Tasker along with Secure Settings. Secure Settings is necessary after 4.1, I believe, for changing certain things like unlock security and airplane mode, to name a couple. Set a Tasker profile for the time period you specified, then for the task, go to 3rd party and select the Secure Settings, set up which lock method, then add an exit task for turning it off.
lightningdude said:
I would recommend using Tasker along with Secure Settings. Secure Settings is necessary after 4.1, I believe, for changing certain things like unlock security and airplane mode, to name a couple. Set a Tasker profile for the time period you specified, then for the task, go to 3rd party and select the Secure Settings, set up which lock method, then add an exit task for turning it off.
Click to expand...
Click to collapse
Thank you for good and quick response
I'm able to do this with Llama as well.

[Tasker] Profiles to toggle Flash Notification setting automatically

Description
In light of not having a dedicated notification LED I set up some Tasker profiles to toggle the Accessibility setting Flash Notifications. I don't want it flashing while I'm using my phone, or while in my car on my wireless charging mount. This consists of 2 profiles and four tasks.
First profile will disable Flash Notifications when your screen is on and enable it when your screen is off, unless the Car profile says it's in your car and on your charger.
Second profile will disable Flash Notifications when it's connected to your car's Bluetooth (be sure to set it to your cars Bluetooth address), AND it's on the charger, unless the Screen profile says the screen is on, in which case the Flash Notifications will remain disabled until you turn you screen off. In my car, I use a wireless charger, so taking it off the charger disconnects power, and putting it back on the mount reconnects power automatically. My idea was that I don't want the Flash distracting other drivers, cuz they have a hard enough time being competent as it is. If you don't use a wireless charger or don't have Bluetooth in your car, you might have to tweak the activation of this profile to your specific case.
I have never shared a Tasker Profile before, so if anyone's interested in this and it doesn't import or something let me know.
Downloads
I am providing both downloadable attachments, and links to download from Tasker's site. You must also have Tasker and Tasker's helper app "Tasker Settings" installed.
Screen Profile Download Link
Car Profile Download Link
Tasker
Tasker Settings Helper App
I don't recall having to use adb to grant Tasker special permissions, but I will be doing a fresh install of this on my wife's phone tomorrow and will update if you need to.
<Reserved>
Useful. Thanks.
lightmastertech said:
Description
In light of not having a dedicated notification LED I set up some Tasker profiles to toggle the Accessibility setting Flash Notifications. I don't want it flashing while I'm using my phone, or while in my car on my wireless charging mount. This consists of 2 profiles and four tasks.
First profile will disable Flash Notifications when your screen is on and enable it when your screen is off, unless the Car profile says it's in your car and on your charger.
Second profile will disable Flash Notifications when it's connected to your car's Bluetooth (be sure to set it to your cars Bluetooth address), AND it's on the charger, unless the Screen profile says the screen is on, in which case the Flash Notifications will remain disabled until you turn you screen off. In my car, I use a wireless charger, so taking it off the charger disconnects power, and putting it back on the mount reconnects power automatically. My idea was that I don't want the Flash distracting other drivers, cuz they have a hard enough time being competent as it is. If you don't use a wireless charger or don't have Bluetooth in your car, you might have to tweak the activation of this profile to your specific case.
I have never shared a Tasker Profile before, so if anyone's interested in this and it doesn't import or something let me know.
Downloads
I am providing both downloadable attachments, and links to download from Tasker's site. You must also have Tasker and Tasker's helper app "Tasker Settings" installed.
Screen Profile Download Link
Car Profile Download Link
Tasker
Tasker Settings Helper App
I don't recall having to use adb to grant Tasker special permissions, but I will be doing a fresh install of this on my wife's phone tomorrow and will update if you need to.
Click to expand...
Click to collapse
I'm a complete idiot when it comes to Tasker. I have compiled ROMs from source, made many Smali edits, built themes (all many years ago when I had time) but never spent the time to figure out Tasker.
I would like Tasker to disable Holey Light (see screenshot) when Do not disturb is turned on and re-enable it when Do not disturb is turned off. Would you know how to (or could you make a profile) do this?
bp328i said:
I'm a complete idiot when it comes to Tasker. I have compiled ROMs from source, made many Smali edits, built themes (all many years ago when I had time) but never spent the time to figure out Tasker.
I would like Tasker to disable Holey Light (see screenshot) when Do not disturb is turned on and re-enable it when Do not disturb is turned off. Would you know how to (or could you make a profile) do this?
Click to expand...
Click to collapse
I second this!!!!
Tasker looks like a super useful tool, but f*** why make it so complicated and not user friendly.
I recently tried MacroDroid and like it more, but its definitely limited compared to Tasker from what I've learned, but it did work while I used it.
To disable Holey Light while in DND would be very nice to have. Please advise.
elite-fusion said:
I second this!!!!
Tasker looks like a super useful tool, but f*** why make it so complicated and not user friendly.
I recently tried MacroDroid and like it more, but its definitely limited compared to Tasker from what I've learned, but it did work while I used it.
To disable Holey Light while in DND would be very nice to have. Please advise.
Click to expand...
Click to collapse
I'm not sure if Tasker can change the settings of another app without said app already being programmed to be controlled by Tasker. I'll have to see if this is possible.
Also, considering Holey Light is still in beta and being developed, you might try contacting Chainfire and seeing if he can add this setting to the app natively.
lightmastertech said:
Also, considering Holey Light is still in beta and being developed, you might try contacting Chainfire and seeing if he can add this setting to the app natively.
Click to expand...
Click to collapse
He's looking into adding Do not disturb but I already found a workaround for my problem. In Holey Light I just turn off for it to work when charging and screen is off. I charge my phone every night so it works out fine for me.
bp328i said:
He's looking into adding Do not disturb but I already found a workaround for my problem. In Holey Light I just turn off for it to work when charging and screen is off. I charge my phone every night so it works out fine for me.
Click to expand...
Click to collapse
Only way I can think of having Tasker control it as is, would be to enable disable notification permissions or Accessibility service, both of which require root to do and I have the unrootable US Snapdragon variant.
On another note, Sammy has already added a variation of ring notifications that I'm sure they will expand on. As if now, it works with system apps with screen on or off, and with user apps with screen on.
lightmastertech said:
Only way I can think of having Tasker control it as is, would be to enable disable notification permissions or Accessibility service, both of which require root to do and I have the unrootable US Snapdragon variant.
On another note, Sammy has already added a variation of ring notifications that I'm sure they will expand on. As if now, it works with system apps with screen on or off, and with user apps with screen on.
Click to expand...
Click to collapse
I appreciate it, I also have the unrootable US Snapdragon.
Samsung's current implementation of the notification light is just plain useless. It stays on for like 5 seconds.
Holey Light is working perfectly for me the way I have it set up.

Question How to prevent apps from auto starting at boot

Hello,
All is in the topic, I've got an app that starts automatically when my phone is powered on.
It is Aircall, an app I use for passing and receiving calls at work.
I would like this app not to start automatically each time I power on the phone.
Is there a setting for disabling some apps to autostart ? Or an app you can advise ?
Thanks for your help.
Check the app's preferences to see if there are options.
In the Android settings, go to Apps > See All > (your app. eg Air Call) > App battery usage and set it to 'restricted.' This will greatly restrict an app's ability to do many things in the background.
Other than that, you'd have to root your device to get any more control over the app using something like Servicely (Google Play Store), My Android Tools (apkmirror.com), Permission Manager X (fdroid), AppOppsX (fdroid), or Blocker (fdroid) to control the app's broadcast receivers. Apps can choose to respond to various phone states such as when a boot is completed, when network connectivity changes, power is connected/disconnected, etc. It can take some aggressive action to fully prevent an app from always running.
If you're just annoyed by a notification icon in your notification area you can always disable that app's notification so it doesn't appear.
I have tried all of these things to control apps but if apps use a lot of various broadcast receivers they will find ways to keep running. You may find stopping it to have unintended consequences. It being a work app, I'd consider simply disabling the app's notificaiton if it has a persistent notifcation or something. The next step would be to restrict the app as in 2. The most aggressive thing is to root and tinker with its broadcast receivers.
Hello jawz101,
Thank you very much for this very complete answer.
All your precise instructions are very interesting.
I'll have a look at all these solutions.
Thanks again.
I am not sure about straight forward solution. But I would like to use Greenify app. Add apps to it once and run it once everytime you restart your phone.

Categories

Resources