There's a file (stream.wav
) which appears from time to time on the /sdcard
and it grows large and eventually eats up all available space. I need to find out the application which opens this file and keeps it growing.
Is there any way to determine this?
PS. The Android device is rooted.
Answer
For rooted phones only, on the terminal (or after adb shell
):
su
lsof | grep -i stream.wav
The output will look like
sdcard 206 media_rw 7 ... /data/media/0/stream.wav
XXXXXXXXX 6226 u0_a94 27 ... /storage/emulated/legacy/stream.wav
which shows XXXXXXXXX
(masked) is responsible for the file.
Thanks to Izzy's comment, this is his answer, but a bit reformulated.
No comments:
Post a Comment