Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

68

This is apparently a known bug in Android which is not even acknowledged by Google since Oct 2012, bug #2 — depending on the method of creating files on the Android device, these files may remain invisible when accessing the device using MTP, until the device is rebooted. Known workarounds include: Use USB storage mode instead of MTP, if it is supported by ...


48

What worked for me (on Windows) was: Plug the Nexus 7 into your computer with the USB cable. Open Device Manager: Start -> Run (or Win+R), type in: devmgmt.msc and hit enter. This opens up the device manager. Find "Android Composite ADB Device" near the top and expand the node. Double click on the device. (Note: Sorry, I don't see it anymore so it might be ...


32

Go to settings > apps > all applications > media storage > tap 'clear data' ... Reboot and everything will appear in Windows Explorer once again.


18

The following methods are tested on Windows 7; Ubuntu based Distribution and Slackware with desktop environment KDE 4.1x. Nothing can be said about Mac. The answer is intended to serve as a consolidated guide for the various methods out there. Few following methods requires USB Tethering to be enabled. This can be achieved by instructions mentioned below: ...


17

After a couple of days of digging, I found the solution to this issue. I opened up Device Manager. My first problem is I was looking for Android Composite ADB Interface, which is what it usually is called. I started looking harder. When I noticed ACER Device. My machine is not an ACER, nor do I have any ACER devices attached, or so I thought. I expanded ...


16

Similar to ScoobyDo's answer Disconnect the USB cable from phone. Click 'Clear data' on the Media Storage application. Then 'Force stop'. Reconnect the USB cable to phone. The Media Storage application is restarted and rebuilds the media list. Missing files are now available. This avoids rebooting, which was important for me. Your mileage may vary


16

You can swipe down the Notificationbar and it will show Charging only. If you click that entry you can select the desired mode. The selected mode won't be set as default, so if you plug your device again, it will be on Charging only again. To set the default mode you first need to enable developer mode (don't ask me why...). This can be done by going to ...


12

On Nexus 7 2013, Settings > Storage > Hamburger icon (top-right) > USB computer connection.


10

You can't, this is a current permission problem (bugreport here) of Android 4.0+'s /sdcard folder if it's not using FAT32 (but FUSE). Reason: There's a transition away from FAT32 to unified user storage for both apps and media data (using ext4) on a single file system. We got tired of seeing OEMs include many GB of internal storage for music, while users ...


10

In theory, there is not a way to access your phone's memory card with a drive letter, because, as you said, Android now connects it as an MTP device, and not as a Mass Storage device. But, there are two solutions: Root phone and get a "Mass Storage" enabler application that will work on your phone. Without rooting phone: as long as both the computer are on ...


10

Go into Developer options, and cycle the USB host mode, the files will show up on my PC.


9

Sure there is. Just comfort differs, depending on what OS you're on. I mostly use adb for this. On Linux, you can even mount the device this way. There are also several adb GUIs if you prefer such as the cross-platform QtADB. Or you can use the command line: # Copy a file to the Android device adb push some.file.ext /mnt/sdcard/some.file.ext # Grab one ...


8

Wikipedia is our friend, again. :) http://en.wikipedia.org/wiki/Media_Transfer_Protocol#Drawbacks Quote: MTP allows no parallelism, unlike USB mass storage or NAS. MTP has been built to only allow a single operation at a time (for example, read, write or delete operation), while no other operation can be executed until the previous operation is complete. ...


8

From Wikipedia: The Media Transfer Protocol (MTP) is an extension to the Picture Transfer Protocol (PTP) communications protocol that allows media files to be transferred atomically to and from portable devices. Whereas PTP was designed for downloading photographs from digital cameras, Media Transfer Protocol allows the transfer of music files on digital ...


7

USB Mode: Set Default to MTP (file transfer) Marshmallow/6.0 Default is set to Charge only mode, You can enable developer options and enable MTP feature by following below steps: Settings -> About phone -> Touch 7 times on Build Number to enable Developer options Settings -> Developer Options -> Select USB Configuration -> MTP


6

I recently came across this issue on a Nexus 5 and tried most the solutions listed here with no luck. In my case, it looks to be caused by a recognized bug with stock Android (source). My solution was as follows - I used Windows 8.1, but no reason this wouldn't work on OSX/Linux (root is required on device however). On your PC, create a .tar.gz archive of ...


5

The SD Scanner worked for me on Android 5.0.2. It requires no Root permissions. May be limited to only "new and updated files" (but not deleted ones). I've found it in the accepted answer to the linked question and also in a question on rescanning SD memory on 4.4.


5

If you want to give adbfs a try, here are some instructions. You need to take care to grab the right one, as there are two projects around: one is simply called adbfs, I couldn't get that to work correctly. The other is adbfs-rootless: go to the projects github page on that page, at the right-hand side in about the middle of the page, you find a button ...


5

Connecting your phone via UMS (USB Mass Storage) won't be possible. It's been removed from Android, so the only way would be for you to fork the Android source and program it in again. I assume that's not what you want to do. There were a few reasons for this, but mostly because UMS is prone to crash third-party apps and also files cannot be dual accessed ...


4

As mentioned in another answer, on devices that use FUSE for SD card emulation (such as modern Nexus devices), only root can change timestamps of files in /sdcard. Since things like MTP and ADB don't run as root, you can't preserve the timestamps with these methods. However, if your device is rooted, you can fix the timestamps with a separate step ...


4

This is a question which really trouble me a lot when come across with devices which only have MTP but not the Mass storage mode. I also have concerns about it with exactly the same reasons with Mahn. After some testing, I have find a temp solution which maybe able to preserve the timestamp. It makes use of the excternal sdcard / OTG card reader and also ...


4

My method is based on the answer suggesting WebDAV. It could be replicated by an FTP, Samba or other networked file server. Essentially you start a WebDAV server on your android device, and mount it as a network drive. Your phone's IP must be visible to the computer you want to browse the files on. Generally this means you must be on the same local ...


4

Check the EXIF data and see if there's a timestamp there. If there is, Photo Date Correction will allow you to overwrite the botched file timestamp with the EXIF one, giving you back your proper sorting.


4

FINALLY SUCCESS Tried above steps. Trying to connect a Nexus 7 to Win7-64. The device in the Computer Management/Device Manager/Portable Devices, used to say Nexus 7, now it says MTP USB Device and has the ! with This device cannot start. (Code 10). http://pcsupport.about.com/od/findbyerrormessage/a/code-10-error.htm Essentially, this means uninstalling all ...


4

I have found the simplest method, with both my Samsung Galaxy Tab2 7.0 tablet and Galaxy S3 Mini smartphone, is to use SSHDroid (on the Android device) to provide SSH server. Google play > SSHDroid by Berserker Then I simply connect from Nautilus using SSH, over WiFi. This is plenty fast and I can bookmark the links for re-use (provided the IP address ...


4

The easiest way probably is to turn the mechanism around: instead of letting Windows do the sync, let the Android device take care. From there, you should have full access at least to your SDCard (internal as well as external). So all that's needed is a possibility for the Android device to access your Windows PC. On your Windows PC, create a "share" (i.e. ...


4

Yes, you can try search for 'mtp alternative' in Google Play or visit its page below: https://play.google.com/store/apps/details?id=com.clearevo.mtp_alternative It requires USB Tethering to be enabled then it's quite simple. After my friends and myself faced quite a few 'MTP driver not found' and 'file not showing' issues myself, I decided to make the app ...


4

This might be a simple problem of a write protection or permissions issue. Take a backup of your SD card and format the SD card. This may reset the permissions and you will be able to write into the SD card


4

Google changed the USB protocol for Marshmallow to always default to charge. The reason for this change because they brought back the ability to make external storage (SD card) become internal storage. Creating a new storage type called "Adoptable Storage". Originally google removed the ability to swap storages because they viewed it as a huge security ...


4

The best I found so far is an application named MTPEnabler: http://forum.xda-developers.com/android/apps-games/app-mtp-enbaler-t3263467


Only top voted, non community-wiki answers of a minimum length are eligible