[SOLVED] Receiving files FROM smartphone bluetooth

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

[SOLVED] Receiving files FROM smartphone bluetooth

Post by GiuTor »

Hello guys,

I can send files to the phone but I can't receive. Looking into the old posts I came to know I have to install gnome-file-share. I did it and I still do not get the menu entry in Preferences->File-Sharing.

Anyway I ran it from the terminal and I got a statement in gnome-file-share window complaining some dependencies are missing. When I installed it it didn't call any dependencies.

1) What are the dependencies?
2) Ho do I notify this to the packager?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 »

Hi GiuTor

It would help to know more about your system setup, what phone make and model, etc... If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Side note: Are you the developer of the excellent Imagination slideshow app or just referencing it in your signature line? Great application.

Have you installed the MTP packages from the "Synaptic Package Manager SPM", restart afterward.


Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor »

Hello Phd21,

thank you so much indeed for your quick reply. Yes! It's me in flesh and bones! Thank you so much for your complements. I'm honoured.

Here you are:

Code: Select all

gt@Aspire-E1-570 ~ $ sudo inxi -Fzxd
[sudo] password for gt: 
System:    Host: Aspire-E1-570 Kernel: 4.11.0-13-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.2 (Gtk 2.24.30) Distro: Linux Mint 18.1 Serena
Machine:   Mobo: Acer model: EA50_CX v: V2.02 Bios: Insyde v: V2.02 date: 07/30/2013
CPU:       Dual core Intel Core i5-3337U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7183
           clock speeds: max: 2700 MHz 1: 852 MHz 2: 801 MHz 3: 799 MHz 4: 802 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           tty size: 192x51 Advanced Data: N/A for root
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.11.0-13-generic
Network:   Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe driver: tg3 v: 3.137 bus-ID: 02:00.0
           IF: enp2s0f0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter driver: ath9k bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (28.6% used) ID-1: /dev/sda model: ST500LT012 size: 500.1GB temp: 42C
           Optical: /dev/sr0 model: HL-DT-ST DVDRAM GU71N rev: 1.01 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 19G used: 6.6G (38%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 184G used: 127G (73%) fs: ext3 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 53.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 222 Uptime: 2:21 Memory: 1257.0/3769.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (sudo) inxi: 2.2.35

Code: Select all

gt@Aspire-E1-570 ~ $ sudo lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:e330 Suyin Corp. 
Bus 001 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 »

Hi GiuTor,

You are welcome...

Can you please rerun the "inxi -Fxzd" and "lsusb" without using root user "sudo"; you can update your last reply or create another.

What is your phone(s) make and model #? There are various options depending upon the answer to this.

Side note: Any new updates for Imagination? If so, how do we get them?
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor »

Code: Select all

gt@Aspire-E1-570 ~ $ inxi -Fxzd
System:    Host: Aspire-E1-570 Kernel: 4.11.0-13-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.16.2 (Gtk 2.24.30) Distro: Linux Mint 18.1 Serena
Machine:   Mobo: Acer model: EA50_CX v: V2.02
           Bios: Insyde v: V2.02 date: 07/30/2013
CPU:       Dual core Intel Core i5-3337U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7183
           clock speeds: max: 2700 MHz 1: 979 MHz 2: 809 MHz 3: 834 MHz
           4: 808 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.01hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.11.0-13-generic
Network:   Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe
           driver: tg3 v: 3.137 bus-ID: 02:00.0
           IF: enp2s0f0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           driver: ath9k bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (25.9% used)
           ID-1: /dev/sda model: ST500LT012 size: 500.1GB
           Optical: /dev/sr0 model: HL-DT-ST DVDRAM GU71N
           rev: 1.01 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 19G used: 6.6G (38%) fs: ext4 dev: /dev/sda3
           ID-2: /home size: 184G used: 114G (66%) fs: ext3 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 51.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 214 Uptime: 2:33 Memory: 1358.2/3769.8MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Code: Select all

@Aspire-E1-570 ~ $ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:e330 Suyin Corp. 
Bus 001 Device 005: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gt@Aspire-E1-570 ~ $ 
The phone is Samsung J1 mini. I get "Connection failed on the phone" so I guess there is no service listening on the laptop.

I issue updates once I collect a resonable amount of patches to justify a new release. I'm not getting any of them lately.

Thanks for your help and interest in Imagination.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF »

@GiuTor,

Suggestion: Only use sudo when necessary. Most commands from the Terminal can be executed as a user.

What method are you trying to use to send/receive files? USB cable, wireless, Bluetooth?
Last edited by JerryF on Sun Jul 22, 2018 1:49 pm, edited 1 time in total.
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 »

Hi GiuTor,

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing.

You might consider updating to Mate v18.3 from the Mint Update Manager and perhaps a newer Linux Kernel.

Because you have a Samsung phone, I'll assume it is Android based and that you have a USB cable for it?

Have you installed the MTP packages from the "Synaptic Package Manager SPM"? Have you checked to see if the phone has an MTP or USB mode?

There are various applications and utilities for connecting an Android phone to any Linux Mint system.

[SOLVED] Android phone doesnt work on Mint 18.3 - Linux Mint Forums
viewtopic.php?f=49&t=269838&hilit=kde+connect

KDEConnect - Linux Mint Forums
viewtopic.php?f=47&t=270622&hilit=kde+connect


Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor »

I got this from /var/log/syslog:

Code: Select all

 failed: GDBus.Error:org.bluez.Error.AuthenticationFailed: Authentication Failed
The phone and the laptop pair successfully as I can send files to the phone. Yes, it's an Android. I want to use bluetooth to transfer files, I can successfully do it with MTP and USB cable, thanks.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Receiving files FROM smarthpone

Post by phd21 »

Hi GiuTor,

Okay, I think the other options like "kde connect" provide much better options including faster transfer rates over using Bluetooth transfer.

The message shows a "bluez" and "GDbus" error.

Try installing these packages and rebooting.

obexfs
obexftp
bluez-obexd
bluez-tools
bluewho

I assume that with "Mate" the "gnome-bluetooth" or something like it is already installed...

Hope this helps ...
Last edited by phd21 on Sun Jul 22, 2018 2:25 pm, edited 1 time in total.
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF »

GiuTor wrote: Sun Jul 22, 2018 1:55 pm ...
I want to use bluetooth to transfer files, I can successfully do it with MTP and USB cable, thanks.
I had a similar problem as yours. I had to install a program that JeremyB suggested. Unfortunately, I'm on vacation and don't have my Mint available to look at to find what the program is.
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor »

Thank you so much for you reply, really kind to answer while you are relaxing on vacation.

It seems I'm making some progress but no luck with google so far... :x

Code: Select all

gt@Aspire-E1-570 ~ $ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2018-07-22 16:55:24 CEST; 3h 21min ago
     Docs: man:bluetoothd(8)
 Main PID: 780 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─780 /usr/lib/bluetooth/bluetoothd

Jul 22 18:43:50 Aspire-E1-570 systemd[1]: Started Bluetooth service.
Jul 22 18:44:00 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:09:24 Aspire-E1-570 bluetoothd[780]: Failed to set mode: Blocked through rfkill (0x12)
Jul 22 20:09:45 Aspire-E1-570 bluetoothd[780]: /org/bluez/hci0/dev_E8_93_09_3D_2C_04/fd1: fd(24) ready
Jul 22 20:10:47 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:12:07 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:12:29 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:16:59 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:17:06 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
Jul 22 20:17:11 Aspire-E1-570 bluetoothd[780]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)

Code: Select all

gt@Aspire-E1-570 ~ $ rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF »

Hopefully, JeremyB will see your posts and will answer. He's excellent at wireless, Bluetooth, etc.

P.S. Being a member of this forum is so nice that I love checking the posts! :D
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone bluetooth

Post by GiuTor »

Hello guys,

my stubbornness was rewarded. I issued this command as the file was missing. Please check if you have it first:

Code: Select all

sudo cp /usr/lib/systemd/user/dbus-org.bluez.obex.service /lib/systemd/system/obex.service
Then I uninstalled blueberry and installed blueman. I got a small progress as the file transfer was stuck on 0% so I went into the setup for my smartphone and I made it a trusted device. Then View->Local Services and I checked "Accept files from Trusted devices".

I was able to transfer files FROM my Samsung Android to my laptop.

I definitely have to admit Bluetooth in 2018 is still complicated on Linux... Obex, dbus are really a mess! :evil: :twisted:

Hope this will be helpful to someone, I spent 3 hrs and 30 mins to get it working... :D :) :o
Last edited by GiuTor on Mon Jul 23, 2018 2:09 pm, edited 1 time in total.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF »

Fantastic!
User avatar
AZgl1800
Level 20
Level 20
Posts: 11178
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Receiving files FROM smarthpone

Post by AZgl1800 »

on my smartphone, I use an app ASUS File Manager
https://play.google.com/store/apps/deta ... ilemanager

if you have your PC's desktop setup as a Shared Folder, or other folder if you wish.
and the smartphone and the PC are logged into the same WiFi signal,
the ASUS FM app will copy files from your phone to the PC.

I use it multiple times a day, and it is fast.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: Receiving files FROM smarthpone

Post by GiuTor »

Thanks a lot for this tip. I didn't know this app.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
JeremyB
Level 21
Level 21
Posts: 13878
Joined: Fri Feb 21, 2014 8:17 am

Re: Receiving files FROM smarthpone

Post by JeremyB »

I will check when I get home but I think there's an option in the Bluetooth manager to receive files over Bluetooth
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Re: Receiving files FROM smarthpone bluetooth

Post by JerryF »

GiuTor wrote: Sun Jul 22, 2018 4:59 pm ...
Thanks for putting [SOLVED], unfortunately no one will see it from the main board.

Could you please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line.

Thanks so much.
Last edited by JerryF on Mon Jul 23, 2018 1:52 pm, edited 1 time in total.
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Receiving files FROM smarthpone

Post by JerryF »

JeremyB wrote: Mon Jul 23, 2018 1:16 pm I will check when I get home but I think there's an option in the Bluetooth manager to receive files over Bluetooth
@JeremyB,

GiuTor has solved the problem, but put [SOLVED] in one of the middle posts, not in the original.
GiuTor
Level 3
Level 3
Posts: 115
Joined: Fri Nov 15, 2013 5:22 pm

Re: [SOLVED] Receiving files FROM smarthpone bluetooth

Post by GiuTor »

I think I have done it. Apologies.
GiuTor
--
Imagination, a Linux GTK+3 lightweight slideshow maker.
http://imagination.sf.net
Locked

Return to “Hardware Support”