Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

C'est magnifique, mais ce n'est pas l'Informatique. -- Bosquet [on seeing the IBM 4341]


computers / alt.internet.wireless / Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option

SubjectAuthor
* PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer optionAndy Burnelli
`* Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging"Andy Burns
 `- Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer optionAndy Burnelli

1
PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option

<tav4g6$grk$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=324&group=alt.internet.wireless#324

 copy link   Newsgroups: comp.mobile.android alt.internet.wireless alt.comp.os.windows-10
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: comp.mobile.android,alt.internet.wireless,alt.comp.os.windows-10
Subject: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option
Date: Sat, 16 Jul 2022 20:45:40 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tav4g6$grk$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="17268"; 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 - Sat, 16 Jul 2022 19:45 UTC

This is a PSA for those who mirror their phone onto Windows each day
that there is a wonderfully convenient new TILE for Wireless debugging.
<https://i.postimg.cc/qRhkhTwV/adb21.jpg> Android Wireless-debugging tile

That new Wireless-Debugging tile replaces this sequence of commands:
Settings > Developer options > Wireless debugging = on

But a lot of things turn that 'Wireless debugging' switch off on you!
<https://i.postimg.cc/hPVtkTXK/adb02.jpg> Boot turns W/L debug off

It's not easy to find that new TILE though, where I found it here.
Settings > Developer options > Quick settings developer tiles
Wireless debugging = on

Which gets automatically turned off whenever your Wi-Fi is turned off
(so you're constantly turning it back on if you have Wi-Fi not set to turn
on automatically & if auto-reconnect is also off for privacy reasons).
<https://i.postimg.cc/CLWZmJT3/adb17.jpg> Allow wireless debugging

In summary, this new "developer options tile" for 'wireless debugging" is a
great time saver as it's required to mirror Android over Wi-Fi without USB.
<https://i.postimg.cc/xjz3V8Gs/vysor32.jpg> ScrCpy vs Vysor PC mirror
--
Posted out of the goodness of my heart to disseminate useful information.

Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option

<jjhss5FhjtuU1@mid.individual.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=325&group=alt.internet.wireless#325

 copy link   Newsgroups: comp.mobile.android alt.internet.wireless alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: comp.mobile.android,alt.internet.wireless,alt.comp.os.windows-10
Subject: Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging"
developer option
Date: Sun, 17 Jul 2022 08:42:59 +0100
Lines: 6
Message-ID: <jjhss5FhjtuU1@mid.individual.net>
References: <tav4g6$grk$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net s4+RVlaOE7uOg9hjHK2IEwUOzUKFJzIQHACqJ/Um1Ol7C7PrN+
Cancel-Lock: sha1:wdSkiweNEdbbhfkuvPm5DKDIpn4=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.0.2
Content-Language: en-GB
In-Reply-To: <tav4g6$grk$1@gioia.aioe.org>
 by: Andy Burns - Sun, 17 Jul 2022 07:42 UTC

Andy Burnelli wrote:

> It's not easy to find that new TILE though, where I found it here.
> Settings > Developer options > Quick settings developer tiles

Didn't know any of those developer tiles existed, actually.

Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option

<tb0mj8$ug8$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=326&group=alt.internet.wireless#326

 copy link   Newsgroups: comp.mobile.android alt.internet.wireless alt.comp.os.windows-10
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: comp.mobile.android,alt.internet.wireless,alt.comp.os.windows-10
Subject: Re: PSA Android 11+ mirroring over Wi-Fi "wireless debugging" developer option
Date: Sun, 17 Jul 2022 11:00:38 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tb0mj8$ug8$1@gioia.aioe.org>
References: <tav4g6$grk$1@gioia.aioe.org> <jjhss5FhjtuU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="31240"; 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 - Sun, 17 Jul 2022 10:00 UTC

Andy Burns wrote:

>> It's not easy to find that new TILE though, where I found it here.
>> Settings > Developer options > Quick settings developer tiles
>
> Didn't know any of those developer tiles existed, actually.

You know more than most people (certainly more than I do) about Android,
so that makes me feel good I was able to "pay you back" a bit
for the help you've always kindly offered.

Hence, it's good to know that you found that PSA information useful,
as I suspect almost nobody knows these new developer tiles even exist.
Sync
Show layout bounds
Profile HWUI rendering
Force RTL layout direction
Windows animation scale
Windscope trace
Sensors Off
Wireless debugging
Show taps
BTW, I don't know what most of those do, but I only needed the one tile. :)

To be sure, I'm well aware many people have _looked_ (almost always,
if not always in vain) for a way to create desktop shortcuts to the
various & sundry settings that sit inside Android 'Developer options'.

I, myself, have tried to figure them out using the shortcut inspector:
<https://play.google.com/store/apps/details?id=com.cemique.shortcutwidgets>
And then a bunch of tools for Intents to create the shortcut.
<https://play.google.com/store/apps/details?id=com.alextern.shortcuthelper>
<https://play.google.com/store/apps/details?id=rk.android.app.shortcutmaker>
<https://play.google.com/store/apps/details?id=krow.dev.scheme>
<https://play.google.com/store/apps/details?id=com.balda.intenttask>
<https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut>
<https://play.google.com/store/apps/details?id=info.maigo.lab.intentviewer>

But while all worked fine for "normal" settings, they didn't work at all for me
to step into the developer options settings.

Even running adb from Windows over Wi-Fi to the Android phone on the LAN
would bring up almost anything in Settings _except_ Developer options settings.
C:\> adb shell am start -n com.google.android.gms/.ads.settings.AdsSettingsActivity

I was so happy when I finally found there were secret hidden TILES for some
Developer options, that I wanted others to benefit from this information.

It's especially useful to those who interact with their Android phone over
Wi-Fi without _ever_ connecting it to a USB cable (e.g., for mirroring).

BTW, a very useful command when using Android on adb over Wi-Fi is this:
C:\> netstat -ano -p tcp | findstr "192.168.0.2"

My use model using Windows scrcpy without a console requires knowing the port,
which you can easily get from Android Developer options Wireless debugging;
but you can _also_ get the random port being used from that Windows command!
*Is there a way to put a command window in the background like Linux does (so that you can kill it)?*
<https://groups.google.com/g/alt.msdos.batch/c/DmexCLwn_tM>
--
@echo off

cd /d "c:\app\editor\android\scrcpy"
certutil -f -decode %~f0 showwin.exe>nul
REM Port 5555 was needed when you established adb connections over USB
REM And then you disconnected the USB cable to subsequently work on Wi-Fi
REM But as of Android 11 or 12, you can establish the connection over Wi-Fi
REM But that "Developer option" "Wireless debugging" port is assigned by Android!
REM So you have to get it on Android or on Windows to know what it is
REM adb connect 192.168.0.2:5555
REM You can get the current port from the following command
REM c:\> netstat -ano -p tcp | findstr "192.168.0.2"
adb connect 192.168.0.2:45299

:: now we hide console window
showwin.exe 0

REM scrcpy --always-on-top --tcpip=192.168.0.2:5555
scrcpy --always-on-top --tcpip=192.168.0.2:45299

:: after scrcpy is closed we show console window again
showwin.exe 5

del showwin.exe
goto :eof

-----BEGIN CERTIFICATE-----
TVpgAQEAAAAEAAAA//8AAGABAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAoAAAAA4fug4AtAnNIbgBTM0hTmljZSB0byBtZWV0IHNvbWVi
b2R5IHdobyBpcyBzdGlsbCB1c2luZyBET1MsDQpidXQgdGhpcyBwcm9ncmFtIHJl
cXVpcmVzIFdpbjMyLg0KJFBFAABMAQEAUHmlNgAAAAAAAAAA4AAPAQsBBQwAAgAA
AAAAAAAAAADIEAAAABAAAAAgAAAAAEAAABAAAAACAAAFAAAAAAAAAAQAAAAAAAAA
ACAAAAACAAAAAAAAAwAAAAAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA
GBAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAYAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALnRleHQAAAAmAQAAABAAAAACAAAAAgAA
AAAAAAAAAAAAAAAAIAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABoEAAAAAAAAJQQAACmEAAA
uhAAAAAAAABgEAAAAAAAAAAAAABUEAAAABAAAIQQAAAAAAAAAAA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