ApkTouch
Home>Tools>Tools>ADB Shell Command Tasker Plugin

ADB Shell Command Tasker Plugin

6.3bfor Android

Jolan Rensen

Download APK (2.67MB)

Using apktouch App

Faster,free and saving data!
Download

The description of ADB Shell Command Tasker Plugin

ThisTaskerpluginallowsyoutosenda(seriesof)ADBShellcommand(s)toaremotedevice(orthedeviceitself)thathasADBoverWiFienabled.
ThisappobviouslydoesneedTaskertoworkasit'saplugin(https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm,thisisapaidappwitha7daysfreetrial).Again,withoutTaskeritWON'TWORK.WasIclearenough?Anyways...

OnthetargetdeviceyoucandoanythingyouwouldnormallybeabletodowhenusingtheterminalorADBShellofthatdevice.Thisincludesopeningapps,movingfiles,simulatinginputetcetera(TheskyisthelimitandGoogleisyourfriend).

MyappcanbeusedasanactioninTaskerandneedstobeconfiguredproperlywhenaddedtoatasktowork.

NOTE:
-Youcansendmultiplecommandsatoncebyseparatingthemwitha";".
-Allcommandsinasingleactionareautomaticallyfollowedwithan"exit"commandsotoclosetheADBconnection.Thismeansthatifyouwanttosendmultiplecommandsthataredependingoneachother,youwillneedtoputtheminasingleTaskeractionandseparatethemwith";".
-IfyouwantmultipleactionsofmyplugintorunaftereachotherinaTaskertask,pleasekeepthetimeoutsetasis.Taskerwillcontinuewhenthecommandissent.
-ThefirsttimeyoutrytoconnecttoanotherdeviceviaADBitwillaskyouifyoutrustthedevice.Forthisplugintoworkcorrectly,you'llneedtoalways"trustthiscomputer".
-TheoutputoftheconsolecanbeviewedandreusedfromwithinTasker.Thiscanbedonebyaccessing%output1,%output2etc.orbyiterationover%output()usingaforloop.
-ThepluginwillgeneratetwokeyfilesonyourdevicetobeabletomakeasecureADBconnectiontothedevices.

Nowforsomeusefulcommands!
-AcommandImyselfusealotistoturnmyADBoverWiFienabledAndroidTV(NvidiaSHIELD)onoroffbysendingthecommand"inputkeyeventPOWER",thissimulatesapowerbuttonpress.
-Ofcourseyoucanvarywhichkeytopress,forexampletopressthearrowkeysyoucando"inputkeyeventDPAD_RIGHT"or“…LEFT”etc.
-Anothersimplecommandis"reboot",whichwill,youguessedit,rebootthedevice!Youcanalsoput"reboot-p"heretopoweritdown.
-Acoolthingtobeabletodoistolaunchappsonthedevice.YouwillhavetoGoogleabittofindtheMainactivityofanapp.ThisexamplewillopenChromeonthedevice:"amstart-ncom.android.chrome/com.google.android.apps.chrome.Main".
-Whenyoufillin“localhost”intheIPaddressfield,everycommandwillbeexecutedonthedeviceitself!Thisworksevenwithoutrootifyou,ofcourse,haveADBoverWiFienabled(canbeactivatedfromapcusing“adbtcpip5555”).
Ofcoursetherearemanyothercommands,theskyisthelimit!
Thisismyfirsteverpublishedapp,sopleaseleavefeedbackandsubmitbugssoIcantrymybesttofixthem!Anytipsaremorethanwelcome!

Theideatocreatethisappcamefromhttps://play.google.com/store/apps/details?id=com.cgutman.androidremotedebugger,whichallowstheusertoconnecttoaremotedeviceviaaninterfaceintheappitself.Pleasereadthedescriptionofthatapptoo,itcontainssometipsonenablingADBoverWiFi.IusethesameAdbLibJavalibraryinmyapp.

IusetheAdbLiblibraryfoundathttps://github.com/cgutman/AdbLibandusehttps://github.com/cgutman/AdbLibTestasanexampleforhowtousethelibrary.IadaptedthisexampletoworkwithagivencommandandconvertedittoaTaskerplugin.

Forhelp,youcanemailmeorvisittheXDA-Developersthreadathttps://forum.xda-developers.com/u/tasker-tips-tricks/plugin-remote-adb-shell-t3562013.Thisthreadalsocontainssomeusefultipsforaccessingthelocaldevicerunningthetaskwithoutroot.

Nowopensourceathttps://github.com/Jolanrensen/ADBPlugin!
Show More
Similar to Whats App Business