UPDATE4: Sorry for the delay, but it is quite annoying to adapt the camera to a new build every week.
Fixed: green tint in photos with A/W and Flash.
Bug: Because the new application "file explorer" depends libmedia.so and also the camera, there is a bug with the file explorer, FC in certain files. Sorry i'm not a developer.
http://www.mediafire.com/?l68k9jsc5v3g26t NOT SIGNED.
UPDATE3: Finally fixed and working version with MIUI ROM 12.03. Credits for all people that have collaborated with this port:
vauss from www.htcmania.com
Special thanks to bigrushdog from miui-dev
apside and arasthel from htcmania.
UPDATE2: Fixed and working in the last MIUI ROM 12.03.
UDPATE1: Finally working Videocamera on MIUI. I have copied all libs related with camera on MIUI Rom. I post two versions: one with CM6 kernel and other only the camera.apk with libs. Sorry but the zip aren't signed. . There is only a bug, the button for change between cam/video don't work, you must change with Option Button. Sorry i don't know how fix it
I have managed to run the camara.apk of CM6 in MIUI ROM, but the camrecorder does not work. When I try to activate the video appears FC. I can see a picture on the camera but then the application closes.
I've done using the framework of the EVO MIUI 4G and CM6 camera libraries. Why? Well until i know miui evo4g rom is the unique miui rom that can run cm6 camera.apk. so i have copied framework.jar on my N1 rom. I don,t understand why camrecorder does not work. I will attach my logcat if someone can fix it
Please try it and send me feedback. PLEASE: I am not responsible for anything. I've only put together parts of several ROM to make it work. I have not programed anything. All credit to the people of CM6, EVO4G MIUI-Rom and MIUI-ROM.