[General Topics] GalaxyA325G:
This is a PSA for those who mirror their Android phone onto Windows each day that there is a wonderfully convenient new TILE for Wireless debugging.

View attachment 5660927

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!

View attachment 5660929

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).

View attachment 5660931

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.

View attachment 5660933

ScrCpy vs Vysor PC mirror

--

The background is for privacy I have my home router set to not broadcast the SSID (so as to keep it out of databases which don't respect the "_nomap" opt-out naming conventions and to prevent most phones from uploading it even to the servers that do respect the opt out naming conventions) and therefore, it's required for privacy to also set my Android Wi-Fi radio to not broadcast that SSID when I'm away from that home router (i.e., Android Wi-Fi setting for that specific SSID is set to not auto-reconnect).

Because of those two privacy options (one on the router, the other on the phone), whenever my phone disconnects from Wi-Fi (e.g., if I drive down the driveway away from my home router), the Wi-Fi on the phone also turns off, which is exactly what I want to happen.

However, when I return home, the Wi-Fi on the phone has to be manually turned on, and so does 'Wireless debugging' in 'Developer options' because you need to be connected to a Wi-Fi access point and you need to have Wi-Fi Debugging turned on in order to establish a Wi-Fi adb connection over Windows to mirror the phone display, keyboard, mouse, and clipboard onto the PC (without ever needing to use a USB cable, even only momentarily).

Given that background, I was seeking a simpler way to turn on Androiud 'Wireless debugging', which turns out to be adding this 'Wireless debuggon = on/off' goggle tile to your Android swipe-down menu.

The use model is when you reboot the PC or when you return home, you swipe down on Android 12 to tap both the Wi-Fi and 'Wireless debugging' toggling tiles, and then you can mirror your phone onto your PC using the following adb commands on the phone and PC (listed in step-by-step order although there are many ways to accomplish the same task - this is only one of them)

(Phone) Swipe down & manually turn on Wi-Fi via the "Wi-Fi" TILE

(Phone) Longpress on that 'Wi-Fi' TILE to connect to a previously saved AP

(Phone) Tap to toggle the 'Wireless debugging' Android TILE on.

(PC) C:\> adb kill-server (optional, to set a known starting point)

(PC) C:\> ping 192.168.0.2 (optional, to check if you're on the LAN)

(PC) C:\> adb devices

(PC) C:\> vysor.exe (this will bring up the Vysor GUI to mirror Android)

Note prior to Android 11, to establish that adb connection over Wi-Fi, you first had to use a USB cable to set up tcpip on port 5555 and _then_ after establishing a link to adb, you could disconnect USB to use it on Wi-Fi.

C:\> ping 192.168.0.2 (optional to test you're on the LAN over Wi-Fi)

C:\> adb kill-server (optional to start at a known starting point)

C:\> adb tcpip 5555

C:\> adb connect 192.168.0.2:5555 (port is optional)

C:\> adb devices (optional to see what devices are connected over adb)

But the situation I'm describing does _not_ need to use that USB cable.