[Android Software Development] jeffv2:
i got a responce from jamzelle on droid forums. this is what he said...

all someone really has to do is see where its nullpointering, diff the 2.2 vs 2.3 camera souce

source and see what methods changed

and change them back

or make them call the correct functions from the camera lib

no i need help doing this, could someone help me by telling me the files to edit ?

I/ActivityManager( 1107): Start proc com.android.camera for activity com.android.camera/.Camera: pid=2534 uid=10008 gids={1006, 1015}
I/WindowManager( 1107): Setting rotation to 1, animFlags=1
I/ActivityManager( 1107): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=2 layout=34 uiMode=17 seq=11}
V/CameraHolder( 2534): open camera 0
D/CameraHal( 1027): CameraSettings constructor
D/CameraHal( 1027): CameraHal constructor
D/CameraHal( 1027): Model ID: Droid
D/CameraHal( 1027): Software ID 2.3.1
E/CameraHal( 1027): CameraHal constructor - can't load camera implementation
I/StagefrightPlayer( 1027): setDataSource('/system/media/audio/ui/camera_click.ogg')
I/StagefrightPlayer( 1027): setDataSource('/system/media/audio/ui/VideoRecord.ogg')
D/Camera ( 2534): app passed NULL surface
W/dalvikvm( 2534): threadid=11: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 2534): FATAL EXCEPTION: Thread-12
E/AndroidRuntime( 2534): java.lang.NullPointerException
E/AndroidRuntime( 2534):	at com.android.camera.Camera.updateCameraParametersPreference(Camera.java:1777)
E/AndroidRuntime( 2534):	at com.android.camera.Camera.setCameraParameters(Camera.java:1916)
E/AndroidRuntime( 2534):	at com.android.camera.Camera.startPreview(Camera.java:1666)
E/AndroidRuntime( 2534):	at com.android.camera.Camera.access$5500(Camera.java:93)
E/AndroidRuntime( 2534):	at com.android.camera.Camera$3.run(Camera.java:906)
E/AndroidRuntime( 2534):	at java.lang.Thread.run(Thread.java:1019)
W/ActivityManager( 1107): Force finishing activity com.android.camera/.Camera
I/WindowManager( 1107): Setting rotation to 0, animFlags=1
I/ActivityManager( 1107): Config changed: { scale=1.0 imsi=310/4 loc=en_US touch=3 keys=2/1/2 nav=2/2 orien=1 layout=34 uiMode=17 seq=12}
I/dalvikvm( 1607): Jit: resizing JitTable from 4096 to 8192
W/ActivityManager( 1107): Activity pause timeout for HistoryRecord{4093a270 com.android.camera/.Camera}
D/dalvikvm( 1107): GC_EXPLICIT freed 208K, 56% free 5114K/11591K, external 5537K/5665K, paused 94ms
D/dalvikvm( 2306): GC_EXPLICIT freed 143K, 56% free 2961K/6727K, external 2854K/3564K, paused 71ms
W/ActivityManager( 1107): Activity destroy timeout for HistoryRecord{4093a270 com.android.camera/.Camera}
D/dalvikvm( 2009): GC_EXPLICIT freed 14K, 50% free 2769K/5511K, external 2388K/2982K, paused 46ms
D/dalvikvm( 2448): GC_EXPLICIT freed 35K, 56% free 2921K/6535K, external 1625K/2137K, paused 59ms
I/power ( 1107): *** set_screen_state 0
D/SurfaceFlinger( 1107): About to give-up screen, flinger = 0x8daf8
D/dalvikvm( 1107): GC_EXTERNAL_ALLOC freed 154K, 57% free 5068K/11591K, external 4922K/4993K, paused 78ms
D/GoogleLoginService( 2448): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }