Tuesday 15 October 2013

Filled Under: ,

Transfer Files Using adb [GUIDE]

Why, we should use adb ?
 
Some devices, like the Galaxy Nexus and the HP Touchpad* (via the custom Android ROMs) don’t
expose themselves as USB storage devices. They instead use MTP or PTP to transfer media files (limiting to only photos and audio/video files being shown from the device). This happens due to there being no separate sdcard on these devices, and ‘unplugging’ an sdcard from a running device to be exposed to the connected computer could cause running apps on the device itself to malfunction.

How to use adb ?

You need - 
-MTP device
-A pc
-Adb drivers (Link for samsung MTP/ADB devices)
-Adb.zip (Get Here)
-Usb cabel
Its very easy (without any software)
-Unzip adb.zip.
-Put the folder into C drive.
-Install drivers for your device.
-Open command prompt.
-Type cd "adress of adb"
To copy a file from the computer to an android device connected via usb, use this in command prompt-

adb push /path/to/local/file /mnt/sdcard/path/to/file

This will copy the local file to the device in the specified location.
To copy files from device to pc. It will place the file in the folder of adb.

adb pull /mnt/sdcard/"file name with ext."

(Leave a comment if you get any problem)

0 comments:

Post a Comment