Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian and Android phone [SOLVED]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Debian and Android phone [SOLVED]

#1 Post by uthappam »

My Debian 9 PC communicated well over a USB cable with my Samsung Z3 phone, which ran on the not popular Tizen operating system. However, I have not been able to get a Nokia 2.1 (Android Go) phone, bought yesterday, to speak to my computer. This makes things difficult as I must look for numbers and e-mail addresses elsewhere. When the phone is connected to the computer it appears in two places, one labelled "Android" and the other "CDROM". The first is empty and the second has directories which are unreadable.
Last edited by uthappam on 2018-12-06 18:41, edited 1 time in total.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Debian and Android phone

#2 Post by milomak »

what does dmesg show when you plug in the usb?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

CwF
Global Moderator
Global Moderator
Posts: 2679
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 196 times

Re: Debian and Android phone

#3 Post by CwF »

Check on the phone how it presents through usb. That 'cdrom' is a emulated cd drive that would likely have some utilities and maybe a pdf, and apparently an unrecognized file system. I had a 'mtk' phone that did that, the setting was on the phone to set appear as mass storage device, that cdrom, as camera and some other options, etc.

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone

#4 Post by uthappam »

Here we are, milomak.

Code: Select all

dmesg: read kernel buffer failed: Operation not permitted 
Thank you, CwF. I shall look in the phone for these settings.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Debian and Android phone

#5 Post by milomak »

uthappam wrote:Here we are, milomak.

Code: Select all

dmesg: read kernel buffer failed: Operation not permitted 
Thank you, CwF. I shall look in the phone for these settings.
i would have expected the dmesg output to have some /dev/ type of output

maybe try something like dmesg | grep -B 5 -A 5 /dev
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone

#6 Post by uthappam »

dmesg | grep -B 5 -A 5 /dev gave what dmesg had given earlier. When I ran it with sudo, it gave a long output -- in which did not contain anything about my phone.

trinidad
Posts: 296
Joined: 2016-08-04 14:58
Been thanked: 15 times

Re: Debian and Android phone

#7 Post by trinidad »

Perhaps you need the gnokii deb package, or try gammu.

TC
You can't believe your eyes if your imagination is out of focus.

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone

#8 Post by uthappam »

Thank you, Trinidad. I shall try gnokii -- but gammu (and wammu) do't work with Android.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Debian and Android phone

#9 Post by Dai_trying »

I use gmtp to access files from my Android phone, you would need to set the phone connection to mtp and I have noticed it sometimes takes quite some time to connect but once connected the transfer rate is good.

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone

#10 Post by uthappam »

Trinidad, it turned out that gnokii doesn't support my Nokia.

Thank you, Dai_trying; although I have a suspicion that I have tried it already.

EDIT The download was quick and no setting up was needed. Now I can transfer files in both directions -- which is what I wanted.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Debian and Android phone

#11 Post by Dai_trying »

uthappam wrote:EDIT The download was quick and no setting up was needed. Now I can transfer files in both directions -- which is what I wanted.
Was that with gmtp? and if you could mark the topic as solved (edit title of first post) others can find it easier. :D

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone [SOLVED]

#12 Post by uthappam »

Thank you for reminding me.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Debian and Android phone [SOLVED]

#13 Post by milomak »

oh yes. android moved to mtp. gmtp doesn't seem to be the package that is needed

on my imac
# dpkg -l | grep mtp

Code: Select all

ii  gmtp                                                             1.3.10-1+b1                           amd64        simple file transfer program for MTP based devices
ii  go-mtpfs                                                         0.0~git20180209.d6f8f3c-1             amd64        Mount MTP devices over FUSE
ii  jmtpfs                                                           0.5-2+b2                              amd64        FUSE based filesystem for accessing MTP devices
ii  kio-mtp                                                          0.75+git20140304-2                    amd64        access to MTP devices for applications using the KDE Platform
ii  libmtp-common                                                    1.1.13-1.1                            all          Media Transfer Protocol (MTP) common files
ii  libmtp-dev:amd64                                                 1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) development files
ii  libmtp-runtime                                                   1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) runtime tools
ii  libmtp9:amd64                                                    1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) library
ii  libnet-smtp-ssl-perl                                             1.04-1                                all          Perl module providing SSL support to Net::SMTP
ii  mtp-tools                                                        1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) library tools
ii  mtpfs                                                            1.1-5                                 amd64        FUSE filesystem for Media Transfer Protocol devices
on my laptop
# dpkg -l | grep mtp

Code: Select all

rc  kio-smtp:amd64                                              17.08.3-2                             amd64        mail transport service library
rc  libkpimsmtp5:amd64                                          17.12.3-1                             amd64        library for handling SMTP data
ii  libkpimsmtp5abi1:amd64                                      18.08.1-1                             amd64        library for handling SMTP data
ii  libmtp-common                                               1.1.13-1.1                            all          Media Transfer Protocol (MTP) common files
ii  libmtp-dev:amd64                                            1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) development files
ii  libmtp-runtime                                              1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) runtime tools
ii  libmtp9:amd64                                               1.1.13-1.1                            amd64        Media Transfer Protocol (MTP) library
ii  libnet-smtp-ssl-perl                                        1.04-1                                all          Perl module providing SSL support to Net::SMTP
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

uthappam
Posts: 242
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: Debian and Android phone [SOLVED]

#14 Post by uthappam »

I looked through your post but did not understand anything. That does not trouble me, though, because I have what I needed.

Post Reply