Menu

#1313 List file failed if file is pushed by adb

1.1.8
accepted
nobody
None
1
2016-05-15
2015-03-29
Anonymous
No

This ticket is the same with #1309 (because i tried to comment but it didn't work)
I tested Libmtp on Linux: and here are step:

1.Using adb to push a file to Android(adb push 123.mp3 /sdcard/123.mp3)
2.Using mtp-filetree to list all file and folder. It listed all file and folder except "123.mp3" which is pushed from ADB.
3.Using Window to list file. "123.mp3" appear.
I tested with libmt 1.1.6, 1.1.7, 1.1.8 and they are don't list "123.mp3"
Please help me to solve it soon.
Thanks

Discussion

  • Reverend Homer

    Reverend Homer - 2015-03-29
    • status: open --> accepted
     
  • Reverend Homer

    Reverend Homer - 2015-03-29

    Thank you!
    I'm sorry I don't have much time, but I'll try to reproduce and maybe fix it as soon as possible.

     
  • Anonymous

    Anonymous - 2015-03-31

    it also happended when an appication create a file

     
  • Pekka Paalanen

    Pekka Paalanen - 2016-05-15

    Maybe it is this Android bug:
    https://code.google.com/p/android/issues/detail?id=195362
    Essentially, it seems that files served over MTP do not come from the file system directly, but they come from the media catalog service whatever. When you create files in a way the service is not noticing, they will not appear over MTP.

     

Anonymous
Anonymous

Add attachments
Cancel