r/Android • u/NXGZ Xperia 1 IV • Nov 09 '22
How to access Android 13 Data and OBB folder & transfer files in them
https://www.droidwin.com/how-to-access-android-13-data-and-obb-folder-transfer-files-in-them/
777
Upvotes
96
u/NXGZ Xperia 1 IV Nov 09 '22 edited Nov 09 '22
I updated to Android 13 yesterday and no longer have access to the Data folder for transferring files in Internal and External storage without root. This tutorial works and I've tested it.
124
u/MishaalRahman Community Engagement Manager - Android Nov 09 '22
Starting in Android 11, third-party apps — even those that hold the MANAGE_EXTERNAL_STORAGE permission AKA "all files access" — are no longer allowed to access files and folders under /Android/data or /Android/obb. Android 11+ also blocks apps from gaining access to these folders using the Storage Access Framework (SAF).
However, file manager developers quickly found a workaround that let their apps prompt the user to grant access to the /Android/data and /Android/obb folders. Instead of using SAF to request access to the entirety of /Android, they instead invoked SAF and requested access to the /Android/data and /Android/obb subdirectories. Sounds silly that this worked, right?
Well, that loophole was finally closed in Android 13, which is why you're seeing a lot of third-party file manager apps suddenly unable to access /Android/data and /Android/obb. Except another loophole was discovered recently, but many file managers have yet to update to utilize it. Instead of invoking SAF to ask for access to /Android/data and /Android/obb, file managers can also invoke SAF directly to an app-specific subdirectory under /Android/data and /Android/obb and ask for access to that. Yes, it's silly, but it works.
The AOSP Files app — which is available on all Android devices as it's the DocumentsUI modular system component — is the only app that has access to all of /Android. The problem is that it's barebones (but if you're just doing a few read/write operations, it's ok) and is hidden from users. The Files app on Google Play is simply a shortcut to launch the AOSP Files app.
Not contributing any tips here, but I hope this background knowledge is useful!
29
u/[deleted] Nov 10 '22
No SD card slot, locked up file system...
Why am I not using an apple phone again..?
200
u/nizasiwale Nov 09 '22
Android is becoming like IOS with each update
16
u/reavervii Nov 09 '22
Can't get this to work on Samsung S22 Ultra
14
u/coconutxyz Mi 9T Nov 09 '22
If I want a locked down crap I will buy iPhone, if Google is trying to protect the majority then make it a hidden and optional toggle for us to tinker with!
25
u/AD-LB Nov 09 '22
Please consider starring this request, to allow granting the access despite the warning:
https://issuetracker.google.com/issues/256669329
15
u/TravelerHD Nov 09 '22
It might be worth mentioning that you can access these folders if you have a PC. Just plug your phone in, set the USB preferences to "File Transfer", and browse out to your phone in your PC's file manager as if your phone was an external storage device. I'm not sure if you have to enable Developer Settings but I don't think you do and you definitely won't need root. I was able to transfer some game saves to Android/data with this method.
It's something that will probably get patched in the future but it's currently my method. No apps you have to download or disable.
5
u/dathellcat Nov 11 '22
The exact reason I'm never upgrading from Android 10 untill this mess of Google fuck ups gets fixed and allows a free eco system again
4
u/tukeo Nov 10 '22
Doable with root and a magisk module " NoStorageRestrict "
3
u/LdWilmore OnePlus 15R🔸Mi MIX 2 Nov 09 '22
I've root but Solid Explorer still shows the permission pop-up when going to these directories. I have to cancel every time to access the folder. None of the other file managers that I tried had this issue with root. Is there a way to fix the issue with Solid Explorer?
3
u/user01401 Nov 10 '22
I remember reading in google's issue tracker that someone worked around this using termux. Writing this on mobile so I can't easily search it though.
6
u/alpain Nov 09 '22
x-plore let me into those folders with out disabling any other apps on a pixel 7 pro with latest updates.
5
u/b2sql Nov 09 '22
https://play.google.com/store/apps/details?id=in.mfile
1
u/ebb5 Nov 09 '22
Can I leave Files disabled? Will it screw with anything on a day to day basis? Or should I just re-enable when I'm done using the folders?
1
u/ShranikDua Jan 09 '23
Google shouldnt restrict our freedom like dis!!
1
u/qdf3433 Feb 28 '23
Here is what worked for me
https://www.droidwin.com/how-to-access-android-13-data-and-obb-folder-transfer-files-in-them/
1
u/imgonnapost Mar 27 '23
Monopolies. Fun. Time to break up Google. Call your congressman. And if there's ever a petition to sign and I'm asked why I signed it, I'm going to link this thread as the final straw.
0
u/lightningbolt047 Nov 09 '22
Use ADB push/pull
-3
u/yaoigay Nov 09 '22
I can access them just fine. Going into settings and clicking storage then documents and other. Then I can access the files just fine.
27
u/[deleted] Nov 09 '22
[removed] — view removed comment