[Android Apps and Games] brandall:
Change Log

[B][U]V13[/U][/B]

* Direct execute shell commands via Tasker (no longer use locale plugin)
* Changed logic for end call to prevent 'display off data stolen' errors
* Removed incorrect %DSCOFF variable clear in TIS tasks
* Corrected the DSDAdhocTIS upload
* Cleared errorlog.txt to avoid file failures
* Included toolbox generic tests in error log
* Populated XDA Username in error log and ReadMe
* Included busybox version in error log
* Let DisplayOff handle %NOCOUNT clearing
* Calculated time_in_state using shell (too many frequencies on recent devices)
* Included IF/ELSE logic in certain tasks
* Added failsafe for missing time_in_state files
* Set permissions using busybox to avoid permission to set permissions error!!
* Corrected binary PS request
* Increased data collected in error logging (nothing personal of course).
* Tried my best to make notification click work correctly...
* Collected DSP data when incoming call wakes from sleep and display goes off.
* Included Tasker version number in error log - credit [URL="http://xdaforums.com/member.php?u=2440628"]fubaya[/URL]
* Replaced all Test File actions
* Improved logic in almost every task
* Lots of other things I can't remember...

[B][U]V12[/U][/B]

* Uploaded [B]DSDAhocTIS [/B] in the V11 .zip file instead of [B]DSDAhTIS[/B] :mad:
Credit - [URL="http://xdaforums.com/member.php?u=2824949"]1337GamingNinja[/URL]

Please got to [URL="http://xdaforums.com/showpost.php?p=16089263&postcount=760"]this post[/URL] for the additional [B]DSDAhTIS[/B] download to the V11 .zip below

[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

[B][U]V10[/U][/B]

* Called time in state data via script to avoid permission errors
* Reverted DSDDO, DSDShutdown, DSDAdhoc to the above
* Added wait times and loops to allow for delays
* Removed DSDXDAUN as it was too buggy
* Reordered tasks to allow for multiple calls of single script
* Removed directory/file making tasks to minimise possible set-up errors
* Removed unnecessary permissions from script
* Added further dynamic script controls to increase speed of shutdown task
* A few more bits and bobs...

[B][U]V9n[/U][/B]

* Added missing files! Thanks [URL="http://xdaforums.com/member.php?u=2393301"]nobnut[/URL]

[B][U]V9[/U][/B]

* More notifications of what is going on to update the user and identify error sources
* Error logging and request to email the details included
* Updated reporting tools and information
* Increased intelligence of tasks
* Included 'self-checking' of necessary actions
* Standard binary injection
* Standard file permissions on boot
* Fixed screen off/on/power/on/off entanglement
* Updated aesthetics

[B][U]V8a[/U][/B]

[!] Sorry to those that have already downloaded V8, but I needed to make changes for the reports to function correctly - Damn those SU requests!

* Changed set-up tasks to try and ensure SU requests are approved.

[B][U]V8[/U][/B]

* Added preventative for %DSCOFF failing to populate in DSDDO
* Added notification to DSDDisplayOn if DSP was unavailable during screen off time
* Added wakelock capture to DSDDisplayOff
* [strike]Added IF != 0 to %DSCON in set to % action of DSDNotify[/strike]
* Added wakelock hunter to DSDDisplayOff
* Changed multiple locale commands to shell script dynamically composed by Tasker
* Added script to match wakelocks to owner applications/processes - BIG thanks to [URL="http://xdaforums.com/member.php?u=3390610"]waydownsouth[/URL]
* Cut report building time down to under [strike]10[/strike] 5 seconds
* Added IF and GoTo actions to avoid the bad maths eval errors on constants
* Added DSDSetUp task with ReadMe.txt
* DSDSetUp to create directories and files
* Added 'spoiler' preventing to DSDNotify
* Added display off media context
* Added Further test file actions to avoid empty reports
* Changed collision handling and task priorities
* Added additional variable clear actions to avoid possible data corruption
* Too many more to list...

[B][U]V7[/U][/B]

* Removed due to a patent infringement claim by Apple

[B][U]V6[/U][/B]

* Removed additional % in DSD-BootReport - credit [URL="http://xdaforums.com/member.php?u=2393301"]nobnut[/URL]
* Reverted to linux/locale 'toolbox' commands for report information - credit [URL="http://xdaforums.com/member.php?u=2178960"]Pulser_g2[/URL]
* Reverted to Tasker handling all calculations - Speed Test proved Locale Plugin to be much slower
* Removed pop-up tasks as they are fugly
* Added 'wait until' actions before %CPUTIS to ensure data from file is written

[B][U]V5[/U][/B]

* Changed PSD to DSP in Flash action #33 in DSDAhMaths - TYPO! Thanks [URL="http://xdaforums.com/member.php?u=2393301"]nobnut[/URL]
* Removed unneeded variable clear action in DSDNotify
* Ticked missing 'do maths' in action #13 of DSDAdhoc
* Added minimal uptime threshold until tasks are expected to perform maths to avoid data corruption
* Corrected %CPUDSDD error in action #8 of DSShutdown
* Corrected adding X% in DSD-Shutdown write file action as '%' is looked for for errors... Oops.
* Removed append from above write action to minimise possible errors.
* Added functionality to sum scaling frequencies using locale
* Added above command to DSDSuperuser, DSDAdhoc & DSDDO
* Added additional variable clear caution in DSDDO to avoid %CPUDSDD1 & %CPUTISD1 being used.

[B][U]V4[/U][/B]

* Append box should be unticked in action #1 of DSDShutdown
* Corrected variable clear data in %DSDDO
* Added variable clear %DSDDOS to end DSDDispOn
* Added file existence check to DSDDeviceBoot
* Added safety value to %DISPOFFT to prevent knock-on failures if not set
* Reverted to V1 DSDDO due to toolbox differences in devices
* Reverted to V2 DSDAdhoc due to toolbox differences in devices
* Removed unneeded actions from DSDSuperUser due to revert
* Added '+' '-' & 'Zzzz' popups to confirm task flow
* Added DSDAdhoc into .zip
* Reverted to V2 DSDShutdown due to toolbox differences in devices

[B][U]V3[/U][/B]
* Removed 'append' from action #1 of DSDShutdown to avoid looping data corruption
* Corrected error in IF statement in the task DSDIntMaths
* Added 400ms wait task after locale fetch in #2 of DSDDO
* Ad-hoc tasks added so information can be viewed at any time
* Restructured A LOT of the tasks
* Included more information in report files
* Lots more I've forgotten

[B][U]V2[/U][/B]
* Changed 'between boot report maths' to boot instead of trying to rush them in before shutdown
* Used locale/linux to perform some of the maths as I assume it's quicker?
* Cut down task sizes due to above
* Altered structure of output files for easy reading
* MASSIVE boot task that hurt my brain

Bugs

* Transition power on/off / display on/off + incall - Solved in V9

* Binary package differences from device to device - Solved in V6 - Credit Pulser_g2

* DSDAdhoc providing erroneous results on first run after charge - Solved V6

* SGSII needs different files - post if you need them - Solved in V4

* DS Data Failure Notification on boot - Solved in V2

* I'm getting a prompt to click on a file at boot, but it fails? - Solved in V2

* I'm getting Not Numeric errors when I open Tasker - Solved in V3

* I'm getting an error %CPUDSDD is not numeric? - Solved in V3

* DSDDeviceBoot is not running correctly? - Solved in V3

* The boot file isn't being written? - Solved in V3

* Media profile is deactivating when the music application is no longer in the foreground - Dirty solution for now is to switch the screen off only when you are in the application... - I'm on it

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:

The thanks meter lets me know I'm appreciated! :eek: