Hello. I made a script that runs AOD when we get a notification. Works on EMUI 11
We need the Tasker app: Link to google play
1. Download the Tasker app and give permissions via ADB: adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
2. Turn on AOD in the system settings and in the Display mode tab: select Scheduled
3. Download AOD CONTROL
4. Start the Tasker app, click on the "house" icon (lower left corner) and select import project (import AOD_CONTROL.prj.xml)
5. Go to the "TASK" tab, hold down "START" until it is highlighted in orange and click on the "play" icon (upper right corner)
6. That's it, enjoy the AOD turning on with notifications on EMUI 11
Thanks for sharing
Related
Quick note for 4.4.2 and higher: I've upgraded to 4.4.2 and this method seems to have the reverse effect. The following tutorial applied to 4.3 and 4.4. If you have already followed this tutorial, upgraded to 4.4.2 or later, and Car Mode is not launching, disable or delete the "Kill App" action in the task.
Overview
If you are like me, you have a car dock and love to use the Car Mode on your HTC One. I'll let you know my setup below, but I believe this workaround will apply to any HTC One and car dock regardless of model. Keep in mind this is not a bug fix, rather a workaround.
My Setup
HTC One 64 GB (AT&T)
Rooted
ROM: Android Revolution HD 41.0 (at the time I wrote this)
Android 4.4 (tested on Android 4.3 as well)
HTC Car Dock
Symptoms
Docking your phone in your car dock after starting your car intermittently launches Car Mode.
Docking your phone prior to starting your car will launch Car Mode successfully every time.
When Car Mode does not successfully launch, you have to reboot your device (soft or hard reboot) to get it to work again.
What you need
Root
Tasker
Using Tasker to set up a workaround
Note: These are the steps to set up the profile and tasks. Alternatively, you can extract the attached ZIP file and import the XML file to Tasker.
In Tasker, go to the 'Tasks' tab
Click the '+' icon (New Task Name)
Enter a name for the task. I used "Car Mode Off'
In the Task Edit view, click the '+' (New App Action)
Select Action Category 'App'
Select App Action 'Kill App'
In App Selection, choose 'Car'. You will go back to the Action Edit view and the Car app/icon will be selected.
Check "Use Root" (I believe this is required since Car Mode is a system app)
Tap the back button twice to go back to the Tasks tab.
Go to the Profiles tab.
Click the '+' icon (Add Profile)
In the Context menu, select 'State'
Select State Category 'Hardware'
Select Hardware State "Docked'
In the State Edit window, select the Type 'Car'
Click the back button to display the Task Selection menu.
Select the task name from the menu that you created in Step 3.
If the new profile is not already expanded, tap the profile name (by default it will be named "Docked Car"
Long press the Task that currently shows as an Entry Task (green arrow pointing to the right) and choose 'Move to Exit'
Now that your profile is set up, press the Back or Home capacitive button on your device to save the profile.
After I did this, I had 100% success rate in launching Car Mode. I did have one issue after playing around with the profile a bit, so if you find that you have a static, non-clearable notification in your Notification Bar that says 'Speak' is running because Car Mode is active, know that it is a liar. It's not actually running. You can verify this by doing a three-finger tap on your screen and find that nothing happens. If Car Mode was indeed running, the Speak app would launch and ask for a voice command. To get rid of this notification (which is pointless anyway, IMO), do the following:
With your phone NOT in Car Mode, go to Settings > Apps > All > Speak
Uncheck 'Show Notifications'
Does anyone know where I can find the Notification Access option? I tried looking through the settings, but couldn't find anything. Thank you in advance.
It doesn't appear they put a link for it in the rom, I don't think it's the only thing they left out.
Two ways to do this.
1. Install "Light Flow", it will ask you to turn on Notification Access and open it for you. Don't enable it for Light Flow or you won't be able to get back there using Light Flow.
2. Buy and run Nova Launcher Prime, then install TeslaUnread, run it and tap on Notification Bar Watcher to open the notification access setting.
If you use Nova Launcher, you can create a shortcut to almost any settings menu with their activities widget. Other launchers may be similar.
1. Press and hold to bring up the settings options.
2. Choose Widget
3. Under Nova Launcher at the top choose "activities". Press and hold to drop to the screen.
4. Scroll down the menu that pops up until you get to "settings".
5. Press the arrow on the left of settings and then scroll and select the item you want. In this case it would be "notification access".
Sorry for the late notice. I was able to get access to the Notification Access by installing the Mi Band Notify. I was setting up the Xiaomi Mi Band to alert me when I received text messages. As soon as the program was launched, it prompted me to enable the notification access. Thank you for following up.
Is there any way to enable this stock feature on P9?
It's infuriating that I can't click "Do not disturb" and then select "for [x] hours".
Download Activity Launcher. Open application-select all activities-select system UI- select demo mode- select Do Not Disturb.
Now exit the application. When you now press the volume down for example you will see the Do Not Disturb slider.
You can select Do Not Disturb slider and the desired time for TOTAL SILENCE - ALARMS ONLY - PRIORITY ONLY
Hello guys,
I try to set tasker to my new Mate 20 phone. I installed it with all authorizations, and I disabled the automatic save power control.
I set a first task – turn Bluetooth ON at 9AM. The task is running but at 9AM the Bluetooth is steel OFF and on the screen I have a popup “Allow Tasker to enable Bluetooth ?”.
A second task – Put the phone in Vibration mode at 10AM. At 10AM the phone switch to Vibration, but on the screen I have another popup “The vibration mode is activated”.
Why these popups, what I missed ?
Thanks for your help
Sounds like those popups came from another app. Maybe some security app or a preinstalled app from Huawei, which monitors who enables / disables system services. Do you see those popus also when you enable / disable bluetooth in the phone settings?
Try to identify the app / service owner of the popup by pressing long onto the popup. When you see a context menue choose app info.
Tasker Clipboard Manager
by M.M.K
Did you ever copy an important piece of text, suddenly copied another line over that?
Nothing to worry if you have a simple clipboard manager.
Especialy when you have access to the history from 3 years ago
Tasker Clipboard Manager:
1. Quick Settings clipboard shortcut, so you can access the clipboard manager anywhere. (Add shortcut from tasker settings)
2. Quick access to 7 recent clipboard entries you copied.
3. Access to Unlimited records of your clipboard history in a text file along with each entry date and time (so you can search)
4. Clipboard Manager Paste option (root needed, unrooted mates can use default android paste option)
5. No Tasker plug-in is needed.
I've been searching for a light and handy clipboard manager without asking too many permissions and I couldn't get along with the existing ones. So I made this simple clipboard using Mat Zolnierczyk's clipboard core file.
Also since I hate lots of plug-ins beside tasker, I made this clipboard manager based on Tasker only. No other plugins are needed.
- The history file is in /sdcard/android/clipboard.txt
How to set up?
Procedure is explained in the next post.
- Import the clipboard project file (attached to the post) in the tasker.
- Set up the project.
Never tried Tasker before? Give it a try.
if you liked
How to import Tasker Clipboard Project (Set up)
------ Setting up the Clipboard:
1. Import the project in Tasker (no plug-ins needed),
To import a project in tasker, first disable the beginner mode in the UI Settings. Then press and hold on Home ? icon placed in the left bottom area of the app.
Now select import project. Choose Clipboard_by_mmk.prj.xml
2. Set up the Clipboard Quick Settings Tile in order to access Clipboard anytime,
Go to Tasker's preferences, ACTION tab, choose our Clipboard task in one of Tasker's Quick Settings Tasks.
Add Tasker's Clipboard Quick Settings Tile to your device quick settings.
3. Approve Tasker the permission to access and listen to device clipboard through ADB (required in Android 10+): (enter each line individually)
adb -d shell appops set net.dinglisch.android.taskerm SYSTEM_ALERT_WINDOW allow
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant net.dinglisch.android.taskerm android.permission.READ_LOGS
adb shell am force-stop net.dinglisch.android.taskerm
Clipboard set up is done.
------ Please Note:
* If your device is not rooted, you can copy previous entries from the clipboard and paste it yourself manually, as clipboard Paste button only works with Root. Tasker doesn't have paste function without root afaik and using plug-ins would have been a hassle.
* Your clipboard history is stored at: sdcard/Android/clipboard.txt
------ Credits to:
Mahdi Karimi for Interfaces and History functions.
Mat Zolnierczyk for the ClipboardManagerCore.task
Hi,
Is it possible to import a .txt file from "Clip Stack" into Tasker Clipboard Manager?
Thanks,
Alex
Sent from my OnePlus7TProNR using XDA Labs
Hey, would it be possible to add to this this cliphistory pannel a second tab with all clips we bookmarked?
Like in ClipStack?