2

I have Redmi 1S phone running Andriod 4.3 (MIUI v56). When connected to a PC (Windows 7 32Bit) in MTP mode, one of the folders named Backup (present in internal memory) is seen as a file and effectively inaccessible.

When connected through FTP, that folder is seen and accessible through an FTP client (can be downloaded as well to PC). Folder is accessible from within the File Manager app on phone as well.

I am clueless what is selectively causing this single folder being seen as a file when the device is connected in MTP mode! Any support to solve this would be great. Thanks.

1

Because of the different way files and folders are handled on Windows when compared to other operating systems, it could be that the folder is corrupted and Windows is seeing it as a file (which it really is in the Android filesystem). It may be possible to fix this problem by:

  1. Creating a new folder,
  2. Moving the contents of Backup into the new folder,
  3. Removing Backup, and finally
  4. Renaming the new folder to Backup

However, depending on what the underlying problem truly is, this may not fix it.

  • Thanks for your suggestions Preston159. As a workaround I could access (it as a folder) and download the contents thru FTP. However when as MTP this particular folder is seen as a file of 4KB size. This folder is created by OS and it stores the backup as bunch of files therein. I will follow the steps you suggested and check if it helps and update you. – pat2015 Jul 1 '15 at 21:11
  • 'it could be that the folder is corrupted and Windows is seeing it as a file' -- would you please back this claim with a credible source? I would like to know the reason, or at least folks with similar problem. – Firelord Jul 1 '15 at 23:09
  • The trick move-copy-rename as suggested by Preston159 worked indeed! Now the folder is accessible in windows explorer and data remained intact. This could have been indexing issue as suggested by ballzak. At the moment I don't have ADT so could not run the adb shell command as such. Thank you all. – pat2015 Jul 2 '15 at 7:07
1

This is most likely cause by the path being incorrectly indexed as a file in the MediaStore. Only files scanned and added to the MediaStore shows up in Windows when the device is mounted in MTP mode. Try rescanning the path, to update the MediaStore with the correct path information.

If you have the ADT installed, use ADB:

adb shell am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard/Backup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.