Add Right click Context Menu for ADB File Transfer | Transfer files faster and as easy as mtp mode - General Topics

Use ADB Push to copy files to device by a simple right click on windows
(No CMD commands needed)​
You can simply right click any file on your Computer to send to your phone via adb push commands(without needing to type commands)
This makes file transfers significantly faster -especially when you have a large number of small files. MTP is a pain to use. This helps me transfer 100 gb of files in less than 40minutes whereas mtp transfer will take over 4 hours.
1. Install ADB Platform Tools for windows from official website
2. Extract the platform tools to 'C:\' such that your adb directory becomes "C:\platform-tools"
3. Copy the following code and paste it into a new .txt file created on your Computer.
Save it and change extension to .reg. Double click the file to install the registry entry.
3. Create a folder named 'ADBPush' in base directory of your internal storage on your phone - using a file manager. Create a folder named 'ADBPush' in root of your hard drive,i.e, C:\
4. Enable developer options and enable usb debugging on your mobile, accept the request for usb debugging access seen on your phone when you try to run adb command for the first time.
5. You can do this through wireless adb as well but first, you must use the command 'adb connect 192.168.xxx' to connect adb wirelessly first. Replace ip address with your phones current ip adresss.
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\*\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone]
[HKEY_CLASSES_ROOT\Folder\shell\ADB Push to Phone\command]
@="\"C:\\Windows\\System32\\cmd.exe\" /k C:\\platform-tools\\adb.exe push \"%1\" /sdcard/ADBPush/"
Done!
Now you can simply right click context menu to push files using adb - as simple as copy paste

I couldnt get it to work with adb pull as worng directory path if used. Anyone got ideas for getting adb pull working by above method?

Related

[Q] adb shell command prompt

I am new to all this and completely lost. I am trying to be able to access adb shell through command prompt. I have done everything here:
http://forum.xda-developers.com/showthread.php?t=500196
And it still doesn't work. I'm lost. I'm not sure where it was downloaded to. I can find it in my program files under Android. But when I try to put C:\android... it doesn't actually come up. But if I go to explore and go find it, it is... so I think maybe the path isn't set up the same or something. i dunno. I dont get it lol.
Any help would be awesome!
Thanks,
Kimberly.
Hi,
So after you downloaded the zip file did you unzip / install it? as you will need to unzip the file. So for example you may have downloaded it to your download folder so double click the zip and unzip. The you should see a Android folder like "android-sdk-windows".
Once you know where it is you can then either add this to the envrioment varables or could can navigate to the adb program via the command prompt and run it there.
I.e. cd C:\Users\yourname\Downloads\android-sdk-windows\
then type adb shell
There is a guide here: - http://developer.android.com/sdk/installing.html
So have a look in your C drive (Go to My computer, C drive) then look for a folder called "android-sdk-windows"
C:\android-sdk-windows

[Q] ADB

How do you set up ADB and what are the resources you need?
All you need is just to download ADB. For me at first i went to download SDK manager and downloaded a LOT of files and got the adb. I found an easier way though. In superoneclick root latest version i downloaded theres a folder called "ADB". I copied it to the desktop so i have easy access. To use ADB, go to command prompt and type in the location you have placed the ADB folder in, if you copied it to the desktop like me, type cd Desktop\ADB and hit enter. Then type adb shell and you're good to go. You can go search up on some commands as i dont use it very often and not familiar with all the commands. have fun using it
jus download the adb zip .its there in the devlopment thread .......and extract it in the c drive of your system...and jus change directory in the command prompt and you are gud to go

[Guide] Enable mobile data\WiFi to login to gmail account after getting locked out

Okay, So just today my girlfriends room mate at uni decided it would be funny to lock her out of her Galaxy S II
I Tried every available method to me to try and get it unlocked but it wouldn't work.
After some time of scratching my head at this, I found the answer
These are the steps you have to follow in order to make this work
1.Make sure USB Debugging is on [Sorry to those of you who haven't got it turned on :\]
2. Make a folder called adb anywhere you like and place the files in the zip called adb (needs to be extracted) you can use WinRAR, 7zip
etc) attached to the bottom of this post.
3. Attach your phone to your PC and make sure all drivers are installed
4. Open up a command window (this can be done by pressing the start button on your keyboard and r together, then typing cmd) and navigate to the adb folder you created. The command : cd C;\Users\%userprofile%\%yourdirectory%\adb (replace userprofile with your username and yourdirectory with the directory you chose to place adb, don't forget to remove %!!)
5.Now type this command exactly and when done hit enter: adb pull /data/data/com.android.providers.settings/databases/settings.db
6.Don't close Command, but go to the folder where you extracted adb, there should be a new file there called settings.db
7. What I did was transferred the file to my Galaxy S3, and I used an SQlite editor
8.Using an SQlite Editior, go to the tab that says files and scroll down to your sdcard or external sdcard wherever you put it, open the settings.db.
9. There are 6 Options; android_metadata, bluetooth_devices, bookmarks, secure, sqlite_sequence, system. Go to the option that says secure and navigate down to mobile_data or wifi_on.
10. These options either have a 1 or a 0 under the value column, 0 for being off, 1 for being on. Let's assume both are 0. Now if you don't have mobile data, leave this at 0, if you do have it change it to 1, the same with wifi change it to one and you should save the changes you make when you exit.
11. Plug the device back to your computer and copy the new settings.db to the adb folder and overwrite any existing files.
12. Use the command and once done hit enter: adb push ./"settings.db" /data/data/com.android.providers.settings/databases
You should get an immediate response if not just reboot and then your data or wifi should be on and you are able to login to your gmail without a problem
Hope this helps anyone who gets stuck like this

HELP! screen cracked. need to get my photots and music

considering i cannot use the touch screen to select disc drive on my phone when plugged into my computer. is there an alternate way to access the disc drive on this phone?
k2worldwweapon said:
considering i cannot use the touch screen to select disc drive on my phone when plugged into my computer. is there an alternate way to access the disc drive on this phone?
Click to expand...
Click to collapse
Use Quick ADB Pusher GUI and put into pull mode, then pick anywhere on you pc in the first box and in the second box use browse and you should see sdcard near the bottom then hit pull file..
Try using ADB
Darknites said:
Use Quick ADB Pusher GUI and put into pull mode, then pick anywhere on you pc in the first box and in the second box use browse and you should see sdcard near the bottom then hit pull file..
Click to expand...
Click to collapse
I'm pretty sure you can use ADB to get the files off. I found this on another xda forum
1. Connect your device to your pc
2. Open command prompt from Adb folder. (hold shift key, then right click on a blank space, select open command window here)
3. #check if your device is connected via adb by typing in the command window: adb devices
4. #copy all the content of your sdcard by typing in the command window:
adb pull /mnt/sdcard \mysdcard
wait for the process to finish
Check you C: drive for a folder named "mysdcard". all the files and folders in your internal storage will be there.
Good luck
npiper05 said:
I'm pretty sure you can use ADB to get the files off. I found this on another xda forum
1. Connect your device to your pc
2. Open command prompt from Adb folder. (hold shift key, then right click on a blank space, select open command window here)
3. #check if your device is connected via adb by typing in the command window: adb devices
4. #copy all the content of your sdcard by typing in the command window:
adb pull /mnt/sdcard \mysdcard
wait for the process to finish
Check you C: drive for a folder named "mysdcard". all the files and folders in your internal storage will be there.
Good luck
Click to expand...
Click to collapse
Ya you can do all that but I just give him an easy way of doing it, not everyone likes to use command prompt.

[GUIDE] MTP doesn't work for you on GNU/Linux? Use adb.

In this guide I will show you how to use adb to move files to or from your device. Especially helpful if your device has MTP and you can't get it to work with mtpfs on GNU/Linux.
What do you need?
Computer with GNU/Linux.
Connection to the Internet.
The 32bit adb binary or the 64bit adb binary, they are added as attachment to this post. (1)
An Android phone with USB debugging on.
Steps:
Connect your phone with a USB cable to your computer. Make sure you have USB debugging on! (2) Put the adb binary in a folder where you can open a terminal. With the terminal open type:
Code:
./adb devices
Make sure it says something like this:
Code:
List of devices attached
XXXXXXXXXXXXXdevice
Now you know you properly connected your device type:
Code:
./adb pull /sdcard/
or
Code:
./adb push /sdcard/
More info on adb commands you can find here:
http://developer.android.com/tools/help/adb.html
(1): If you are using the Debian or Ubuntu distro (or another wich allows you to install *.deb files) you can install the 32- or 64 bit adb packages and use adb from every folder. Download them from the attachments. If you use this type adb instead of ./adb.
(2): Don't know how to turn on USB debugging? Go to settings, scroll down to the About phone menu item. Tap it and scroll down again to Build number and tap it many times! Then go to settings, and tap developer options and find the USB debugging option.
I hope this was helpful, but I think not, because I get no replies...
AW: [GUIDE] MTP doesn't work for you on GNU/Linux? Use adb.
http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html
I usually use sftp to transfer files. No cable and shell access included.
Sent from my GT-I9100 using xda app-developers app
If you want to copy lots of files, like your music collection or movies, wireless is not fast enough. That's why I use adb, because it's very fast.

Categories

Resources