jacopotediosi / GAppsMod

Tweak Google apps (e.g., Phone and Messages) to unlock hidden features (e.g., available only in some countries or on certain devices). Root is required.
https://forum.xda-developers.com/t/mod-root-googledialermod.4330055/
1.11k stars 47 forks source link

Phone: Change recording files location #41

Open jacopotediosi opened 1 year ago

jacopotediosi commented 1 year ago

Google Dialer by default saves the call recording audio files in the /data/data/com.google.android.dialer/files/callrecording path.

Multiple users asked if it is possible to change this setting, having the recordings saved elsewhere.

Please consider this ticket as the main point of reference for this topic. If there are any updates on this, I will post them here.

bagarwa commented 1 year ago

fwiw, on Pixel 7 Pro Android 13, Solid Explorer is able to go till /data/data/ but sees only 2 folders under it and com.google.android.dialer is not one of them. (I have granted it root.) SD Maid is able to go to /data/data/com.google.android.dialer/files/callrecording and see the recorded .wav file but is unable to copy / move the file to any other location and thus I can't play it with any audio player app either.

It'd be really helpful if we can set recording file location.

jacopotediosi commented 1 year ago

fwiw, on Pixel 7 Pro Android 13, Solid Explorer is able to go till /data/data/ but sees only 2 folders under it and com.google.android.dialer is not one of them. (I have granted it root.) SD Maid is able to go to /data/data/com.google.android.dialer/files/callrecording and see the recorded .wav file but is unable to copy / move the file to any other location and thus I can't play it with any audio player app either.

It'd be really helpful if we can set recording file location.

Hi, to implement this functionality I need to understand what your specific use case is.

Via the call history in the Dialer, you can listen to all the recordings, in an organized way, as each audio is already matched to its respective call in the GUI: image

Furthermore, by opening the individual recordings, it is possible to share them using the apposite button: image

Among the sharing options, there is also the possibility of copying the file to a folder of your choice: image

So why would you want the recordings to be saved in a different folder? It seems convenient to me not having to manage the files by hand.

Please note, I'm not saying I'm not going to implement this feature. I'm just asking to understand what do you need, to be able to implement it better.

Thanks.

bagarwa commented 1 year ago

Huh!! I didn't even know that that's an option. The one time I had used the call record function after applying this mod, I had not noticed the "listen to recording" button. So, I thought we have to manually find the recording and save it. If it shows up in Dialer itself and is also sharable from there, then I'm satisfied with that.

fillwithjoy1 commented 1 year ago

Would using Storage Isolation help?

jacopotediosi commented 1 year ago

Creating a folder symlink should be enough and it can be done with libsu. Not a priority at the moment by the way.

fillwithjoy1 commented 1 year ago

Creating a folder symlink should be enough and it can be done with libsu. Not a priority at the moment by the way.

How can I do that?