Google Groups

Re: [android-building] compiled 4.2.1 for Galaxy Nexus, but cannot boot


Jean-Baptiste Queru Jul 30, 2013 7:53 AM
Posted in group: Android Building
Nexus 10 is not supported in AOSP as of 4.3. You need to use 4.2.2.

JBQ


On Tue, Jul 30, 2013 at 5:15 AM, Neeraj Garg <nrj...@gmail.com> wrote:
Hello JBQ,
We are facing same problem with JB_MR2 (Android 4.3) release. Surfaceflinger service crashes for Nexus 10.

My guess is that samsung graphics files have not been shared in the below link. However 4.2.1 release had samsung graphics files.

https://developers.google.com/android/nexus/drivers#mantajwr66v

1. Would it be possible for you to confirm that we will not need graphics files for vendor/samsung folder? Although ./extract-broadcom file creates vendor/samsung folder but then that folder doesn't have properitiery folder which was very much present in 4.2.1 release.
2. Also would you let me know what is rebuild process if we change anything in vendor folder? I mean make clobber and make -j4 is the lengthy step. Is there some short step by which new definitions or binaries from vendor folder gets reflected to system.img?

Regards,
-Neeraj Garg


On Thursday, February 28, 2013 7:58:14 PM UTC+5:30, Jean-Baptiste Queru wrote:
I have a feature request on my plate to display a build-time warning in such situations.

JBQ

On Wednesday, February 27, 2013, liwei <wlw...@gmail.com> wrote:
> Thanks JBQ! 
> Yes, this is the problem. Due to my silly mistake, I extracted the binary files to devices folder instead of the root folder. Now my 4.2.1 is booting well. Thank you again!
>
> On Thursday, February 28, 2013 9:17:06 AM UTC+8, Jean-Baptiste Queru wrote:
>>
>> The key is here:
>>
>> I/SurfaceFlinger(  127): SurfaceFlinger's main thread ready to run.
>> Initializing graphics H/W...
>> E/libEGL  (  127): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)
>> E/libEGL  (  127): eglInitialize:137 error 3008 (EGL_BAD_DISPLAY)
>> [...]
>> E/ti_hwc  (  127): Composer HAL failed to load compatible Graphics HAL
>> E/SurfaceFlinger(  127): composer device failed to initialize (Invalid argument)
>> W/SurfaceFlinger(  127): getting VSYNC period from fb HAL: 16909029
>> E/libEGL  (  127): validate_display:245 error 3008 (EGL_BAD_DISPLAY)
>> F/libc    (  127): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1),
>> thread 177 (SurfaceFlinger)
>>
>> In a nutshell, SurfaceFlinger tries to open the graphics hardware, we
>> can see the errors ripple around, and eventually one of those errors
>> makes it crash, and it takes the wohle system down.
>>
>> The is most of the time a symptom of a glitch with the proprietary
>> binaries for the GPU.
>>
>> What does "find vendor/imgtec/maguro" return? (from memory, that's
>> where they live).
>>
>> JBQ
>>
>> On Wed, Feb 27, 2013 at 4:59 PM, liwei <wlw...@gmail.com> wrote:
>> > Thanks JBQ!  Here is more logcat log, there serveral errors in the log, but
>> > I am not sure which one causes the problem. Your suggestion is highly
>> > appreciated:
>> >
>> > ========================================
>> > --------- beginning of /dev/log/main
>> > I/installd(  131): installd firing up
>> > --------- beginning of /dev/log/system
>> > I/Vold    (  121): Vold 2.1 (the revenge) firing up
>> > E/Vold    (  121): Error reading configuration (No such file or
>> > directory)... continuing anyways
>> > I/DEBUG   (  125): debuggerd: Feb 27 2013 15:28:43
>> > I/Netd    (  124): Netd 1.0 starting
>> > W/InterfaceController(  124): Warning (Cannot load library:
>> > load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not
>> > found) while opening the net interface command library
>> > I/SurfaceFlinger(  127): SurfaceFlinger is starting
>> > I/SurfaceFlinger(  127): SurfaceFlinger's main thread ready to run.
>> > Initializing graphics H/W...
>> > E/libEGL  (  127): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)
>> > E/libEGL  (  127): eglInitialize:137 error 3008 (EGL_BAD_DISPLAY)
>> > I/gralloc (  127): using (fd=14)
>> > I/gralloc (  127): id           = omapfb
>> > I/gralloc (  127): xres         = 720 px
>> > I/gralloc (  127): yres         = 1280 px
>> > I/gralloc (  127): xres_virtual = 720 px
>> > I/gralloc (  127): yres_virtual = 2560 px
>> > I/gralloc (  127): bpp          = 32
>> > I/gralloc (  127): r            = 16:8
>> > I/gralloc (  127): g            =  8:8
>> > I/gralloc (  127): b            =  0:8
>> > I/gralloc (  127): width        = 58 mm (315.310333 dpi)
>> > I/gralloc (  127): height       = 102 mm (318.745087 dpi)
>> > I/gralloc (  127): refresh rate = 59.14 Hz
>> > E/ti_hwc  (  127): Composer HAL failed to load compatible Graphics HAL
>> > E/SurfaceFlinger(  127): composer device failed to initialize (Invalid
>> > argument)
>> > W/SurfaceFlinger(  127): getting VSYNC period from fb HAL: 16909029
>> > E/libEGL  (  127): validate_display:245 error 3008 (EGL_BAD_DISPLAY)
>> > F/libc    (  127): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread
>> > 177 (SurfaceFlinger)
>> > I/DEBUG   (  125): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
>> > *** ***
>> > I/DEBUG   (  125): Build fingerprint:
>> > 'Android/full_maguro/maguro:4.2.1/JOP40D/eng.liwei.20130227.152602:eng/test-keys'
>> > I/DEBUG   (  125): Revision: '9'
>> > I/DEBUG   (  125): pid: 127, tid: 177, name: SurfaceFlinger  >>>
>> > /system/bin/surfaceflinger <<<
>> > I/DEBUG   (  125): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr
>> > deadbaad
>> > D/AndroidRuntime(  128):
>> > D/AndroidRuntime(  128): >>>>>> AndroidRuntime START
>> > com.android.internal.os.ZygoteInit <<<<<<
>> > D/AndroidRuntime(  128): CheckJNI is ON
>> > I/DEBUG   (  125):     r0 00000027  r1 deadbaad  r2 4018c258  r3 00000000
>> > I/DEBUG   (  125):     r4 00000000  r5 40512d04  r6 00000000  r7 414799b0
>> > I/DEBUG   (  125):     r8 00000002  r9 00003038  sl 00003142  fp 00003038
>> > I/DEBUG   (  125):     ip 40197ff4  sp 40512d00  lr 4015f0d9  pc 4015b772
>> > cpsr 60000030
>> > I/DEBUG   (  125):     d0  5f4441425f4c4744  d1  646f697265702049
>> > I/DEBUG   (  125):     d2  2064616f6c206f53  d3  62697461706d6f50
>> > I/DEBUG   (  125):     d4  000000020000009e  d5  000000020000000d
>> > I/DEBUG   (  125):     d6  0000000000000001  d7  426c8f5c00000000
>> > I/DEBUG   (  125):     d8  0000000000000000  d9  0000000000000000
>> > I/DEBUG   (  125):     d10 0000000000000000  d11 0000000000000000
>> > I/DEBUG   (  125):     d12 0000000000000000  d13 0000000000000000
>> > I/DEBUG   (  125):     d14 0000000000000000  d15 0000000000000000
>> > I/DEBUG   (  125):     d16 4170202e598a1e04  d17 41cdcd6500000000
>> > I/DEBUG   (  125):     d18 3d9262fffe000000  d19 3fe0000000000000
>> > I/DEBUG   (  125):     d20 3fe0000000009318  d21 0000000000000000
>> > I/DEBUG   (  125):     d22 0000000000000000  d23 0000000000000000
>> > I/DEBUG   (  125):     d24 0000000000000000  d25 0000000000000000
>> > I/DEBUG   (  125):     d26 0000000000000000  d27 0000000000000000
>> > I/DEBUG   (  125):     d28 0000000000000000  d29 0000000000000000
>> > I/DEBUG   (  125):     d30 0000000000000000  d31 0000000000000000
>> > I/DEBUG   (  125):     scr 20000010
>> > I/DEBUG   (  125):
>> > I/DEBUG   (  125): backtrace:
>> > I/DEBUG   (  125):     #00  pc 0001a772  /system/lib/libc.so
>> > I/DEBUG   (  125):     #01  pc 00018070  /system/lib/libc.so (abort+4)
>> > I/DEBUG   (  125):     #02  pc 000008f1  /system/li

--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, 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.

--
--
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
 
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, 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.