<html><head></head><body>Many custom Android ROMs do offer such possibility (for example on popular LineageOS: Settings -> Developer options -> Debugging -> ADB over network, or in Quick Settings with a custom tile that can be added in the Edit menu). This setting can be toggled by the System UI.<br><br><div class="gmail_quote">On 15 August 2017 00:13:16 CEST, Tom Davidson <tom@tomdavidson.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif;font-size:small;color:#000000">Ok, so the desktop has to have a flow for identifying the mobile device when connect in via USB and config the adb tcpip. </div><div class="gmail_default" style="font-family:garamond,serif;font-size:small;color:#000000"><br /></div><div class="gmail_default" style="font-family:garamond,serif;font-size:small;color:#000000">Think the mobile device can have an on/off or just leave it up to the user to t turn off dev tools if they want to stop listening?</div></div><div class="gmail_extra"><br clear="all" /><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p dir="ltr" style="background-color:rgb(255,255,255);text-align:left;margin-top:0pt;margin-bottom:0pt"></p><p dir="ltr" style="font-size:12.8000001907349px;margin-top:0pt;margin-bottom:0pt"><span style="font-family:garamond,serif">Tom D. Davidson</span></p><p dir="ltr" style="font-size:12.8000001907349px;margin-top:0pt;margin-bottom:0pt"><span style="font-family:garamond,serif"><a href="http://www.linkedin.com/in/tomdavidson/" style="color:rgb(17,85,204)" target="_blank">LinkedIn</a> | <a href="tel:307.363.2866" value="+13073632866" style="color:rgb(17,85,204)" target="_blank">307.363.2866</a> </span></p><p></p></div></div></div></div></div></div>
<br /><div class="gmail_quote">On Thu, Aug 10, 2017 at 12:07 PM, Ryszard Knop <span dir="ltr"><<a href="mailto:rk@dragonic.eu" target="_blank">rk@dragonic.eu</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">AFAIK Android apps can't toggle ADB settings without root, and even with that it's hit-or-miss with<br />
certain Android versions (as the interface to toggle that changed over time).<br />
<div class="HOEnZb"><div class="h5"><br />
On Thu, 2017-08-10 at 12:03 -0600, Tom Davidson wrote:<br />
> Yes "adb over tcp" would have is more descriptive. KDE Connect can negotiate adb over tcp for an<br />
> auto-magical experience :D<br />
> desktop: configure port or use 5555<br />
> mobile: `adb tcpip { configed port }`<br />
> desktop: `adb connect { mobile ip address }<br />
><br />
> Uses:<br />
> Could be used to run arbitrary commands on mobile just as we can on desktop.<br />
> I'd like to seamlessly open a konsole session with adb shell from the kde connect menu.<br />
> On click back up of mobile device<br />
>  ...<br />
><br />
</div></div></blockquote></div><br /></div>
</blockquote></div></body></html>