Hi Jean-Baptiste,
me again.
I try to give you all steps I have done perhaps we can find a
soloution together
cause this drives me crazy:
I set up an Ubuntu 10.04 LTS like you advised me to.
Chose repo with:
repo init -u
https://android.googlesource.com/platform/manifest -b
android-4.0.3_r1
synced it.
Downloaded the 2 sh files for building properitary modules via
http://code.google.com/intl/de/android/nexus/drivers.html#maguro
Started both sh files to extract? modules.
Started building with:
source build/envsetup.sh
lunch -> 8 for maguro
make clobber
make -j2
make -j2 otapackage
First installationtry was wiping the device and applying the
update.zip file.
This resulted in a non working bluetooth and camera.
So I thought about applying img. files via fastboot and I packed them
alltogether to an .zip file, like the factory images, applied the
android-info.txt and did a
fastboot -w update update.zip.
Got the bootloop, rebooted after some time, android starts up but adb
lolcat gives me those:
I/bluedroid( 208): bt_enable: ret: -1, errno: 19
I/bluedroid( 208): bt_enable: ret: -1, errno: 19
I/bluedroid( 208): bt_enable: ret: -1, errno: 19
I/bluedroid( 208): bt_enable: ret: -1, errno: 19
I/bluedroid( 208): bt_enable: ret: -1, errno: 19
Ok... no bluetooth, I could live without that but after starting
camera, nothing happened.
Screen black, device did not really respond on pressing backkeys in
the Logs I can see:
/ActivityManager( 196): Start proc com.android.camera for activity
com.android.camera/.Camera: pid=968 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 374): Flushing caches (mode 1)
E/CameraHAL( 120): Couldn't get camera properties
W/dalvikvm( 968): threadid=11: thread exiting with uncaught exception
(group=0x40a351f8)
E/AndroidRuntime( 968): FATAL EXCEPTION: Thread-72
E/AndroidRuntime( 968): java.lang.RuntimeException: Fail to get
camera info
E/AndroidRuntime( 968): at
android.hardware.Camera.getCameraInfo(Native Method)
E/AndroidRuntime( 968): at
com.android.camera.CameraHolder.<init>(CameraHolder.java:102)
E/AndroidRuntime( 968): at
com.android.camera.CameraHolder.instance(CameraHolder.java:66)
E/AndroidRuntime( 968): at
com.android.camera.Util.openCamera(Util.java:267)
E/AndroidRuntime( 968): at com.android.camera.Camera
$4.run(Camera.java:1100)
E/AndroidRuntime( 968): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 196): Force finishing activity
com.android.camera/.Camera
D/OpenGLRenderer( 374): Flushing caches (mode 0)
D/dalvikvm( 968): GC_CONCURRENT freed 207K, 3% free 12857K/13127K,
paused 2ms+3ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 11K, 2% free 12893K/13127K,
paused 13ms
I/dalvikvm-heap( 968): Grow heap (frag case) to 13.283MB for 662416-
byte allocation
D/dalvikvm( 196): GC_FOR_ALLOC freed 1829K, 14% free 16064K/18631K,
paused 38ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 1K, 3% free 13538K/13831K,
paused 11ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 20K, 2% free 13885K/14087K,
paused 14ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 5K, 2% free 14259K/14471K,
paused 12ms
E/CameraHAL( 120): Couldn't get camera properties
D/AndroidRuntime( 968): Shutting down VM
W/dalvikvm( 968): threadid=1: thread exiting with uncaught exception
(group=0x40a351f8)
I/Process ( 968): Sending signal. PID: 968 SIG: 9
I/ActivityManager( 196): Process com.android.camera (pid 968) has
died.
W/InputManagerService( 196): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$Proxy@416d23f0
I/ActivityManager( 196): 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 374
I/ActivityManager( 196): Start proc com.android.camera for activity
com.android.camera/.Camera: pid=990 uid=10007 gids={1006, 1015}
D/dalvikvm( 118): GC_EXPLICIT freed 36K, 3% free 12559K/12867K,
paused 2ms+3ms
D/OpenGLRenderer( 374): Flushing caches (mode 1)
D/dalvikvm( 118): GC_EXPLICIT freed <1K, 3% free 12559K/12867K,
paused 9ms+2ms
D/OpenGLRenderer( 374): Flushing caches (mode 0)
D/dalvikvm( 118): GC_EXPLICIT freed <1K, 3% free 12559K/12867K,
paused 1ms+2ms
E/CameraHAL( 120): Couldn't get camera properties
W/dalvikvm( 990): threadid=11: thread exiting with uncaught exception
(group=0x40a351f8)
E/AndroidRuntime( 990): FATAL EXCEPTION: Thread-75
E/AndroidRuntime( 990): java.lang.RuntimeException: Fail to get
camera info
E/AndroidRuntime( 990): at
android.hardware.Camera.getCameraInfo(Native Method)
E/AndroidRuntime( 990): at
com.android.camera.CameraHolder.<init>(CameraHolder.java:102)
E/AndroidRuntime( 990): at
com.android.camera.CameraHolder.instance(CameraHolder.java:66)
E/AndroidRuntime( 990): at
com.android.camera.Util.openCamera(Util.java:267)
E/AndroidRuntime( 990): at com.android.camera.Camera
$4.run(Camera.java:1100)
E/AndroidRuntime( 990): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 196): Force finishing activity
com.android.camera/.Camera
D/dalvikvm( 196): GC_CONCURRENT freed 530K, 13% free 16374K/18631K,
paused 7ms+6ms
D/dalvikvm( 990): GC_CONCURRENT freed 236K, 3% free 12824K/13127K,
paused 3ms+7ms
D/dalvikvm( 990): GC_FOR_ALLOC freed 12K, 2% free 12899K/13127K,
paused 13ms
I/dalvikvm-heap( 990): Grow heap (frag case) to 13.290MB for 662416-
byte allocation
D/dalvikvm( 990): GC_CONCURRENT freed 3K, 3% free 13543K/13831K,
paused 2ms+4ms
D/dalvikvm( 990): GC_FOR_ALLOC freed 20K, 2% free 13889K/14087K,
paused 20ms
D/dalvikvm( 990): GC_FOR_ALLOC freed 5K, 2% free 14263K/14471K,
paused 13ms
E/CameraHAL( 120): Couldn't get camera properties
D/AndroidRuntime( 990): Shutting down VM
W/dalvikvm( 990): threadid=1: thread exiting with uncaught exception
(group=0x40a351f8)
I/Process ( 990): Sending signal. PID: 990 SIG: 9
I/ActivityManager( 196): Process com.android.camera (pid 990) has
died.
W/InputManagerService( 196): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$Proxy@4169ca38
D/dalvikvm( 374): GC_CONCURRENT freed 1178K, 30% free 17250K/24583K,
paused 6ms+5ms
I/ActivityManager( 196): 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 374
I/ActivityManager( 196): Start proc com.android.camera for activity
com.android.camera/.Camera: pid=1011 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 374): Flushing caches (mode 1)
D/OpenGLRenderer( 374): Flushing caches (mode 0)
E/CameraHAL( 120): Couldn't get camera properties
W/dalvikvm( 1011): threadid=11: thread exiting with uncaught exception
(group=0x40a351f8)
E/AndroidRuntime( 1011): FATAL EXCEPTION: Thread-78
E/AndroidRuntime( 1011): java.lang.RuntimeException: Fail to get
camera info
E/AndroidRuntime( 1011): at
android.hardware.Camera.getCameraInfo(Native Method)
E/AndroidRuntime( 1011): at
com.android.camera.CameraHolder.<init>(CameraHolder.java:102)
E/AndroidRuntime( 1011): at
com.android.camera.CameraHolder.instance(CameraHolder.java:66)
E/AndroidRuntime( 1011): at
com.android.camera.Util.openCamera(Util.java:267)
E/AndroidRuntime( 1011): at com.android.camera.Camera
$4.run(Camera.java:1100)
E/AndroidRuntime( 1011): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 196): Force finishing activity
com.android.camera/.Camera
D/dalvikvm( 1011): GC_CONCURRENT freed 206K, 3% free 12858K/13127K,
paused 7ms+3ms
D/dalvikvm( 1011): GC_FOR_ALLOC freed 11K, 2% free 12898K/13127K,
paused 13ms
I/dalvikvm-heap( 1011): Grow heap (frag case) to 13.288MB for 662416-
byte allocation
D/dalvikvm( 1011): GC_CONCURRENT freed 1K, 3% free 13543K/13831K,
paused 7ms+1ms
D/dalvikvm( 1011): GC_FOR_ALLOC freed 20K, 2% free 13889K/14087K,
paused 32ms
D/dalvikvm( 1011): GC_FOR_ALLOC freed 5K, 2% free 14263K/14471K,
paused 31ms
E/CameraHAL( 120): Couldn't get camera properties
D/AndroidRuntime( 1011): Shutting down VM
W/dalvikvm( 1011): threadid=1: thread exiting with uncaught exception
(group=0x40a351f8)
I/Process ( 1011): Sending signal. PID: 1011 SIG: 9
I/ActivityManager( 196): Process com.android.camera (pid 1011) has
died.
W/InputManagerService( 196): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$Proxy@4194d988
I/power ( 196): *** set_screen_state 0
D/SurfaceFlinger( 117): About to give-up screen, flinger = 0xf1b918
D/dalvikvm( 196): GC_CONCURRENT freed 913K, 12% free 16407K/18631K,
paused 6ms+6ms
D/dalvikvm( 196): GC_EXPLICIT freed 54K, 13% free 16352K/18631K,
paused 3ms+6ms
D/NfcService( 359): NFC-C OFF, disconnect
V/TransportControlView( 196): Create TCV
com.android.internal.widget.TransportControlView@41974208
D/PhoneStatusBar( 263): disable: < expand icons alerts ticker
system_info back home RECENT* clock >
D/dalvikvm( 196): GC_CONCURRENT freed 34K, 8% free 17147K/18631K,
paused 3ms+7ms
W/IInputConnectionWrapper( 196): showStatusIcon on inactive
InputConnection
and
I/ActivityManager( 196): 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 374
I/ActivityManager( 196): Start proc com.android.camera for activity
com.android.camera/.Camera: pid=968 uid=10007 gids={1006, 1015}
D/OpenGLRenderer( 374): Flushing caches (mode 1)
E/CameraHAL( 120): Couldn't get camera properties
W/dalvikvm( 968): threadid=11: thread exiting with uncaught exception
(group=0x40a351f8)
E/AndroidRuntime( 968): FATAL EXCEPTION: Thread-72
E/AndroidRuntime( 968): java.lang.RuntimeException: Fail to get
camera info
E/AndroidRuntime( 968): at
android.hardware.Camera.getCameraInfo(Native Method)
E/AndroidRuntime( 968): at
com.android.camera.CameraHolder.<init>(CameraHolder.java:102)
E/AndroidRuntime( 968): at
com.android.camera.CameraHolder.instance(CameraHolder.java:66)
E/AndroidRuntime( 968): at
com.android.camera.Util.openCamera(Util.java:267)
E/AndroidRuntime( 968): at com.android.camera.Camera
$4.run(Camera.java:1100)
E/AndroidRuntime( 968): at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 196): Force finishing activity
com.android.camera/.Camera
D/OpenGLRenderer( 374): Flushing caches (mode 0)
D/dalvikvm( 968): GC_CONCURRENT freed 207K, 3% free 12857K/13127K,
paused 2ms+3ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 11K, 2% free 12893K/13127K,
paused 13ms
I/dalvikvm-heap( 968): Grow heap (frag case) to 13.283MB for 662416-
byte allocation
D/dalvikvm( 196): GC_FOR_ALLOC freed 1829K, 14% free 16064K/18631K,
paused 38ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 1K, 3% free 13538K/13831K,
paused 11ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 20K, 2% free 13885K/14087K,
paused 14ms
D/dalvikvm( 968): GC_FOR_ALLOC freed 5K, 2% free 14259K/14471K,
paused 12ms
E/CameraHAL( 120): Couldn't get camera properties
D/AndroidRuntime( 968): Shutting down VM
W/dalvikvm( 968): threadid=1: thread exiting with uncaught exception
(group=0x40a351f8)
I/Process ( 968): Sending signal. PID: 968 SIG: 9
I/ActivityManager( 196): Process com.android.camera (pid 968) has
died.
W/InputManagerService( 196): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$Proxy@416d23f0
I can't see what's going wrong here.
Heard about other user and you too, they all compile without any
problems and got a working camera, gps and bluetooth (did not try gps
til now)
ty in advance and for your time
regards
Milan