[Vibrant Android Development] 30000:
Ok, so I brought this up as a comment in the epic ROM by the good people at Einherjar, Trigger Redux, but it should also work for any version of CM7 and since I figured a lot of people might want CM7 to be compatible with the FFC mod for the Vibrant, I decided to make a brand new thread for it.

I owe this fix to the good people who worked on the various Q&A and FAQs for Vibrant CM7. The issue regarding the fact that some versions of CM7 do not support the Vibrant FFC Mod lies in the /system/lib/libcamera.so file. Since the Vibrant does not have a FFC normally, it will present only the 4 options on the camera app that should pertain to your phone, and consequently even if you do have a FFC, neither the camera nor any mirror or video calling app will work right out of the box.

The fix? Using Root explorer (or something similar), replace the current /system/lib/libcamera.so file with the one provided here, change the permissions on the libcamera.so file so they match all the other .so files in the same folder, and reboot. Problem solved.

NOTE: Due to a very helpful favor from scrizz, this tweak is now available as a CwM flashable .zip! However, the .zip only contains the libcamera.so file. If you want to change out ALL the .so files regarding the camera, they have been uploaded. (changing out all the .so files is recommended, since they may prevent unknown bugs from occurring in the future).

This tweak will allow the camera to have 5 of the 6 options (the only one missing will be for flash). Video calls and all mirror apps should now work.

This tweak does not harm any other functions of the phone, it just enables FFC support should someone happen to have an FFC on your Vibrant.

BUGS:

~When you use the FFC in the main camera app for some reason, it will make you look fat when rotated horizontally and will make you look skinny when rotated vertically. Pictures and video will look normal, however.

~This fix does have the old "image is rotated 90 degrees" bug :(:confused:. However, while YOU will see yourself rotated 90 degrees, the PERSON YOU ARE CALLING will see you normally, and all pictures and videos you view will look normal. The image in the main camera app, however, is mirrored, but not rotated :confused:.

I tried changing every "SGH-T959" and "vibrantmtd" in the build.prop to "GT-I9000" but that didn't work. Turns out this time, the bug is back with a vengeance. Either way, while it is mildly annoying, it causes no practical malfunction.
​

~When in video mode for the FFC, you will not be able to zoom in the normal camera app.

P.S. The complete set of all .so files pertaining to the camera do NOT come as a CwM flashable .zip. You have to extract the file on your computer and then manually replace the file. I'm just throwing my two cents in here so that people wont have to dig thru Q&A sections.

However, if anyone wouldn't mind giving me a crash course in how to make this a flashable .zip for everyone, do not hesitate to PM me. I would be happy to help and the lesson would be much appreciated.

Additionally, be aware that if you use this tweak and you do NOT have an FFC, the camera will still work under normal circumstances, but if you switch to the "Front" function, the camera will freak out and force close every time you try to open it.

To fix this problem should you encounter it

, simply go to Settings>Applications>Manage Applications>Camera and click "clear data."

IDK if this works with MIUI. If you'd like to be a tester for it, do not hesitate to PM me with the results!