Can't see files in certain directories (including DCIM) over file transfer (MTP) - Nexus 5X Q&A, Help & Troubleshooting

Hello, today I plugged my phone in to try and transfer some photos I'd taken earlier, and to my surprise could not see the photos in the DCIM folder. Using FX File Explorer I can explore that folder just fine on the device itself, and see everything.
This problem seems to be affecting several folders, but not all of them. Sometimes it affects different files in the same folder differently. For example, I have some .pdf and .apk files in my Download folder, which I can see on my phone, but on my PC I can only see some other files in that folder, including a .zip file. The issue appears to be based on the date the file was created, as outlined in this post in Google Support forums. I had no success with the cache-clearing of External and Media storage system apps outlined in that thread. I had success with being able to view all my /Downloads/ folder items by putting them in a subfolder and then bringing them out again into Downloads. The trick did not work with the DCIM folder for some reason.
I am rooted, but this issue has persisted through at least one re-flash of a stock image (I just updated to the newest July build without wiping all my data).
The only thing I can think of is that I ran this command to change the permissions of /su/bin when I was trying to get Android Pay working and perhaps that screwed something up? But wouldn't that be reset after the stock image was flashed anyway? Or would I need to wipe to do that? And even so, it still doesn't explain why it only affects certain files and folders.
Thoughts on things to try? Is there any way to undo that chmod command? FX File explorer says my current permissions on that folder is 0755, could that even be causing the issue? Apparently the change to 751 failed.
The issue persists using different USB cables and ports on my PC.

Did you have any luck figuring this out. I am having a similar problem as well.
I have always been able to transfer music from my computer to my nexus5X's Music folder with no problem. Today, something isnt working right. When I plug the 5X into my computer and select File Transfers, I can see all my files on the 5X. When I select the Music folder, it opens but only shows 237 songs. When i look at the folder on the 5X is shows 1016 songs. For some reason when connected to the computer it cant see all the files in the music folder. Also, when I try to copy a file to the music folder windows give me an error and says "The device has stopped responding or has been disconnected" If i try to copy is somewhere else on the 5X it works. I just can send it to the music folder. What can I do to fix this?

I actually noticed this before the update to 7.0. I used TiBU but the folder was not there. Using root explorer I can see the folder. I placed the Titanium Backup folder into another folder and then I could see it via the PC.
I uses a usb 3.0 port on the PC , have not tested 2.0 atm.

This is a typical MTP bug, just find & clear 'Media Storage' system app data, reboot. Dont connect PC before media scanner service finished.
You will lose media playlist, though.

Related

[Q] All files not showing on PC

I have tried with file manager and found the files i was looking for in android/data/something but when i connect my GN to my PC (win7 32bit) i only get a few folders and files,
I have tested with both USB modes and I only get the basic folders such as
Alarms, Android, DCIM, Downloads, Movies, Music, Notifications, Pictures, Podcasts, Ringtones.
and the file manager reports more folders present :/
also the files i'm trying to access are within the android folder (which is visible on PC) but in filemanager there are 10-20 folders found in android/data that are missing on PC. PC only shows 3 folders in android/data
It also appears to be possible for other users to access the exact same file at the exact same filepath, why can't I?
is there a feature on GN or ICS that makes it impossible to access some files from the PC or is this a bug/flaw?
in case you guys need to know what files i'm trying to access, it's the game files to GTAIII
I kind of have a similar problem.
When i connect my phone to a windows 7 computer it mounts okey and shows me the files. If I create a folder on the phone from windows explorer, unmounts the device, I can not see this folder on the phone via a file manager unless i reboot my phone. This also applies the other way around. If I create a folder on the phone from a file manager, then mount the phone to the computer, I can not see the folder until I reboot my phone.
Is there a fix for this? Is it a bug? How can i resolve this? It's very frustrating.
MTP/PTP doesn't offer all the features the full USB transfer mode has. Search will help you find the pros and cons of this.
Workaround: Use an app like WiFi File Explorer or Airdroid.

[Q] USB connection issue/Files and Folders Invisible

Hi everyone, I'm having a real problem when connecting my LTE GNexus to the computer. I wanted to copy the TitaniumBackup folder to my desktop then replace it with the one I copied over from my old Droid Incredible, but when I look at the TitaniumBackup folder on the internal storage of my Nexus, it shows as empty, containing zero files. This is impossible, as I've done a backup already and even checked with ES File Explorer that all of the backup files ARE in fact present within the folder. However, the folder appears as empty on my PC and when I copy it, only copies an empty folder.
Furthermore, I then deleted the ENTIRE TitaniumBackup folder via ES, and the computer then showed the folder was gone (so it it's not like it's not reacting to changes made). I then redid the backup, which recreated and populated a new TitaniumBackup folder, but when I plugged it back in to my PC, the new folder didn't even SHOW UP. So now I have an entire folder that for some reason is completely invisible to the PC.
I don't know if this an issue caused by the Nexus or ICS specifically, the MTP protocol it uses to connect (instead of USB mass storage), or maybe even Titanium Backup. All other folders appear to be visible and the files inside are present (to my knowledge). What in the world is going on?!
PS: Please don't just give me a workaround for the current situation like "just upload it to Dropbox". I need to know how to fix this bigger issue for future use. Though if someone could recommend to me a way to upload whole folders to the cloud somewhere (Dropbox, Gmail, anything that allows me to pull it down via a PC) that would obviously be appreciated, as every app seems to only want to upload individual files, even the new DB. THANK YOU!
Hi,
I just had the same issue with the TitaniumBackup folder not showing up in windows explorer after the first backup.
Restart of the phone helped!
Cheers
Simon
its MTP, this has been bugging me too, but for now i got a workaround (i know...)
get SDrescan, its free. it will force your phones media storage to rescan your files. once you do, you'll see your files appear in the explorer. rebooting your phone also triggers this
Thanks everyone! Man, MTP sucks...
cancerouspete said:
its MTP, this has been bugging me too, but for now i got a workaround (i know...)
get SDrescan, its free. it will force your phones media storage to rescan your files. once you do, you'll see your files appear in the explorer. rebooting your phone also triggers this
Click to expand...
Click to collapse
SDRescan did not work for me. Sits there forever saying "preparing" (I did let it sit for 30 min).
So, is there any solution for that?
Missing many files/folders on MTP.
This is really ****ting me up the [email protected] wall. I've trie everything, even sdrescan does **** all. Why does this issue exist and why the **** has't it been fixed
Using wifi, I've worked around it by using some of the features in AirDroid (sets up a web server on your GNex and you can login via a web interface on your PC). File Expert can also talk to windows shares on the same wifi network, I've used this to move around some large files as well.
I'm also having this issue, I've already tried fix permissions in recovery, did a symlink (not sure if I did it correct though) and now I'm trying sdrescan.
I'm thinking of going back to cyanogenmod backing up my entire sdcard to pc flash jelly bean and put back every file...
Cause pictures I've taken with Jelly bean are showing up in the gallery and via usb, so i'm guessing copying everything back to it will do the trick.
Most annoying thing is I can flash a new rom whenever and where ever I want and be able to fix my issues, but this sdcard thing is way out of my league...
I find a solution here :
http://forum.xda-developers.com/showpost.php?p=28606823&postcount=21
Hope it fixed the problem, I had exactly the same one
Easy workaround : in the app X-plore file manager, long-press on your TitaniumBackup folder, choose "Create Zip", then Ok (doesnt matter where you put the zip, you will cancel/delete it soon)
VoilĂ ! My files appeared instantly in Windows as soon as X-Plore started creating the zip file. So, cancel that dialog, and enjoy your titanium backup files.
vacuum007 said:
Hi,Restart of the phone helped!
Click to expand...
Click to collapse
Restart phone as previously stated. Worked for me too. :good:
Reboot didn't worked for me.
I tried through ES File Explorer to copy the Titanium folder in my computer via LAN.When it started copying files, then the folder magically showed its content.Then transferred via MTP as it's a lot faster than 802.11g.
Hope someone finds it helpful.

All files Disapeared

Hello,
I Have a Big problem...
On my nexus, Since I copy ont file onto the SD, all other files are Disapeared....
I tryed to use recevey softwares, but oly work with mass storage cards....
Somebody have an idea how can I restore my files please ??
xTremePower said:
Hello,
I Have a Big problem...
On my nexus, Since I copy ont file onto the SD, all other files are Disapeared....
I tryed to use recevey softwares, but oly work with mass storage cards....
Somebody have an idea how can I restore my files please ??
Click to expand...
Click to collapse
Can you offer any additional info? Have to used Root Explorer or a similar app to confirm without a doubt the files are gone and not just in a different place? And I am slightly confused when you say "move to sd card" because internal storage and SDcard on this phone are the same thing since there is no EXT..
I copyed files as usualy from computer to the nexus
After the copy (I copied the new google apps zip) this zip is ont the storage, but all other 12Go of data in the card are disapeared
I try to find it with windows, root explorer, es file explorer, I tryed android undelet tools and windows undelet tools... noone can see the MTP memory of the nexus .......
And I disabled the upload to picasa..
xTremePower said:
I copyed files as usualy from computer to the nexus
After the copy (I copied the new google apps zip) this zip is ont the storage, but all other 12Go of data in the card are disapeared
I try to find it with windows, root explorer, es file explorer, I tryed android undelet tools and windows undelet tools... noone can see the MTP memory of the nexus .......
And I disabled the upload to picasa..
Click to expand...
Click to collapse
Do you have fast usb charge enabled? If so, try disabling that.
all files in /sdcard disappeared
The same thing just happened to me. I copied 386MB of music to /sdcard/Music and all appeared to be fine. I used Windows7 x64 Explorer over USB mounted as MTP.
I noticed that I could not copy some files back to Windows from Nexus. After messing around with that for a while I used ES File Explorer to check out /sdcard. Only a few folders were there, as if /sdcard were newly created. I could still see all of the lost folders in Windows Explorer.
Am I screwed?
TIA!
This is from a corrupt MediaStore DB. I ran into something similar when moving files to my phone over WiFi using File Explorer. Afterwards only a handful of folders showed up when connected via USB. Only way to fix it is to reset the DB. Settings > Apps > All > Media Storage > Clear data/cache. Reboot. It should completely rebuild the DB after the boot, and things should show up correctly again.
osm0sis said:
This is from a corrupt MediaStore DB. I ran into something similar when moving files to my phone over WiFi using File Explorer. After only a handful of folders showed up when connected via USB. Only way to fix it is to reset the DB. Settings > Apps > All > Media Storage > Clear data/cache. Reboot. It should completely rebuild the DB after the boot, and things should show up correctly again.
Click to expand...
Click to collapse
That did not get all my data back, I must have done something else while trying to fix it. The good news is that this fixed one of my next questions: How do I reset the Google Music album art? The suggestion above fixed that wonderfully.
Thanks!

[Q] Storage missing/partly hidden

Hello guys,
I have a bigger problem I hope you can help me with...
My internal storage is somehow messed up. This has effects on MTP and on some apps like the stock camera.
When accessing my internal storage by MTP from PC, only a few folders and files are visible. In contrast, if I list the content of "/mnt/sdcard" or "/storage/sdcard0" they show all my files and folders as one would expect. Also, files visible on the PC are inside this path and even when i copy a file from the PC, it is placed here.
The more serious problem is, that some apps are not able to find their files and folders inside die storage anymore. As an example, the camera app asks me to insert a sd card before taking a picture and Winamp doesn't find my music anymore.
What i tried so far:
Copying files from and to storage with Dropsync, FolderSync and ES Explorer: works without problems
I checked the rights of the files with the terminal: nothing interesting there
I cleared my whole storage (thanks to Unlock procedure) and flashed a new Custom ROM
I drank a lot of coffee because it got late
Nothing worked.
Please help, Thanks!
So thats me again.
I finally found the correct allready existing post. In this thread user dlzinc describes that one has to fix the permissions for /data/media. Good to know that i was right with permissions, bad that i didn't go through with it in the first place.
Mazzen

Can't move some files, can't create some folders

I don't know how else to describe this issue I'm having:
Essentially sometimes I cannot create new folders, either in an explorer app (ES File Manager, Explorer (free, not Root Explorer), or other file manager) or when connected to my computers via USB. Sometimes I can do both. Similarly, sometimes I cannot move files from one directory to another, both using file manager or when connected to computer over USB. It seems random, I think?
An example of this is I downloaded a PDF file from SharePoint using Chrome. The file is downloaded to the /Downloads directory by default. I wanted to move this to a different directory (/Documents), but the cut+paste operation failed. ES File Manager says the operation can't be completed, Explorer just sits there and doesn't say anything. When trying to do the same thing over USB connection, Windows just sits there saying the device is busy, and it'll sit there indefinitely. But an OGG file I downloaded from Dropbox was free to be moved to and from several directories when I was testing file operations.
Basically it's like my device doesn't want to play nice with files and folders. I tried doing a factory reset, but that didn't seem to help. Do you think completely reformatting the phone (as in fastboot format userdata, and a fresh ROM + kernel install) would help? It seems drastic, but at the same time being unable to move files and folders is very strange and likely hard to pinpoint the culprit.
I'm rooted (using traditional SuperSU root) running Pure Nexus 12/01/2015 ROM and ElementalX 0.07 kernel (Enforcing disabled). I doubt any of those 3 factors are the cause of it, but every detail might help, right?
Update: It looks like a permissions issue. Please see post below.
OK an update to this, I discovered that some folders that I thought I had deleted using ES File Manager are still showing up in USB storage when I'm hooked up to a computer. That is to say that what I see using a file manager versus what I see while connected to a computer are different.
Further to this, I am now getting "Permission denied" by the file managers when I try to copy and paste anything from anywhere to any other place. I have booted into TWRP to run Fix Permissions already. It looks like everything now has rwxrwx---, which means to me 770? It should be 775, no?
Any ideas what might be causing this permissions issue?
daver68 said:
OK an update to this, I discovered that some folders that I thought I had deleted using ES File Manager are still showing up in USB storage when I'm hooked up to a computer. That is to say that what I see using a file manager versus what I see while connected to a computer are different.
Click to expand...
Click to collapse
For this, I read somewhere that the latest ES File app has a recycling bin for when you delete apps. So, that needs to be emptied too.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
For this, I read somewhere that the latest ES File app has a recycling bin for when you delete apps. So, that needs to be emptied too.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
I did indeed clean out the Recycle Bin (and subsequently disabled it), but the problem persists. But thanks for pointing that out!
OK, an interesting discovery:
If I am on my device and using ES File Explorer and if I am in the path /storage/emulated/0/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /sdcard/* then I am unable to copy/move files and directories, as I've described above.
If I am on my device and using ES File Explorer and if I am in the path /data/media/0/* then I am able to do anything I damn well please.
Now this makes a bit of sense to me, given the permissions for each directory. For example, when viewing the permissions of a file or folder when in /sdcard or /storage/emulated/0, I can only see the permissions as "Readable: Yes, Writeable: Yes", but I cannot change said permissions. However, when I view the permissions for something when under /data/media/0 then not only can I see the explicit permissions "rw-rw-r--" I can also change it if I wanted to.
I suspect this might be more than just the ROM. Perhaps I did not flash the system.img correctly when I first went through the process? Is this possible?

Categories

Resources