[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] mkhcb:
Since I like Flash Kernel, I made this Tasker updater.

Attached below I have not only posted the apk, but the code. The code can be adapted to virtually any kernel with a dedicated host that has a file tree.

Link to the APK: https://www.dropbox.com/s/ejuxgxv0gpea13s/FlashK.26.apk?dl=0

Link to the Tasker scene file: https://www.dropbox.com/s/1qhvl12j7gviter/FlashK.scn.xml?dl=0

<TaskerData sr="" dvi="1" tv="5.1m">
<dmetric>1080.0,2052.0</dmetric>
<Scene sr="sceneFlashK">
<cdate>1518793267319</cdate>
<edate>1518832087994</edate>
<heightLand>1042</heightLand>
<heightPort>2052</heightPort>
<nme>FlashK</nme>
<widthLand>1080</widthLand>
<widthPort>1080</widthPort>
<ImageElement sr="elements0" ve="2">
<flags>12</flags>
<geom>0,0,1077,2052,0,0,1080,1042</geom>
<Str sr="arg0" ve="3">Wallpaper</Str>
<Img sr="arg1" ve="2"/>
<Int sr="arg2" val="255"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#FFFFFFFF</Str>
<Str sr="arg3" ve="3"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
</ImageElement>
<WebElement sr="elements1" ve="2">
<flags>4</flags>
<geom>52,376,975,625,0,0,1077,851</geom>
<pageloadedTask>14</pageloadedTask>
<Str sr="arg0" ve="3">WebView1</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">http://nchancellor.net/downloads/kernels/op5/8.x/%KernelName-changelog.txt</Str>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#00FFFFFF</Str>
<Str sr="arg3" ve="3"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="5"/>
<Int sr="arg7" val="0"/>
</RectElement>
</WebElement>
<TextElement sr="elements2" ve="3">
<clickTask>13</clickTask>
<flags>4</flags>
<geom>227,1176,624,200,327,817,449,225</geom>
<Str sr="arg0" ve="3">Versions</Str>
<Str sr="arg1" ve="3">Installed Version: %InstalledV
Current Version: %currentV21</Str>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF060000</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
<Int sr="arg8" val="0"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#42FFFFFF</Str>
<Str sr="arg3" ve="3"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
</TextElement>
<ButtonElement sr="elements3" ve="3">
<clickTask>17</clickTask>
<flags>4</flags>
<geom>302,1401,200,200,327,767,475,275</geom>
<Str sr="arg0" ve="3">DownloadK</Str>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="6"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF0C0100</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Img sr="arg7" ve="2">
<nme>mw_file_cloud_download</nme>
</Img>
</ButtonElement>
<ButtonElement sr="elements4" ve="3">
<clickTask>18</clickTask>
<flags>4</flags>
<geom>577,1401,200,200,352,342,375,700</geom>
<Str sr="arg0" ve="3">InstallK</Str>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="102"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF120100</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Img sr="arg7" ve="2">
<nme>mw_image_flash_on</nme>
</Img>
</ButtonElement>
<SwitchElement sr="elements5">
<checkchangeTask>11</checkchangeTask>
<flags>4</flags>
<geom>427,1051,175,100,402,842,275,200</geom>
<Str sr="arg0" ve="3">Switch1</Str>
<Int sr="arg1" val="0"/>
<RectElement sr="background">
<flags>4</flags>
<geom>-1,-1,-1,-1,-1,-1,-1,-1</geom>
<Str sr="arg0" ve="3"/>
<Int sr="arg1" val="1"/>
<Str sr="arg2" ve="3">#00FDFDFD</Str>
<Str sr="arg3" ve="3">#002010D6</Str>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">#FF000000</Str>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</RectElement>
</SwitchElement>
<TextElement sr="elements6" ve="3">
<flags>4</flags>
<geom>252,1051,224,100,277,776,224,100</geom>
<Str sr="arg0" ve="3">stabletxt</Str>
<Str sr="arg1" ve="3">Stable</Str>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF060000</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
<Int sr="arg8" val="0"/>
</TextElement>
<TextElement sr="elements7" ve="3">
<flags>4</flags>
<geom>602,1051,224,100,602,776,224,100</geom>
<Str sr="arg0" ve="3">Betatxt</Str>
<Str sr="arg1" ve="3">Beta</Str>
<Int sr="arg2" val="16"/>
<Int sr="arg3" val="100"/>
<Str sr="arg4" ve="3">#FF000000</Str>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
<Int sr="arg8" val="0"/>
</TextElement>
<ImageElement sr="elements8" ve="2">
<flags>4</flags>
<geom>52,26,977,351,0,0,1077,301</geom>
<Str sr="arg0" ve="3">Image2</Str>
<Img sr="arg1" ve="2">
<uri>content://com.android.providers.downloads.documents/document/473</uri>
</Img>
<Int sr="arg2" val="255"/>
</ImageElement>
<PropertiesElement sr="props">
<Int sr="arg0" val="2"/>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3">#33FFFFFF</Str>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3">FlashK</Str>
<Str sr="arg5" ve="3"/>
<Img sr="arg6" ve="2"/>
<Str sr="arg7" ve="3"/>
</PropertiesElement>
</Scene>
<Task sr="task11">
<cdate>1518801026665</cdate>
<edate>1518801026665</edate>
<id>11</id>
<pri>102</pri>
<Action sr="act0" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/kerneltype.txt</Str>
<Str sr="arg1" ve="3">%kerneltype</Str>
</Action>
<Action sr="act1" ve="7">
<code>50</code>
<Str sr="arg0" ve="3">FlashK</Str>
<Str sr="arg1" ve="3">Switch1</Str>
<Int sr="arg2">
<var>1</var>
</Int>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%kerneltype</lhs>
<op>0</op>
<rhs>on</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act10" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV2</Str>
<Str sr="arg1" ve="3">-changelog</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act11" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%InstalledV</Str>
</Action>
<Action sr="act12" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%KernelName</Str>
<Str sr="arg1" ve="3">rc/FlashKernel-OP5-v%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act13" ve="7">
<code>43</code>
</Action>
<Action sr="act14" ve="7">
<code>50</code>
<Str sr="arg0" ve="3">FlashK</Str>
<Str sr="arg1" ve="3">Switch1</Str>
<Int sr="arg2">
<var>0</var>
</Int>
</Action>
<Action sr="act15" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/kerneltype.txt</Str>
<Str sr="arg1" ve="3">off</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act16" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking current STABLE version</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act17" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/stable</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">/sdcard/FlashK/site.txt</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act18" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/site.txt</Str>
<Str sr="arg1" ve="3">%currentV</Str>
</Action>
<Action sr="act19" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV</Str>
<Str sr="arg1" ve="3">FlashKernel-OP5-v</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%element_name</Str>
<Str sr="arg1" ve="3">%new_val</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act20" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV2</Str>
<Str sr="arg1" ve="3">-changelog</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act21" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%InstalledV</Str>
</Action>
<Action sr="act22" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%KernelName</Str>
<Str sr="arg1" ve="3">stable/FlashKernel-OP5-v%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act23" ve="7">
<code>38</code>
</Action>
<Action sr="act3" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%new_val</lhs>
<op>2</op>
<rhs>on</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act4" ve="7">
<code>50</code>
<Str sr="arg0" ve="3">FlashK</Str>
<Str sr="arg1" ve="3">Switch1</Str>
<Int sr="arg2">
<var>1</var>
</Int>
</Action>
<Action sr="act5" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/kerneltype.txt</Str>
<Str sr="arg1" ve="3">on</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking current BETA version</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/rc</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">/sdcard/FlashK/site.txt</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act8" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/site.txt</Str>
<Str sr="arg1" ve="3">%currentV</Str>
</Action>
<Action sr="act9" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV</Str>
<Str sr="arg1" ve="3">FlashKernel-OP5-v</Str>
<Int sr="arg2" val="0"/>
</Action>
</Task>
<Task sr="task13">
<cdate>1518793751773</cdate>
<edate>1518793751773</edate>
<id>13</id>
<Action sr="act0" ve="7">
<code>342</code>
<Int sr="arg0" val="5"/>
<Str sr="arg1" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg2" ve="3">%old_status</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%old_status</lhs>
<op>2</op>
<rhs>false</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act10" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/site.txt</Str>
<Str sr="arg1" ve="3">%currentV</Str>
</Action>
<Action sr="act11" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV</Str>
<Str sr="arg1" ve="3">FlashKernel-OP5-v</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act12" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV2</Str>
<Str sr="arg1" ve="3">-changelog</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act13" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%InstalledV</Str>
</Action>
<Action sr="act14" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/stable/FlashKernel-OP5-v%currentV21-changelog.txt</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Creating Directories</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>409</code>
<Str sr="arg0" ve="3">/sdcard/FlashK</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/Flashk/kernel.sh</Str>
<Str sr="arg1" ve="3">install /mnt/sdcard/FlashK/kernel.zip
cmd reboot</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>135</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<Str sr="arg2" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>43</code>
</Action>
<Action sr="act8" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking current version</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act9" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/stable</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">/sdcard/FlashK/site.txt</Str>
<Int sr="arg8" val="0"/>
</Action>
</Task>
<Task sr="task14">
<cdate>1518794196788</cdate>
<edate>1518794196788</edate>
<id>14</id>
<pri>102</pri>
<Action sr="act0" ve="7">
<code>342</code>
<Int sr="arg0" val="5"/>
<Str sr="arg1" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg2" ve="3">%old_status</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%old_status</lhs>
<op>2</op>
<rhs>false</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act10" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking Update Settings</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act11" ve="7">
<code>50</code>
<Str sr="arg0" ve="3">FlashK</Str>
<Str sr="arg1" ve="3">Switch1</Str>
<Int sr="arg2">
<var>1</var>
</Int>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%kerneltype</lhs>
<op>0</op>
<rhs>on</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act12" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%element_name</Str>
<Str sr="arg1" ve="3">%new_val</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act13" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%kerneltype</lhs>
<op>2</op>
<rhs>on</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act14" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking current BETA version</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act15" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/rc</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">/sdcard/FlashK/site.txt</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act16" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/site.txt</Str>
<Str sr="arg1" ve="3">%currentV</Str>
</Action>
<Action sr="act17" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV</Str>
<Str sr="arg1" ve="3">FlashKernel-OP5-v</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act18" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV2</Str>
<Str sr="arg1" ve="3">-changelog</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act19" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%InstalledV</Str>
</Action>
<Action sr="act2" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Creating Directories</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act20" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%KernelName</Str>
<Str sr="arg1" ve="3">rc/FlashKernel-OP5-v%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act21" ve="7">
<code>43</code>
</Action>
<Action sr="act22" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Checking current STABLE version</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act23" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/stable</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3">/sdcard/FlashK/site.txt</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act24" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/site.txt</Str>
<Str sr="arg1" ve="3">%currentV</Str>
</Action>
<Action sr="act25" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV</Str>
<Str sr="arg1" ve="3">FlashKernel-OP5-v</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act26" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%currentV2</Str>
<Str sr="arg1" ve="3">-changelog</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act27" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%InstalledV</Str>
</Action>
<Action sr="act28" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%KernelName</Str>
<Str sr="arg1" ve="3">stable/FlashKernel-OP5-v%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act29" ve="7">
<code>38</code>
</Action>
<Action sr="act3" ve="7">
<code>409</code>
<Str sr="arg0" ve="3">/sdcard/FlashK</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act30" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/%KernelName-changelog.txt</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/kerneltype.txt</Str>
<Str sr="arg1" ve="3">off</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/Flashk/kernel.sh</Str>
<Str sr="arg1" ve="3">install /mnt/sdcard/FlashK/kernel.zip
cmd reboot</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>135</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<Str sr="arg2" ve="3"/>
</Action>
<Action sr="act8" ve="7">
<code>43</code>
</Action>
<Action sr="act9" ve="7">
<code>417</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/kerneltype.txt</Str>
<Str sr="arg1" ve="3">%kerneltype</Str>
</Action>
</Task>
<Task sr="task17">
<cdate>1518796210752</cdate>
<edate>1518796210752</edate>
<id>17</id>
<pri>102</pri>
<Action sr="act0" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%currentV21</lhs>
<op>1</op>
<rhs>%InstalledV</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Downloading new Kernel</Str>
<Int sr="arg1" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/%KernelName.zip</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3">application/zip, application/octet-stream</Str>
<Str sr="arg7" ve="3">/sdcard/FlashK/kernel.zip</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Download Completed</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>43</code>
</Action>
<Action sr="act6" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">File already downloaded, would you like to flash?</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>404</code>
<Str sr="arg0" ve="3">/sdcard/Flashk/kernel.sh</Str>
<Str sr="arg1" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg2" val="1"/>
</Action>
<Action sr="act8" ve="7">
<code>551</code>
<Str sr="arg0" ve="3">The newest Kernel was already downloaded...</Str>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3">IconGridMenu</Str>
<Int sr="arg3" val="30"/>
<Int sr="arg4" val="1"/>
<ListElementItem sr="item0">
<label>Flash Kernel</label>
<Action sr="action" ve="7">
<code>59</code>
<Int sr="arg0" val="1"/>
</Action>
<Img sr="icon" ve="2">
<nme>mw_notification_system_update</nme>
</Img>
</ListElementItem>
<ListElementItem sr="item1">
<label>Cancel</label>
<Action sr="action" ve="7">
<code>513</code>
</Action>
<Img sr="icon" ve="2">
<nme>mw_navigation_cancel</nme>
</Img>
</ListElementItem>
</Action>
<Action sr="act9" ve="7">
<code>406</code>
<Str sr="arg0" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
</Action>
</Task>
<Task sr="task18">
<cdate>1518796407807</cdate>
<edate>1518796407807</edate>
<id>18</id>
<Action sr="act0" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%currentV21</lhs>
<op>1</op>
<rhs>%InstalledV</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Downloading new Kernel</Str>
<Int sr="arg1" val="1"/>
</Action>
<Action sr="act10" ve="7">
<code>404</code>
<Str sr="arg0" ve="3">/sdcard/Flashk/kernel.sh</Str>
<Str sr="arg1" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg2" val="1"/>
</Action>
<Action sr="act11" ve="7">
<code>551</code>
<Str sr="arg0" ve="3">The newest Kernel was already downloaded...</Str>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3">IconGridMenu</Str>
<Int sr="arg3" val="30"/>
<Int sr="arg4" val="1"/>
<ListElementItem sr="item0">
<label>Flash Kernel</label>
<Action sr="action" ve="7">
<code>59</code>
<Int sr="arg0" val="1"/>
</Action>
<Img sr="icon" ve="2">
<nme>mw_notification_system_update</nme>
</Img>
</ListElementItem>
<ListElementItem sr="item1">
<label>Cancel</label>
<Action sr="action" ve="7">
<code>513</code>
</Action>
<Img sr="icon" ve="2">
<nme>mw_navigation_cancel</nme>
</Img>
</ListElementItem>
</Action>
<Action sr="act12" ve="7">
<code>406</code>
<Str sr="arg0" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>410</code>
<Str sr="arg0" ve="3">/sdcard/FlashK/Version_Installed.txt</Str>
<Str sr="arg1" ve="3">%currentV21</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://nchancellor.net</Str>
<Str sr="arg1" ve="3">downloads/kernels/op5/8.x/%KernelName.zip</Str>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3">application/zip, application/octet-stream</Str>
<Str sr="arg7" ve="3">/sdcard/FlashK/kernel.zip</Str>
<Int sr="arg8" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Ready to Flash?</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>404</code>
<Str sr="arg0" ve="3">/sdcard/Flashk/kernel.sh</Str>
<Str sr="arg1" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg2" val="1"/>
</Action>
<Action sr="act6" ve="7">
<code>551</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3">IconGridMenu</Str>
<Int sr="arg3" val="30"/>
<Int sr="arg4" val="1"/>
<ListElementItem sr="item0">
<label>Flash Kernel</label>
<Action sr="action" ve="7">
<code>59</code>
<Int sr="arg0" val="1"/>
</Action>
<Img sr="icon" ve="2">
<nme>mw_notification_system_update</nme>
</Img>
</ListElementItem>
<ListElementItem sr="item1">
<label>Cancel</label>
<Action sr="action" ve="7">
<code>513</code>
</Action>
<Img sr="icon" ve="2">
<nme>mw_navigation_cancel</nme>
</Img>
</ListElementItem>
</Action>
<Action sr="act7" ve="7">
<code>406</code>
<Str sr="arg0" ve="3">/cache/recovery/openrecoveryscript</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
</Action>
<Action sr="act8" ve="7">
<code>43</code>
</Action>
<Action sr="act9" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">The newest Kernel was already downloaded</Str>
<Int sr="arg1" val="0"/>
</Action>
</Task>
</TaskerData>

Link to the Tasker task (calls the scene): https://www.dropbox.com/s/52j9nrx3swkzh9q/FlashK.tsk.xml?dl=0

<TaskerData sr="" dvi="1" tv="5.1m">
<Task sr="task10">
<cdate>1518789164002</cdate>
<edate>1518821840846</edate>
<id>10</id>
<nme>FlashK</nme>
<pri>100</pri>
<Kid sr="Kid">
<launchID>10</launchID>
<pkg>com.android.flashk</pkg>
<vnme>1.0</vnme>
<vnum>24</vnum>
</Kid>
<Action sr="act0" ve="7">
<code>47</code>
<Str sr="arg0" ve="3">FlashK</Str>
<Int sr="arg1" val="4"/>
<Int sr="arg2" val="100"/>
<Int sr="arg3" val="100"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="1"/>
<Int sr="arg6" val="1"/>
<Int sr="arg7" val="1"/>
</Action>
<Img sr="icn" ve="2">
<nme>hl_aaa_nixx_bolt</nme>
</Img>
</Task>
</TaskerData>