14
votes
Accepted
How to check if a package is enabled via shell?
pm list packages -d 2>/dev/null
will list up all disabled packages, one per line, preceded with the keyword package: – so output looks like
package:com.android.exchange
package:com.android.email
...

Izzy♦
- 90.8k
10
votes
Accepted
Where is Google's internal account authentication token located?
The authentication token for Google accounts and of other accounts which uses AccountManager class are stored inside:
/data/system/users/0/accounts.db # for Android Marshmallow and earlier
/data/...
6
votes
How can I disable notification for a specific gmail account during certain hours?
Try the app Quiet for Gmail from here https://play.google.com/store/apps/details?id=com.sgarcia.quiet_for_gmail
It toggles the sync of your email accounts on a schedule you can define. In addition to ...
6
votes
Tasker: Turn wifi on/off scheduled
I don't know what profiles you've tried, but that's one of Tasker's easiest jobs:
Condition: Time (set start and end time)
Task: Net › WiFi (set "off")
That's it. At "start time" WiFi will be ...

Izzy♦
- 90.8k
6
votes
How to detect locked screen in Tasker?
Create a profile Screen Locked triggered on the event Display Off and calling a task that sets a variable %SCREEN_LOCKED to true iff %SCREEN is off.
Create another profile Screen Unlocked triggered on ...
5
votes
Using OR logic in contexts for Tasker
just posting my solution to this problem if anybody ever comes here:
create a profile for each condition in the or statement
on enter %Reasons += 1
on exit %Reasons -=1
create a profile with ...
5
votes
Can I use Tasker to activate grayscale mode on my Galaxy S5 running Marshmallow?
Yes, if you have root access.
Tasker does not have the developer options built-in as something it can manage.
However, the developer options, like most preferences, are stored in a database behind ...
5
votes
How can I emulate pressing another application's Quick Settings tile?
In brief
Automating an already visible Quick Settings tile
# Click on a TileService of the specified component
cmd statusbar click-tile com.package.name/.service.QuickSettingsTileComponent
# You may ...
4
votes
Accepted
Create a profile to disable other profiles
Disabling a profile constitutes as an action so you need to do something in a task only. Tasker supports toggling the status of profiles from a task.
Create a new task and use this action: Tasker &...
4
votes
tasker to turn on do not disturb when plugged into charger
It doesn't work because you designed the action not to do anything but let Android disturb you, as usual. Here's what each entry corresponds to under Audio → Do Not Disturb:
None: silences all ...
4
votes
Accepted
Tasker: If variable - not connected to Wifi
You're going about this the wrong way.
Go to Profiles → (New profile) → State → Net → Wifi Connected. Leave SSID blank and tick "Invert". Link this profile to a task which ...
4
votes
Accepted
How do I use Tasker to download web images and set them as my background?
I just messed around with Tasker a little more and found an answer. For anyone who is curious here it is.
1. Create a new profile set to every 24 hours.
2. Add a new action
3. Search for and select ...
4
votes
Accepted
How to open a file located in a non-sdcard directory in Tasker?
The inbuilt Open File action doesn't seem to work for non-/storage file paths because it is hardcoded (I presumed from its error logs) to only load a file located under /storage/emulated/0. Even if ...
3
votes
Accepted
How to add screen filter with tasker?
Is this what you're looking for?
(Click image to enlarge)
I'm not good in drawing so excuse my skills for not providing a breathtaking scene at first glance. However, with multiple attempts, you may ...
3
votes
Accepted
do I pay for multiple downloads of paid apps?
Apps purchased through Google play store are linked to a Google account and not a device. This means you can purchase an app then use it on devices signed into the Google account that purchased it. ...
3
votes
Reconfiguring volume up and down buttons?
For Android 4.3 and above, I would recommend using Auto-Input by joaomgcd.
It allows you to
create a series of input actions, including physical button presses
and various taps and swipes, to ...
3
votes
Accepted
How to launch an app immediately after another app is closed using Tasker
You can setup an exit task. An exit task is assigned from the Profiles tab. Expand the entry of your profile, long-press the assigned task there and choose Add Exit Task.
(Click image to enlarge)
...
3
votes
Accepted
How to turn off Wi-Fi 15min after it had been turned on?
I am not familiar with Tasker , in Macrodroid another versatile automation app:
Trigger : WiFi state change → connected (choose network)
Actions:
Wait 15 minutes
WiFi configure → disable ...
3
votes
Automatically enable WiFi when you're near a saved network
I had same issue and finally found a link to this project:
https://www.reddit.com/r/tasker/comments/8p0ywt/project_share_switching_to_saved_wifi/
The project itself does a bit more, but shows one way ...
3
votes
How determine if Java object is null or not in Tasker?
There are two ways you can do null checking of Java objects.
The first way, direct from the userguide, is checking of the object Equals null:
If
A Java object can be directly referenced in a ...
2
votes
Root Terminal command to kill or stop a service?
you can execute: pm disable "packagename" to fully hibernate
apply pm enable "packagename" to enable again
Some info & examples (click images to show larger variant):
In case pm disable / ...
2
votes
Rename camera images from exif data using tasker
Use Tasker's native Java calls
Java code
Use ExifInterface.getAttribute to solve this problem.
exif = new ExifInterface( %filename )
%datetime = exif.getAttribute(exif.TAG_DATETIME)
Implementation ...
2
votes
Accepted
Tasker - If at least one context is true
From what I can tell you can't create a profile that will trigger when 1 of 2 conditions are met. To achieve what you are looking for tasker would have you create 2 separate profiles that choose the ...
2
votes
Accepted
Tasker: continually check for shell command result and run task when it matches
I see two ways to do what you want.
Run a time based profile and set it to repeat after every n minutes. Then follow your logical actions in the task of what to do when it crashes.
The other option (...
2
votes
How to turn off data after a certain amount
Try My Data Manager - Data Usage app.
It will notify you when you reach your data limit.
2
votes
Accepted
How to Delete Voicemails from VVM App Using Tasker
Deleting info on the Visual Voice Mail app itself was as simple as deleting the db file. This was located just above the folder containing the voice mails. It was in the format: xxx-xxx-xxxx@tmobile....
2
votes
Accepted
How to automate Android by code and GUI in Tasker?
Tasker can do Airplane mode only in Android 2.2 - 4.0. The application recommends to use Secure Settings plugin and rooted device to get the feature. It would be great to understand why Tasker fails ...
2
votes
In tasker, trigger when airplane mode is turned off
There are two possible ways to do this:
Checking the "Invert" tag on the Airplane Mode state, causing it to become active when Airplane Mode is off.
Using the Mobile Network state to detect when the ...
2
votes
Turn ringer to loud from vibrate when a particular contact calls
Try adding a Action -> Media -> Play Ringtone -> Type: Ringer to your Tasker profile, to explicitly play the default ringtone after you set full volume. You can also apply a custom ringtone ...
2
votes
Accepted
Can I get an app package name as a Tasker Variable upon a package updated event?
You can always employ adb at your service to do the hunting on your own. For example: after a successful update of an app if you immediately execute the following command and follow the section ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tasker × 347automation × 38
applications × 25
wi-fi × 14
intents × 14
bluetooth × 10
notifications × 9
sms × 9
settings × 9
calls × 8
shell × 8
adb × 6
root-access × 6
2.3-gingerbread × 6
profiles × 6
cyanogenmod × 5
sync × 5
mobile-data × 5
macrodroid × 5
whatsapp-messenger × 4
samsung-galaxy-s-3 × 4
4.1-jelly-bean × 4
4.2-jelly-bean × 4
7.0-nougat × 4
vpn × 4