So I'm looking to setup a file sync with my phone, now typically it's a simple robocopy command that will sync folders but I'm having problems with this setup anyone have any experience with robocopy that can lend a hand?
ROBOCOPY C:\Users\asdf\Music\ "Galaxy Nexus"\"Internal Storage"\Music /MIR
That's my .bat file but nothing works, thoughts?
What you are trying to do won't work.
The Phone is not mounted as a standard USB device, so it isn't assigned a drive letter. Instead it is being mounted as a MTP device. Microsoft is being "user friendly" in the Explorer shell by giving it a path, and you can browse the folders etc. But I think it is only being seen by Explorer, and it isn't recognized as a storage device at the actual OS level. So the robocopy command doesn't see it.
If you want to use robocopy, you will need to install an app for Samba file sharing. This will let Windows see the files on your phone like another computer's network shared folders.
https://market.android.com/details?id=com.funkyfresh.samba&hl=en
This will be connecting over wifi, not your USB cable, though.
So, with the Samba app installed, you might also try adding reverse tethering to make the phone use a USB cable to the computer as the network connection.
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
I don't know what kind of throughput you will see with networking over the USB cable. Or how it will compare with transferring over wifi. I haven't tried it myself, but I think it could work, in theory.
brandonyoung said:
What you are trying to do won't work.
The Phone is not mounted as a standard USB device, so it isn't assigned a drive letter. Instead it is being mounted as a MTP device. Microsoft is being "user friendly" in the Explorer shell by giving it a path, and you can browse the folders etc. But I think it is only being seen by Explorer, and it isn't recognized as a storage device at the actual OS level. So the robocopy command doesn't see it.
If you want to use robocopy, you will need to install an app for Samba file sharing. This will let Windows see the files on your phone like another computer's network shared folders.
https://market.android.com/details?id=com.funkyfresh.samba&hl=en
This will be connecting over wifi, not your USB cable, though.
So, with the Samba app installed, you might also try adding reverse tethering to make the phone use a USB cable to the computer as the network connection.
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
I don't know what kind of throughput you will see with networking over the USB cable. Or how it will compare with transferring over wifi. I haven't tried it myself, but I think it could work, in theory.
Click to expand...
Click to collapse
Ahh I thought that was going to be the problem. I can't seem to add files on my Windows PC it keeps canceling the transfer. On my Mac they transfer fine. So what I think I'm going to do is once I get my 20gb of music on the phone just use DoubleTwist AirSync.
i have a samsung galaxy note 2 sgh-i317M. I want to use robocopy to transfer my voice recorded school lecture notes to my laptop recorded with note 2's default voice recording app. How can I make the note 2 be detected as a drive (C:, F so that I can robocopy on it? Thank you
Bought a cable that adapts to USB so that I could put a memory stick into my NOTE
Plugged it in with a stick and after three file manager apps found out it was stored under SDcard USBstorage ------ funny location????
Anyway eventually found a file manager that could copy multiple files and sent a few down to the stick
All looked well ---- could see them on the stick
Pulled down the options and unloaded the stick.... took it out and put it in the PC
File manager could see it JPG files all looked well
Nothing pulls them up! They are not recognised at all despite the JPG extension
????
Looked at the properties of the file and it says they are not JPG but JIFF images?
Tried rename it says it cant see the file - then creates a copy with the JIFF extension
Still noting will read them ???
anyone any ideas?
Any comment appreciated
pete
I just tested using ES File Explorer.
I copied a photo taken with the Note's camera to a USB stick, put it in my laptop and was able to view it fine in Windows explorer and using Picasa.
It had the same filename and extension as the phone.
If you copy other file types (a word doc or mp3 etc.) does the extension change also?
richlum said:
I just tested using ES File Explorer.
I copied a photo taken with the Note's camera to a USB stick, put it in my laptop and was able to view it fine in Windows explorer and using Picasa.
It had the same filename and extension as the phone.
If you copy other file types (a word doc or mp3 etc.) does the extension change also?
Click to expand...
Click to collapse
No the extension does not change - I changed it to see if it could read it?
Tried linking the phone direct to the computer without the stick etc and the computer could see the phone and SD card OK ---- but when I tried to read them from the phone with XNView it seemed to not see them
Copies all the JPG files from the phone to the computer and they read OK?
Something weird?
Still baffled with the stick thing
Going around in circles - thought the stick would be a good way of backing up my photos when I was away from the PC - but it dont work?
pete
hmmm. that is weird. What file manager app are you using to copy to the USB stick?
If it's just backing up your photos that you want, drop box might be useful. It automatically backs up any photos I take.
It's a bit of a pain to have to go through dropbox to delete all of the "junk" photos that you don't really want to keep, but it's a simple solution that I don't have to think about and I'd rather do a little clean up every now and then, then lose a photo I really wanted.
You can set it to only back up over wifi, or both wifi and mobile data.
[edit] It's also weird that if you can't view pics on the phone via the PC.
I can connect via either MTP or external USB and browse my phone using Windows Explorer. If I double click on a photo in my DCIM folder it opens up on my PC using my default viewer (Picasa).
[/edit]
richlum said:
hmmm. that is weird. What file manager app are you using to copy to the USB stick?
If it's just backing up your photos that you want, drop box might be useful. It automatically backs up any photos I take.
It's a bit of a pain to have to go through dropbox to delete all of the "junk" photos that you don't really want to keep, but it's a simple solution that I don't have to think about and I'd rather do a little clean up every now and then, then lose a photo I really wanted.
You can set it to only back up over wifi, or both wifi and mobile data.
[edit] It's also weird that if you can't view pics on the phone via the PC.
I can connect via either MTP or external USB and browse my phone using Windows Explorer. If I double click on a photo in my DCIM folder it opens up on my PC using my default viewer (Picasa).
[/edit]
Click to expand...
Click to collapse
Think there must be a problem with the cable
Connected the phone direct with another cable and I can see the folders (directories) on that so at least I can do it that way!
Dropbox is a good idea will try that too
Thanks
pete
Hey Everyone,
I've been having a wierd issue ever since upgrading to AOKP and 4.0.4. When connected to a computer via USB I can only see 10 folders on my SD card (Alarms, Android, DCIM, Download, Movies, Music, Notification, Pictures, Podcasts, Ringtones), but cannot see any of the folders that I create. I've tried all suggestions that I've seen so far like downloading SDRescan, making sure the MTP is checked, fast-boot is off, but still can't seem to fix the issue. I've been using a Wifi Explorer program, but it isn't as quick of a USB transfer. Does anyone know what could be causing this? Any help would be appreciated.
Thanks.
Solved. Please delete.
You should edit your post to show how you fixed the problem. People might find this thread on a search engine if they are looking for an answer to the same question.
On the 5X (and I think on Android Marshmallow generally), a USB connection is treated by the phone as a charger by default. You can change it to other modes (mass storage, for example, to transfer files to a PC) while the phone is connected by tapping the notification.
Make file transfer mode the default?
Jacquestrapp said:
On the 5X (and I think on Android Marshmallow generally), a USB connection is treated by the phone as a charger by default. You can change it to other modes (mass storage, for example, to transfer files to a PC) while the phone is connected by tapping the notification.
Click to expand...
Click to collapse
Does anyone know how to change the default option for this? Everytime I reconnect my 5x to my PC, it defaults to "charging" mode, and so I have to tap the notification to change it to "file transfer". It would be nice if I could set this as a default.
I can no longer transfer mp3 files from my Windows computer to my P6P. I have moved plenty of music to internal storage, but now can no longer get anything over. Only the album folder shows up, but no contents. I believe I am doing everything correct with the USB cable, connecting and then selecting file transfer. This is a new development. Any suggestions? Very frustrated.
gmfeld said:
I can no longer transfer mp3 files from my Windows computer to my P6P. I have moved plenty of music to internal storage, but now can no longer get anything over. Only the album folder shows up, but no contents. I believe I am doing everything correct with the USB cable, connecting and then selecting file transfer. This is a new development. Any suggestions? Very frustrated.
Click to expand...
Click to collapse
Is it showing up under my my computer? Like as a drive "C, D, etc"
Gytole said:
Is it showing up under my my computer? Like as a drive "C, D, etc"
Click to expand...
Click to collapse
Yes, I see the Pixel internal storage in file manager, and all the music folders already there. Now when I try to transfer an album the new folder shows up but none of the mp3 files. Even when I then try to transfer the files individually
gmfeld said:
Yes, I see the Pixel internal storage in file manager, and all the music folders already there. Now when I try to transfer an album the new folder shows up but none of the mp3 files. Even when I then try to transfer the files individually
Click to expand...
Click to collapse
Question, are you transferring then unplugging to check if they transferred? Sometimes windows and android have a hard time communicating...this is jokingly called the "middle school dance" where both see each other but both don't make the first move to update what has been done.
Sometimes I transfer stuff but windows explorer never updates what has actually transferred.
Absolutely what @Gytole said. And it's not just Windows' built-in File Explorer. Other programs like GPSoftware's Directory Opus also have the same problem with views of the phone's storage across MTP.
@gmfeld Have you checked on the phone itself if you can see the files that you think you copied recently?
Try rebooting - both the phone and the computer?
Yes I checked my phone after unplugging. Weird, the last time I tried 4 files transferred out of 20. I rebooted my phone I will try rebooting my computer
I've rebooted my phone and computer and have tried every way I can think of. Four out of 20 files were transferred to my phone internal storage and I cannot get the rest of the mp3 files of the same album to copy over. This must be new to me with the latest update.
gmfeld said:
I've rebooted my phone and computer and have tried every way I can think of. Four out of 20 files were transferred to my phone internal storage and I cannot get the rest of the mp3 files of the same album to copy over. This must be new to me with the latest update.
Click to expand...
Click to collapse
I'll set a reminder for myself tomorrow to do some tests on my own Pixel 6 Pro. I've previously copied several hundred gigabytes of FLAC and MP3 files to my P6P, but that was many months ago.
roirraW edor ehT said:
I'll set a reminder for myself tomorrow to do some tests on my own Pixel 6 Pro. I've previously copied several hundred gigabytes of FLAC and MP3 files to my P6P, but that was many months ago.
Click to expand...
Click to collapse
Thanks. I also already have a lot on there, this is something new for me.
I've loaded mp3s on mine (through musicbee sync) on mays firmware so i don't think it's tied to that. Are you on May or one of the betas (june's or 13)
I also transfered boot to downloads via explorer but that was on april
I'm almost willing to bet it's a driver issue. Windows is NOTORIOUS for "Hey! I see you're working but let's go ahead and install a different driver cause I want to piss you off."
Legit happened to me after I updated Evo to version 3 yesterday. I went into the bootloader, updated the rom, and when I went to copy over the boot.img there was no "Picel 6 pro" in explorer...I had to open device manager and choose the middle MTP driver from the "choose from list" to get it to see my P6P again makes me wanna freakin hit a baby sometimes.
gmfeld said:
Thanks. I also already have a lot on there, this is something new for me.
Click to expand...
Click to collapse
I was about to do the test, but was having some problems with MTP seeing the contents of a very deep folder structure of some of my FLAC files (which already exist on my P6P's internal storage), and then I remembered that actually, when I copy large amounts of and/or large sizes of files, I do so through an intermediary - usually a MicroSD card through a simple non-powered USB-C hub (using X-Plore File Manager).
Now that I've reminded myself of that, I don't even want to attempt to do the same kind of thing through MTP. It's painful and actually takes longer than copying to a MicroSD card first. Figures, eh?
Maybe ADB pull command works better.
Edit. adb push
I just was about to test Xender - Share Music Transfer, but connecting wirelessly to a PC requires enabling a hotspot on the phone and connecting the PC to the hotspot. Still worth testing, but I'll have to do that from a PC that my constant internet connection isn't critical on - so sometime later when I have time to do that.
This seems to be more common when the stock USB C to USB C cable that was included with the phone is not used. Granted, very few people have a USB C port on their computer right now, haha.
Anyway, I would have issues making 60GB video file transfers onto my phone - not because the phone wasn't showing up - but because the file transfer process would just randomly close explorer.exe on Windows after transferring a few files. Once I started using the stock USB C to C cable, this issue stopped occuring (and the transfers were much faster).
But, of course, if Windows isn't even detecting your phone you may have to install the Google Pixel USB driver (and also be sure to enable file transfer on your phone when you connect it to the computer).
So it's not an issue with my phone, as I'm able to transfer mp3 files from my work Windows computer to my P6P using a stock (non-Google) cable. Could it be some setting on my home Windows computer?
gmfeld said:
So it's not an issue with my phone, as I'm able to transfer mp3 files from my work Windows computer to my P6P using a stock (non-Google) cable. Could it be some setting on my home Windows computer?
Click to expand...
Click to collapse
I wish I knew what to suggest. There are just too many variables to know.
gmfeld said:
So it's not an issue with my phone, as I'm able to transfer mp3 files from my work Windows computer to my P6P using a stock (non-Google) cable. Could it be some setting on my home Windows computer?
Click to expand...
Click to collapse
It's a driver issue on your computer. Remove the driver (uninstall it from device manager), restart computer and let it reinstall.
Don't install Google USB drivers since that's for USB debugging/fastboot. Let windows install the driver by itself.
If that doesn't work, there was a post someone made recently that shows how to reinstall the default windows driver, here.
Use Spotify, Deezer, Tidal, last FM, Pandora, YouTube music, apple music, etc etc
Mp3 files usually are ilegal
spinoza23 said:
Use Spotify, Deezer, Tidal, last FM, Pandora, YouTube music, apple music, etc etc
Mp3 files usually are ilegal
Click to expand...
Click to collapse
I think you mean usually illegal, which is of course nonsense. I only use local file and get them from amazon (and formerly emusic). I hate streaming because the ads (though youtube music inserts those in local file too) and data required