LinuxQuestions.org
Review your favorite Linux distribution.
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 07-21-2022, 08:15 AM   #1
David Roesch
Member
 
Registered: Jul 2022
Location: San Francisco Bay Area
Distribution: Linux Mint (current stable release)
Posts: 30

Rep: Reputation: 11
Mounting/accessing files on Samsung Galaxy A32


I'm trying to get access to my Samsung phone's contents under Linux (Mint 20.3), but not having much luck.
My primary goal is to copy music files from my computer to the phone, but I can't seem to get the damned thing (the phone) to mount reliably so that I can do that.

I've tried the adb tools, and although the "adb devices" command does recognize the phone, the system a whole does not. I've also tried to access the phone's music library directly through Clementine (my computer's music player), but every time I click on my phone's listing under Clementine's "Devices" list, Clementine just crashes out.

In the end, I'd ideally like to find a user-friendly way of accessing, browsing, and backing up my phone's overall contents. Any suggestions?

Last edited by David Roesch; 07-21-2022 at 08:18 AM.
 
Old 07-21-2022, 09:37 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Please forgive my ignorance with this question, but are you trying to connect via bluetooth or USB cable?
Open a terminal, and run:
Code:
sudo dmesg -w
Note: the "-w" will follow:
Quote:
-w, --follow
Wait for new messages. This feature is supported only on systems with a readable /dev/kmsg (since kernel 3.5.0).
Now try to connect the phone, you may get some idea on what's happening with dmesg...
 
Old 07-22-2022, 05:48 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
On my A52 i have to have the phone unlocked FIRST

Then tap the " allow" option that pops up on the phone when i plug in the usb cable
 
Old 07-23-2022, 03:11 PM   #4
David Roesch
Member
 
Registered: Jul 2022
Location: San Francisco Bay Area
Distribution: Linux Mint (current stable release)
Posts: 30

Original Poster
Rep: Reputation: 11
Thumbs up

Quote:
Originally Posted by John VV View Post
On my A52 i have to have the phone unlocked FIRST
Then tap the " allow" option that pops up on the phone when i plug in the usb cable
Well I'll be damned John VV- I think you just might have hit on the answer to my immediate question/problem.
I unlocked my phone (a Galaxy A32) before connecting the USB cable as you suggested, hit "Allow" at the prompt on the phone once I did connect the cable, and voila- the entire contents of the phone were mounted and accessible.
I've just begun to try to copy my computer's current Music library to the phone, which will take a bit of time... I'll let you know how it goes.

Last edited by David Roesch; 07-23-2022 at 08:00 PM.
 
Old 07-23-2022, 08:19 PM   #5
David Roesch
Member
 
Registered: Jul 2022
Location: San Francisco Bay Area
Distribution: Linux Mint (current stable release)
Posts: 30

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by David Roesch View Post
Well I'll be damned John VV- I think you just might have hit on the answer to my immediate question/problem.
I unlocked my phone (a Galaxy A32) before connecting the USB cable as you suggested, hit "Allow" at the prompt on the phone once I did connect the cable, and voila- the entire contents of the phone were mounted and accessible.
I've just begun to try to copy my computer's current Music library to the phone, which will take a bit of time... I'll let you know how it goes.
Update: On my first attempts to copy my *entire* music collection from my computer to my phone, the process repeatedly choked with file-copy errors somewhere around half-way through the copy process. But on retrying the process by selecting only about 1/4 of library contents at a time, I was able to successfully complete the entire transfer.

Not only that, but since your solution to mounting my phone also gave me access to all of the folders on the phone, I was able to browse through those folders and weed out a lot of cruft that would have taken me much longer to delete if I had to do that on the phone itself.

Thanks again for you suggestion!
 
Old 07-23-2022, 08:26 PM   #6
David Roesch
Member
 
Registered: Jul 2022
Location: San Francisco Bay Area
Distribution: Linux Mint (current stable release)
Posts: 30

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by dc.901 View Post
Please forgive my ignorance with this question, but are you trying to connect via bluetooth or USB cable?
Open a terminal, and run:
Code:
sudo dmesg -w
Note: the "-w" will follow:


Now try to connect the phone, you may get some idea on what's happening with dmesg...
dc.901- thank you for responding, and My Bad for not indicating that I was connecting via USB (the computer I'm using doesn't have BlueTooth).

Since John VV posted an answer that solved my immediate issue though, I think I'll leave my larger questions of getting Android phones to generally "play nicely" with Linux for another time.

Last edited by David Roesch; 07-24-2022 at 11:15 PM.
 
Old 07-25-2022, 01:08 PM   #7
cesarbergara
Member
 
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92

Rep: Reputation: Disabled
Hi. It may be memory problem. With oldest PCs (PIII 1000Mhz 512Mb), copy little files from PC to pendrive has the same problem: can not copy all those files. But copying in batchs, it can do.

In the fstab file i put 'async' option for pendrives or SDs. With 'sync' option the copy of files take a lot of time.

Have a nice day.
 
Old 07-25-2022, 05:22 PM   #8
David Roesch
Member
 
Registered: Jul 2022
Location: San Francisco Bay Area
Distribution: Linux Mint (current stable release)
Posts: 30

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by cesarbergara View Post
Hi. It may be memory problem. With oldest PCs (PIII 1000Mhz 512Mb), copy little files from PC to pendrive has the same problem: can not copy all those files. But copying in batchs, it can do.

In the fstab file i put 'async' option for pendrives or SDs. With 'sync' option the copy of files take a lot of time.

Have a nice day.
Hi cesarbergara, and thank you for your reply.
However, it turns out that my file-copy errors resulted from errors in my source library. Once I sorted those out, my file-copy went through just fine.
 
Old 04-25-2023, 02:13 PM   #9
SuirKumar
LQ Newbie
 
Registered: Apr 2023
Posts: 5

Rep: Reputation: 0
Thank you for sharing.
 
  


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
LXer: Samsung Galaxy S9, Galaxy S8 & Note 8 Approved by the U.S. Department of Defense LXer Syndicated Linux News 0 06-30-2018 05:32 AM
LXer: Samsung Adds Galaxy J3 and Galaxy J7 Phones to its Unlocked by Samsung Portfolio LXer Syndicated Linux News 0 07-25-2017 11:54 PM

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

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