[HTC One S] djsubtronic:
Dunno if this is any help... 4.2 camera failure logcat:

D/overlay ( 123): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
V/CameraHolder( 4091): open camera 0
E/CameraService( 126): CameraService::connect X (pid 4091) rejected (invalid cameraId 0).
E/CameraHolder( 4091): fail to connect Camera
E/CameraHolder( 4091): java.lang.RuntimeException: Fail to connect to camera service
E/CameraHolder( 4091): at android.hardware.Camera.native_setup(Native Method)
E/CameraHolder( 4091): at android.hardware.Camera.<init>(Camera.java:340)
E/CameraHolder( 4091): at android.hardware.Camera.open(Camera.java:302)
E/CameraHolder( 4091): at com.android.camera.CameraManager.cameraOpen(CameraManager.java:283)
E/CameraHolder( 4091): at com.android.camera.CameraHolder.open(CameraHolder.java:210)
E/CameraHolder( 4091): at com.android.camera.Util.openCamera(Util.java:315)
E/CameraHolder( 4091): at com.android.camera.PhotoModule$CameraStartUpThread.run(PhotoModule.java:320)
V/StateManager( 4091): startState class com.android.gallery3d.app.PhotoPage
I/GmsClient( 4091): connect: bindService returned true for Intent { act=com.google.android.gms.panorama.servic
e.START }
D/Sensors ( 446): sensors_pana_poll_context_t::activate_pana
D/Sensors ( 446): AkmSensor::enable htc, handle :0
D/Sensors ( 446): Enable akm: en = 1, mEnabled 0
D/Sensors ( 446): Enable akm: newState = 1, (uint32_t(newState)<<what) 1, (mEnabled & (1<<what)0
D/Sensors ( 446): Enable akm: open_device, en = 1
D/Sensors ( 446): Enable akm: , what = 0
D/Sensors ( 446): Enable akm: , cmd = 0x4002a113
D/Sensors ( 446): Enable akm: , mEnabled = 0x1, flags= 0x1
D/AK8975 ( 129): Compass Start
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 66
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 200
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
D/Sensors ( 446): akm enable ,logcal_enable 1,mEnabled 1
D/Sensors ( 446): Enable akm: ORIENTATION_Activate 0, MAGNETIC_FIELD_Activate 0, ACCELEROMETER_Activate 1
D/Sensors ( 446): Enable akm: ROTATIONVECTOR_Activate 0, LINEAR_ACCELERATION_Activate 0, GRAVITY_Activate 0
D/AK8975 ( 129): Report first event: (x, y, z) = ( 244, -686, -64)
D/EWdaemon( 130): !!! EWDAE_IOCTL_SET_STANDBY OK
D/Sensors ( 446): EWHAL_IOCTL_SET_CONTROL akm-Sensor at enable ,control 0x662bcbd4
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 200000000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 200
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 200000000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 200
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 200000000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 200
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
W/SensorService( 446): sensor 00000000 already enabled in connection 0x61891bb8 (ignoring)
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 200000000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 200
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
D/GmsClient( 4091): service broker connected, binder: android.os.BinderProxy@4183c758
D/CameraStorage( 4091): External storage state=mounted
D/AK8975 ( 129): Report 1th g-sensor event: (x, y, z) = ( 137, -697, 188)
I/CAM_ScreenNail( 4091): preview layout size: 540/960
I/CAM_ScreenNail( 4091): aspect ratio clamping disabled
I/GalleryEGLConfigChooser( 4091): Config chosen: R8 G8 B8 A0 D24 S8 ID9 CAVEAT12344
D/dalvikvm( 925): GC_CONCURRENT freed 409K, 19% free 2659K/3272K, paused 1ms+6ms, total 30ms
I/GLRootView( 4091): onSurfaceChanged: 540x960, gl10: com.google.android.gles_jni.GLImpl@41d17258
I/GLRootView( 4091): layout content pane 540x960 (compensation 0)
D/PhotoView( 4091): compensation = 0, CameraRelativeFrame = Rect(0, 0 - 0, 0), mCameraRect = Rect(0, 0 - 0, 0)

D/AK8975 ( 129): Report 2th g-sensor event: (x, y, z) = ( 129, -691, 196)
D/dalvikvm( 4091): GC_FOR_ALLOC freed 4442K, 36% free 8503K/13124K, paused 22ms, total 22ms
D/dalvikvm( 4091): GC_CONCURRENT freed 96K, 21% free 10467K/13124K, paused 2ms+3ms, total 24ms
D/dalvikvm( 4091): WAIT_FOR_CONCURRENT_GC blocked 20ms
D/AK8975 ( 129): Report 3th g-sensor event: (x, y, z) = ( 112, -683, 191)
D/GmsClient( 4091): bound to service broker
D/AK8975 ( 129): Report 4th g-sensor event: (x, y, z) = ( 126, -708, 191)
I/ActivityManager( 446): Displayed com.google.android.gallery3d/com.android.camera.CameraLauncher: +416ms
D/AK8975 ( 129): Report 5th g-sensor event: (x, y, z) = ( 132, -689, 174)
D/AK8975 ( 129): Report 6th g-sensor event: (x, y, z) = ( 123, -691, 196)
W/ActivityManager( 446): Unable to start service Intent { act=com.sonyericsson.airtouch.service.ACTION_DISABL
E (has extras) } U=0: not found
D/dalvikvm( 4091): GC_FOR_ALLOC freed 363K, 9% free 12032K/13124K, paused 26ms, total 26ms
D/AK8975 ( 129): Report 7th g-sensor event: (x, y, z) = ( 109, -691, 182)
D/dalvikvm( 4091): GC_FOR_ALLOC freed 23K, 8% free 13874K/14988K, paused 20ms, total 20ms
D/AK8975 ( 129): Report 8th g-sensor event: (x, y, z) = ( 120, -697, 194)
D/AK8975 ( 129): Report 9th g-sensor event: (x, y, z) = ( 129, -703, 191)
D/AK8975 ( 129): Report 10th g-sensor event: (x, y, z) = ( 115, -675, 177)
D/AK8975 ( 129): Report 11th g-sensor event: (x, y, z) = ( 118, -697, 180)
D/AK8975 ( 129): Report 12th g-sensor event: (x, y, z) = ( 106, -686, 185)
V/ap ( 1986): set to auto
W/BackupManagerService( 446): dataChanged but no participant pkg='com.android.providers.settings' uid=10139
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 200000000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 200
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
D/Sensors ( 446): sensors_pana_poll_context_t::set_Delay = 66667000
D/Sensors ( 446): setDelay akm:
D/Sensors ( 446): update_delay akm:htc, mEnabled1
D/Sensors ( 446): AkmSensor::update_delay => set_ms = 66
D/Sensors ( 446): AkmSensor::update_delay => control[EW_CB_LOOPDELAY] = 66
D/Sensors ( 446): AkmSensor::update_delay => current_DelayTime = 66
I/ActivityManager( 446): Config changed: {1.0 234mcc10mnc en_US ldltr sw360dp w360dp h614dp 240dpi nrml long
port finger -keyb/v/h -nav/h s.11 themeResource=null}
V/com.jb@LayoutManager( 2058): -> LayoutManager.onConfigurationChanged().
V/com.jb@HVGALayoutParameters( 2058): HVGALayoutParameters.<init>(11).
V/com.jb@LayoutManager( 2058): LayoutParameters: HVGA-P: 320x480
D/AK8975 ( 129): Report 13th g-sensor event: (x, y, z) = ( 106, -691, 194)
D/AK8975 ( 129): Report 14th g-sensor event: (x, y, z) = ( 106, -689, 194)
D/AK8975 ( 129): Report 15th g-sensor event: (x, y, z) = ( 98, -683, 163)
D/AK8975 ( 129): Report 16th g-sensor event: (x, y, z) = ( 137, -694, 185)
D/AK8975 ( 129): Report 17th g-sensor event: (x, y, z) = ( 258, -613, 73)
D/AK8975 ( 129): Report 18th g-sensor event: (x, y, z) = ( 87, -579, 19)
D/AK8975 ( 129): Report 19th g-sensor event: (x, y, z) = ( -50, -649, 196)
D/AK8975 ( 129): Report 20th g-sensor event: (x, y, z) = (-303, -495, 50)
D/AndroidRuntime( 4091): Shutting down VM
W/dalvikvm( 4091): threadid=1: thread exiting with uncaught exception (group=0x41067930)
E/AndroidRuntime( 4091): FATAL EXCEPTION: main
E/AndroidRuntime( 4091): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 4091): at android.hardware.Camera._getCameraInfo(Native Method)
E/AndroidRuntime( 4091): at android.hardware.Camera.getCameraInfo(Camera.java:201)
E/AndroidRuntime( 4091): at com.android.camera.Util.getDisplayOrientation(Util.java:393)
E/AndroidRuntime( 4091): at com.android.camera.PhotoModule.setDisplayOrientation(PhotoModule.java:2035)

E/AndroidRuntime( 4091): at com.android.camera.PhotoModule.onOrientationChanged(PhotoModule.java:1462)
E/AndroidRuntime( 4091): at com.android.camera.CameraActivity$MyOrientationEventListener.onOrientationC
hanged(CameraActivity.java:134)
E/AndroidRuntime( 4091): at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChang
ed(OrientationEventListener.java:143)
E/AndroidRuntime( 4091): at android.hardware.SystemSensorManager$ListenerDelegate$1.handleMessage(Syste
E/AndroidRuntime( 4091): at android.hardware.SystemSensorManager$ListenerDelegate$1.handleMessage(Syste
mSensorManager.java:204)
E/AndroidRuntime( 4091): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4091): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 4091): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 4091): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4091): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 4091): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
795)
E/AndroidRuntime( 4091): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 4091): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 446): Force finishing activity com.google.android.gallery3d/com.android.camera.CameraLau
ncher
W/ActivityManager( 446): Activity pause timeout for ActivityRecord{41b34f48 u0 com.google.android.gallery3d/c
om.android.camera.CameraLauncher}
I/Adreno200-EGL( 859): <eglInitialize:269>: EGL 1.4 QUALCOMM build: Nondeterministic AU_full_mako_PARTNER-AND
ROID/JB-MR1-DEV_CL2946718_release_AU (CL2946718)
I/Adreno200-EGL( 859): Build Date: 11/04/12 Sun
I/Adreno200-EGL( 859): Local Branch:
I/Adreno200-EGL( 859): Remote Branch: m/partner-android/jb-mr1-dev
I/Adreno200-EGL( 859): Local Patches: NONE
I/Adreno200-EGL( 859): Reconstruct Branch: NOTHING
W/ActivityManager( 446): Unable to start service Intent { act=com.sonyericsson.airtouch.service.ACTION_ENABLE
(has extras) } U=0: not found
D/dalvikvm( 859): GC_CONCURRENT freed 754K, 19% free 4391K/5412K, paused 2ms+1ms, total 11ms