Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and fixed.


computers / alt.comp.os.windows-10 / Re: What's the difference between Windows/Android adb "connect" versus "pair"

SubjectAuthor
* What's the difference between Windows/Android adb "connect" versus "pair"Andy Burnelli
`- Re: What's the difference between Windows/Android adb "connect" versus "pair"Andy Burnelli

1
What's the difference between Windows/Android adb "connect" versus "pair"

<t9d96d$i0k$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=64103&group=alt.comp.os.windows-10#64103

  copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android alt.comp.microsoft.windows
Path: i2pn2.org!i2pn.org!aioe.org!YJ9T4Jrl0F+pWyDRfaeX/g.user.46.165.242.75.POSTED!not-for-mail
From: spa...@nospam.com (Andy Burnelli)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android,alt.comp.microsoft.windows
Subject: What's the difference between Windows/Android adb "connect" versus "pair"
Date: Mon, 27 Jun 2022 22:59:01 +0100
Organization: Aioe.org NNTP Server
Message-ID: <t9d96d$i0k$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="18452"; posting-host="YJ9T4Jrl0F+pWyDRfaeX/g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Andy Burnelli - Mon, 27 Jun 2022 21:59 UTC

What's the difference between Windows/Android adb "connect" versus "pair"?
<https://i.postimg.cc/rmBHmvtV/adb18.jpg> Windows adb vysor & scrcpy

The background technical stuff is that both Windows vysor & scrcpy freeware
mirror Android 12 using the PC display, mouse, keyboard & clipboard...
Vysor freeware: <https://www.vysor.io/download/>
Scrcpy freeware: <https://sourceforge.net/projects/scrcpy.mirror/>

You can connect Android 12 to Windows 10 adb over Wi-Fi using either...
a. adb connect, or
b. adb pair

Where the syntax for each of those two commands is the following...
a. adb connect 192.168.0.2:5555
b. adb pair 192.168.0.2:12345 123456

Where in those examples, 192.168.0.2 is the Android IP address
and 5555 is the default adb port (adb tcpip 5555)
and 12345 is the random android12-assigned port
and 123456 is the android12-assigned wifi pairing code

The main difference between the two commands (AFAICT) may be that the
latter "pair" is newer than the older "connect", where the "pair" command
is only available in Android 12 and up (as far as I'm aware anyway).

However, that means we have a choice, right?

What's the difference in practical use between adb connect vs adb pair?
<https://i.postimg.cc/ZK9B82gP/adb15.jpg> adb pair [IP][Port] [code]
<https://i.postimg.cc/SRRXtvKh/adb16.jpg> Android 12 Wireless Debugging
<https://i.postimg.cc/CLWZmJT3/adb17.jpg> Allow wireless debugging
--
Sometimes on Usenet you can find people who know a lot more than you do.

Re: What's the difference between Windows/Android adb "connect" versus "pair"

<tb445q$1lh2$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=64729&group=alt.comp.os.windows-10#64729

  copy link   Newsgroups: alt.comp.os.windows-10 comp.mobile.android alt.comp.microsoft.windows
Path: i2pn2.org!i2pn.org!aioe.org!YJ9T4Jrl0F+pWyDRfaeX/g.user.46.165.242.75.POSTED!not-for-mail
From: spa...@nospam.com (Andy Burnelli)
Newsgroups: alt.comp.os.windows-10,comp.mobile.android,alt.comp.microsoft.windows
Subject: Re: What's the difference between Windows/Android adb "connect" versus "pair"
Date: Mon, 18 Jul 2022 18:10:48 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tb445q$1lh2$1@gioia.aioe.org>
References: <t9d96d$i0k$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="54818"; posting-host="YJ9T4Jrl0F+pWyDRfaeX/g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Andy Burnelli - Mon, 18 Jul 2022 17:10 UTC

Andy Burnelli wrote:

> What's the difference in practical use between adb connect vs adb pair?

I think the difference may simply be encryption or lack thereof...

C:\> adb connect HOST[:PORT]
connect to a device via TCP/IP [default port=5555]

C:\> adb pair HOST[:PORT] [PAIRING CODE]
pair with a device for secure TCP/IP communication
--
Note that stackoverflow is probably partially wrong in this instance.
*Difference between adb pair and adb connect?*
<https://stackoverflow.com/questions/70956975/difference-between-adb-pair-and-adb-connect>
because Android 11+ can both connect & pair while
Android below that can only connect (but not pair).

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor