[Gen9 Android Development] Quinny899:
Getting on pretty well with the camera, I pushed libion.so from a Kindle Fire ROM and now it seems to detect the camera, logs show the following:

01-15 17:58:07.531 I/CameraService(507): CameraService started (pid=507)
01-15 17:58:43.158 I/talk (1412): Refresh the supported camera state
01-15 17:58:43.439 E/CameraHAL(507): Userspace mapping of ION buffers returned error -25
01-15 17:58:43.439 E/CameraHAL(507): Freeing buffers already allocated after error occurred
01-15 17:58:43.439 E/CameraHAL(507): Error allocating buffer for caps 0
01-15 17:58:43.439 E/CameraHAL(507): Userspace mapping of ION buffers returned error -25
01-15 17:58:43.439 E/CameraHAL(507): Freeing buffers already allocated after error occurred
01-15 17:58:43.439 E/CameraHAL(507): Error allocating buffer for caps 0
01-15 17:58:43.447 E/ (507): num_cameras = 2
01-15 17:58:43.447 I/talk (1412): supported front camera true
01-15 17:58:43.447 I/talk (1412): supported front camera true
01-15 17:58:59.768 I/ActivityManager(708): START {act=android.media.action.STILL_IMAGE_CAMERA flg=0x34000000 cmp=com.google.android.gallery3d/com.android.camera.CameraActivity u=0} from pid 708
01-15 17:59:00.096 V/CameraHolder(1873): open camera 0
01-15 17:59:00.104 I/dalvikvm(1873): Could not find method android.hardware.Camera.enableShutterSound, referenced from method com.android.camera.CameraManager$CameraHandler.enableShutterSound
01-15 17:59:00.104 W/dalvikvm(1873): VFY: unable to resolve virtual method 729: Landroid/hardware/Camera;.enableShutterSound (Z)Z
01-15 17:59:00.127 I/CameraService(507): Opening camera 0
01-15 17:59:00.127 I/CameraHAL(507): camera_device open
01-15 17:59:00.283 W/ActivityManager(708): Activity pause timeout for ActivityRecord{41203b68 com.google.android.gallery3d/com.android.camera.CameraActivity}
01-15 17:59:00.377 E/CameraHAL(507): Invalid input resolution
01-15 17:59:00.377 E/CameraHAL(507): Invalid input resolution
01-15 17:59:00.377 E/CameraHAL(507): Invalid input resolution
01-15 17:59:00.377 E/CameraHAL(507): Invalid preview resolution 640 x 480
01-15 17:59:00.377 E/CameraHAL(507): Failed to set default parameters?!
01-15 17:59:00.518 I/AwesomePlayer(507): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
01-15 17:59:00.518 E/ (507): Failed to open file '/system/media/audio/ui/camera_click.ogg'. (Permission denied)
01-15 17:59:00.564 E/AndroidRuntime(1873): at com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java)
01-15 17:59:00.564 E/AndroidRuntime(1873): at com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java)
01-15 17:59:00.564 E/AndroidRuntime(1873): at com.android.camera.PhotoModule.access$1300(PhotoModule.java)
01-15 17:59:00.564 E/AndroidRuntime(1873): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java)
01-15 17:59:00.572 W/ActivityManager(708): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraActivity
01-15 17:59:01.096 W/ActivityManager(708): Activity pause timeout for ActivityRecord{41203b68 com.google.android.gallery3d/com.android.camera.CameraActivity}
01-15 17:59:02.150 I/WindowState(708): WIN DEATH: Window{4138b500 com.google.android.gallery3d/com.android.camera.CameraActivity paused=false}
01-15 17:59:02.158 I/CameraService(507): Destroying camera 0
01-15 17:59:11.322 W/ActivityManager(708): Activity destroy timeout for ActivityRecord{41203b68 com.google.android.gallery3d/com.android.camera.CameraActivity}