Hey all, loving GOS so far, but one thing I noticed that's starting to bug me is my rain sound app will crash 30 minutes after it is started (every time), but when re-opened will continue to be stable the rest of the night. I've also replicated this in YouTube Music with a long stream (10 hours). It will also work for about 30 minutes and crash, but when relaunched will work the rest of the night. This seems to happen regardless of the device being plugged in, or connected to Bluetooth. I've tried all the separate exploit protections, and the apps still crash once after 30 minutes (every single time). For the life of me I can't figure out why it only crashes the first time after 30 minutes, so figured I'd see if anybody here is also having this issue. Thank you in advance!
App crashing after ~30 minutes.
When you say, "crashing", do you just mean the audio stops, or do you see an error message or logs indicating a crash?
It sounds to me like the apps are just being paused by the battery optimizer.
If that is the case, you just need to go to the apps' settings, click on the "Allow background usage" text, then select "Unrestricted"
Probably9857 The apps themselves crash. I have background use allowed for both. The audio will cut out and when I open the phone, the app will have crashed without any error message and need to be reopened (where it won't do it again until the following night).
judicial709 I have background use allowed for both
Enabling background usage is necessary, but not sufficient.
Can you confirm that you have the Unrestricted option selected?
I do not see an unrestricted option. Under app battery usage, the only option is "Allow background usage". In the general setting of the app, I have "pause app activity if unused" deselected. Outside of that everything else is standard. I find it odd that the app only crashes after 30 minutes, but when reopened will stay running for 8 hours without any changes.
judicial709 do not see an unrestricted option.
You need to click on the text that reads "Allow background usage". That will take you to a screen with 2 options: Optimized (the default) and Unrestricted. Select Unrestricted.
judicial709 Outside of that everything else is standard. I find it odd that the app only crashes after 30 minutes, but when reopened will stay running for 8 hours without any changes
I don't know what rules the Battery Optimizer uses, but it seems reasonable that it might pause the app after 30 minutes initially, then if you re-open it, it remembers you did that, and doesn't re-pause it again.
"Pause app activity if unused" is something else entirely - it has nothing to do with battery optimization. "Unused" in that context means unused for weeks, not hours or minutes.
Gotcha. I didn't know that was a submenu. Will report back tomorrow!
judicial709 Gotcha. I didn't know that was a submenu.
Yeah, that UI sucks. It's not at all apparent that clicking on the text will do something.
- Edited
Probably9857
Sub menus are indicated by the vertical line to the left of the slider toggle. But yeah, not intuitive/obvious.
- Edited
judicial709 The apps themselves crash.
Please note that "crash" and "stop running" are not the same thing in Android. The Android system may choose to direct an app to stop, perhaps to save energy, perhaps to reclaim memory that the app is using so some other app can use it, perhaps when changing from one user profile to another. That is not crashing.
If an app crashes, it is because the app did something wrong, or something outside of the app failed and broke the app. Generally the user will be shown a crash dump providing some information about what happened.
Edit: the difference is like the difference between a car parking and a car crashing. They are similar in some respects, but what one does about the situations is not the same.
Ahh I didn't know that. I tried looking at the logs after it would stop running and would see the last part of the log with a tag of crash (though no other information about it). Setting the app to unrestricted, though, seems to have fixed this issue. Thank you for the help!
Update: the issue is still occurring. I tried to do a factory reset, re-download the app and set it back to unrestricted for battery app usage and the problem still persists. I have noticed that the app doesn't actually crash. Instead it seems like the audio just stops playing. Really left scratching my head on this one. It seems to me that this issue is not reproducible if the phone is not plugged in (not sure why this would even matter) as the prior fix I tried I didn't have the phone plugged in and the audio didn't cut ( I also wasn't connected to Bluetooth at this time).
judicial709 It might be helpful if you can have one of those apps play music, let it crash then immediately get logs from the app to see if there's anything helpful there.
In case you don't know, you can get logs from Settings > Apps > All apps > app name > View logs
- Edited
I'm unsure of how to post the text file but here's the copy and paste from the app.
type: logcat
osVersion: google/komodo/komodo:14/AD1A.240905.004/2024101200:user/release-keys
packageName: com.aluntapps.rainsounds:549
buffers: main,system,crash,events,kernel
level: verbose
--------- beginning of events
10-19 17:01:05.997 29748 29748 I wm_on_destroy_called: [Token=61910922,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performDestroy,time=3ms]
10-19 17:01:06.003 29748 29748 I wm_on_destroy_called: [Token=186067415,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performDestroy,time=0ms]
10-19 17:01:08.105 29748 29748 I wm_on_create_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performCreate,time=13ms]
10-19 17:01:08.106 29748 29748 I wm_on_start_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=handleStartActivity,time=1ms]
10-19 17:01:08.107 29748 29748 I wm_on_resume_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=RESUME_ACTIVITY,time=1ms]
10-19 17:01:08.112 29748 29748 I wm_on_top_resumed_gained_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:01:08.158 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
10-19 17:01:09.367 29748 29748 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.aluntapps.rainsounds/com.aluntapps.rainsounds.activity.MainActivity]
10-19 17:01:09.372 29748 29748 I wm_on_top_resumed_lost_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:01:09.447 29748 29748 I wm_on_paused_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performPause,time=1ms]
10-19 17:01:10.093 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
10-19 17:01:10.096 29748 29748 I wm_on_stop_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
10-19 17:01:52.963 29748 29748 I wm_on_restart_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performRestart,time=0ms]
10-19 17:01:52.964 29748 29748 I wm_on_start_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=handleStartActivity,time=1ms]
10-19 17:01:52.964 29748 29748 I wm_on_resume_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
10-19 17:01:52.965 29748 29748 I wm_on_top_resumed_gained_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topWhenResuming]
10-19 17:01:52.986 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
10-19 17:01:52.990 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
10-19 17:01:54.192 29748 29748 I wm_on_top_resumed_lost_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:01:54.195 29748 29748 I wm_on_paused_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performPause,time=2ms]
10-19 17:01:54.214 29748 29748 I wm_on_stop_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
10-19 17:01:54.223 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
10-19 17:02:21.310 29748 29748 I wm_on_restart_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performRestart,time=0ms]
10-19 17:02:21.311 29748 29748 I wm_on_start_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=handleStartActivity,time=1ms]
10-19 17:02:21.325 29748 29748 I wm_on_resume_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=RESUME_ACTIVITY,time=14ms]
10-19 17:02:21.326 29748 29748 I wm_on_top_resumed_gained_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topWhenResuming]
10-19 17:02:21.352 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=Start draw after previous draw not visible]
10-19 17:02:21.359 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
10-19 17:02:26.659 29748 29748 I wm_on_top_resumed_lost_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:02:26.660 29748 29748 I wm_on_paused_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performPause,time=0ms]
10-19 17:02:26.677 29748 29748 I wm_on_create_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performCreate,time=10ms]
10-19 17:02:26.678 29748 29748 I wm_on_start_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=handleStartActivity,time=0ms]
10-19 17:02:26.679 29748 29748 I wm_on_resume_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=RESUME_ACTIVITY,time=0ms]
10-19 17:02:26.682 29748 29748 I wm_on_top_resumed_gained_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topStateChangedWhenResumed]
10-19 17:02:26.696 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=reportDrawFinished seqId=0]
10-19 17:02:27.224 29748 29748 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
10-19 17:02:27.227 29748 29748 I wm_on_stop_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
10-19 17:02:28.188 29748 29748 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.aluntapps.rainsounds/com.aluntapps.rainsounds.activity.PlayActivity]
10-19 17:02:28.198 29748 29748 I wm_on_top_resumed_lost_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topStateChangedWhenResumed]
10-19 17:02:29.272 29748 29748 I wm_on_paused_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performPause,time=0ms]
10-19 17:02:29.280 29748 29748 I wm_on_stop_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
10-19 17:02:29.301 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Not drawing due to not visible]
10-19 17:02:46.700 29748 29748 I wm_on_restart_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performRestart,time=0ms]
10-19 17:02:46.701 29748 29748 I wm_on_start_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=handleStartActivity,time=1ms]
10-19 17:02:46.702 29748 29748 I wm_on_resume_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=RESUME_ACTIVITY,time=1ms]
10-19 17:02:46.702 29748 29748 I wm_on_top_resumed_gained_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topWhenResuming]
10-19 17:02:46.708 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Start draw after previous draw not visible]
10-19 17:02:46.715 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=reportDrawFinished seqId=0]
10-19 17:02:47.924 29748 29748 I wm_on_top_resumed_lost_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topStateChangedWhenResumed]
10-19 17:02:47.926 29748 29748 I wm_on_paused_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performPause,time=1ms]
10-19 17:02:47.945 29748 29748 I wm_on_stop_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
10-19 17:02:47.953 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Not drawing due to not visible]
10-19 17:07:10.151 29748 29748 I wm_on_restart_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performRestart,time=0ms]
10-19 17:07:10.152 29748 29748 I wm_on_start_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=handleStartActivity,time=1ms]
10-19 17:07:10.162 29748 29748 I wm_on_resume_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=RESUME_ACTIVITY,time=9ms]
10-19 17:07:10.162 29748 29748 I wm_on_top_resumed_gained_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topWhenResuming]
10-19 17:07:10.172 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Start draw after previous draw not visible]
10-19 17:07:10.184 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=reportDrawFinished seqId=0]
10-19 17:07:10.196 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=reportDrawFinished seqId=0]
10-19 17:07:11.003 29748 29748 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.aluntapps.rainsounds/com.aluntapps.rainsounds.activity.PlayActivity]
10-19 17:07:11.014 29748 29748 I wm_on_top_resumed_lost_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topStateChangedWhenResumed]
10-19 17:07:11.059 29748 29748 I wm_on_paused_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performPause,time=1ms]
10-19 17:07:11.691 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Not drawing due to not visible]
10-19 17:07:11.892 29748 29748 I wm_on_stop_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=STOP_ACTIVITY_ITEM,time=2ms]
10-19 17:08:20.109 29748 29748 I wm_on_restart_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performRestart,time=0ms]
10-19 17:08:20.110 29748 29748 I wm_on_start_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=handleStartActivity,time=1ms]
10-19 17:08:20.111 29748 29748 I wm_on_resume_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=RESUME_ACTIVITY,time=0ms]
10-19 17:08:20.111 29748 29748 I wm_on_top_resumed_gained_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topWhenResuming]
10-19 17:08:20.120 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Start draw after previous draw not visible]
10-19 17:08:20.126 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=reportDrawFinished seqId=0]
10-19 17:08:23.086 29748 29748 I wm_on_top_resumed_lost_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=topStateChangedWhenResumed]
10-19 17:08:23.087 29748 29748 I wm_on_paused_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performPause,time=1ms]
10-19 17:08:23.117 29748 29748 I viewroot_draw_event: [window=VRI[PlayActivity],event=Not drawing due to not visible]
10-19 17:08:23.119 29748 29748 I wm_on_stop_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
10-19 17:27:12.541 11846 11846 I auditd : avc=type=1400 audit(0.0:56434): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.553 11846 11846 I auditd : avc=type=1400 audit(0.0:56435): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.557 11846 11846 I auditd : avc=type=1400 audit(0.0:56436): avc: denied { read } for comm="apps.rainsounds" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.561 11846 11846 I auditd : avc=type=1400 audit(0.0:56437): avc: denied { read } for comm="apps.rainsounds" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=284 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.561 11846 11846 I auditd : avc=type=1400 audit(0.0:56438): avc: denied { read } for comm="apps.rainsounds" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.561 11846 11846 I auditd : avc=type=1400 audit(0.0:56439): avc: denied { getattr } for comm="apps.rainsounds" path="/apex/apex-info-list.xml" dev="tmpfs" ino=81 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56440): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot.art" dev="dm-12" ino=1336 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56441): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-core-libart.art" dev="dm-12" ino=1270 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56442): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-okhttp.art" dev="dm-12" ino=1318 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56443): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-bouncycastle.art" dev="dm-12" ino=1258 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56444): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-apache-xml.art" dev="dm-12" ino=1252 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.577 11846 11846 I auditd : avc=type=1400 audit(0.0:56445): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-framework.art" dev="dm-12" ino=1306 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56446): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-framework-graphics.art" dev="dm-12" ino=1288 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56447): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-framework-location.art" dev="dm-12" ino=1294 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56448): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-ext.art" dev="dm-12" ino=1276 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56449): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-telephony-common.art" dev="dm-12" ino=1324 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56450): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-voip-common.art" dev="dm-12" ino=1330 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.589 11846 11846 I auditd : avc=type=1400 audit(0.0:56451): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-ims-common.art" dev="dm-12" ino=1312 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.593 11846 11846 I auditd : avc=type=1400 audit(0.0:56452): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-framework-nfc.art" dev="dm-12" ino=1300 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.593 11846 11846 I auditd : avc=type=1400 audit(0.0:56453): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-core-icu4j.art" dev="dm-12" ino=1264 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.601 11846 11846 I auditd : avc=type=1400 audit(0.0:56454): avc: denied { lock } for comm="apps.rainsounds" path="/system/framework/arm64/boot-framework-adservices.art" dev="dm-12" ino=1282 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56455): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56456): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56457): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56458): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56459): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=111 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.693 11846 11846 I auditd : avc=type=1400 audit(0.0:56460): avc: denied { read } for comm="main" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.761 11846 11846 I auditd : avc=type=1400 audit(0.0:56461): avc: denied { read } for comm="binder:11846_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=308 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.761 11846 11846 I auditd : avc=type=1400 audit(0.0:56462): avc: denied { read } for comm="binder:11846_1" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=308 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.949 11846 11846 I auditd : avc=type=1400 audit(0.0:56464): avc: denied { read } for comm=4D6561737572656D656E7420576F72 name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=377 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0 app=com.aluntapps.rainsounds
10-19 17:27:12.963 11846 11846 I wm_on_create_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performCreate,time=58ms]
10-19 17:27:13.006 11846 11846 I wm_on_create_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performCreate,time=24ms]
10-19 17:27:13.023 11846 11846 I wm_on_start_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=handleStartActivity,time=17ms]
10-19 17:27:13.028 11846 11846 I wm_on_resume_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=RESUME_ACTIVITY,time=3ms]
10-19 17:27:13.061 11846 11846 I auditd : avc=type=1400 audit(0.0:56485): avc: granted { execute } for comm="FrescoIoBoundEx" path="/data/data/com.aluntapps.rainsounds/lib-0/libimagepipeline.so" dev="dm-56" ino=4786 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c181,c256,c512,c768 tclass=file app=com.aluntapps.rainsounds
10-19 17:27:13.077 11846 11846 I auditd : avc=type=1400 audit(0.0:56486): avc: granted { execute } for comm="FrescoIoBoundEx" path="/data/data/com.aluntapps.rainsounds/lib-0/libnative-imagetranscoder.so" dev="dm-56" ino=4615 scontext=u:r:untrusted_app:s0:c181,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c181,c256,c512,c768 tclass=file app=com.aluntapps.rainsounds
10-19 17:27:13.115 11846 11846 I viewroot_draw_event: [window=VRI[MainActivity],event=reportDrawFinished seqId=0]
10-19 17:27:13.115 11846 11846 I wm_on_top_resumed_gained_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:27:13.457 11846 11846 I wm_on_destroy_called: [Token=89074410,Component Name=com.aluntapps.rainsounds.activity.PlayActivity,Reason=performDestroy,time=1ms]
10-19 17:27:14.778 11846 11846 I view_enqueue_input_event: [eventType=Motion - Cancel,action=com.aluntapps.rainsounds/com.aluntapps.rainsounds.activity.MainActivity]
10-19 17:27:14.788 11846 11846 I wm_on_top_resumed_lost_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=topStateChangedWhenResumed]
10-19 17:27:14.867 11846 11846 I wm_on_paused_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=performPause,time=1ms]
10-19 17:27:15.184 11846 11846 I viewroot_draw_event: [window=VRI[MainActivity],event=Not drawing due to not visible]
10-19 17:27:15.660 11846 11846 I wm_on_stop_called: [Token=10467743,Component Name=com.aluntapps.rainsounds.activity.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=6ms]
Additionally, app stops playing audio at 17:27.
Issue it still occuring. I've tried 5 different apps now and all exhibit the same behaviour. If the phone is locked and not in use and charging, audio will pause after 20-30 minutes. Reopening the phone and starting playback again keeps the issue from happening again (until the following day). Some apps will start playback again as soon as the lock screen is gone, others require a replay.
judicial709 I am not an expert, but the log posted earlier looks like the app is stopping or being directed to stop, not crashing. Posting logs from another app or two might help, and posting a list of affected apps might help also.
Have the apps been updated for Android 15?