LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-01-2017, 12:26 AM   #31
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

Quote:
Originally Posted by Yuhan View Post
How do you apply adb?
took you a while

first of all, let's see if it isn't installed already:
Code:
which adb
if it isn't, several packages can provide it and you have to find out which one.
see my previous post.

if - when - it is:
Code:
adb devices
should start scanning for devices.
if that is succesful (show us the output), you can use aafm.

Last edited by ondoho; 12-01-2017 at 12:28 AM.
 
Old 12-01-2017, 10:46 AM   #32
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
To "which adb" I received nothing. The website you mentioned presents
numerous options...not clear what it is I'm looking for. It "took a
while" because there were many suggestions!

Let me know what I'm looking for as there are many variations it seems
to choose from. Thanks!
 
Old 12-01-2017, 12:04 PM   #33
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
Code:
sudo apt install git android-tools-adb
adb devices
git clone https://github.com/sole/aafm
aafm/aafm
please note that only the first command needs root privileges.

if 'adb devices' does not clearly state that it found a device, you need to fix that first.

Last edited by ondoho; 12-01-2017 at 12:05 PM.
 
Old 12-01-2017, 12:13 PM   #34
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by Yuhan View Post
This in response to apt-cache policy gvfs-backends:

apt-cache policy gvfs-backends
gvfs-backends:
Installed: 1.22.2-1
Candidate: 1.22.2-1
Version table:
*** 1.22.2-1 0
500 http://debian.gtisc.gatech.edu/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status

Does that help?
That helps you. One less thing to worry about.

Back when I fought my Iphone using Linux. I cheated/used https://www.sendspace.com/ and my mail account.
 
Old 12-01-2017, 06:54 PM   #35
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Very helpful! Okay, so once you have all that installed, how then
does it apply to connecting desktop with android device? Where do
I find the android/ Linux connection? Thank you for the assistance!
 
Old 12-01-2017, 07:17 PM   #36
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Well. On kernel 4.10. On my 32 bit Antix 15 install < debian squeeze base >. I installed gmtp. Plug my android device in. Which is a samsung s7 edge. Setup the phone settings to accept and use usb cable sync. Say yes. Trust this device. Open gmtp. Transfer stuff after hitting the button on gmtp to find my android device.

But. I was under the impression ondoho was coaching you through some steps. So I would follow him on how he is leading you and post back the commands he gave you.

Because I don't even know if you have mtp protocol installed on your android device or not. So my post may be a moot point.
 
Old 12-01-2017, 07:27 PM   #37
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Sorry!Yes, this gets confusing. I was addressing the comments made by ondoho.
Thank you for your comments, rokytnji. I will try this if adb proves not to work.
It's ridiculous something like this requires so much maneuvering!
 
Old 12-02-2017, 03:38 AM   #38
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
Quote:
Originally Posted by Yuhan View Post
It's ridiculous something like this requires so much maneuvering!
that's mostly because of your attitude and aradoxically because of your expectation that it should Just Work.

you aren't really providing any detail about the steps you take, don't think before typing your answers.
and so it becomes harder to get it done, harder for us to help you.

Quote:
Originally Posted by Yuhan View Post
once you have all that installed, how then does it apply to connecting desktop with android device? Where do I find the android/ Linux connection?
you need to show us the outut of each command, and additionally some description of what you see (aafm is a graphical application).
 
Old 12-02-2017, 03:15 PM   #39
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Sorry if it appears that way...what would you like to see the output on? I'm happy
to show you.
 
Old 12-02-2017, 10:26 PM   #40
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Okay...here is something interesting. In response to *sudo jmtpfs /media/Asus* I received this:

$ sudo jmtpfs /media/Asus
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Device 0 (VID=0b05 and PID=5507) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
fuse: bad mount point `/media/Asus': Input/output error

So device is detected but unknown? Please explain this. I now
see the Asus icon under *Home* but it does not open. Thanks.
 
Old 12-02-2017, 10:39 PM   #41
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
When I clicked on the *Asus* icon under Home I got this:
Attached Thumbnails
Click image for larger version

Name:	Permission.png
Views:	20
Size:	12.8 KB
ID:	26460  
 
Old 12-03-2017, 03:49 AM   #42
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
^ the permission error is irrelevant atm.
you have to fix this fiorst:
Quote:
Originally Posted by Yuhan View Post
$ sudo jmtpfs /media/Asus
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
Device 0 (VID=0b05 and PID=5507) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
this usually means that your device is newer than the database of known android devices.
you have to add it to that database somehow.
search for UNKNOWN here, it says how to do that.

____________________________________

Alternative: use adb instead of mtp:

Quote:
Originally Posted by Yuhan View Post
Sorry if it appears that way...what would you like to see the output on? I'm happy
to show you.
i'm confused.
you managed to install aafm and adb with the commands i gave you, but you don't know how to provide command output?
for starters, show us the output of
Code:
adb devices
 
Old 12-03-2017, 02:27 PM   #43
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
adb devices
List of devices attached
 
Old 12-04-2017, 08:02 AM   #44
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
This was the only output I received.
 
Old 12-04-2017, 12:59 PM   #45
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
this means you have to first fix what i mentioned in the first half of my previous reply.
 
  


Reply



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
scp from amd64 debian server to android tablet chiendarret Linux - Software 2 11-04-2013 10:31 AM
LXer: Twitter Launches An Android Tablet Optimized App For The First Time — On One Tablet LXer Syndicated Linux News 0 10-12-2013 01:25 AM
Configuration Debian to give internet (ether) to Android Tablet ? Xeratul Debian 6 04-04-2013 01:23 AM
Problem installing Debian on my Android tablet. Hungry ghost Linux - Mobile 7 08-12-2012 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:52 PM.

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