143 points

Android’s file structure is so incomprehensible. I’m genuinely surprised there hasn’t been any significant effort made to make it more readable. Pictures saved in app directories, downloads, camera, images, pictures, media, DCIM???.

permalink
report
reply
99 points
*

I’m genuinely surprised there hasn’t been any significant effort made to make it more readable.

Quite the opposite. They’ve tried to make it better, and in turn, they’ve made it worse.

They used to have a pretty straightforward Linux file structure, and you were expected to put things in the external Pictures folder. And downloads went to the external Downloads folder. Back then, internal storage was small and SDs were large, so apps couldn’t really afford to store these things locally and the SD structure was well enough defined that it was pretty clear where pictures would go.

Now, Google has pushed against SD cards. They also started requiring more permissions for external storage. They’ve added some “documents” APIs that were supposed to make it easier to tag/find files, but it’s a tangled mess and most apps don’t touch it. And they’ve rewritten their storage model multiple times at this point. If you’re writing a new app, it’s unclear which model to even follow anymore because Google has created a giant cluster fuck of options and paradigms.

Google is actively making this problem worse and worse. I wish they had never tried to “fix” this in the first place.

permalink
report
parent
reply
43 points

xkcd “standards” comes to mind

permalink
report
parent
reply
23 points

We don’t even have to link the relevant xkcds anymore

permalink
report
parent
reply
61 points
*

Open source developer and Linux enthusiast here. Although cluttered, Android’s home directory is fairly simple to understand

The nightmare begins when you take a look at the root filesystem.

One time I was trying to port an OS to my phone and I had to figure out the Android init system. Went to source.android.com and what. the. fuck. Just as a side-by-side comparison:

Linux boot sequence: Android boot sequence (unmodded, SIMPLE):

There are so many wrong things about it like why are there 11, 12 places to put programs (/system/bin, /bin, /usr/bin /system/usr/bin, /sbin, /system/usr/share/bin…)

Why the fuck drivers are scattered around folders instead of just /lib/modules

Why is the home directory /storage/emulated/0/ instead of just /home/0/ (also why the user is named “0”)

Where the fuck is everything???

God (Linus Torvalds) forgive me but even Windows is better than that shit

permalink
report
parent
reply
29 points

i wonder if that graphic is up to date with system as root and A/B dynamic partitioning and whatever crazy new bullshit google invents with every release

permalink
report
parent
reply
24 points
*

I raise you all of these monstrosities:

  • Phones launching with Android 13 without a dedicated partition for recovery mode

  • Phones launching with Android 13 with two dedicated partitions for recovery mode (two because of A/B partitioning scheme)

  • Phones launching with Android 13 with one dedicated partition for recovery mode (only one because A/B partitioning scheme is not used)

  • Phones that launch with or upgrade to Android 12, that use a generic kernel image, without a dedicated partition for recovery mode

  • Phones that launch with or upgrade to Android 12, that use a generic kernel image, with two dedicated partitions for recovery mode (A/B partitioning scheme)

  • Phones that launch with or upgrade to Android 12, that use a generic kernel image, with one dedicated partition for recovery mode (non-A/B partitioning scheme)

  • Phones that upgrade to Android 12, that does not use a generic kernel image, with no dedicated partition for recovery mode

  • Phones that upgrade to Android 12, that does not use a generic kernel image, with dedicated partition(s) for recovery mode

In Android’s defense however, a phone would likely use only one of these layouts at a time. The question of which of these layouts does a said phone uses though, that’s a more complicated question.

permalink
report
parent
reply
10 points

That’s not correct though. The GNU+Linux version is missing the bootloader and initramfs.

permalink
report
parent
reply

The Linux boot sequence link doesn’t work for me

permalink
report
parent
reply
20 points
*

Init

^

|

Linux Kernel

permalink
report
parent
reply
10 points

It’s a graph, showing a red oval with the text “Linux Kernel”, an arrow points from the red oval to a light-green oval titled “Init”.

“Linux Kernel” --→ “Init”

permalink
report
parent
reply
35 points

Tbh it doesn’t really matter since your gallery shows all of them in one place.

That is until you want to transfer your pictures to a pc…

permalink
report
parent
reply
10 points

I feel like if anything they made effort to not have people touch the file manager ever

permalink
report
parent
reply
99 points

Android’s file structure is bad, yes. But does iOS even have a file structure? In my very limited time using iOS, I couldn’t find anything resembling a file explorer.

permalink
report
reply
45 points

we had a ducking sane file structure on symbian. Before apple knew what smartphone means. We had sane file structure on siemens phones.

There’s no excuse for the unholy abomination of what manufacturers call an “operating system” on a smartphone these days.

permalink
report
parent
reply
12 points

Peak symbian was the sony ericsson p1i.

Had a gf throw that thing against a cinder block wall, off a concrete floor, and basically explode everywhere. i picked upthe parts, snapped it back together, turned it back on and left.

permalink
report
parent
reply
7 points

sir, this is Wendy’s :D

permalink
report
parent
reply

Ericsson phones were second only to Nokia phones for their durability.

permalink
report
parent
reply

I really raeg when someone says “apple invented the smartphone” like let me kill you know and save myself the anguish of wishing i had

I had a Kyocera 6035, literally the first commercially available smartphone. Ran PalmOS. (It’s literally my picture on the WP page for it) 2001, a few months before the iPod, never mind the iPhone.

permalink
report
parent
reply
19 points

It does have a files app now and it’s so good compared to Android file apps right now

permalink
report
parent
reply
22 points
*

android has no official “files” app though?
google files is a technically a 3rd party app and the AOSP files app is usually hidden and used only as a file picker.

permalink
report
parent
reply
8 points

the AOSP file picker is so ass, everytime I get a new android i have to install Mixplorer (not affiliated with the Xiaomi brand) just to have a sane experience picking my files

permalink
report
parent
reply

Isn’t that because Android is system agnostic?

Been a while since I used a true bare stock Android device. G1 must have had a file explorer though right?

permalink
report
parent
reply
1 point

The Samsung ones rudimentary, but it does the job

permalink
report
parent
reply
6 points

It does. But most of it is locked to the user. Mostly, it’s just the user directory that you have access to, which is the correct way.

permalink
report
parent
reply
6 points

There isn’t an equivalent on iOS

permalink
report
parent
reply
12 points

iOS has had a file explorer for years at this point

permalink
report
parent
reply
4 points
*

And it sucks

(not that google’s files app isn’t a mess either)

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
91 points

Files are soo outdated. The user should not have to worry about “Files”. What even is a " Directory"? Your nudes are on some guys computer in california but the world is in your hand. there is an app for everything, just use the apps, go with the flow, look at lots of ads, buy a tesla, tell your dirty secrets to google bard — everything is intuitive…

permalink
report
reply
5 points

Took me a while to realise this was sarcasm!

permalink
report
parent
reply
2 points

Everything is a file /c

permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
73 points

Download completed…

Files>downloads>empty 😔

permalink
report
reply
53 points

Ah see, the problem is you were looking in /sdcard0/ which of course, refers to your internal storage and not your SD card which is probably called /0xgg0gdjdsjgg/ or something.

permalink
report
parent
reply

z/common/Facebook/dlot/downloads/pics/angry birds/pics/common/ahshhysyyagg.png

permalink
report
reply
4 points

You also downloaded ahshhysyyagg.png?

permalink
report
parent
reply