From Newsgroup: alt.os.linux
How to zoom on the phone BEFORE you connect adb scrcpy to your desktop PC?
<
https://i.postimg.cc/0yMJrHfM/adbconnect-ports.jpg>
There's my problem, which is a function of my octogenarian lousy eyesight.
To display my phone on my monitor I type into Windows: "adbconnect".
Pretty simple, right? Easy peasy. But where do I get the random ports from?
a. Long ago I added a tile which I slide down from top to expose tiles
b. I tap the "Wireless debugging" tile & turn it on (if off after reboot)
c. I tap the words "Pair device with pairing code"
That brings up the Android Developer options > Wireless debugging activity.
That's where I get the 3 random codes that I need to type manually to
connect wirelessly (sans USB cable) between the phone and the desktop PC.
Then I have to type three sets of random 5-6 digit numbers, only one set of which is displayed large enough to see, the others are extremely tiny text.
After that, scrcpy will make my homescreen almost 2 feet tall on my PC.
<
https://i.postimg.cc/0yMJrHfM/adbconnect-ports.jpg>
Now I can see everything right in front of my very old octogenarian eyes!
But that's too late.
I need to more easily see the random ports BEFORE I connect to the desktop.
Q: How can I display the teeny-tiny sets of numbers bigger on the phone?
A: ?
See below for the information ADB wireless debugging will ask for.
adbconnect
=== ADB Wireless Auto-Connect ===
Using ADB: "C:\app\editor\android\scrcpy\adb.exe"
Checking existing ADB devices...
DEVICE_ID="" DEVICE_STATE=""
Not connected. Need to pair.
Necessary pairing information will be shown on the phone:
Phone IP [192.168.1.4] :
Wireless debugging pairing port:46327
Wireless debugging pairing code:287341
Wireless debugging debug port:37025
Pairing with: 192.168.1.4:46327
Successfully paired to 192.168.1.4:46327 [guid=adb-AB12C34D56EF7890-Q7M2LK]
Connecting to debug port: 192.168.1.4:37025
connected to 192.168.1.4:37025
Found device id: "192.168.1.4:37025"
Switching device 192.168.1.4:37025 to TCP/IP 5555...
restarting in TCP mode port: 5555
Connecting final port: 192.168.1.4:5555
connected to 192.168.1.4:5555
Launching scrcpy completely silent...
Done.
Summary of steps run in this instance:
adb pair 192.168.1.4:46327 287341
adb connect 192.168.1.4:37025
adb -s 192.168.1.4:37025 tcpip 5555
adb connect 192.168.1.4:5555
scrcpy --tcpip=192.168.1.4 --keyboard=sdk --always-on-top
=== ADB Wireless Auto-Connect ===
C:\> adb devices
List of devices attached
192.168.1.4:5555 device
But all that is too little, too late for the actual connection process.
I need to be able to *see* the teeny-tiny random ports BEFORE I connect.
Q: How can I display the teeny-tiny sets of numbers bigger on the phone?
A: ?
--
Sometimes on Usenet you can find people who know more than you do.
--- Synchronet 3.22a-Linux NewsLink 1.2