chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.67k stars 109 forks source link

Can't find recordings #472

Closed maxonandroid closed 2 weeks ago

maxonandroid commented 9 months ago

I recently had a conversation that I wanted to relisten to. The location of saved recordings was sdcard/Android/data/com.chiller3.bcr/ (I have changed this in the past but occasionally it resets itself)

I am on rooted Pixel 8 Pro. Using Solid Explorer I was unable to find the com.chiller3 folder. So instead I searched with FV manager using Shizuku. I was then able to see but not access the proper folder. (As an aside, after I changed the save location I can no longer see the com.chiller3 folder)

My voice recordings give the success notification when I hang up, so I believe they are (hopefully) somewhere. Since changing the default folder to Downloads and I am now able to find and listen to a recording from today, so I know this is working properly.

Where and how do I get to my past recordings saved in the com.chiller3 folder 🙏

chenxiaolong commented 9 months ago

I have changed this in the past but occasionally it resets itself

There are two scenarios where this can happen that I'm aware of:

Where and how do I get to my past recordings saved in the com.chiller3 folder 🙏

The easiest way to access the folder (no root required) is via Android's built in file manager (not to be confused with Google Files). You can access it from Android's Settings -> Storage -> Documents & other. The built in file manager has special permissions that allow it to access /sdcard/Android/data.

Normal apps aren't supposed to be able to access /sdcard/Android/data due to restrictions added in Android 11. However, the code was buggy, so file managers found a workaround to access the folder anyway. I believe this was in the latest Android 14 build, so it's no longer possible.

maxonandroid commented 9 months ago

Thank you for helping me understand more. Sadly I think some of my recordings are gone forever.

Really appreciate the project!

chenxiaolong commented 9 months ago

No problem! Sorry to hear the files are gone.

I wish there was a better default directory BCR could use that's immune to these sorts of issues. Unfortunately, due to Android's restrictions, the /sdcard/Android/data folder is the only folder apps are allowed to write to by default that's (kind of) accessible by the user.

Shao128 commented 8 months ago

I'm putting this here for reference as it may help someone in the future. BCR showed the folder being used as /storage/emulated/0/Android/data/com.chiller3.bcr/files however, even using a root browser I could not find the folder. After some digging I was able to find all my recording located in (you'll need root): /data/media/0/Android/data/com.chiller3.bcr/files

maxonandroid commented 8 months ago

Interestingly enough, this was helpful. Thank you for sharing! I was able to locate several calls in the folder (path) you listed, within hours of the main one I was looking for. But for whatever reason the key recording is missing.

I used FV File Explorer with Shizuku. Rooted Pixel 8 Pro

On Wed, Jan 10, 2024, 12:10 PM Shao128 @.***> wrote:

I'm putting this here for reference as it may help someone in the future. BCR showed the folder being used as /storage/emulated/0/Android/data/com.chiller3.bcr/files however, even using a root browser I could not find the folder. After some digging I was able to find all my recording located in (you'll need root): /data/media/0/Android/data/com.chiller3.bcr/files

— Reply to this email directly, view it on GitHub https://github.com/chenxiaolong/BCR/issues/472#issuecomment-1885258976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2X5S62VURVIYOSUIERQQ3YN3DPXAVCNFSM6AAAAABAVNFTUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGI2TQOJXGY . You are receiving this because you authored the thread.Message ID: @.***>