0

I'm using apps e.g. Autoguard and others that record files to their directory (e.g. sdcard/Android/data/com.hovans.autoguard) and I'd like to back them up locally. Unfortunately due to the disastrous Android 11 update I no longer have access to that folder. Neither the phone explorers (also including Files by Google and the Shortcut app to Samsung's explorer) nor a USB connection helps to gain access to those files on the sd card. The Android/data folder on the internal storage can be viewed using USB or the Samsung explorer but NOT the one on the sd card. The only thing I can see is that the data folder is empty (because only root has the rwx rights).

How can I access those files nonetheless without rooting the phone? I'm getting frustrated after researching for hours with no solution.

PeterMcCoy
  • 103
  • 1
  • 2
  • 1
    Have you tried to access those files via adb? If this works you could use it for creating a backup via tar. Save everything to a tar file on the device and save the created archive on your PC (e.g. by streaming it using adb exec-out tar ... > backup.tar. – Robert Dec 28 '20 at 12:50
  • 2
    @Robert at least on stock Android 11 adb doesn't have access to apps' private directories in shared storage. A new GID 1078 has been introduced to make these directories accessible. And adbd doesn't have this GID. – Irfan Latif Dec 28 '20 at 13:02
  • 1
    There must be some file explorer apps which still have full access to /sdcard because it hasn't been fully restricted in Android 11. – Irfan Latif Dec 28 '20 at 13:07
  • @Robert Thank you very much, the creation of the tar archive did not work. However, just pulling the files via adb seems to work. Let me see if all files can be carried over but I'm optimistic. – PeterMcCoy Dec 28 '20 at 13:14
  • @beeshyams I tried the SD Maid explorer and it did not work. The internal storage/Android/data can be accessed over the Samsung explorer (i.e. the internal system app), just the SD card is the problem and no explorer can access it. – PeterMcCoy Dec 28 '20 at 13:16
  • There is something wrong here. Android 11 actually supports ext. SD better //can you try replacing that card with another and checking? – beeshyams Dec 28 '20 at 14:22
  • @beeshyams I've tried that 3C Explorer and it demands permissions for sdcard/Android/data which I cannot give since that folder won't appear in the system explorer (to be able to give those rights). So, no, it doesn't work. – PeterMcCoy Dec 28 '20 at 16:00
  • @beeshyams Why would I want to replace the card if I need to get files from it and it has been working prior to the update? I can access every file except the ones in that locked folder and for some reason the adb file transfer also works (takes way too long though). I might try another one later (probably not earlier than tomorrow) but I doubt that it makes a difference. – PeterMcCoy Dec 28 '20 at 16:08
  • As I pointed out earlier, Android 11 has made things easier for using SD card, so logically, this shouldn't happen. If on changing the SD card you are able to files on it, it means the problem is with card and the solution may be different //Just ruling out a possibility. I understand your need of using this card – beeshyams Dec 28 '20 at 16:27

1 Answers1

1

@Peter and Everyone. I ran into this exact issue. After spending a few hours befuddled by the nonsense that Android 11 has created with all of this...I decided to take a step back, look at this from a different perspective and had a tada moment :) The best solution sometimes is the most simplistic and one that was right in front of me the whole time. Well, actually, sitting in my laptop bag that's been parked for about a year.

Long story short, I ejected my SD Card, placed it in my previous S9 which was running Android whatever...anything other than Android 11. As soon as I fired it up, checked my Android/Data folder...everything was there, I simply copied it to my Internal Drive, ejected it, returned to the S10 and was back up and running. Thus, I didn't need to Root my device, test over 10+ File Manager Apps, read article after article, etc...I just had to go back in time before Android 11 and I didn't even have to revert my current S10 back to Android 10 or earlier. I just had to take Android 11 out of the picture.

So, while I've seen all of these press releases, specifications, justifications and reasoning for what Android 11 was supposed to do...it just doesn't compute. Never in my 30+ career have I seen a supposedly new solution lead to a 100% non operative solution against a given. In other words, accessing your Android/Data directory was as easy as 1+1, after Android 11 the only number that matters is 0...the number of items you can access :(

I think the moral to the story here is that always having a contingency plan... in this case an older backup phone pays off. I will not bore you with old stories of how my previous phone(s) helped in other situations...but I think today's result sums things up :)

Take care and I hope this helps everyone with this waste of time nonsense. It's OUR data sitting right in front of us that we NEVER had an issue with prior to Android 11.

Ma Rk
  • 26
  • 1
  • in https://android.stackexchange.com/questions/241018/how-to-access-hidden-area-of-sd-card-in-android-11 similar aspects are touched – user733733 Aug 18 '21 at 12:02