How to Transfer files from computer to Android using adb

Copying files through ADB come into use when you struggle so much with your PC. This topic will give you an idea of how to copy files from your PC to your Android through ADB. Using this method, you can transfer any kind of files, no matter how big the content size will be. You can transfer, images, zip files, video, audio, PSD, etc from your PC to Android. Follow this guide to learn how to transfer files from computer to Android using adb.

We always choose MTP mode for transferring files from the computer to the Android device or vise verse through a USB cable. MTP mode will allow you to access the phone storage and help you transfer the file you need. Whether its a huge or a small file the MTP mode will let you access them all with ease.

What happens in a situation where you cant access the MTP mode but pretty much urgent to transfer a file from the PC to your Android. What will be your next move?, there comes ADB into play, it helps the file reach your Android with a push command.

How to Transfer files from computer to Android using adb

Where should I use ADB?

Let me explicit this for you, with a very simple scenario. There comes a situation where you are in the middle of flashing custom ROMs on your Android and suddenly it will demand you to clear the whole device to proceed further. At this point, you won’t be able to flash all the files on your Android and it just leaves it empty. Here ADB shows up what it does.

You could simply push a file from your computer to your Android smartphone by using a simple ADB command. Of course, your Android device needs to be connected to your computer via USB cable.

ADB could just push files from your PC to Android device with usual ADB commands and don’t forget to connect your Android to the PC before you start via USB cable.

If your PC doesn’t have an ABD setup, click on the below link to download;

Download ADB and Fastboot on your PC

How to Copy a File to Android using ABD

  1. Connect the Android device to the PC via USB Cable.
  2. Move to the folder menu where ADB and Fastboot are installed.
  3. Now, hold  Shift Key + Right Click > Open Command Window here. In the new Windows version, it is called Powershell.AMD COMMAND
  4. Execute the  ADB command to copy a file from computer to the Android:
    adb push <local file> <remote location>

    <local file> – Full path of the local file on your computer. For example C:\Getdroids\TestFile.txt
    <remote location> – Path on your Android where you want to place the file. For example: /sdcard/TFX/

  5. You just need to wait until the file is completely transferred to the Android device. You can even create a new destination file directory and copy the file there. If you need to put the file in the folder that doesn’t even exist all you have to do is just mention the path and the folder name, the folder will be created automatically for you. Example: /sdcard/TFX

Note: if you follow the above-mentioned method while the phone is switched on, you have to enable the USB Debugging option on your device.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.