[XDA Assist] rajatkuthiala:
I was on a Custom Rom Darthstaler. Everything(Xposex, Su) was running perfectly. After like a week, my phone froze during a video call. I restarted it and found it stuck on samsung bootsplash screen. I tried cleaning everything and flashing rom again, flashed stock rom using Odin and Smart Switch emergency rom install. None of them worked. I tried repairing the partition using PIT file but that did not worked either. Today I decided to check what waas causing the endless splashscreen , so I connected it to my computer and used ADB logcat feature. What is saw was audio process dying again and again in a loop.

02-02 07:44:35.430 2986 2986 F DEBUG : Tombstone written to: /data/tombstones/tombstone_06
02-02 07:44:35.430 2986 2986 E : ro.product_ship = true
02-02 07:44:35.430 2986 2986 E : ro.debug_level = 0x4f4c
02-02 07:44:35.430 2986 2986 E : sys.mobilecare.preload = false
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.audio_flinger' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.player' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.resource_manager' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.camera' died
02-02 07:44:35.500 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:35.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:35.700 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:35.900 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.100 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.300 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.500 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:36.710 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.830 5139 5548 D BatteryService: !@BatteryListener : batteryPropertiesChanged!
02-02 07:44:36.830 5139 5548 D BatteryService: level:34, scale:100, status:2, health:2, present:true, voltage: 3876, temperature: 369, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303445, invalid charger:0, maxChargingCurrent:0
02-02 07:44:36.830 5139 5548 D BatteryService: online:6, current avg:487, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, current_now:738
02-02 07:44:36.910 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.110 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.310 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.510 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:37.710 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.910 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.120 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.320 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.520 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.610 5139 16315 W AudioSystem: AudioPolicyService not published, waiting...
02-02 07:44:38.720 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...