Sound Recorder Crashed .pending... Cannot access the file without Root

Recorded very important sound recording, but sound recorder crashed and only file I get now is:
“.pending 2020404” something like that.

Tried to root the phone, because I’ve heard that it stores sound recordings in a protected root directory, but couldn’t root it. Also tried to upload TWRP instead of original recovery, but cannot mount it, because it’s encrypted (I know the dot pattern, but TWRP doesn’t seem to want to ask me for the pattern).

The phone is Samsung Galaxy S5 “klte”, used the phone as a recorder for many things, and there were no problems. Maybe it’s my fault and I killed the app, because it said (sound recorder) “0 bytes” -in the notifications (the file after killing Sound Recorder has 23 megs, but it’s not completed), so I assumed wrongly that it crashed.

How do I access the raw file and process it again?

the pending file can probably be opened in Audacity automatically or if you configure some import settings.

There’s no filed bug for Sound Recorder atm, what was the duration?

Thanks for reply. Yes, indeed the pending file can be opened in Audacity, but my problem is not that it cannot be opened. The problem is that it’s incomplete. By definition, “.pending” is not a whole file.
I need the whole raw file that is not processed, but I suspect that it’s in the root directory somewhere, because I don’t see it in any of the user folders.

The duration of the whole file is probably 20 minutes, but pending file opened in Audacity is 3 minutes.

I think the confusion was from my (user side), that while it was processed, the percentage was 0 in the span of 5 minutes, so I though that is broken and I stopped Sound Recorder from the “Applications” menu (force stop).

Probably it’s not showing percentage while processing .pending files, and only shows competed after the file is processed.

did you check if there’s a lingering file in the recorders app storage?

/storage/emulated/0/Android/data/org.lineageos.recorder/files/Recordings/

I can see files can end up there without the transfer to the final “Recordings/Sound records/

Here’s the recorders logic flow. There’s two places where a PendingIntent or IS_PENDING flag is used. You’d need to look through those 2 files to grok when a pending file could end up not processed.

As for alleged 0-byte file recordings, there’s Soundrecorder records empty files (#7568) · Issues · LineageOS / issues / android · GitLab

Yes indeed I have some wav file, but in:

|klte:/storage/emulated/0/Android/data/org.lineageos.recorder/files/Music/SoundRecords

But I cannot copy it “operation is not permited”
Tried to do “adb root”, but it’s not allowed either. It says to go to developer settings, but there is no option to use adb with root priveleges, it’s e-os, so they disabled it I guess…

***Update, OK I got it!
Thanks for pointing me into the right direction!

I did:

adb pull /storage/emulated/0/Android/data/org.lineageos.recorder/files/Music/SoundRecords/ /home/me/Downloads

And it copied the whole folder without root and I get some wav file.

****Correction:

It’s a wav file, so I will keep looking for temporary files.