Default [Q][Miro] Photos and sound

Hi guys, I have Xperia Miro, the issue I am facing is that after 2-3 days after flashing a new ROM stock or some stock based the photos and videos won't store them selves and sound is not working, flashing the ROM for the 3rd time, I hope it will help, I think that even after a while it will also have the same issue...

Edit: Re-flashed ROM and for now sound and shooting pictures work fine... But when I try to shoot a video the camera freezes and when I try to get back in it, it says can't connect to camera...

Sent from my ME173X using xda app-developers app
My Devices:

Asus MeMO Pad HD 7 White 32GB: Rooted/AOSP v2 ROM by superdragonpt/Stock Kernel

Sony Xperia Miro Black ST23i: Rooted/Stock/Tweaked ROM/Stock Kernel