194 points · by ingve · 7y ago · 254 comments
It's ridiculous that a supposedly sandboxed text editor would have access to all your photos, for instance.
Apps should only have access to their own private storage and to data that the user has explicitly picked from a file picker or similar UI, which is what this update does AFAICT.
It seems a serious mistake though to not affect apps installed on upgrade and to disallow access instead of just providing a virtual private copy of the external storage for each app (though the latter is not clear from the article).
I also use an open source file manager app to access files on both internal and external storage. I need it to access all of it.
I understand I'm not the typical Google user as I'm logged in only in Google Play and Google Drive, which I use for work and not for backing up stuff. However if they turn Android into iOS maybe I could finally buy an iPhone SE when the last small factor Android phone dies. Not really, because that would leave me with a much more closed down environment. Alternatives? Maybe a Linux phone if there will be something around, but I'll have to keep using an Android anyway, so going around with two phones, which is worse.
What Google should do is give an option to lift all walls between applications (or root the phone). Void warranty and the likes, it's fine for me. I'm replacing all closed source apps from untrusted parties with open source ones anyway.
FWIW Google Photos does exactly this. It even scans your directories and pops up a prompt "Hey, I found a new folder with images, want me to back it up?". I really wonder how this will turn out...
I'm not a smartphone power user (RSS, email, light internet), so I was really hoping FirefoxOS or the Ubuntu phone would generate some traction.
According to their privacy policy, they collect all the "data needed in order to improve their services and offering" and "can provide these data to third-party" for that purpose.
Paying for an app on android platform is no assurance the app actually respect your privacy.
Doing stuff like this is a promise that their less-power-user-y tools will do everything seamlessly, a promise they have repeatedly failed to deliver on. Getting Google Music to play nice with a my SD card was a nightmare until I gave up and just copied files over the network onto it directly and told it "search this folder".
I really hope that KDE Connect will be compatible with the new system. I use it almost every day to access files on my phone from my PCs.
They actually had to do that to expose all possible storages on Android - including OTG mounted drives. Apps that didn't do that will be broken now, but they weren't doing the right thing either way.
- What's going away is the permission that gives an app full, uncontrolled access to everything in external storage, including data from other apps and your personal photos.
- What IS NOT going away, is Storage Access Framework API (which was available from Android 4.4) which effectively gives you a File/Directory open dialog - same as on sandboxed macOS or Windows app. Using that dialog also grants application access to the selected document or directory tree to do what they will.
This solution allows you, as a user, to explicitly grant an app a full access to a filetree without being forced to give it access to EVERYTHING on the phone.
There are also now special roles for apps which come with some of these permissions granted. For example, an app with GALLERY role will still be able to access photos on device, but you as a user will have to choose a gallery.
Even the permissions are Java only.
They worked around it on the NDK samples by removing the features that would require the use of the permissions API, just to show how seriously they take the NDK.
I hope this isn't forced on everything and there is a flag somewhere in the settings that i can use to indicate which applications i trust that can have access to everything like before.
People like you can root your device.
And lose access to Google Pay and WideVine DRM validation (Netflix)?
The only difference now is that apps won't get full, uncontrolled access to all your personal photos, documents and app data without your explicit consent and ability to limit them.
[1]https://play.google.com/store/apps/details?id=com.estrongs.a...
That handle is probably good-enough for basic file management operations, like copying, moving or renaming files, but (from what I've read) if you want to, say, jump to the middle of a file, such as to read a specific file contained in the archive or seek to a specific position in a music/video file, it becomes very inefficient. If you want to read/write from a database (and need that database to be easily shared between different apps), then you also have a problem. If you use an app like Termux, which exposes the file system to standard unix utilities, and want to directly manage all your files with them, you're pretty much out of options.
Re Termux, I actively don't want any app on my phone to have direct access to the rest of the files on my phone. The fact that desktop terminal apps (cmd.exe, Terminal.app, xterm, etc.) require this access is the root cause of a bunch of security difficulties in desktop OSes that are impossible to solve in a satisfying way. I want a little workspace (potentially multiple workspaces) for stuff where a terminal is the right way to work, but I don't want the ability for any app to cd into my Signal storage directory or my email client config directory and edit files there.
As a result, I use iOS. If Android will get me the same security design plus the ability to call fork() so Termux works, I'd consider switching - it sounds like that's what they're doing.
If you don't give Termux the "storage" permission, then this is exactly how it works now.
> Signal storage directory
Signal stores its data in its private app directory, which is not exposed to either any other apps, even if you give them the "storage" permission, or to the user via MTP. The only exception is the optional back-up, which is stored (encrypted!) in the public app directory (accessible to MTP and apps having the "storage" permission), so that you can copy it to your next phone. (AFAIK Signal on iOS doesn't give you this option...).
> email client config directory
K-9 mail also stores its data in its private app directory.
OTOH files that are not super-private, like books, audiobooks, music, maps or flashcards can be stored where they're easily accessible, manageable and processable by multiple applications (but even then, only applications that I grant the requisite permission).
Is the paid version much better?
* Packing/unpacking 7z and Zip/Zip64 (splitted-encrypted), TAR, TAR.GZ, TAR.BZ2, GZIP, BZIP2, XZ, WIM, Lizard, LZ4, LZ5, Zstandard.
* Root access for all advanced operations.
* SAMBA, FTP, SFTP, WEBDAV supported as well.
* Intuitive, unlimited tabbed browsing.
* Very pleasing, nice-looking, easy to use interface (I know this is silly, but as much as I like Total Commander which is good I always felt it's interface was a little clunky.)
* Developer is very active and receptive to feedback.
Give it a try, it's free on XDA with a paid version on the Play Store[1] with at the time of writing, only 5 and 4 star reviews.
[0] https://forum.xda-developers.com/showthread.php?t=1523691
[1] https://play.google.com/store/apps/details?id=com.mixplorer....
(I am not affiliated with the creator)
I like its column-based view of the filesystem, and the wifi server that you can open a web browser to and upload files from your laptop/desktop.
Some of the features are paid, but frankly $5 for an app really doesn't bother me much as I try to donate at least that to the different open source projects I use a lot.
[1] https://lh3.ggpht.com/-aGrlHAFIEPCk-tusiw91bH6sn-YfzS5pNo-ng...
I've used Amaze File Manager ever since, and I have no complaints.[2]
[0]https://www.androidpolice.com/2015/11/28/after-adding-a-bunc...
[1]https://www.androidpolice.com/2016/05/10/es-file-explorer-up...
[2]https://play.google.com/store/apps/details?id=com.amaze.file...
I think I could build it from source but I don't have an Android dev environment anymore so I installed the app from Google Play. It asks surprisingly few permissions: read/modify/delete content on the SD card and access to fingerprint hardware.
It's like a completely different app, all the cruft like ads and pushing other apps is completely gone. You're just left with all the good stuff and those features generally all work well.
Amaze is a decent file manager, follows material design, free/open source and available on F-droid.
It also includes an ftpd so it's pretty easy to connect to it even from computers you can't install stuff on.
So is there now no user access to the device's file system?
At all, I mean.
And what about SD cards? And use of Dropbox or whatever? Or AWS and Google storage?
An app can ask you, as user, to pick a file for reading/writing/creation, and it receives access to something very much like a file, but the app isn't even permitted to know whether that's a file on the local device or an on-demand download/upload by another app.
No, you can't see your file system. Not yours.
So is this to help protect apps from each other? And/or to protect users from malicious apps?
And what if you've rooted the device, and installed your own file-management app. Could that app manage files normally?
... and which is also completely unsuitable for content that implicitly depends on multiple files, e.g. locally stored HTML files: For the case where an app is launched because you wanted to view a particular file, you'll only get access to that "something very much like a file" for that exact file only, but you (respectively your browser) cannot access any other associated files that might be required (images, style sheets, scripts and whatnot) that way, and neither would navigation among separate files stored locally work.
But without an app to access it, how will the user get to the files?
However, there is a setting to use SDCards as a partition extension and it appears as extra 'internal' storage space.
You could never access other app's internal files with this api. IMO this is a good change. This pattern only made sense when smart phones were simply nice camera phones with email.
Make something that will run the same apps, on the same hardware, but put the user in control of the thing. Then add all the interesting features you wanted to put in your independent system.
Which is easier in this case because it's possible to fork Android and start from there. The major problem seems to be the driver issue on mobile. The drivers are blobs tied to a specific kernel, which makes it hard for people to try out the new thing on their existing phone, which suppresses adoption and participation. And that's also the thing that prevents you from even upgrading your old phone to a newer version of vanilla Android.
So it seems like what we badly need is a solution for that.
I felt like the tiles displayed the right level of information where I could quickly glance at my phone and see if there was anything important that needed my attention, while helping to reduce the mindless time I spent getting distracted by noise.
When I was using my Windows Phone it felt like the UI was built to decrease interaction with the device, which was a positive to me. It was trying to get the right information in front of me so I could get back to being detached from the screen.
But that is a sample size of 1.
https://news-cdn.softpedia.com/images/news2/Windows-Phone-Ap...
If they had that from the day one, it could have ended up with a lot less resistance (just the ugliness of the default palette was unbearable; they must have hired an expert for achieving the most negative impression with those original tiles/colors).
And until end of this year they will sum up more updates than most of Android devices combined, and VS offers a much saner development environment.
What the vast majority of people also don't want to do is spend time and effort dealing with malware. Hence the success of locked down systems.
In frustration and at 25% or less of the actual capability, because of stupid design choices that destroy interoperability. This is mostly a consequence of an app market of selfish independent actors, but at least the operating system could encourage more interop, instead of trying to destroy it.
The content jails in iOS made the device into a media consumption toy, rather than anything productive.
It is just that now there is a lot more control to insure that the user is aware of it, and some new technical limitations.
Its disruptive, but not nearly as limited as iOS.
When I used Android, I just didn’t install things unless I really, really wanted them, and they were popular enough that I figured security researchers would likely be looking at them closely. (Which, of course, was a great incentive to keep using Google’s ecosystem for everything.)
I tried iOS a few years ago, and one of the big differences is that I’m a lot more confident about trying random apps; I know there’ll still be shady apps, but Apple’s vetting and the iOS security model give me a lot more confidence. I’ve installed (and paid for) a lot more apps as a result; my phone’s much more usable to me.
And we've seen that apps that are trustworthy can be bought and sold, sometimes by companies that are very untrustworthy.
Fewer permissions needed for app private data, automatic clean-up of the files for an app, implied better security of said files because they're in a sandbox, controlled access to certain file data (location info in photos is only visible to the app that is the device default for photos), etc, etc.
And that's not even getting into the security issues with a shared filesystem, where a single evil process can access all your data.
They're leaving no way out, and making things like "Syncthing" and general file managers really hard to continue operating.
That's becoming the answer with everything on Android, for anything useful you want to do, you need to root the phone. The stock phone is becoming just good for running Facebook and Candy-crush.
Because files don't always have a clear ownership. I have a folder full of photos and I don't want any particular application to "own" them. That a file corresponds to a concrete app that owns it is a lie, that's being pushed hard by mobile OSes.
Big tech wants you to not own anything, because in that case you'll have to subscribe to everything. If you can't subscribe or you don't have enough money to subscribe they'll make it "free with ads". But one thing is a no-no -- you buying and owning any content.
My most used tools are Solid Explorer, Termux, and Syncthing.
2) Companies make more money by having you store all your data in The Cloud: you have to pay (somehow) for storage on their servers, they get to comb through your data and mine it and use it to advertise to you, and the cellular companies get to charge you for access to your own data because you have to constantly transfer it wirelessly instead of keeping it local.
Every normal user can understand hierarchy -- shoeboxes in closets in rooms in houses in neighborhoods in cities. The human mind orders things in hierarchies effortlessly. It's just incorrect to claim otherwise.
The only thing users sometimes can't understand are badly designed user interfaces for exposing and navigating a hierarchy.
There is a fundamental impedance mismatch between what hierarchies facilitate and how users think of their files. Users think of their files as having concepts associated with them. e.g. "this file is a photo, about my vacation, and is about scuba" or "this file is a book, about scuba"
The user may attempt to express the numerous concepts they associate with their files in terms of a hierarchy, but chances are good they will fail miserably because hierarchies simply aren't up for the task of organizing even moderately diverse data. Is 'vacation' a subset of 'photos', with 'scuba' being a subset of 'vacation'? Where then does their scuba book go? Is the 'scuba' sub-directory something they must create twice, once under 'vacation' and once under 'books'? Inevitably some concepts get duplicated sub-directories across the system, or the user settles on under-organization. This is because hierarchy isn't up to the task of organizing files in the way humans think about files.
The answer of course is some form of file tagging, so that 'scuba' can be a single distinct group that overlaps with both 'books' and 'vacation' and 'photos', but isn't a strict subset of any of those.
Why would someone think of files like that? I don't organize physical objects that way. My books are on my bookshelf and my pictures are in albums or frames. Why would a computer be different. I wouldn't store a book about scuba diving with or relate it to my vacation pictures of me scuba diving in any way in real life, why would I do this on a computer?
If I had a collection of books on my computer and pictures from my vacations it would be stored the same way I would do it in real life, keep the books together organized however and keep the pictures together organized however. The topics of my vacation pictures and my books have really nothing to do with eachother, even if they happen to be related.
What you describe sounds like the very opposite of how i'd want my files organized.
But that is separate from what file paths are for, which is essentially a semantically meaningful unique identifier. If you want to take a photo with the camera app, crop it with the image editor app, then attach it to an email with the email app, you shouldn't have to search through your photos again the second two times to re-find the one you're already working on. There ought to be something equivalent to copying the file path to the clipboard so that you can reference the file you're already working with in another app.
So no redundant obsolete copies. This mechanism has been in Android for years now.
Nope, No problem at all.
Never happened, and instead we got 19 flavors of "cloud sync", which doesn't solve the problem and has nasty security implications.
I still want my portable ~home.
A high quality flash drive[2] boots up instantly and loads apps instantly. I can't work on a 3" screen and don't want to carry around anything any bigger. So for me this is a better solution than a docking station for my phone.
[1] https://wiki.archlinux.org/index.php/Installing_Arch_Linux_o...
[2] https://shop.sandisk.com/store/sdiskus/en_US/pd/productID.52...
This would still be the case if you put Windows 10 desktop on a phone. The problem is that even though the Windows desktop has a healthy app ecosystem, these apps work poorly on touch devices. This is true for touch devices with large, high-quality screens (various desktops) and for smaller, more portable, but still high-quality screens (like the Surface). Rewriting an app to work well with touch turns out to be an enormous amount of work for the typical Windows app developer. This is true in the ideal case, for C# devs working with WPF/XAML, but it is much worse for devs working with older apps... WinForms, MVC, etc.
Without the desktop apps, you're left with something that is basically an also-ran in a market saturated by iOS and Android. In the meantime, the desktop experience is still not completely touch-friendly and has suffered from a fair amount of design damage in the process (e.g. two control panels). Any developer that would go through the process of getting their existing Windows app working with a touch UI is going to evaluate porting to iOS or Android, and probably prioritize those options.
[Edit]: I should also add that I really want the opposite of what you ask for. I really want my Android apps to also be available on my desktop PC. It would be really cool if I could plug my phone into a clamshell laptop-like device and have a big-screen experience.
Everything is technically complicated on Android, I've also worked into customizing ROMs, trust me, Android kernel & top layer are so clunky that it's even a miracle that the phone is switching on. There's really nothing we can save from this garbage system. Sorry for the Android fans reading this but that's truly my personal opinion after digging into it for a few months. it's just piles and piles of hacks as far as the eye can see.
On the upside, this is still being worked on. The UBports community is still active, and KDE has been refining its plasma mobile interface. Purism's librem 5 should be convergence-capable.
Window toolkits are also being developed to help create responsive applications: Kirigami and libhandy, to name a few.
On the non-opensource front, there is also Microsoft's UWP, and samsung's DeX is showing some promise.
We're getting there, but slower than anticipated. The EOMA68 is also a promising concept, though slightly different, and more similar to what the parent describes.
It was exactly what you describe now.
I am still sad about that.
Found the (ex)-firm: Oqo.
https://www.ft.com/content/5241d778-56d5-11da-b98c-00000e251...
https://en.wikipedia.org/wiki/OQO
https://www.slashgear.com/ces-2009-oqo-model-2-umpc-hands-on...
http://cf9e233f57bd4ae986b3-d4e74cbd2619c9a623339399e96f346b...
How do you imagine this would work even in theory? Running two OSes side-by-side (one when in phone mode, one when in desktop mode?).
Or running two largely incompatible desktop shells with largely incompatible interfaces for multiple apps (touch-optimised programs are very different from mouse-and-keyboard-optimised programs)?
Pros:
* Unlocked OS
* Runs Linux
* Support great camera
* Good gpu; HDMI port
* "Portable"
Cons:
* No cellular radio
* Runs ubuntu
* Have to find a 19.2V battery solution
Sadly WinPho was a distant third in a two-horse race.
As long as I have a bluetooth mouse and keyboard, I'm having the full desktop experience from an iphone that's 3 years old. I can even cast my phone to a wall sized projector which is really fun. Only caveat is that it requires a very good internet connection.
Each time your app opens and reads a file, the application on other side of ContentProvider can monitor user activity down to number of bytes read. Each time you open a directory, that action can be noted. If anything, that sounds like a privacy nightmare, and will undoubtedly be exploited.
Most of us are probably willing to pay a premium for this. Librem 5 Looks promising, but its hardware is not as good as the popular flagships.
Limited extensibility - a way to turn most smartphones into landfill in 2 years... No "Green Deal" would be possible; moreover how far would security paranoia go? Would we need another processor that would verify main processor's operations and detect anomalies as well?
https://developer.android.com/preview/features/roles
Is it a sign that isn't set in stone yet that it might be pushed ?
Google's external storage ContentProvider is terrible: slow, buggy and lacks a number of basic features. It does not work as replacement of existing file managers, since it does not properly support searching and it's performance is abysmal, compared to using filesystem directly.
AFAIK, there is still no proper support for selecting a file by extension: https://stackoverflow.com/questions/45573171 — if your file extension isn't in Android MIME database, this is it for you. The mime-filters for file extensions are completely broken: https://stackoverflow.com/a/31028507/1643723. It is possible to work around that in file manager application (by using queryIntentActivities with different, modified Uri), but built-in Storage Access Framework file browser does no such thing.
MediaStorage used to have tons of crippling bugs. Wrongly reported file sizes, delayed file addition, files, filled with zeroes... Some were fixed in preparation for Android Q release, but I doubt, that all of them did. MediaScanner is abhorrent by design.
The options for flexible content generation are still bad. Prior to Android P you had to use pipes, which resulted in non-seekable files. ProxyFileDescriptorCallback remedied some issues of that approach, but it does not support FUSE interruption events — https://issuetracker.google.com/issues/38444582: if you open a buggy FUSE descriptor, your app gets STUCK (and closing the opened descriptor from another thread won't not unblock you!) In effect, using files from other applications can now hang your app (it could before too, but only during ContentProvider#open() stage, now read() is broken too). The bug is trivial to fix, but there is still no fix 3 Android versions later.
Google Drive is a great example, how NOT to mesh OS development and app developer interests. Google Drive does not properly implement Google's own DocumentProvider API — in effect, forcing third-party app developers to use it's proprietary web API. That's great for Google (vendor lock-in and all), but not exactly great for third-party apps, because the DocumentProvider API is effectively not cared about (see ProxyFileDescriptorCallback fiasco above). If one extrapolates this behavior to future Android development... imagine, that INTERNET permission is abolished, and you have to use Google's proprietary API for every single thing. Want to download a file? Use Google Downloads (tm) API in Google Services (the system DownloadsProvider will of course be broken as usual). Want to send analytics? Google Services! Crash reporting? Firebase. Communications? Cloud messaging. p2p file exchange? Too bad for you, — that kind of advanced functionality will likely require Chrome OS!
The extrapolation above may sound overly pessimistic until you realize, that Android developers already made great many steps in that direction. Half of OS functionality is locked behind "system"-level APIs, that aren't accessible to ordinary apps, ever. But Google Services can of course continue to use them! As Mark said in his article, “the writing was on the wall”, although a lot of people (himself included) don't want to fully accept it.
I can only hope that Microsoft "every random binary has full systemwide r/w access" Windows will follow shortly!