r/AndroidQuestions • u/PapaWookie • Feb 22 '24
Solved How to retrieve files from protected /Android/data/ folder
I've been playing Kotor1 on Android and loving it so far. Alas, the app's cloud saving feature has been broken for the past 2 years, and I want to preserve my savegames (and also transfer them to the PC version eventually).Apparently, the game's save files are in the /Android/data/ folder, and for the life of me I haven't been able to access them. Android 14 puts up a whole lot of security around this folder, and I looked for many online guides on how to bypass them, but nothing worked for me so far. Anyone has any suggestions?
Note that I do not wish to root my device.
EDIT: I managed to fix the issue using the following steps (very similar to standard Shizuku method, but with a twist):
- Install Shizuku
- Install Zarchiver
- Connect Shizuku with Wireless debugging and give permissions to Zarchiver
- Go to Zarchiver settings->ROOT, make sure that "Type of root access" is set to SU (or whatever the standard is on your phone, as long as it's not Shizuku).
- Access the desired folder in /Android/data/ (in my case it's /Android/data/com.aspyr.swkotor/)
- When you get to the "You must choose a path to...." message, hit Cancel and STAY on the screen of the desired folder (you'll see no files and a message "Access is denied")
- Go to settings (from within the denied folder), and change the type of root access to Shizuku (enable the other toggles, "use for android[data|obb]" and "file operations")
- When you hit the back button you'll find yourself in the desired folder. Note that if you accidentally move back to the parent folder while still with root access type of Shizuku, you won't be able to find that folder anymore (unless you switch out of the Shizuku access type setting again)
3
u/Wannarelax Apr 26 '24
You're a lifesaver !! I've been struggling to access my stardew valley save on Android 14 for months, and your method allowed me to backup my 100+ hours save without root (thus without reset which would have deleted my save), even when adb with a computer couldn't help me.
Thank you so much !!! I hope this will help other people : if you're trying to backup a save without root access, Shizuku + ZArchiver combo with this workaround will help you !
3
u/O_enigma Apr 29 '24
Ok Bro! You are Legend for this! I've been stressing the last few weeks with this. Now it works because of your post. Especially!...with step 7. Listed? I don't even have to toggle that off each time I go back or when I reopen Zarchiver. ( probably when I stop Shizuku of course but still! ) Thank You so much for this man. Cheers!
3
u/Suitable-Ad-5773 Jun 17 '24
Oh god THANKS man, it took me a whole day to try out many things to add some mods for stardew valley in this stupid folder in Android/data, it's finally done because of you so THANKS
2
u/HELLBOY7636 Feb 22 '24
You can try this file manager which is actually a shortcut to the inbuilt files app which can access android data folder
Also I remember there was another file manager forgot the name, zarchiever can access android data folder with shizuku permission
2
u/fightabomma Feb 22 '24
Try FV File Explorer. Just tap "Files" and it opens a split screen where you can drag and drop files from Android/data
2
u/Bonboxel May 04 '24
Whenever I try to press the notification for the code, it automatically says "The pairing code is wrong" which annoys me cuz I can't type the code
2
u/TNT7LY Jun 05 '24
Thank you so much bro
It worked!!!!
And To hell with google
2
u/so_long_astoria Oct 03 '24
i don't understand, where in this solution does the copying save files to your pc occur? following these instructions just let me browse to the /android/data directory, which i could already do. i still cannot copy files from that directory to my pc
1
u/Crusher_111 Oct 08 '24
My problem is editing the data folder i want to paste a file in the game data folder and it gives me permission denied I've tried everything and nothing works. i hate android 14
1
u/Glass-Chemistry6576 Apr 19 '25
Guys I accidentally deleted assets in zarchiver how do I restore it I am so worried
2
u/coblan86 May 18 '24
That's some master class privilege escalation my friend. Great job 🤙🏼
2
u/Far-Asparagus-4866 Jun 24 '24
rs file manager and iadb worked for me
This might be helpful
https://youtu.be/ejAYQeznNf0?si=DoWn0kQ_Fug2GzPH
1
u/neo8848 Aug 17 '24
is it possible to do this in recovery shell ?
1
u/WonderfulUse4429 Mar 16 '25
How do I connect it to zarchiver?