LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-27-2022, 07:30 PM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Rep: Reputation: 149Reputation: 149
Question SD card path on Android Linux?


I've used Android Dartik/Linux (Dartik being Google's replacement for GNU, rest of OS software than kernel) since version 4 (family suggested trying pad/tab(let) about time of iPad 1; I prefer desktop) and used to be difficult to find SD card, since Google didn't make easy/standard location like /home/yourgivenname (standard/UK English 'given name,' USA English 'first name') rather than path completely obscure/idiotic to average users, like /mnt/storage/0123-4567. On same device, I saw /sdcard and /storage which actually weren't SD card nor storage (at least wasn't /sdcard (which annoyingly had other stuff) but might've been /storage, in which case /mnt wasn't storage media but annoying nonsense Google made.) I retired my Samsung Galaxy J7 phone PC ('smartphone,' a marketing term) and got Galaxy S10e phone PC (to avoid dropping/cracking curved-edge screen on plain S10, but found has much smaller screen than plain S10) which if you want headphone jack, is still good (but you might want plain S10 with special case protecting screen edge.) I looked almost everywhere in file manager, terminal (Terminal Emulator, which doesn't have GNU find yet) but can't find SD card (other than file manager link with no actual path, useless for opening files in other programs that aren't 'associated.') I don't know what's wrong with Google (zero user interface design sense... Chrome being horrible, more obscure & slow than 'File Edit View Help etc.' and totally counter-intuitive Android Linux paths.)

I'd like to see a guide to finding SD card path on any/every Android Linux versions. My S10e currently has Android Linux 11.

If they've deliberately made your own files inaccessible (now I can't open with most programs) then rooting is an option (legal here, warranty expired anyway) I guess as long as known well enough I'm not going to easily brick a $500 PC. I had ASUS ZenFone Max 4, followed XDA Developers guide which works for most people but bricked my ZenFone and a local tech-savvy cell phone shop (installs quite a few various cell phone OS) couldn't fix it, then ASUS would've charged almost new ZenFone Max 4 price for reflash. If I brick S10e I suspect Samsung might charge almost new S10e price just for reflash.

I've been planning to root S10e anyway to install Free/Libre/Opensource Software (FLS, OSS, FOSS, FLOSS) Advanced Charging Controller (AccA, battery control program) to leave battery at suggested optimum (long-life) 70%plugged-in running BOINC from University of California at Berkeley to let scientists/researchers use idle time for parallel supercomputing to advance science (I earn GridCoin cryptocurrency or this) anyway...

I know if I root it some programs they forcibly add (probably bribed) like Netflix may not work (or they don't want you to use) but I don't care and don't want extra commercial programs anyway...

Last edited by dchmelik; 01-27-2022 at 07:43 PM.
 
Old 01-28-2022, 04:48 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
In a terminal, can you find it from dmesg | tail, (might need sudo or root), just after plugging it in.
 
1 members found this post helpful.
Old 01-28-2022, 05:08 AM   #3
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Original Poster
Rep: Reputation: 149Reputation: 149
Unhappy

Quote:
Originally Posted by fatmac View Post
In a terminal, can you find it from dmesg | tail, (might need sudo or root), just after plugging it in.
I'm not root (yet, and don't know if I will be.) 'The 'dmesg|tail' said 'bad system call.' I found storage with 'df -h.' It was /storage/random-number as suspected (hexadecimal nnn-nnnn style.) When I typed ls in /storage it said 'permission denied.'

Someone on libera IRC #android said storage access changed almost 10 years ago. Actually it was between a few and six years ago (worked fine on my Galaxy J7 (2017.)) Google or Samsung is denying access to your own storage media! Is there any way to get around this besides rooting?

Some apps, like Samsung's file manager, and newer ebook readers, can still open my SD card. Older ebook readers, and my older Terminal Emulator, old image apps, old music apps, etc., where I can start at /, won't ('permission denied.') However I need to access my storage with any chosen app because some aren't opening/associated some file types from file manager.

The mount path is stupid, and restricting access to your own (unencrypted) storage is stupid. I hate Android, but don't really have much choice if I want something that's just even going to be usable for various things (without extreme difficulty/annoyance.)

Last edited by dchmelik; 01-28-2022 at 05:13 AM.
 
Old 01-29-2022, 06:48 AM   #4
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 dchmelik View Post
Someone on libera IRC #android said storage access changed almost 10 years ago. Actually it was between a few and six years ago (worked fine on my Galaxy J7 (2017.)) Google or Samsung is denying access to your own storage media! Is there any way to get around this besides rooting?
  • that tells a lot about IRC Android users: everything more than a couple years ago is ancient.
  • No. Rooting it is. And even that - Android are locking it down more and more. Only long term solution: use an alternative OS on your phone.
 
1 members found this post helpful.
  


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: Patents Are Turning BlackBerry and Nokia, Which Used Android, Into Anti-Android Fronts That Tax Android OEMs LXer Syndicated Linux News 0 10-14-2017 09:05 AM
LXer: Absloute path vs relative path in Linux/Unix LXer Syndicated Linux News 0 03-15-2016 06:01 PM
[SOLVED] what is gcc include path/ linux include path ghantauke Linux - Newbie 1 03-08-2011 08:34 PM
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 07:45 AM

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

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