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???.
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.
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
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
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.
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.
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.
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.
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...
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.
My problem with it is how inconsistently things get placed.
App downloaded an image: it could be in the apps main data folder, DCIM, Pictures, Documents, or even a new folder at the base of the tree. Add an sd card and that list doubles as all those same locations exist separately on the sd card as well. (I've had images land in all 10 of these locations before)
/edit missed the 'download' folder. 12 possible locations.
The only issue I had was some torrent app which stored the files in its own data folder which was inaccessibile to any other app. What use is a downloaded file that you can't open? That's almost like having an iPhone.
(edit:apparently my iPhone knowledge is a bit dated now.)
Even if apps store stuff internally, and other things can't find it, the owning app can give temp access to another app. Ie, if you click on it in the torrent software, it should be able to find the relevant media player etc and open that media player playing the file.
Not defending this though, it's fucking stupid for them to do it that way, but just pointing out it's not totally useless as long as they allow you to tap/open it from within their app.
I'm just guessing here, but if I recall correctly, android was started as an OS for digital cameras. So saving camera files to DCIM (Digital Camera Images) makes sense as that is standard to most other cameras
Well usually you had your Download folder like in pc. Now every app has its own secured workspace where only it can access it's files. If you want to download to the original download folder your app needs full storage access. And since people don't know how to code they download into the secure app storage often.
So now your download is in Android/media/domain.app.name/Download
Credit where it’s due, iOS / iPadOS’s Files app is really good. I use both iOS and Android on the daily and I prefer working with files on my Apple devices.
Yeah, I can see that. I got through college with only an iPad for the Math degree, and the most common issue I see there's two locations in the Files app: iCloud and Local Storage. Once you get comfortable you can start mounting a tiny version of Linux running onto the file system and then it gets REALLY fun :)
Bit of a hot take after a few beers and I'm going into the weekend. I'm not taking shots at the person I'm replying to:
Strangely enough, I feel the same about my work's Window's laptop at the end of the week. There's a feeling called awe, where I wonder how things aligned for me to experience the daunting interconnected occurrences spanning hundreds of lives for me to be precisely where I am now. Usually it's around a landmark or beautiful art where I stop and wonder. I felt awe working on a fullstack of Microsoft products, but it was a twisted dark one. One where I wonder how on earth people think this company is competent at anything when literally anything else in a software product category is better, save Windows and Office. VSCode is sweet, but even that is open sourced.
And those two only win because of market share at this point. That's all they have, and one has default telemetry and the other a subscription.
The iOS Files app only lets you access a tiny part of the OS so you don't accidentally install a non-Apple approved app or god forbid, modify something on a device you own 🥴
That being said, the most reliable method of getting arbitrary file off the iPhone onto the machine is to store it in VLC's (or some other app that has folder access enabled) app folder.
What really grinds my gears is that metadata on pictures you have in iCloud gets stripped when downloading to Windows. I take pictures of stuff for work and label them to know what the hell I'm looking at, but the descriptions disappear on file transfer.
So I gotta either:
Re-add in the description in the metadata
Label something else, like a sheet of paper or something and put it in the frame
Manually name each individual file after transfer, which is just as laborious as adding back in the metadata.
Yes, for all apps. The share/save window that pops up when long pressing an image or other thing is the same system wide.
Also: Chrome literally has an option to make it ask where to save every time you save an image in it when not using the system share panel. Otherwise it defaults to Downloads.
Can one of many the actually-tech-competent humans in the comments please explain why i can never download a pdf of an online recipe unless i send it to myself through a messaging app from my laptop 😭 😭 😭