LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2019, 06:07 AM   #1
nmm1
LQ Newbie
 
Registered: Mar 2019
Posts: 3

Rep: Reputation: Disabled
Problems mounting Nexus 7 on Debian 8.11


I cannot find a hint of what is wrong by searching the Web. All of
the hits are for slightly different symptoms or the solutions are
things I have already done. But, of course, I may have missed
something ....

When I last saw this effect (in another context), it was because the
network or device had gone AWOL in service. I have looked at every
option I can find on the device, MTP is on, USB debugging is on, etc.
etc. Any ideas would be appreciated!

Thanks.

wheeler#ls -ld /media/nexus7
drwx------ 2 root root 4096 Mar 23 10:20 /media/nexus7
wheeler#jmtpfs /media/nexus7wheeler#ls -ld /media/nexus7
drwx------ 2 root root 4096 Mar 23 10:20 /media/nexus7
wheeler#jmtpfs /media/nexus7
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Device 0 (VID=18d1 and PID=4ee2) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP+ADB).
Android device detected, assigning default bug flags
wheeler#mount | grep jmtpfs
jmtpfs on /media/nexus7 type fuse.jmtpfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
wheeler#ls -ld /media/nexus7
ls: cannot access /media/nexus7: Input/output error
wheeler#ls -l /media
ls: cannot access /media/nexus7: Input/output error
total 12
lrwxrwxrwx 1 root root 6 Apr 25 2016 cdrom -> cdrom0
drwx------ 2 root root 4096 Apr 25 2016 cdrom0
drwx------ 2 root root 4096 Mar 23 10:30 cdrom0.LOCAL
d????????? ? ? ? ? ? nexus7
drwx------ 2 root root 4096 Mar 23 10:20 nexus7.LOCAL
ut error
total 12
lrwxrwxrwx 1 root root 6 Apr 25 2016 cdrom -> cdrom0
drwx------ 2 root root 4096 Apr 25 2016 cdrom0
drwx------ 2 root root 4096 Mar 23 10:30 cdrom0.LOCAL
d????????? ? ? ? ? ? nexus7
drwx------ 2 root root 4096 Mar 23 10:20 nexus7.LOCAL

Last edited by nmm1; 03-23-2019 at 01:16 PM. Reason: Another wheel mouse problem I had missed!
 
Old 03-24-2019, 06:35 AM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
To eliminate any issues with permissions when mounting your Android, create a directory somewhere in your home folder, i.e. don’t mount it under /media or /media/USER/. Try disconnecting it, then reconnect and run the first two commands below as root, then the next two as user:
Code:
# mtp-detect
# exit
$ mkdir ~/nexus7
$ jmtpfs ~/nexus7
Now you should be able to browse in ~/nexus7 with a file browser, when done unmount with:
Code:
fusermount -u ~/nexus7
 
Old 03-24-2019, 07:38 AM   #3
nmm1
LQ Newbie
 
Registered: Mar 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks very much, but no joy. I had already tried lots of games with permissions, and (after a
hint elsewhere) running it unprivileged, but even your commands make no difference. mtp-detect and most other low-level commands work, and show the device correctly, and I can get on using 'adb shell/push/pull', but mounting fails half-way through. It's not visible by df, has that broken state, but DOES unmount using fusermount.

Given the pile of cards that is remote mounting in Unices, before even we get onto fuser and the
android link, I really can't think of what to try next.
 
Old 03-27-2019, 05:38 AM   #4
nmm1
LQ Newbie
 
Registered: Mar 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
I am going to try upgrading my desktop system, but not immediately, as I need to allow time for
things to go wrong.
 
  


Reply


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
LXer: Ubuntu Touch OTA-10 Update Is Coming on April 7 for Nexus 4 and Nexus 7 Devices LXer Syndicated Linux News 0 04-07-2016 03:42 AM
LXer: All current Nexuses, including Nexus 4 and 2012 Nexus 7, will get Lollipop LXer Syndicated Linux News 0 10-17-2014 10:00 AM
LXer: Ubuntu Touch Support Dropped for Galaxy Nexus, Nexus 7 (2012), and Nexus 10 LXer Syndicated Linux News 0 01-15-2014 08:31 PM
LXer: How to manually install Android 4.4 KitKat – Nexus 7 (2012/2013) WiFi, Nexus 10 LXer Syndicated Linux News 0 11-15-2013 03:20 PM
LXer: Welcome to Google's Nexus One – and the "Nexus" Device LXer Syndicated Linux News 0 01-06-2010 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:09 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