Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Joined
May 31, 2022
Messages
1,001
Reputation
81
Daps
2,094
Just copped the 6a, considering returning and waiting on the 7pro. Speakers are trash. Trash!!!!!!camera is cool for pics, sux for vids. Charging sux. My OnePlus charged way faster. And they made me buy a 30w brick for $22(wanted the official google joint)


Phone is mid
Check out the 10T
 

Tony D'Amato

It's all about the inches
Joined
May 1, 2012
Messages
61,278
Reputation
-10,951
Daps
146,295
Reppin
Inches
Check out the 10T
Will look into it, but I always wanted a pixel and just never pulled the trigger. Kinda want that 7 pro.

At the same time oneplus seems to handle android even better than Google(w/o all the extra google software), so Im tempted to check that out. Even tho I hate tryin to get cases and accessories for my OnePlus phone.
 

Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Joined
May 31, 2022
Messages
1,001
Reputation
81
Daps
2,094
Will look into it, but I always wanted a pixel and just never pulled the trigger. Kinda want that 7 pro.

At the same time oneplus seems to handle android even better than Google(w/o all the extra google software), so Im tempted to check that out. Even tho I hate tryin to get cases and accessories for my OnePlus phone.
try the 6 first, should be under 400 on offerup.

Get a feel for the software.

you don't want a high end pixel first, they tend to have too many bugs, start small
 

R=G

Street Terrorist
Bushed
Supporter
Joined
May 1, 2012
Messages
122,984
Reputation
8,320
Daps
145,325
Reppin
Westcoast
Just copped the 6a, considering returning and waiting on the 7pro. Speakers are trash. Trash!!!!!!camera is cool for pics, sux for vids. Charging sux. My OnePlus charged way faster. And they made me buy a 30w brick for $22(wanted the official google joint)


Phone is mid
Sounds about right...the one plus was probably a better option...the pixel has had too many issues. Maybe everything is made right by the pixel 7 in Oct.
 

Tony D'Amato

It's all about the inches
Joined
May 1, 2012
Messages
61,278
Reputation
-10,951
Daps
146,295
Reppin
Inches
Sounds about right...the one plus was probably a better option...the pixel has had too many issues. Maybe everything is made right by the pixel 7 in Oct.
What Samsung are u rockin now? The joint with the stylus looks cool
 

Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Joined
May 31, 2022
Messages
1,001
Reputation
81
Daps
2,094
I got the 6A and can attest that the speakers aren't good.

Well, actually, the speaker, not plural. it's just one.
maybe you can hand it back and jump on the regular 6 in the meantime.
 

BBG

Superstar
Joined
Aug 4, 2014
Messages
6,908
Reputation
2,302
Daps
27,676
Go from a tiny cut-out hardly noticeable on your screen to a gigantic notch that takes up a fifth of your screen, defector brehs


Don't worry I'm sure they'll bite Android and have a tiny cut out by iPhone 15
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
51,892
Reputation
7,926
Daps
149,044

Android 13 makes file managers less useful by fixing a loophole​

Mishaal Rahman, 2 months ago 9 min read

One of the areas where many people agree Android is superior to iOS is file management. On Android, you have the option to use the Files by Google app (preinstalled on GMS devices), the AOSP Files app, or one of many third-party file managers available on Google Play and other app repositories. If you choose to download a third-party file manager app, then all you have to do is grant a permission to start browsing the contents of your device’s external storage to your heart’s content.
Browsing external storage using Files by Google
Browsing external storage using MiXplorer
Left: Using Files by Google to browse my Pixel 6 Pro’s external storage.
Right: Using MiXplorer to browse the external storage

However, there’s one folder on external storage that’s designed to be inaccessible to every app except the AOSP Files app. Even if a file manager app obtains “all files access”, it isn’t allowed to access /Android and its subdirectories /Android/obb and Android/data.
All files access permissions page in Android 13
MiXplorer granted all files access permission but unable to view /Android/data
Granting an app “all files access” through settings does not actually give it access to all files on the device. As shown above, the MiXplorer app has been granted “all files access” but cannot read the contents of /Android/data.
This is not a bug but rather an intentional restriction introduced in Android 11 as part of Google’s ongoing “Scoped Storage” efforts. Fortunately, file manager devs quickly discovered a loophole that let them access those restricted directories. Unfortunately, that loophole has been closed in Android 13, limiting the ability of third-party file managers to actually do their job. In this week’s edition of Android Dessert Bites, I’ll be sharing how this loophole worked and what Google did to close it.
Through a loophole in SAF, MiXplorer is able to access files under /Android/data
Using a loophole, file managers are able to access subdirectories under /Android. Shown above is MiXplorer running on a Pixel 6 Pro with Android 12L. Unlike in the previous example, MiXplorer here is able to read the contents of /Android/data.
Thanks for signing up for
The Android Edge newsletter. Every week, my Android Dessert Bites column will share the latest news about the Android platform that matters to system engineers, app developers, and power users.

The SAF loophole that file managers jumped on​

Before I talk about the loophole, though, I want to explain why its closure is important to users. The /Android/data subdirectory is where many apps store files. Within this subdirectory you’ll find folders named after the package names of apps installed on your device. An app can read and write whatever files it wants in the folder matching its package name, and it doesn’t have to ask for permission to do so.

The Telegram app, for example, stores its cache under /Android/data/org.telegram.messenger/cache, so if there’s a particular file you forgot to save but wanted to retrieve, you might be able to find it there. Google Podcasts stores downloaded podcasts to /Android/data/com.google.android.googlequicksearchbox/files/Podcasts/Downloads, so if you, say, downloaded a bunch of episodes of Android Bytes on your phone and wanted to transfer those to your PC, you’d need to navigate to that location to grab those files. /Android/data isn’t the only place where apps like Telegram and Google Podcasts can store files, but it offers more space to do so than internal storage and is just as convenient to access, which is why it’s frequently used.

For many years, Google Play limited the size of APK files that devs could upload to be 100MB or less. Apps that ship with a lot of high quality assets (like games) could easily exceed this limit, so Google offered the ability to create APK expansion files that can be up to 2GB in size. These files are stored in /Android/obb with the .obb extension. It’s not uncommon to see Android gamers share .obb files in order to access some games early.
Though everyone’s setup is different, most readers have probably accessed a file or folder under /Android at one point in the past. When friend of the blog (and one-time Android Bytes guest) Braden Farmer posted on Reddit about Android 11’s file manager restriction, the post attracted over 100 comments from users expressing frustration with the change. It was noted quite quickly, however, that many file managers had rolled out updates enabling access to /Android/data and /Android/obb. All the user had to do was tap “use this folder” and then “allow” when requested, and the file manager would have access to those directories.
Using SAF to access the /Android/data subdirectory
Confirming access to the /Android/data subdirectory using SAF
After doing a fresh install of MiXplorer on a Pixel 6 Pro running Android 12L and then tapping to open /Android folder, the user is prompted to allow access to /Android/data. Once given, a separate request is shown to grant access to /Android/obb.
What file managers like MiXplorer are doing is using the Storage Access Framework (SAF) to request access to a particular directory’s contents. SAF was introduced all the way back in Android 4.4, while the ability to use SAF to prompt the user to choose a directory for an app to access was added in Android 5.0. This capability, thus, is quite old, so it’s not as if Google didn’t consider that apps would try to use SAF to request access to directories that are supposed to be restricted. In fact, Google explicitly blocked SAF directory access to /Android, but this implementation had a flaw: it didn’t block SAF directory access to subdirectories under /Android. In other words, while file managers couldn’t just use SAF to ask for access to all of /Android, they could use it to ask for access to /Android/data and /Android/obb, circumventing Android’s restrictions almost entirely.
The method behind this loophole is pretty simple to find online. This StackOverflow post sums it up quite nicely, though I first stumbled upon the method after reading this issue on the Amaze File Manager’s GitHub. One of the developers behind Amaze File Manager, TranceLove, published a proof of concept app that could access restricted directories in Android 11. Based on my understanding, the way it works is that, when constructing the intent to launch SAF, apps can set the initial location of the document chooser to be /Android/data or /Android/obb. This is intended functionality of SAF, but Google seemingly didn’t consider this when implementing Android’s restrictions on those directories. Oops.
Half a year after someone reported the existence of the loophole to Google, though, an employee said the issue will be fixed in a future Android release. That “future Android release” is now here in the form of Android 13, and I can confirm the loophole is closed through my own testing and code examination. As you can see in the video below, the loophole works on Android 12L but not on Android 13:



This is because Google updated the shouldBlockFromTree method in ExternalStorageProvider that I linked to before. The updated method adds a new condition to check if the directory that’s being launched matches one of the directories that should be hidden from apps. If there’s a match, then a flag will be applied to the directory that blocks it from being selected through SAF.

Diff between the shouldBlockFromTree method in Android 12L versus Android 13

Because of this change, file managers will need to find another way to access files under /Android. One solution might be to use the Shizuku library to run as shell, since the shell user still has access to /Android. Shizuku isn’t a perfect solution, though, because the service doesn’t persist across reboots and on some devices, it’s killed when the device switches between WiFi and mobile data. Plus, Shizuku itself is a bit risky to rely on, because it’s something I can see Google restricting in a future release.

While waiting for file manager devs to implement a workaround, users can access /Android through one of the officially supported ways: the AOSP Files app (if you can’t find it, this app acts as a shortcut), MTP (ie. from your PC), or ADB shell (with or without a PC). Although I haven’t tested this myself, I suspect that file managers that have already been given access to subdirectories under /Android using the SAF loophole will retain that access when upgrading to Android 13, so one option would be to set up a file manager before upgrading.

While it’s understandable that Google is closing an obvious loophole to enforce behavior introduced in an earlier platform release, I still don’t agree with disallowing even file managers from having access to /Android. As I just mentioned, users can already access all content under /Android through the preinstalled Files app on most phones or from a PC using MTP or ADB. Thus, files saved to /Android are only hidden from other apps, not the user. I understand that’s the goal, but if the user wants to grant access to a file manager app so they themselves can access content that’s not intended to be hidden from them anyway, then I think they should be able to. Google Play already audits which apps can declare the MANAGE_EXTERNAL_STORAGE permission (the permission behind “all files access”), so why can’t those apps be trusted to actually access all files as the permission implies?
 

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,405
Reputation
1,367
Daps
20,949
I've got a Pixel and downloaded Android 13 yesterday.

I think we've reached peak Android when most (all?) of the upgrades are minor UI tweaks. How is having a larger nav bar a highlight of an upgrade :dead:

The phone does what I need to do so I'm not complaining. The one thing I wanted (ability to schedule "Extra Dim" mode) wasn't implemented unfortunately but I wasn't researching Android 13 anyways so the entire upgrade popped out of nowhere for me.

If future updates are this miniscule, moving forward I'll probably root my phone once it is no longer eligible for security updates and ride it til the wheels fall off.
 
Top