Discussion:
Phone connection
(too old to reply)
Stefan Ram
2024-09-19 11:59:26 UTC
Permalink
Java Jive <***@evij.com.invalid> wrote or quoted:
|have ever had is whereas with my first Samsung phone, a Galaxy Note 2
|now long since dead, you could just connect the phone to the PC and
|everything would be accessible, now I have to 'sign in' to a phone by

And typically, you can't use tools like batch files anymore to
automate access, to do all the syncs you want automatically.
The Android files are only accessible manually through the GUI.
So basically, the PC is being dumbed down big time.
Andrew
2024-09-19 15:00:45 UTC
Permalink
Post by Stefan Ram
|have ever had is whereas with my first Samsung phone, a Galaxy Note 2
|now long since dead, you could just connect the phone to the PC and
|everything would be accessible, now I have to 'sign in' to a phone by
And typically, you can't use tools like batch files anymore to
automate access, to do all the syncs you want automatically.
The Android files are only accessible manually through the GUI.
So basically, the PC is being dumbed down big time.
I connect my Samsung to the Windows PC every day, over Wi-Fi or USB, and
mirror the phone onto the PC (using the PC clipboard, mouse, keyboard), and
I copy files back and forth and even mount the phone as a Windows drive.
<Loading Image...>

And I never log into anything. Not the phone. Not the PC.
<Loading Image...>

Hence, I don't understand what Java Jive or Stefan Ram are discussing.
<Loading Image...>

More detail is needed to solve the problem.
Stefan Ram
2024-09-19 15:24:53 UTC
Permalink
Post by Andrew
More detail is needed to solve the problem.
I mean, are you able to, kind of, go into the Windows command line,
type in,

dir <something>

, and see some directory from your phone? In that case, you could
write a cmd-File to automatically do certain file operations,
for example, copy certain files from the mobile device to the
windows device and vice versa.

(Usually, on Windows, most of the files can also be accessed from
the level of Windows commands, so one can write command files to
automate stuff.)
Andrew
2024-09-19 16:39:34 UTC
Permalink
Post by Stefan Ram
I mean, are you able to, kind of, go into the Windows command line,
type in,
dir <something>
Of course. We've discussed this a hundred times on both newsgroups.
<Loading Image...>

We've posted a half dozen tutorials showing the exact setup steps to run.
<Loading Image...> Mount sdcards read & write
<https://i.postimg.cc/yYWwgGmy/webdav12.jpg> As Windows drive letters
<Loading Image...> Over Wi-Fi on your home LAN

Once you set it up, you run your "dir <something>" like this:
a. Assume the phone is mounted as the Windows "P:" drive.
b. On Windows, in the C: drive, open a command window
c. Then type "dir P:\*.*" and that shows what's on the phone

You don't even need the command-line window as it works in the Windows File
Explorer (since the entire Android phone is mounted as a Windows drive).
<Loading Image...> Both sdcards mounted
Post by Stefan Ram
, and see some directory from your phone? In that case, you could
write a cmd-File to automatically do certain file operations,
for example, copy certain files from the mobile device to the
windows device and vice versa.
Of course. It's trivial. I operate Android from Windows every single day.

We've discussed this umpteen times already on both these newsgroups.
<Loading Image...> Mount Android system filesys
<Loading Image...> Look at /etc/resolv.conf
<Loading Image...> Can use the command line
<Loading Image...> Look at the dnsproxy file

It even works with my iOS devices - but let's not go there as that does get
complicated since you have to know a few clever tricks to make iOS mount.
Post by Stefan Ram
(Usually, on Windows, most of the files can also be accessed from
the level of Windows commands, so one can write command files to
automate stuff.)
The entire Android phone is just a Windows drive so it works as such.

The only problem I haven't solved yet is it takes two commands to mount my
Android phone (which can be /preserved) to mount _both_ sdcards 0 & 1.
<https://i.postimg.cc/BQyRxCN9/webdav11.jpg> Mount sdcards read & write

But since those two commands run in a batch file, it's still trivial.

Paradoxically, what's actually difficult is to run SMB/Cifs/Samba.
You'd think that would be easy given it's native to Windows.
But unrooted Android won't let you.
Ask Frank Slootweg why, as he's an expert in this type of networking.
Bill Bradshaw
2024-09-19 16:04:29 UTC
Permalink
Post by Andrew
I connect my Samsung to the Windows PC every day, over Wi-Fi or USB,
and mirror the phone onto the PC (using the PC clipboard, mouse,
keyboard), and I copy files back and forth and even mount the phone
as a Windows drive. <https://i.postimg.cc/wvsbcNBz/scrcpy05.jpg>
Have you looked at the Samsung Windows version of "Smart Switch" which will
backup and restore your Samsung phone?
--
<Bill>

Brought to you from Anchorage, Alaska
Andrew
2024-09-19 16:59:03 UTC
Permalink
Post by Bill Bradshaw
Post by Andrew
I connect my Samsung to the Windows PC every day, over Wi-Fi or USB,
and mirror the phone onto the PC (using the PC clipboard, mouse,
keyboard), and I copy files back and forth and even mount the phone
as a Windows drive. <https://i.postimg.cc/wvsbcNBz/scrcpy05.jpg>
Have you looked at the Samsung Windows version of "Smart Switch" which will
backup and restore your Samsung phone?
I have tested *every* non-cloud backup-and-restore method known to both the
Android and Windows newsgroups - and the one that works best is simple, but
you have to be a bit clever in knowing how both operating systems work.

For example, I had to replace my free T-Mobile Samsung Galaxy A32-5G twice,
under warranty ('cuz I played around with them too much) and each time I
was easily able to restore the new phone from the old using just Windows.

I even was able to move the old sdcard to the new phone and it worked
perfectly with all the data (e.g., OSMAnd~ map data) working perfect.

But note that I know a few tricks, most of which smarter people than I am
such as Zaidy, Herbert, Paul, Frank, Andy Burns, etc., taught me to do.

For example, I format EVERY sdcard as the volume name 0000-0001 from
Windows (the actual name isn't the point - just that they're all the same).

So in the new phone, the app brought over thinks the external sdcard stored
date is in /sdcard/0000-0001 and so does the new phone as the only thing
the phone knows is the volume label (which is a neat trick if you use it!).

Also, every app icon (aka app shortcut) and every folder name and location
on the old phone is instantly brought over to the new phone, simply by
saving the homescreen to the sdcard (which is also a Windows file system).

Likewise, every single app APK is automatically saved onto Windows at the
time of installation (it's actually not saved so much as not deleted after
the installation on Android) where you can just slide those thousands of
saved APKs stored on Windows over to the mirrored Android image to install.

Every batch file you write, just uses the drive letter of the phone, e.g.,
if you mount the internal sdcard of the phone as drive letter "P:" on
windows (get it, P===Phone... :) then any batch file using "P:" just works.

If you get a phone call, you answer it on the PC. If you want to run an app
on the PC and save the results to the phone, you save it to the P: drive.

The Windows clipboard === the Android clipboard too, as is the mouse and
the monitor and the keyboard - but - the clipboard is actually _two_
clipboards in one, so a control-V pastes one clipboard while a
right-click-paste pastes the other clipboard (I never remember which).

Other than the clipboard pasting being different between control-V and
right-click-paste, the whole thing works almost totally seamlessly.
<Loading Image...> The efficient setup explained

I mostly operate my Android phone from Windows when I'm home, as the phone
becomes the size of my monitor, which, in landscape is the monitor size.
<Loading Image...> Mirror Android on any PC

Which is huge.
Which is good for my very old very tired eyes.

The tricks to make it efficient are all discussed many times on this ng.
<Loading Image...> No scrcpy console window!
<Loading Image...> AppPath & shortcut TARGET
<Loading Image...> Trick to pin batch shortcut
<Loading Image...> powershell hide-console trick
Loading...