LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices


Reply
  Search this Thread
Old 10-17-2017, 03:28 PM   #1
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 1,987

Rep: Reputation: 286Reputation: 286Reputation: 286
Question Cannot see certain file on USB mounted Android phone on Debian 9 MATE.


Hi.

I mounted my Android smartphone via USB cable on my Debian 9 MATE install. It is not showing a certain file I want (an audio file that's in .mp4 format - the app does that format for some strange reason). In my phone's file manager (OI File Manager) - the file shows alright but on both Caja and PCManFM it shows nothing in that folder.

How can I solve this?

Thanks guys.
 
Old 10-17-2017, 10:12 PM   #2
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 213

Rep: Reputation: 37
How is your phone being accessed? With older versions of Android (and some newer, specific phones whose maintainers still implement it), the file system was accessed in mass storage mode which treated the phone's internal storage as an ordinary flash drive. This worked mostly very well, with the downside that the flash memory was unusable to running apps while your phone was mounted. Partially to mitigate this and for other reasons, Android nowadays typically wants you to use MTP. MTP is notoriously unreliable.

If you are using MTP, then don't expect much. You may wish to check to see which MTP implementation your distribution is using. If files are not showing up as you think they should, then try another implementation - you'll probably be building from source. Here is a good overview of what's out there and their (dis)advantages https://wiki.archlinux.org/index.php/MTP I have not had many good experiences with MTP and have had similar issues. Although, now I use jmtpfs and it gets the job done; though now I have the opposite problem - some files are listed three times for no reason at all.
 
Old 10-18-2017, 02:45 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,981
Blog Entries: 4

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
try to get to it with
Code:
adb
it's really the best alternative to work with android devices.
can also try aafm
 
1 members found this post helpful.
Old 10-19-2017, 03:58 PM   #4
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 9 Stable (Stretch) x64
Posts: 1,987

Original Poster
Rep: Reputation: 286Reputation: 286Reputation: 286
Thumbs up

Quote:
Originally Posted by ondoho View Post
try to get to it with
Code:
adb
it's really the best alternative to work with android devices.
can also try aafm
Cheers ondoho - your solution worked perfectly.
 
  


Reply

Tags
android, file not showing, mount, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem mounting Android phone as filesystem on Debian laptop via USB TomRoche Linux - General 1 04-05-2015 09:54 PM
upload to debian from android phone with JuiceSSH dk201 Linux - Mobile 7 08-08-2014 06:33 AM
Android phone as a usb modem Mazer Slackware 5 07-23-2012 04:56 PM
View my Debian desktop via android phone?? prickee Linux - Mobile 3 01-26-2012 06:16 PM
Debian on an Android phone: newbie questions rob_L Linux - Mobile 7 08-29-2011 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration