Introduction :
We all know how to copy files from PC to Android Device and vice-versa (I guess )
But say, in some rarest of situations, where your phone is being recognized by PC on connection with USB cable, but for some reason, 'My Computer' or whatever File Explorer does not show your device, or doesn't lists files and directories of your phone, and you would want to transfer files, then this guide is for you.
I would have put the title, the one written below, but it won't fit in the Title
Transfer files from your PC to phone and vice-versa even if 'My Computer' does not recognize your phone properly.
However, PC must recognize it (when a notification sound is played on connection).
Requirements :
1. You
2. An Android Device.
3. A PC. (I will use windows 8 in this guide)
4. ADB installed on your PC and configured for your phone.
Procedure:
Let this be the situation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, My Computer says 'This folder is empty', but actually I have 2 main folders , sdcard0 and sdcard1
Now what you have to do is open ADB. To do that, Hold Shift+Right click on your ADB folder and then select 'Open Command Prompt window here'
First we will check whether ADB recognizes the Device, to do that, type :
Code:
adb devices
If your device is recognized, the result will be
If it does not recognize, nothing will show up in the list.
Now, the main thing, to transfer file, I will be transfering 'Gallery.apk' to my sdcard0 main directory.
I have kept the Gallery.apk in C:\ for easy address.
Now the general format of the code:
Code:
adb push <source address> <destination address>
Source address here is C:\ and target address is storage/sdcard0/
You can check for address of a location on your Phone by always viewing properties with a file explorer of a folder or a file.
So I type :
Code:
adb push C:\Gallery.apk storage/sdcard0/
First, before executing it, I will show no Gallery.apk is present in referred directory
After typing the code, it should look like this :
Execute it.
On successful execution, it will look like
You can do the same thing to transfer files from Phone to PC
Code would be :
Code:
adb pull <source address> <destination address>
Remember, here source address will be the address of file present in your phone and destination address would be the desired location you would want to put the file in.
This should work even if your phone is not showed up in My Computer at all, but however PC detects it and so does adb.
Transferring multiple files will really be painful, but wait, trick is even here too.
Just press the up arrow key in command prompt and the last statement would appear, now just change address and your hard work is reduced to just work .
Cases when this won't work -
1. ADB is not configured. Head over to this thread to set up ADB. You can Google it more info.
2. ROM installed on your phone has storage issues (like mount problems).
If you feel this guide has helped, then there is no harm in pressing Thanks button
Related
HOW-TO Fix **ADB is not recognized in the CMD**
Navigate to & Left_Click on Start >
Right_Click on Computer >
Left_Click on Advance System Settings >
Left_Click on Environment Variables >
Left_Click on New ( User Variables ) >
Variables Name: ADB ( Or anything you want )
Variables Value: ;C:\SDK\tools ( Just like this, This is the Path of my adb.exe )
You must put a ; in front of ;C:\ ( adb Path goes here / Variables Value: )
That's it.. You now have set up adb to work Global via cmd prompt on win7
~Eugene
eugene373 said:
HOW-TO Fix **ADB is not recognized in the CMD**
Navigate to & Left_Click on Start >
Right_Click on Computer >
Left_Click on Advance System Settings >
Left_Click on Environment Variables >
Left_Click on New ( User Variables ) >
Variables Name: ADB ( Or anything you want )
Variables Value: ;C:\SDK\tools ( Just like this, This is the Path of my adb.exe )
You must put a ; in front of ;C:\ ( adb Path goes here / Variables Value: )
That's it.. You now have set up adb to work Global via cmd prompt on win7
~Eugene
Click to expand...
Click to collapse
That should help with a lot of the issues I see being posted, not only here but on many Threads. Simple path statement 101
Better: Chose "Path" in "Systemvariables" and put it at the end of this line, i.e. like this: ";C:\android\platform-tools;C:\android\tools". Because then it'll even work if u run the cmd as administrator, which won't work if you do it as described above. Atleast its been the way on my W7 Ultimate 64
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi,
another way (and very useful for other reasons) is to change registry like this:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]
@="open cmd here"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\Command]
@="cmd.exe /k pushd %L"
Afterwards you are - by right-clicking the adb-folder - directly in the right folder.
Don´t know if you have to restart, i´m using it just a long time.
Greets
idephili
or just put the tools folder and adb binarys in C:\Windows or C:\Widnows\System32 ;-)
done
I know this is of topic but thanks Eugene for all of your contributions
Sent from my HTC Sensation 4G using XDA Premium App
Eugene373, I am so happy you're devving on the Sensation! Thanks for the ADB how-to...it really helped! Will you continue to develop and make ROM's for this device?
Alternatively you can also copy the ADB and Fastboot.exe files over to System32 or SysWOW64 folders and they work fine as well.
as google shows up this thread here my two cents...
the mentioned methods don't work for me nor anyone else('s computer) running windows 7 professional 64 bit i know. here's what in fact works perfectly on any computer i tried it on:
copy the path to your adb.exe wherever it is, put a semicolon in front of the path and attach it to the existing entry in the PATH variable. no matter if you add it as an user oder system variable. last one is only to recommend as you're dealing with multiple users which all need to access adb via cmd
is there a way to convert the twrp file backup on my pc to get it back on to my phone to install the backup everytime i try to put it back on my phone via adb it errors out and im stuck at this point ive been at this for over 10 hours just trying to restore my backup i have the backup file on the pc and ive backed it up earlier but now it errors there has to be a way to get this backup back onto my phone in a way that it will recognize it and install it please help lol im familiar with custom roms and the like not a expert but i kinda know what im doing and ive loaded custom roms on many phones in the past with no issues but this one is proving to be a real pain using a note 4 n910t
for more info i was trying to install petbede's rom and i managed to get to the reboot stage and he states it could take anywhere from 7-10 mins on average for it to boot up but mine was going on 20 mins plus and was getting really hot so i pulled the plug and as long as ive been trying to do this in one sitting i just want my backup installed and to be done with it for a few days untill i can muster the courage to try it again but this time i will be backing up on a seperate sd card that i can just pop into the phone to restore from since the pc copy is not playing nice with me
Bit confused how to unlock the bootloader on my moto G..
I am following this guide: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b
But I'm stuck on the part "
On your desktop, open a command prompt or terminal, and go to the directory where you installed the Android SDK tools (or make sure fastboot is in your $PATH)
I'm currently installing the following in the screenshot I've taken, but I don't know where the SDK tools are installing to? there is no folder in program files etc...
Many thanks in advance..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rightclick on this computer and choose properties, then select advanced settings then surroundings variabels, then in system variables choose path (starts with C and choose modifty and add \android-sdk\platform-tools ( this is where the sdk is located on my pc) at the end of the string.
Also copy AdbWinUsbApi.dll and AdbWinApi.dll (both are in the platform-tools folder) to the windows\system32\ folder.
ps: you only need the top 2 items from the android sdk manager and the Google Drivers.
Thanks but I don't quite understand? I'm on Windows 8.1..
Also AdbWinUsbApi.dll is not even located on my PC ? :-/
junglebungle said:
Thanks but I don't quite understand? I'm on Windows 8.1..
Click to expand...
Click to collapse
Me too Go to system variables and look for path, click edit and add the location of your android-sdk at the end of the string.
Also AdbWinUsbApi.dll is not even located on my PC ? I really am lost I must be losing brain cells.
junglebungle said:
Also AdbWinUsbApi.dll is not even located on my PC ? I really am lost I must be losing brain cells.
Click to expand...
Click to collapse
Both dll`s are in the \android-sdk\platform-tools\ folder, copy them to C:\windows\system32\.
Here is a full guide http://www.google.nl/url?sa=t&rct=j...OWoMssTikMpokJ6TtwEND5A&bvm=bv.59026428,d.d2k for installing adb
That folder isn't anywhere on my PC though that's the problem?!
never mind I've done it, I've pasted the key into the motorola site "3A45890085034220#5441383833304358553100585431303332000000#64ED856A41ADE4D962B9AF1039E9690B98543710#6B94ED010F0000000000000000000000"
And clicked "can my device be unlocked?" and it doesn't do anything, then I request unlock key at the bottom of the page and it just goes to a white blank page? :/
Done it finally! phew lol
junglebungle said:
never mind I've done it, I've pasted the key into the motorola site "3A45890085034220#5441383833304358553100585431303332000000#64ED856A41ADE4D962B9AF1039E9690B98543710#6B94ED010F0000000000000000000000"
And clicked "can my device be unlocked?" and it doesn't do anything, then I request unlock key at the bottom of the page and it just goes to a white blank page? :/
Click to expand...
Click to collapse
I haven`t unlocked my MG so can`t help you there. Maybe someone can help you with this
-Edit- All right bro
What was the fox for the problem?
Sent from my XT1032 using Tapatalk
Hi all,
I unlocked my bootloader and flashed Clockwork-recovery. I made a backup of the stock-Android using CWM -> Backup, and it shows in CWM that it wrote files to /sdcard/clockworkmod/backup/$DateEtc$.
How can I get those files to the PC now?
They don't show up in the mounted SD card.
Also, I tried adb pull /sdcard/clockworkmod/backup/, which says the folder doesn't exist. I can pull /sdcard/clockworkmod/, but that gives me only the file ".recovery_version" and nothing more.
So how would I get those files to the PC?
Thanks,
@Elador.... Try this....
1) On your phone copy or move your backup file to the folder sdcard/Download
2) Connect your phone to PC as "Media Device"
3) The "Download" folder will be visable on your PC ..... Transfer your backup file wherever you want.
Turn on usb debugging in developing settings.
Download adb on your PC.
Connect your device to PC.
Enter to your cmd window:
adb devices
on your phone screen you should allow adb access
After that enter
adb pull /mnt/shell/emulated/clockworkmod/backup C:/
That's for coping all backups on C disk.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@metpolds: That didn't work, the files are not visible in the File Explorer on the device.
@S0bes: Awesome! That finally worked! Thank you very much!
S0bes said:
Turn on usb debugging in developing settings.
Download adb on your PC.
Connect your device to PC.
Enter to your cmd window:
adb devices
on your phone screen you should allow adb access
After that enter
adb pull /mnt/shell/emulated/clockworkmod/backup C:/
That's for coping all backups on C disk.
Click to expand...
Click to collapse
If I want to restore in the /clockworkmod/backup floder, what should be the command?
shibliaftab said:
If I want to restore in the /clockworkmod/backup floder, what should be the command?
Click to expand...
Click to collapse
If I am not mistaken...
adb push C:/(name of backup) /mnt/shell/emulated/clockworkmod/backup
S0bes said:
Turn on usb debugging in developing settings.
Download adb on your PC.
Connect your device to PC.
Enter to your cmd window:
adb devices
on your phone screen you should allow adb access
After that enter
adb pull /mnt/shell/emulated/clockworkmod/backup C:/
That's for coping all backups on C disk.
Click to expand...
Click to collapse
i used to use galaxy s2, in that i cud easily see the backups
why cant we see them in moto g? why we need to use adb to pull those files? any technical insight would be great
bluepratham said:
i used to use galaxy s2, in that i cud easily see the backups
why cant we see them in moto g? why we need to use adb to pull those files? any technical insight would be great
Click to expand...
Click to collapse
You can see them at /mnt/shell/emulated/clockworkmod/backup after you get root acces oyour device.
Deleted
|Tutorial|How to install third party wach faces&apps on android wear connected to ios
Hi everyone
After a lot of research i want to share with you guys the easiest way (in my opinion)to install third party watch faces and apps on your android wear connected to your iphone.
I AM NOT RESPONSIBLE FOR ANY DAMAGE ON YOUR DEVICE
Things you will need for this tutorial
A pc or laptop
Your watch with a usb cable to connet it to your pc/laptop
You have to install adb drivers
You also have to install formatter.here is the ling http://www.mediafire.com/?5a74bjg475er75d
if you have installed all tha above things,you are ready to start .
So now we are going to install Birdie Wear(this app is only an example)(with this method i am going to use now you can also install watch faces)thats just an example
now you have to download your app or watch face as an APK file and save it to your computer.the site i am using and is very good for downloading apks is called apkpure.here is the link https://www.google.gr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjQ_Yyuk-jNAhXMshQKHT7IDTIQFggcMAA&url=https%3A%2F%2Fapkpure.com%2F&usg=AFQjCNEm8ShV63J8nv4STQxAFVWmBMkK8A&sig2=HxpiMM_9CrwwOBjItS9tJA
then go to your watch and activate developer option.just go to settings-about-find build number and tap it 10 times .then go back.after about on you setting you will see developer options.go there and find ADB debugging and ENABLE IT .connect your watch to your pc and if this the first time you do this a screen will appear with some options .just select ALWAYS TRUST THIS COMPUTER .
After you have done this go on your pc and OPEN the programm called FORMATTER.when you open it choose the apk file you want to install(for me on this thried is Birdie wear )and Set format :.rar .on the name type whatever you want and then click Rename!it should look like that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After that your apk file now will be converted to a Rar file.open the rar file and go to res folder and after that to raw folder.in the raw folder you will find your apk that you have to install on the watch.copy that to your desktop
after that go to C:\adb(go to hard drive and open adb folder to your pc)then when on this folder press shift and right click to open command
when command is open 1.type: adb devices
then you will see your device name .if it says unothorised just unplug and plug your watch to the pc or laptop and type again adb devices(if you dont do this before after adb devices command go to your watch and select always trust this computer)
then after your device serial number it wiil say Device
then 2.type:adb install " apk file destination".it should look like that adb install C:\Users\BestUserEver\locationofapk\apk.apk
give it some time to install it AND YOU ARE DONE.THATS ALL. IT SEEMS TO BE A BIG THREAD BUT IF YOU DONE THIS ONE TIME IT WILL BE VERY EASY
SORRY FOR MY BAD ENGLISH ,I AM JUST 15 YEARS OLD FROM GREECE AND I HAVE BEEN SEARCHING FOR 3 DAYS TO GET IT DONE WITH MY WATCH.IF YOU HAVE ANY QUESTION JUST ADD A COMMECT HERE.
THANKS
Python ADB File ExplorerSimple File Explorer for adb devices. Uses python library adb-shell or command-line tool adb.Features:
List of adb devices
Connect via IP (TCP)
Listing / Pulling / Pushing files
Renaming and Deleting files
GitHub RepositoryLatest build for win-x64:ADB File Explorer v1.2.0
Download
Here some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just tried today, worked great! Windows 10 transfer to Pixel 6 Pro - 150gb in 15 minutes, much faster than MTP!
No errors or issues in Window 10, the window did read as non-responsive during the transfer but I assumed it was doing its thing and left it alone.
Only suggestion would be some sort of progress indicator, maybe that would stop the program from being "unresponsive"?
Thanks for your work, very easy to use!
kykyzachariah said:
Just tried today, worked great! Windows 10 transfer to Pixel 6 Pro - 150gb in 15 minutes, much faster than MTP!
No errors or issues in Window 10, the window did read as non-responsive during the transfer but I assumed it was doing its thing and left it alone.
Only suggestion would be some sort of progress indicator, maybe that would stop the program from being "unresponsive"?
Thanks for your work, very easy to use!View attachment 5459243
Click to expand...
Click to collapse
Thank you for your reply!
Ok, I will try to fix it.
!UPDATED!to version v1.0
GitHub Repository
how about adb over wlan?
Latest build for win-x64:ADB File Explorer v1.2.0
Download
Hi!
Is root adb server planned to be implemented?
I was just looking for a quick way to copy a folder from adb TWRP but when I tried to use this app there is the phone icon with a red cross (see picture) and nothing happens by clicking.
Through CLI instead I was able to copy the desired folder.
antoniu200 said:
Hi!
Is root adb server planned to be implemented?
Click to expand...
Click to collapse
root needed
Very cool stuff! I submitted a PR for supporting multiple file selection and download/delete on your repo. Please check it
Werve said:
I was just looking for a quick way to copy a folder from adb TWRP but when I tried to use this app there is the phone icon with a red cross (see picture) and nothing happens by clicking.
Through CLI instead I was able to copy the desired folder.
View attachment 5623663
Click to expand...
Click to collapse
I also found the same error for Samsung Galaxy M20 and unable to access files
@Azata
I hope this message finds you. First of all, thank you for developing this program! It has been immensely helpful for me in copying files to and from my device. I find that transfers via ADB are much faster and more reliable than using MTP protocol.
One thing I would like to suggest, I think it would be much better if the file picker interface could remember location of the last folder, as it always defaults to the application folder root where ADBFileExplorer.exe is located.
Also, it would be helpful if we could select multiple folders to copy at the same time. Currently, the file picker interface only lets you choose one folder at a time, and holding Ctrl whilst left-clicking does not select multiple folders.
Would it be possible to implement root? It does not trigger the root-prompt and simply says "permission denied"..
Could someone please post a step by step tutorial on how to use this?
I'm trying to run on a mac with m1 but having issues with PyQt5 installation. Does anyone have a workaround for this?
On Windows 7 X64
Tried installing/re-installing Python, but it's still not working.