HOW TO COPY FILES FROM ANDROID PHONE TO PC IN AN EASY AND FAST WAY
First things first.
I often need to copy substantial amount of photos from my phone.
It can’t be done via Windows GUI without millions of mouse clicks or keystrokes.
Here you will find a solution on how to do this in a proper way.
The key tool for this will be [ADB], developer tools for Android.
Wishes: command line, batch, no file explorer, no mouse, no clickety-clack.
Sicking tired of all of these not-so-precise-instructions i’ve decided to make my own.
Why on Earth such thing as copying plain files become so complicated?
Answer is pretty straightforward: Microsoft and Apple are top-notch dorks that is why.
[MTP] is a horrible protocol, which was created by Microsoft to transfer files between multimedia devices.
The implementation of it’s functionality is quite terrible. I am not going to rant about it’s quirks and bugs today.
I just wanted to mention that Apple’s idea of copying certain files through a proxy-program called iTunes is worse
than the MTP protocol. So, at least MTP is not the worst solution in the world.
Enough of this endless intro, back to the main topic.
First of all you need to enable USB debugging on your Android device.
This can be done from Developers settings, which are usually hidden and
have to be enabled by gazillions of taps on the build number of your Android version.
In most cases it is located somewhere around “About device” section.
If you want to get ADB software up and running on your Windows 7 machine,
you’ll need to make sure you have the right tools for the job.
The official ADB site provides only Windows 10 compatible crap
and we definitely don’t want this, don’t we?
And hey, kiddo, remember that you are on Windows 7 website?
There’s nothing else in this reality.
Grab tested and working version from [ClockworkMod].
Connect your device to PC and confirm File transfer on the device.
Install MSI, find ADB folder and access it from the command line.
Type @ command line to show connected devices:
adb devices
You should see something like this:
That means the device is already connected.
These days most smartphones come with no sd-card at all. Everything for your convenience.
Give your generous high fives and props to dumb-heads from Apple.
That is why to access the internal flash of the device we need such not-so obvious path:
/storage/emulated/0/
Finally, to copy files from Android phone to PC type something like this:
adb pull /storage/emulated/0/DCIM/Camera c:\my-photos\
This line will copy folder Camera with all it’s contents to your PC on drive C to folder my-photos.
Of course i copy from multiple folders, that is why combininig multiple command lines into one convenient batch file is a thing to do.
And yeah, if you want to copy files from PC to Phone just replace pull with push and you are good to go.
Here is an example of my batch file:
c:
cd "C:\Program Files (x86)\ClockworkMod\Universal Adb Driver"
adb pull /storage/emulated/0/DCIM/Camera C:\Users\#p8#8\Desktop\4STOCK
adb pull /storage/emulated/0/Pictures/Raw C:\Users\#p8#8\Desktop\4STOCK
In this example I copy JPG files from Camera folder and RAW files from Raw folder.
Damned android file system and their unobvious mishmash standards for developers.
Poor devs!
That is it for today.
Enjoy the `puters.