I’ve tagged this post as a “quickie” as I just want to share the solution to a problem I’ve been having with my recently bought Galaxy S2. This solution was found indirectly and from my extensive search through the Internet, I haven’t found anyone describing either this problem or the solution to it.
Problem: When using the MIUI 1.12.30 ROM on the Samsung Galaxy S2, the camera will freeze and eventually force close while attempting to record video.
Solution: The solution to this problem is so simple that “it hurts”. If you’re running MIUI, your kernel will most certainly have the ClockworkMod (CWM) flashed onto it. You will have to go into CWM (i.e. Shutdown phone then power it up with the combo Volume Up + Power + Home), then into the “advanced” menu and choose the “fix permissions” option.
After you’ve done this, reboot the phone et voilà! It’s really that easy!
I’ve found this solution through having a similar problem in CyanogenMod. In their forums they explain how to fix it for CM7.1 so I decided to give it a try on MIUI. Turns out the problem is the same.
Hope this saved you some time!