LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 10-17-2017, 02:28 PM   #1
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
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, 09:12 PM   #2
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
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, 01:45 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 02:58 PM   #4
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
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



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 08:54 PM
upload to debian from android phone with JuiceSSH dk201 Linux - Mobile 7 08-08-2014 05:33 AM
Android phone as a usb modem Mazer Slackware 5 07-23-2012 03:56 PM
View my Debian desktop via android phone?? prickee Linux - Mobile 3 01-26-2012 05:16 PM
Debian on an Android phone: newbie questions rob_L Linux - Mobile 7 08-29-2011 09:06 AM

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

All times are GMT -5. The time now is 08:58 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
Open Source Consulting | Domain Registration