If anyone wants to help with the camera, all you need to do is install the rom and the Bravo Greenbread. After that, just try replacing libsoccamera.so with whatever camera library you want to try. To give an example with the libkobecamera-- adb push ./libkobecamera.so /system/lib/libsoccamera.so followed by adb shell chmod 0644 /system/lib/libsoccamera.so and reboot. From what I can tell, libcamera.so only detects if the camera is Bayer or SOC, then that calls on libmotocamera.so to then give commands to libsoccamera.so to take the photo. The error is not taking the picture, it actually does that correctly, its taking the picture from the buffer and writing it to the SDCard where the error occurs. That could be either libsoccamera.so or libcameraservice.so causing the problems, they both have errors at that time.
If we can't get it to work the copy\paste library hacks, the only alternative is to recompile Motorola's libsoccamera.so from gingerbread to 3MP, and and accompanying libraries. I figure Quarx's CM7 driver could be a reference point.
I have a bunch to do today, but if someone here could do a bit of research on how to compile individual drivers and report back; it would save me the time and trouble. We really need this rom working. Making MS2 fully work also means MIUI v4, Wajkiui, Argen2Stone and 3Stone, or any 2.3.6 Defy or Milestone2 Rom for that matter since they all have similar frameworks.
And I forgot to add, for those who do want to help. Don't bother with anything Bravo Froyo or CM7. I've tried all combinations with no success. They actually make it glitch and crash. You gotta think outside the box. Just stick with Gingerbread 3MP Motorola phones, because we need a library that understands libmotocamera.so.
If we can't get it to work the copy\paste library hacks, the only alternative is to recompile Motorola's libsoccamera.so from gingerbread to 3MP, and and accompanying libraries. I figure Quarx's CM7 driver could be a reference point.
I have a bunch to do today, but if someone here could do a bit of research on how to compile individual drivers and report back; it would save me the time and trouble. We really need this rom working. Making MS2 fully work also means MIUI v4, Wajkiui, Argen2Stone and 3Stone, or any 2.3.6 Defy or Milestone2 Rom for that matter since they all have similar frameworks.
And I forgot to add, for those who do want to help. Don't bother with anything Bravo Froyo or CM7. I've tried all combinations with no success. They actually make it glitch and crash. You gotta think outside the box. Just stick with Gingerbread 3MP Motorola phones, because we need a library that understands libmotocamera.so.
Last edited: