[Huawei P20 Pro Themes, Apps, and Mods] djparent:
★★★Hey all! I'll start by assuming anyone reading this post is using a P20 Pro, on stock ROM, already familiar with Tasker AND rooted. If you have a P20 Pro and you're rooted, but have no experience with Tasker, I may still be able to lend some experience. But if you are not using a P20 Pro, or you are not already rooted, even if you're down with Tasker you'll have to figure out the first two somewhere else then come back here.★★★

Okay then. I love this phone. I mean f@#king love it. My previous 2 phones were the unrootable Canadian variant LG G5 and the fragile as glass Sony Z2. Needless to say it's been a while since I've enjoyed all the splendors that come with a rooted phone and had a lot of catching up to do. You may have seen me recently poking around elsewhere asking questions like a noob as lots has changed since Chainfire dominated the su scene lol. Magisk is absolutely amazing once figured out, and as always I've been forever grateful to the helpful community here at XDA and wishing I had more to give back. So here's a small offering, however useful it may be to any of you. It's a simple app, built in Tasker, that allows to restart the system ui, perform a software reboot (fast reboot), full hardware reboot, shutdown, enable/disable ADB, enable/disable WIFI scanning even when off, and enable/disable the high volume headphone warning. I even included light and dark themes! Please keep in mind this was built in Tasker App Factory and I am not a programmer, so while I may be able to take requests to add more switches for hidden features I have no designs on improving the interface. I am also sharing the Tasker files for the task and scene I built for anyone ambitious enough that may want to modify them for themselves. You MUST be rooted for any of this app/task to work, but you do not need to install any additional plugins. All the commands are native in Tasker thanks to recent updates. Without further ado, may I present to you a very simple P20 Pro power/hidden features menu:

[IMG="Dark Theme"]https://image.ibb.co/diBrg8/Screenshot_20180730_051416.jpg[/IMG]

[IMG="Light Theme"]https://image.ibb.co/doytuT/Screenshot_20180730_051409.jpg[/IMG]

The downloads are below. If you install the APK you don't need the Tasker files and vice versa. One or the other. I've also included my Tasker task for closing all recent apps with one touch. Again it requires no outside plugins, only root and the latest version of Tasker. I'm going to reserve the first few posts, I've got other Tasker profiles that are peculiar to this phone others may find useful such as Smart Unlock at home. I'll post that soon and maybe a few others. If anyone has useful Tasker tricks for the P20 they'd like to share please do so! I'll move the best ones up here to the first post. (if anyone actually reads this hahaha....) :cowboy:

Please uninstall any old versions before installing the update.

[UPDATE: App and Tasker files have been updated with options to reboot into bootloader or whichever recovery you currently have installed.]

[UPDATE 2: Improved the UI and cleaned up the routines, runs smoother and more reliable]

[UPDATE 3: Fixed broken reboot command, please install latest version from below]

[UPDATE 4: MAJOR UPDATE: Overhauled the UI, cleaned up more commands, added Model, Build Version and Uptime to main screen]