[Android Apps and Games] brandall:
V11 Up!

Overview

S'up folks... So, V11 may well be renamed to V11 'Final' soon :( - I'll fix any glaring bugs that are reported, but I'm pretty sure I've pushed Tasker to its limits when it comes to acting as a reporting application/tool of this type. I've gone round the houses on many, many tasks recreating what would otherwise have been available in an API in a moment...

I've said before that my focus was supposed to be providing wakelock reports in as much detail as possible (sorry nobnut!), but with every new (needed) version, this has been pushed to one side whilst struggling with the limits Tasker has when it comes to its technical functionality.

The above said, I'll now be concentrating on building the application as an .apk to put on the market. I can (and will) easily update the Tasker version with all of the new reporting methods I find, by posting a new script to run and I'll update the title accordingly V11.1/V11.2 etc.

I doubt I'll have a beta of the .apk ready for a month or two and I will start a new thread for it at that point - until then, I'll still be monitoring this thread to make sure there are no errors that are easily fixed for you.

Let me know your feedback folks!

Change Log

[B][U]V11[/U][/B]

* Inserted IF to deal with %CPUDSD being set to 'EOF' in DSDADhoc & DSDDO
* Inserted 'variable add' in DSDNotify to deal with %DSCOFF being set to zero on first display off'
* Included uptime output in error log
* Included %DSDDO & %CPUDSD in error log
* Added %UTEOF, %TISW & %UTW variables and loops to diagnose read/timing errors
* Added uptime fail-safe with routed task to time_in_state
* Added notification short-cut 'on-click' actions
* Included DSD version number in error log
* Added standard 2 second reduction to %DISPOFFINT due to lag
* Stopped scrolling notifications when in call
* Changed permissions levels
* Added flag-pass variable to prevent overlap
* Added 5 second wait to display off/on profiles to handle screen on/off 'flicks'
* Increased intelligence of loop checks
* Added sound to certain events
* Included ROM version in error reporting
* Removed %DSCL loop in favour of odd/even flag-pass
* Fixed %NOCOUNT prevention
* Included a second shutdown profile in case toolbox method is failing
* Moved binary folder inside DSD folder for ease
* Included Adhoc error reporting to save user requests
* Prevented cancelling all Tasker notifications on display off

[B][U]To Do[/U][/B]

* Make the information in the Detective Report more user friendly and understandable
* Receivers for wakeups during deep-sleep
* Solve Tasker media 'bug'
* Include Tasker version number in error log - Dev including in next beta

Installation Instructions

* Delete all profiles and DSD* tasks from Tasker

* Delete all DSD* profiles and DSD* tasks from the folders Tasker/Profiles & Tasker/Tasks

* Unzip the latest version download

* Place the task files in /sdcard/Tasker/Tasks

* Place the profile files in /sdcard/Tasker/Profiles

* Place the folder DSD on the root of your storage card (after deleting/renaming any current folder from a previous version)

In Tasker, from the menu options/profile data 'Import One (15) Task':

DSDDON

DSDDONTIS

DSDDOFF

DSDDOFFTIS

DSDIntMaths

DSDNotify

DSDAdhoc

DSDAdhTIS

DSDAhMathsDST

DSDAhMathsUPS

DSDFileSetUp

DSDSUPOP

DSDSuperUser

DSDWakelock

DSDErrorLog

In menu options/profile data 'Import One (11) Profile':

DSD-DisplayOn

DSD-DisplayOff

DSD-Incall

DSD-EndCall

DSD-Power

DSD-Boot

DSD-ShutDSH

DSD-ShutDTIS

DSD-Notify

DSD-Reboot

DSD-Media

The above profiles also contain the following 13 tasks, which will be automatically imported:

DSDDispOn

DSDDispOff

DSDDeviceBoot

DSDDuringCall

DSDEndCall

DSDCharging

DSDChargeEnd

DSDMedia

DSDMediaEnd

DSDNClick

DSDShutDSH

DSDShutDTIS

DSDReboot

First Run

* Ensure all of the task and profiles imported correctly

* Save out of Tasker to preserve the changes made

* Load Tasker and select the task DSDSuperUser

Thanks to nobnut and his testing, I've been able to establish that the SuperUser requests can take up to 30 seconds to appear. There is only one command that needs permission. DSDSuperUser has a 30 second wait time to give the SuperUser application a chance to prompt. If it hasn't appeared by the end of the wait time, there is a pop up asking if you want to run the task again - I hope you'll only need to run it once though!

* Press 'test' in DSDSuperUser and follow the instructions from there! PLEASE do read the readme file as it contains other important instructions!

Let's get detecting... :eek: