- ADB Push is a convenient method for transferring files between computers and Android devices, offering an efficient alternative to MTP/File Transfer.
- ADB, a part of the Android SDK Platform-Tools package, enables users to connect their Android devices to Windows, Mac, or Linux systems for various tasks.
- Requirements include installing the Android USB Driver, enabling USB Debugging, and downloading the Android SDK Platform Tools before following the step-by-step guide to copy files using ADB Push.
Android features and customizations are among the key factors for its popularity and a wide range of user community worldwide. Transferring or copying files from/to Android devices can be very useful in several scenarios compared to MTP/File Transfer. Fortunately, you can easily copy a file from the computer to your Android device with ADB Push.
ADB Push and ADB Pull commands are really useful when transferring files between your Windows/Mac system and the Android device. Generally, copying or transferring files might take a longer period and can be a little bit of a hassle in a traditional way from computer to Android or vice versa.
But with the help of the ADB Push command method, youโll be easily able to transfer or copy bigger files and a variety of file extensions in a couple of clicks and taps. It includes video & image files, documents, PDFs, archive files, PSD files, and more, irrespective of Windows & Mac. Here weโve provided you with a detailed step-by-step guide to transferring files to Android from the Windows/Mac machine using ADB Push commands.
What is ADB and its Features?
ADB stands for Android Debug Bridge, a common yet useful command-line tool as part of the Android SDK Platform-Tools package. Itโs basically used to connect or communicate your Android device with another device such as Windows or Mac or Linux. Most Android developers and avid Android customization fans prefer to use ADB & Fastboot commands on their Android devices to perform specific tasks.
In the past couple of years, even normal Android users have also jumped into it since USB Debugging, Bootloader Unlocking, or Rooting becomes a trend. If in case, youโre struggling with copying or transferring files via the traditional MTP mode from the computer to your Android handset, you should use ADB Push. Though MTP/File Transfer feature works fine, some users might encounter connectivity or transferring issues with it on multiple Android devices.
So, if you desperately need copying files to your Android smartphone/tablet, ADB Push will come into play. Talking about the benefits or features of ADB & Fastboot commands, youโll be able to perform certain tasks on your Android handset like transferring files, flashing firmware files, flashing custom recovery, installing or uninstalling applications, unlocking or locking the bootloader, booting the system into the stock recovery, debugging the software/hardware on your device, upgrading system firmware, and so on.
What are the Requirements?
Before jumping into the ADB Push method on your Android device, youโll need some files installed on your handset and your computer. Make sure to keep everything ready by following the steps below.
- Youโll require a Windows or Mac or Linux computer.
- A USB cable for connecting a PC and an Android device.
- If not installed, youโll have to install the Android USB Driver on your PC. Just run the installer program and follow the on-screen prompts to complete installing.
- Download the Android SDK Platform Tools (ADB and Fastboot) on your PC.
- Keep your Android device charged sufficiently (more than 40%).
- Enable USB Debugging on your Android handset. To do that:
- Open theย Settingsย app on your phone.
- Go to the About Phoneย section.
- Tap onย Build Number 7 times continuously to get a successful message that says โYou are now a developerโ. It means youโve enabled Developer Mode on your device.
- Now, go back to theย Settingsย menu again, and tap on Developer Options.
- Make sure to Turn On the Developer Options toggle at the top.
- Then Turn On the USB Debuggingย toggle. If prompted, select Allow USB Debugging, and tap on OK.
Steps to Copy a File from the Computer to Android with ADB Push
Now, youโre ready to get into the file copying or transferring process to your Android device via a computer with the help of ADB commands. So, without further ado, letโs proceed.
- First of all, connect your Android device to your computer using the USB cable properly.
- Weโre assuming that youโve already installed the Android USB Driver on your system. If not, do it now. [Important]
- Obviously, youโve enabled USB Debugging too. If not, do it.
- Next, you have to extract the downloaded ADB and Fastboot Tools on your PC to a suitable place like the desktop screen or inside any folder/drive.
- Open the extracted Android SDK Platform Tools (ADB and Fastboot Tools) folder.
For Windows:
- Press and hold the Shift key + right-click on an empty space inside the folder.
- Itโll open a context menu and youโll have to select Open PowerShell window here. (On some PCs, itโll look like Open command window here)
- If prompted, click on Yes to open the command window.
- Now, youโll need to input the following ADB command and hit Enter to execute the file transfer:
adb push <local file> <remote location>
- Wait for the transfer progress to complete and the status will be shown in the command-line window.
- Finally, you can disconnect the USB cable from your handset.
Please Note: Here <local file> is the full path to the file on the PC. (For example; C:\User\Filename.extension) and <remote location> is the full path of location on Android. (For example; /root/filename.extension/ or /sdcard/filename.extension/)
For Mac/Linux:
- If youโre using a Mac or Linux computer then simply launch the Terminal.
- Ensure to change the directory to the SDK Platform Tools folder by performing the cd command below to configure ADB & Fastboot: (For example; Documents/platform-tools/)
cd Documents/platform-tools
- Now, youโll need to input the following ADB command and hit Enter to execute the file transfer: [Ensure to add <local file> and <remote location> as mentioned above]
adb push <local file> <remote location>
- Wait for the transfer progress to complete and the status will be shown in the command-line window.
- Finally, you can disconnect the USB cable from your handset.
So, youโve now successfully copied or transferred your necessary files to your Android device via the ADB Push method. We hope this guide has helped you.
ALSO READ:
- Why Does My Android Phone Vibrate for No Reason?
- What Is โSent As Sms Via Serverโ on Android and How to Fix it
- Download and Install AOSP Android 10 Update for Galaxy Note 3
- Pair Android Phone to Windows PC at aka.ms your-pc
- How To Find Other Computers On A Network In Windows 11
- How To Remove Ecp.yusercontent.com From Computer