I built android-4.0.1_r1.2 for Maguro (userdebug) succesfully but the
Camera throws the following exception when I try to start it:
------ SNIP -----
I/ActivityManager( 404): START {act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.android.camera/.Camera bnds=[40,785][200,985]} from pid 723
I/WindowManager( 404): createSurface Window{41af3fa8 Starting
com.android.camera paused=false}: DRAW NOW PENDING
I/ActivityManager( 404): Start proc com.android.camera for activity
com.android.camera/.Camera: pid=3709 uid=10007 gids={1006, 1015}
I/InputReader( 404): Reconfiguring input devices. changes=0x00000004
I/InputReader( 404): Device reconfigured: id=6, name='Melfas MMSxxx
Touchscreen', surface size is now 720x1280, mode is 1
I/ActivityManager( 404): Config changed: {1.0 262mcc7mnc de_DE
layoutdir=0 sw360dp w598dp h360dp nrml land finger -keyb/v/h -nav/h
s.29}
D/OpenGLRenderer( 723): Flushing caches (mode 0)
D/OpenGLRenderer( 472): Flushing caches (mode 0)
E/CameraHAL( 388): Couldn't get camera properties
W/dalvikvm( 3709): threadid=12: thread exiting with uncaught exception
(group=0x40a701f8)
E/AndroidRuntime( 3709): FATAL EXCEPTION: Thread-112
E/AndroidRuntime( 3709): java.lang.RuntimeException: Fail to get camera info
E/AndroidRuntime( 3709): at
android.hardware.Camera.getCameraInfo(Native Method)
E/AndroidRuntime( 3709): at
com.android.camera.CameraHolder.<init>(CameraHolder.java:102)
E/AndroidRuntime( 3709): at
com.android.camera.CameraHolder.instance(CameraHolder.java:66)
E/AndroidRuntime( 3709): at com.android.camera.Util.openCamera(Util.java:267)
E/AndroidRuntime( 3709): at com.android.camera.Camera$4.run(Camera.java:1009)
E/AndroidRuntime( 3709): at java.lang.Thread.run(Thread.java:856)
D/OpenGLRenderer( 472): Flushing caches (mode 0)
D/OpenGLRenderer( 472): Flushing caches (mode 0)
W/ActivityManager( 404): Force finishing activity com.android.camera/.Camera
------ SNIP -----
What am I doing wrong?
Regards,
Dirk
JBQ
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
Thanks for the fast reply!
Is there a way to extract the DSP firmware from an installed version
of the factory images?
Regards,
Dirk
I have been maintaining seperate ICS source trees for each device I'm
targetting. Is this really necessary? Suppose I want to build for
the emulator and the Samsung Galaxy Nexus out of the same source tree,
can I do this:
$ lunch full-eng
$ make
$ lunch full_maguro-userdebug
$ make
Or must I do a "make clobber" before the second make? On my wimpy
build machine, "make clobber" causes the resulting make to take so
long I avoid it as much as possible. The processor may be slow, but
the disk is big, so separate source trees is not a space problem.
But it is a logistics problem, having to copy changes back and forth
is error prone and I'm getting tired of it.
-Sam
Regards,
bsaraiva
The camera and GPS is working now thanks to extract-files.sh.
But NFC is not available in the settings anymore and it doesn't seem to work.
Is this is binary driver problem too?
If I find the driver in the factory images, and install it to the AOSP
image will it work?
Regards,
Dirk
The Open-Source code looks for an optional enhanced firmware at
/system/vendor/firmware/libpn544_fw.so
JBQ