• Re: Phone connection

    From Andrew@21:1/5 to Stefan Ram on Thu Sep 19 15:00:45 2024
    XPost: comp.mobile.android

    Stefan Ram wrote on 19 Sep 2024 11:59:26 GMT :

    Java Jive <java@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.

    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>

    And I never log into anything. Not the phone. Not the PC.
    <https://i.postimg.cc/Bnyr9fP1/account01.jpg>

    Hence, I don't understand what Java Jive or Stefan Ram are discussing.
    <https://i.postimg.cc/yYWwgGmy/webdav12.jpg>

    More detail is needed to solve the problem.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Ram@21:1/5 to Andrew on Thu Sep 19 15:24:53 2024
    XPost: comp.mobile.android

    Andrew <andrew@spam.net> wrote or quoted:
    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.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Bradshaw@21:1/5 to Andrew on Thu Sep 19 08:04:29 2024
    XPost: comp.mobile.android

    Andrew wrote:
    Stefan Ram wrote on 19 Sep 2024 11:59:26 GMT :

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew@21:1/5 to Bill Bradshaw on Thu Sep 19 16:59:03 2024
    XPost: comp.mobile.android

    Bill Bradshaw wrote on Thu, 19 Sep 2024 08:04:29 -0800 :

    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.
    <https://i.postimg.cc/Vvrq0K0m/scrcpy03.jpg> 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.
    <https://i.postimg.cc/N0G1TXcZ/scrcpy01.jpg> 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.
    <https://i.postimg.cc/CxXH6N2r/scrcpy13.jpg> No scrcpy console window!
    <https://i.postimg.cc/XqZsmVFM/scrcpy14.jpg> AppPath & shortcut TARGET
    <https://i.postimg.cc/g2yNftw0/scrcpy15.jpg> Trick to pin batch shortcut
    <https://i.postimg.cc/5NrK7jtg/scrcpy16.jpg> powershell hide-console trick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew@21:1/5 to Stefan Ram on Thu Sep 19 16:39:34 2024
    XPost: comp.mobile.android

    Stefan Ram wrote on 19 Sep 2024 15:24:53 GMT :

    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.
    <https://i.postimg.cc/6371SxNd/mountandroidonwindows.jpg>

    We've posted a half dozen tutorials showing the exact setup steps to run.
    <https://i.postimg.cc/BQyRxCN9/webdav11.jpg> Mount sdcards read & write
    <https://i.postimg.cc/yYWwgGmy/webdav12.jpg> As Windows drive letters
    <https://i.postimg.cc/QtbR1GY0/webdav13.jpg> 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).
    <https://i.postimg.cc/BvJdKWzt/webdav06.jpg> Both sdcards mounted

    , 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.
    <https://i.postimg.cc/RZtw6WC2/filesys02.jpg> Mount Android system filesys
    <https://i.postimg.cc/Zngy0SGT/filesys03.jpg> Look at /etc/resolv.conf
    <https://i.postimg.cc/nzFmPTKt/filesys04.jpg> Can use the command line
    <https://i.postimg.cc/PJF1ZZwn/filesys05.jpg> 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.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)