0

I want to use my laptop with my Android phone for exchanging files with each other without data cable and connecting to any external WiFi modem please let me know how to do it

3 Answers3

1

For what it's worth, you can use ADB for this purpose...

  1. Enable USB debugging in developer options on your phone
  2. Install ADB on your computer
  3. Plug in your phone
  4. Run adb tcpip 8084
  5. Unplug your phone
  6. Run adb connect 192.168.0.56:8084 (replace the IP address with your phone's address)
  7. You can now transfer files.

    • To send a file to your phone:

      adb push /path/to/file/on/computer.txt /sdcard/folder/on/your/phone/
      
    • To receive a file from your phone:

      adb pull /sdcard/file/on/your/phone /folder/on/your/computer/
      
0

Simply create a hotspot on your laptop and use SFTP. To install the ssh server, just run

sudo apt install ssh

then you can SFTP by using the hostname which you can find with

hostname

All you need on your phone is an SFTP client.

user8292439
  • 3,878
  • 7
  • 32
  • 57
0

Install an FTP Server app on your Phone and connect with your File browser or any FTP Client.

I use this one from F-Droid: FTP Server (Free)

ftp://ip-address-of-your-phone/
pLumo
  • 27,991