[ROM] UNOFFICIAL CM11 for p880 - LG Optimus 4X HD

Now, as many of you already might guess, our x3 might not receive official CM11. And getting CM11 to work on our phone is actually not that easy... So @Demetris, @Adam77Root and I decided to team up and get it working ourselves. But, if anyone else wants to help, any help whatsoever is highly appreciated.
You have several ways to get in touch with us:
You can use this thread (but keep it development related)
We have our own IRC channel on freenode, called #p880-dev
Use our github site
PM us (even though the other ways are preferable)
As you can see, we have forked CM10.2 kernel, device tree and vendor blobs, created the new CM11 branches and already gathered all our changes and committed it to the repos.
So, you may ask yourself now, what are the goodies in here:
Dolby Digital
Dolby Surround
SRS WOW
Several other audio tweaks
Latest WiFi drivers
General speed optimizations
Something I most likely forgot
Requirements
Latest recovery (CWM 6.0.4.4 is working just fine for me, and the latest TWRP does also work AFAIK)
Now, the most important part from now on:
Download
You can download all builds from this threads download section.
However, as devDB is having issues ATM, you can get the file also HERE
For GAPPS, you can use the ones from HERE (I am using the mini modular ones)
If you want to use this sources/ROM as your base, you sure are allowed, but please let us know about it before you release it and give credits.
That's all we ask for.
Installation
When coming from anything <4.4, you better wipe system first
As usual, make a backup first
Full wipe/Factory reset
Flash the ROM
Flash GAPPS
Reboot and enjoy
It can be that after the first boot, the system seems completely bugged (keys not responding, laggy,....), but keep it running for a few minutes, reboot and everything should be fine.
I know you want to know the actual Status, so we try to always keep it updated in this OP:
Not working:
Video recording
You tell me
Working:
Everything else ​
If you like our work and all the time we spent in order to get it working, feel free to buy us a coke/beer/whatever by donating a litte bit
And last but not least, please keep this thread on topic! All OT posts will be deleted without further warnings!
XDA:DevDB Information
UNOFFICIAL CM11, a ROM for the LG Optimus 4X HD
Contributors
laufersteppenwolf, Adam77Root, Demetris, Everyone who wants to
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.1.x
Based On: CM11
Version Information
Status: Stable
Current Stable Version: 20140302
Stable Release Date: 2014-03-02
Created 2013-12-01
Last Updated 2014-03-02

You want to build the rom using our sources?
Sync common CM 11.0 sources with our custom local manifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/p880" name="P880-dev/android_device_lge_p880" groups="device" />
<project path="kernel/lge/x3" name="P880-dev/android_kernel_lge_x3" />
<project path="vendor/lge" name="P880-dev/proprietary_vendor_lge" />
</manifest>

Reserved

I tried to compile it too.
Had the same error in the booting process: surfaceflinger.
Could you provide a log of your boot?
Mine: http://pastebin.com/UFdDsxZx
My diagnosis is related to our blobs: they're too much outdated, as based on 4.1.X .
The ways could be:
1) Patch the code to make our blobs fit in.
2) Use blobs from other devices, using our same chipset.

mackief said:
I tried to compile it too.
Had the same error in the booting process: surfaceflinger.
Could you provide a log of your boot?
Mine: http://pastebin.com/UFdDsxZx
My diagnosis is related to our blobs: they're too much outdated, as based on 4.1.X .
The ways could be:
1) Patch the code to make our blobs fit in.
2) Use blobs from other devices, using our same chipset.
Click to expand...
Click to collapse
yep, same here
Code:
I/ServiceManager( 549): Waiting for service SurfaceFlinger...
funny thing is, older SF versions (with less CM commits) are working
Just take Omni or AOSP as an example

Yeah, the only Omni build working is the one I have published. Newer ones have either this issues, or an assertion failure when opening any apps.

The important error lines are:
Code:
failed to load symbol nvcap_video_create (undefined symbol: glWeightPointerOES)
[..]
E/HAL ( 156): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "audio_policy.tegra.so"...
[...]
E/HAL ( 156): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "camera.tegra.so"...
Now, I think that first line is not that important as the others.
Which is the problem there? Blobs.
In order to make progress, we should analyze commits applied to surfaceflinger by Omni, CM, and so on.
Also, it could be usefull to try tegra blobs taken from upper device.

sorry for a little OT, but what is the reason our device won't be getting official CM11? Cyanogen cutting back on number of devices they support, so they axed us?

same....
Code:
--------- beginning of /dev/log/system
I/auditd ( 146): Starting up
I/audit_log( 146): Previous audit logfile detected, rotating
--------- beginning of /dev/log/main
I/installd( 155): installd firing up
I/DEBUG ( 148): debuggerd: Nov 24 2013 19:19:43
I/cm ( 171): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
W/linker ( 158): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 149): libril.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 149): /system/bin/rild has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 158): /system/bin/lgsecclkserver has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 157): libnvcpud_client.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/lgdrmserver( 158): Start lgsecclkserver
W/linker ( 159): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 157): libnvcpud.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/cm ( 172): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
W/linker ( 159): liblgdrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/cm ( 173): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
I/cm ( 177): Welcome to Android 4.4 / CyanogenMod-11-20131126-UNOFFICIAL-p880
E/DirectVolume( 145): Vold managed volumes must have auto mount point; ignoring /storage/sdcard1
I/Vold ( 145): Vold 2.1 (the revenge) firing up
D/Vold ( 145): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
E/SecClk ( 158): Clk_RtcMonitor() : Fail to open device
W/linker ( 149): libini.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 149): lge-ril.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/run-parts( 153): /system/priv-app/GoogleServicesFramework.apk: No such file or directory
I/Netd ( 147): Netd 1.0 starting
W/InterfaceController( 147): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/SELinuxLabelX3( 211): /cal is unlabeled, fixing...
I/run-parts( 153): Could not lookup context for /cal: No such file or directory
I/SurfaceFlinger( 150): SurfaceFlinger is starting
I/SurfaceFlinger( 150): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
W/linker ( 150): libnvos.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libEGL_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 150): loaded /system/lib/egl/libEGL_tegra.so
E/ ( 150): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
I/ ( 150): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
W/linker ( 150): libnvrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvrm_graphics.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libardrv_dynamic.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvddk_2d_v2.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvwsi.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvglsi.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libEGL_tegra_impl.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/ ( 150): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
W/linker ( 150): libGLESv1_CM_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 150): loaded /system/lib/egl/libGLESv1_CM_tegra.so
W/linker ( 150): libGLESv2_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 150): loaded /system/lib/egl/libGLESv2_tegra.so
W/linker ( 150): gralloc.tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/gralloc ( 150): creating nvcap video capture service
W/linker ( 150): libnvavp.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvmm_manager.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvmm_service.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvmm_utils.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvmm.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvomxadaptor.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libnvcap_video.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/gralloc ( 150): failed to load symbol nvcap_video_create (undefined symbol: glWeightPointerOES)
E/gralloc ( 150): Failed to create overlay for display 2
E/gralloc ( 150): Failed to create overlay for display 2
E/gralloc ( 150): Failed to create overlay for display 2
I/gralloc ( 150): using (fd=20)
I/gralloc ( 150): id = tegra_fb
I/gralloc ( 150): xres = 720 px
I/gralloc ( 150): yres = 1280 px
I/gralloc ( 150): xres_virtual = 720 px
I/gralloc ( 150): yres_virtual = 2560 px
I/gralloc ( 150): bpp = 32
I/gralloc ( 150): r = 0:8
I/gralloc ( 150): g = 8:8
I/gralloc ( 150): b = 16:8
I/gralloc ( 150): smem_start = 0xbee00000
I/gralloc ( 150): smem_len = 0x00800000
I/gralloc ( 150): format = 1
I/gralloc ( 150): stride = 720
I/gralloc ( 150): width = 59 mm (309.966095 dpi)
I/gralloc ( 150): height = 105 mm (309.638092 dpi)
I/gralloc ( 150): refresh rate = 60.04 Hz
W/linker ( 150): hwcomposer.tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/SurfaceFlinger( 150): Using composer version 0.0
W/SurfaceFlinger( 150): getting VSYNC period from fb HAL: 16655176
W/SurfaceFlinger( 150): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( 150): EGL informations:
I/SurfaceFlinger( 150): vendor : Android
I/SurfaceFlinger( 150): version : 1.4 Android META-EGL
I/SurfaceFlinger( 150): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_NV_system_time EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 150): Client API: OpenGL_ES
I/SurfaceFlinger( 150): EGLSurface: 8-8-8-8, config=0xcaf32c
I/mediaserver( 154): ServiceManager: 0x41eb4420
I/AudioFlinger( 154): Using default 3000 mSec as standby time.
E/MediaPlayerFactory( 154): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 154): Failed to open FACTORY_LIB Error : dlopen failed: library "libdashplayer.so" not found
I/CameraService( 154): CameraService started (pid=154)
W/linker ( 150): libnvddk_2d.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 150): libGLESv2_tegra_impl.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/ ( 150): Loading GLESv2 implementation /system/lib//egl/libGLESv2_tegra_impl
I/SurfaceFlinger( 150): OpenGL ES informations:
I/SurfaceFlinger( 150): vendor : NVIDIA Corporation
I/SurfaceFlinger( 150): renderer : NVIDIA Tegra 3
I/SurfaceFlinger( 150): version : OpenGL ES 2.0 16.05001
I/SurfaceFlinger( 150): extensions: GL_OES_rgb8_rgba8 GL_OES_EGL_sync GL_OES_surfaceless_context GL_OES_fbo_render_mipmap GL_NV_depth_nonlinear GL_NV_draw_path GL_NV_draw_texture GL_NV_texture_npot_2D_mipmap GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_vertex_half_float GL_OES_mapbuffer GL_NV_draw_buffers GL_NV_multiview_draw_buffers GL_EXT_Cg_shader GL_EXT_packed_float GL_OES_texture_half_float GL_EXT_texture_array GL_OES_compressed_ETC1_RGB8_texture GL_EXT_texture_compression_latc GL_NV_texture_compression_latc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_NV_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_NV_get_tex_image GL_NV_read_buffer GL_NV_shader_framebuffer_fetch GL_NV_copy_image GL_NV_fbo_color_attachments GL_EXT_bgra GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_unpack_subimage GL_NV_pack_subimage GL_NV_texture_compression_s3tc_update GL_NV_read_depth GL_NV_read_stencil GL_NV_uniform_buffer_object GL_NV_map_buffer_range GL_EXT_robustness GL_OES_standard_derivatives
I/SurfaceFlinger( 150): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 150): GL_MAX_VIEWPORT_DIMS = 3839
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
W/linker ( 154): lgejpeg.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvos.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvrm_graphics.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvavp.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvmm_manager.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvmm_service.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvmm_utils.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvcamerahdr.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libardrv_dynamic.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvddk_2d_v2.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvomxilclient.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvtvmr.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libnvcpud_client.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): libmorpho_noise_reduction.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): camera.tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/HAL ( 154): load: module=/system/lib/hw/camera.tegra.so
E/HAL ( 154): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "camera.tegra.so"...
E/CameraService( 154): Could not load camera HAL module
W/linker ( 154): libnvaudioservice.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 154): audio_policy.tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/HAL ( 154): load: module=/system/lib/hw/audio_policy.tegra.so
E/HAL ( 154): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "audio_policy.tegra.so"...
D/AndroidRuntime( 151):
D/AndroidRuntime( 151): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 151): CheckJNI is ON
D/dalvikvm( 151): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 151): Added shared lib libjavacore.so 0x0
D/dalvikvm( 151): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 151): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 151): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
V/NatController( 147): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 147): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 147): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
V/NatController( 147): runCmd(/system/bin/ip rule flush) res=0
V/NatController( 147): runCmd(/system/bin/ip -6 rule flush) res=0
V/NatController( 147): runCmd(/system/bin/ip rule add from all lookup default prio 32767) res=0
V/NatController( 147): runCmd(/system/bin/ip rule add from all lookup main prio 32766) res=0
V/NatController( 147): runCmd(/system/bin/ip -6 rule add from all lookup default prio 32767) res=0
D/dalvikvm( 151): Note: class Landroid/app/ActivityManagerNative; has 180 unimplemented (abstract) methods
V/NatController( 147): runCmd(/system/bin/ip -6 rule add from all lookup main prio 32766) res=0
V/NatController( 147): runCmd(/system/bin/ip route flush cache) res=0
V/NatController( 147): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 147): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 147): runCmd(/system/bin/ip route flush cache) res=0
V/NatController( 147): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=1
V/NatController( 147): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=1
V/NatController( 147): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
E/memtrack( 151): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 151): failed to load memtrack module: -2
I/SamplingProfilerIntegration( 151): Profiling disabled.
I/Zygote ( 151): Preloading classes...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
D/MDnsDS ( 147): MDnsSdListener::Hander starting up
D/MDnsDS ( 147): MDnsSdListener starting to monitor
D/MDnsDS ( 147): Going to poll with pollCount 1
D/TextLayoutCache( 151): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 151): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 151): register_android_mtp_MtpDevice
I/dalvikvm( 151): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 151): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 151): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/LibraryLoader( 151): loading: webviewchromium
W/linker ( 500): libnvcpud_client.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 500): libnvcpud.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 501): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 501): liblgdrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/LibraryLoader( 151): loaded: webviewchromium
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/System ( 151): Loaded time zone names for "" in 62ms (58ms in ICU)
I/System ( 151): Loaded time zone names for "en_US" in 44ms (39ms in ICU)
I/Zygote ( 151): ...preloaded 2778 classes in 3130ms.
I/Zygote ( 151): Preload resources disabled, skipped.
W/linker ( 151): libnvos.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libEGL_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 151): loaded /system/lib/egl/libEGL_tegra.so
E/ ( 151): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
I/ ( 151): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl
W/linker ( 151): libnvrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libnvrm_graphics.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libardrv_dynamic.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libnvddk_2d_v2.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libnvwsi.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libnvglsi.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 151): libEGL_tegra_impl.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/ ( 151): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl
W/linker ( 151): libGLESv1_CM_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 151): loaded /system/lib/egl/libGLESv1_CM_tegra.so
W/linker ( 151): libGLESv2_tegra.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 151): loaded /system/lib/egl/libGLESv2_tegra.so
I/dalvikvm( 151): System server process 502 has been created
I/Zygote ( 151): Accepting command socket connections
D/SensorService( 502): nuSensorService starting...
I/SystemServer( 502): Entered the Android system server!
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
W/linker ( 502): libinvensense_hal.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/HAL ( 502): load: module=/system/lib/hw/sensors.tegra.so
E/HAL ( 502): dlopen failed: could not load library "libinvensense_hal.so" needed by "sensors.tegra.so"; caused by cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "libinvensense_hal.so"...
E/SensorService( 502): couldn't load sensors module (Invalid argument)
I/installd( 155): new connection
I/SystemServer( 502): Waiting for installd to be ready.
I/Installer( 502): connecting...
I/SystemServer( 502): Power Manager
I/SystemServer( 502): Enabled StrictMode logging for WM Looper
I/SystemServer( 502): Activity Manager
I/ActivityManager( 502): Memory class: 64
W/UsageStats( 502): Usage stats version changed; dropping
I/AppOps ( 502): No existing app ops /data/system/appops.xml; starting empty
I/UiThread( 502): Enabled StrictMode logging for UI thread
I/IntentFirewall( 502): Read new rules (A:0 B:0 S:0)
I/ActivityManager( 502): Enabled StrictMode logging for AThread's Looper
I/SystemServer( 502): Display Manager
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/SystemServer( 502): Telephony Registry
I/SystemServer( 502): Scheduling Policy
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
W/linker ( 524): libnvcpud_client.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 526): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 524): libnvcpud.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 526): liblgdrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/rmnet ( 528): Removing RAW-IP driver
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/rmnet ( 530): FAILED: rmmod raw_ip_net
I/rmnet ( 534): Installing RAW-IP driver
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/rmnet ( 539): SUCCEED: insmod raw_ip_net
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
W/linker ( 557): libnvcpud_client.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 557): libnvcpud.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 558): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 558): liblgdrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
W/linker ( 149): liblgsecclk.so has text relocations. This is wasting memory and is a security risk. Please fix.
W/linker ( 149): liblgdrm.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
I/ServiceManager( 150): Waiting for service SurfaceFlinger...
I/ServiceManager( 502): Waiting for service SurfaceFlinger...
the last line before it cancels (in every log and any build):
Code:
I/SurfaceFlinger( 153): GL_MAX_VIEWPORT_DIMS = 3839

I will help out when I have some spare time at moment got loads of Xmas wrapping to do then I will take a look at some CM11 issues
Sent from my Optimus 4X HD using Tapatalk

Flying_Bear said:
sorry for a little OT, but what is the reason our device won't be getting official CM11? Cyanogen cutting back on number of devices they support, so they axed us?
Click to expand...
Click to collapse
Well, my information is not official, but it is not about the number of devices. It's about something else. But as this is not confirmed, I will not yet talk about it publically. Please understand this.
And it is also not sure that we will not get official support
Now, back on topic please

mackief said:
The important error lines are:
Code:
failed to load symbol nvcap_video_create (undefined symbol: glWeightPointerOES)
[..]
E/HAL ( 156): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "audio_policy.tegra.so"...
[...]
E/HAL ( 156): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "camera.tegra.so"...
Now, I think that first line is not that important as the others.
Which is the problem there? Blobs.
In order to make progress, we should analyze commits applied to surfaceflinger by Omni, CM, and so on.
Also, it could be usefull to try tegra blobs taken from upper device.
Click to expand...
Click to collapse
You need -DNEEDS_VECTORIMPL_SYMBOLS for fixing the missing symbol errors. See here.

interesting because new surfaceflinger does not have GL_MAX_VIEWPORT_DIMS in code...
Code:
I/SurfaceFlinger( 153): GL_MAX_VIEWPORT_DIMS = 3839

ClimesG said:
interesting because new surfaceflinger does not have GL_MAX_VIEWPORT_DIMS in code...
Code:
I/SurfaceFlinger( 153): GL_MAX_VIEWPORT_DIMS = 3839
Click to expand...
Click to collapse
I found this in galaxy r section, @Adam77Root maybe knows.
http://forum.xda-developers.com/showpost.php?p=47931069&postcount=32
It's comparing working and not working blobs.
screenshoot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What I noticed:
working: GL_MAX_VIEWPORT_DIMS = 3839 x 3839
not working: GL_MAX_VIEWPORT_DIMS = 3839

Adam77Root said:
You need -DNEEDS_VECTORIMPL_SYMBOLS for fixing the missing symbol errors. See here.
Click to expand...
Click to collapse
Thanks, dude.
Then, I'll check for the rest.

@laufersteppenwolf can you provide me the Rom zip? I'm gonna try some dirty fixes, then i'll move to checking out your sources etc.

penguin449 said:
@laufersteppenwolf can you provide me the Rom zip? I'm gonna try some dirty fixes, then i'll move to checking out your sources etc.
Click to expand...
Click to collapse
I'm not laufersteppenwolf but ok ;D
EDIT: http://bit.ly/1eu4Xaj (btw. its my own build ;D)

penguin449 said:
@laufersteppenwolf can you provide me the Rom zip? I'm gonna try some dirty fixes, then i'll move to checking out your sources etc.
Click to expand...
Click to collapse
sorry, but i've deleted it already and am compiling a different one ATM
EDIT: Because the one i gave you had a partly other framework

ClimesG said:
I'm not laufersteppenwolf but ok ;D
MOD EDIT: This is not the right one USER EDIT: Why?
Click to expand...
Click to collapse
laufersteppenwolf said:
sorry, but i've deleted it already and am compiling a different one ATM
EDIT: Because the one i gave you had a partly other framework
Click to expand...
Click to collapse
it was my own ^^ np

OK my first attempt of CM11 Booting up after that nothing blackscreen but power key lights up the touch keys I have idea's to maybe get working but I need more time as busy but its progress I think unless somebody has other progress
Sent from my Optimus 4X HD using Tapatalk

Related

[Q] Need Help With MicroMods Desire Super Hybrid ROM??!!

Right so I seem to be the only one with this problem when trying to install the rom, so I am hoping some one can help me. As I have tried other sense roms without fail, along with a load more others and never have I had that every version I install gets stuck at the X splash screen.
HBOOT 33.0012, Locked Bootloader, Latest Korean/FRG33 radio, Amon_RA PSFreedom Recovery v1.1.1
Here is the logcat, if any genius can tell me whats wrong then it will be much appreaciated!
PHP:
--------- beginning of /dev/log/main
I//system/xbin/busybox( 63): rm: /data/dalvik-cache: is a directory
I//system/xbin/busybox( 63): mkdir: can't create directory '/data/dalvik-cache
': File exists
I//system/xbin/busybox( 63): mkdir: can't create directory '/cache/dalvik-cach
e': File exists
I//system/xbin/busybox( 63): mv: can't rename 'data*': No such file or directo
ry
I//system/xbin/busybox( 63): mount: mounting /dev/block/mmcblk0p2 on /system/s
d failed: Invalid argument
I//system/xbin/busybox( 63): chown: /system/sd: Read-only file system
I//system/xbin/busybox( 63): chmod: /system/sd: Read-only file system
I//system/xbin/busybox( 63): mkdir: can't create directory '/system/sd/app': R
ead-only file system
I//system/xbin/busybox( 63): chown: /system/sd/app: No such file or directory
I//system/xbin/busybox( 63): chmod: /system/sd/app: No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/com.androidapps.
spare_parts.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/com.htc.rosiewid
gets.note.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/com.htc.rosiewid
gets.quickrecord.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/com.htc.rosiewid
gets.sandtimer.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/com.keramidas.Ti
taniumBackup.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/name.galley.andr
oid.web.googlenewsregion-2.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/nk.bla.android.a
utostart.apk': No such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/placeholder': No
such file or directory
I//system/xbin/busybox( 63): cp: can't create '/system/sd/app/uk.co.lilhermit.
android.TrackballAlert.apk': No such file or directory
I//system/xbin/busybox( 63): mkdir: can't create directory '/system/sd/app-pri
vate': Read-only file system
I//system/xbin/busybox( 63): chown: /system/sd/app-private: No such file or di
rectory
I//system/xbin/busybox( 63): chmod: /system/sd/app-private: No such file or di
rectory
I//system/xbin/busybox( 63): cp: can't stat '/data/app-private/*': No such fil
e or directory
I//system/xbin/busybox( 63): mkdir: can't create directory '/system/sd/dalvik-
cache': Read-only file system
I//system/xbin/busybox( 63): chown: /system/sd/dalvik-cache: No such file or d
irectory
I//system/xbin/busybox( 63): chmod: /system/sd/dalvik-cache: No such file or d
irectory
I//system/xbin/busybox( 63): cp: can't create symlink '/system/sd/dalvik-cache
/': No such file or directory
I//system/xbin/busybox( 63): +++ Apps-to-SD successfully enabled
I/logwrapper( 63): /system/xbin/busybox terminated by exit(0)
I/DEBUG ( 147): debuggerd: Jul 29 2010 01:13:18
D/AK8973 ( 155): AK8973 daemon 1.3.3 Start
D/AK8973 ( 155): (Library version : 1.2.1.620)
--------- beginning of /dev/log/system
I/Vold ( 145): Vold 2.1 (the revenge) firing up
D/Vold ( 145): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media
)
D/Vold ( 145): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 145): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted
)
I/Netd ( 146): Netd 1.0 starting
D/AndroidRuntime( 149):
D/AndroidRuntime( 149): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 149): CheckJNI is OFF
D/dalvikvm( 149): creating instr width table
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@cor
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/core.jar
(/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/core.j
ar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@ext
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/ext.jar
(/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/ext.ja
r'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@fra
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/framewor
k.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/framew
ork.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@and
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/android.
policy.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/androi
d.policy.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@ser
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/services
.jar (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/servic
es.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@com
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/com.htc.
framework.jar (/data/dalvik-cache/[email protected]@[email protected]
.dex)
D/dalvikvm( 149): Unable to process classpath element '/system/framework/com.ht
c.framework.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@com
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/com.htc.
android.pimlib.jar (/data/dalvik-cache/[email protected]@com.htc.android.pimlib.j
[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/com.ht
c.android.pimlib.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@com
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/com.htc.
android.easopen.jar (/data/dalvik-cache/[email protected]@com.htc.android.easopen
[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/com.ht
c.android.easopen.jar'
E/dalvikvm( 149): Can't open dex cache '/data/dalvik-cache/[email protected]@com
[email protected]': No such file or directory
I/dalvikvm( 149): Unable to open or create cache for /system/framework/com.scal
ado.util.ScaladoUtil.jar (/data/dalvik-cache/[email protected]@com.scalado.util.S
[email protected])
D/dalvikvm( 149): Unable to process classpath element '/system/framework/com.sc
alado.util.ScaladoUtil.jar'
E/dalvikvm( 149): ERROR: no valid entries found in bootclasspath '/system/frame
work/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/
framework/android.policy.jar:/system/framework/services.jar:/system/framework/co
m.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framewo
rk/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.ja
r'
W/dalvikvm( 149): JNI_CreateJavaVM failed
E/AndroidRuntime( 149): JNI_CreateJavaVM failed
I/ ( 150): ServiceManager: 0xaec8
I/AudioHardwareQSD( 150): open /system/etc/vpimg success
I/AudioHardwareQSD( 150): Firmware /system/etc/vpimg size 27612
I/AudioHardwareQSD( 150): Total 27612 bytes put to user space buffer.
W/Vold ( 145): Ignoring unknown switch 'usb_configuration'
I/AudioHardwareQSD( 150): audience_a1026 init OK
I/HTC Acoustic( 150): libhtc_acoustic.so version 2.0.1.5
I/HTC Acoustic( 150): open /system/etc/AdieHWCodecSetting.csv success.
I/HTC Acoustic( 150): ADIE table version: PASSION_HTC_20091019
E/HTC Acoustic( 150): Update ADIE table ID 0
E/HTC Acoustic( 150): Update ADIE table ID 2
E/HTC Acoustic( 150): Update ADIE table ID 5
E/HTC Acoustic( 150): Update ADIE table ID 7
E/HTC Acoustic( 150): Update ADIE table ID 8
E/HTC Acoustic( 150): Update ADIE table ID 10
E/HTC Acoustic( 150): Update ADIE table ID 51
E/HTC Acoustic( 150): Update ADIE table ID 53
I/HTC Acoustic( 150): read_adie_para_from_file success.
D/HTC Acoustic( 150): ioctl ACOUSTIC_UPDATE_ADIE success
I/HTC Acoustic( 150): open /system/etc/AudioBTID.csv success.
I/HTC Acoustic( 150): BT ID table version: PASSION_HTC_20100610
E/HTC Acoustic( 150): Fail to open /system/etc/TPA2018.csv -1.
E/AudioHardwareQSD( 150): speaker amplifier tpa2018 is not supported
D/AudioHardwareQSD( 150): mNumBTEndpoints = 26
E/AudioHardwareQSD( 150): BT name Default (tx,rx)=(1001,1101)
E/AudioHardwareQSD( 150): BT name Default Car-kit (tx,rx)=(1002,1102)
E/AudioHardwareQSD( 150): BT name JKDAP3265 (tx,rx)=(1003,1103)
E/AudioHardwareQSD( 150): BT name JKDAP3264 (tx,rx)=(1004,1104)
E/AudioHardwareQSD( 150): BT name HTC BH M200 (tx,rx)=(1005,1105)
E/AudioHardwareQSD( 150): BT name BH M300 (tx,rx)=(1006,1106)
E/AudioHardwareQSD( 150): BT name Jabra BT530 (tx,rx)=(1007,1107)
E/AudioHardwareQSD( 150): BT name Jabra BT5010 (tx,rx)=(1008,1108)
E/AudioHardwareQSD( 150): BT name Jabra BT3030 (tx,rx)=(1009,1109)
E/AudioHardwareQSD( 150): BT name Nokia BH-208 (tx,rx)=(1010,1110)
E/AudioHardwareQSD( 150): BT name Nokia BH-703 (tx,rx)=(1011,1111)
E/AudioHardwareQSD( 150): BT name Nokia BH-103 (tx,rx)=(1012,1112)
E/AudioHardwareQSD( 150): BT name Samsung WEP410 (tx,rx)=(1013,1113)
E/AudioHardwareQSD( 150): BT name 3xxPlantronics (tx,rx)=(1014,1114)
E/AudioHardwareQSD( 150): BT name 6XXPlantronics (tx,rx)=(1015,1115)
E/AudioHardwareQSD( 150): BT name 8XXPlantronics (tx,rx)=(1016,1116)
E/AudioHardwareQSD( 150): BT name Motorola H710 (tx,rx)=(1017,1117)
E/AudioHardwareQSD( 150): BT name Motorola H12 (tx,rx)=(1018,1118)
E/AudioHardwareQSD( 150): BT name Motorola S9 (tx,rx)=(1019,1119)
E/AudioHardwareQSD( 150): BT name HBH-IV840 (tx,rx)=(1020,1120)
E/AudioHardwareQSD( 150): BT name HBH-PV710 (tx,rx)=(1021,1121)
E/AudioHardwareQSD( 150): BT name HBH-DS220 (tx,rx)=(1022,1122)
E/AudioHardwareQSD( 150): BT name HBH-DS980 (tx,rx)=(1023,1123)
E/AudioHardwareQSD( 150): BT name NOKIA 616 (tx,rx)=(1024,1124)
E/AudioHardwareQSD( 150): BT name Nokia CK-7W (tx,rx)=(1025,1125)
E/AudioHardwareQSD( 150): BT name END (tx,rx)=(1330205763,1095262030)
D/AudioHardwareInterface( 150): setMode(NORMAL)
I/AudioHardwareQSD( 150): Set master volume to 1.000000.
V/MediaPlayerService( 150): MediaPlayerService created
I/CameraService( 150): CameraService started: pid=150
D/CameraService( 150): create OlaEngine
D/CameraService( 150): create Ola FD
I/AudioFlinger( 150): AudioFlinger's thread 0x157f0 ready to run
I/AudioHardwareQSD( 150): AudioHardware pcm playback is going to standby.
I/AudioHardwareQSD( 150): Routing audio to Speakerphone
D/AudioHardwareQSD( 150): Switching audio device to
D/AudioHardwareQSD( 150): Speakerphone
D/AudioHardwareQSD( 150): setVoiceVolume(1.000000)
I/AudioHardwareQSD( 150): Setting in-call volume to 5 (available range is 0 to
5)
D/AudioHardwareQSD( 150): Setting in-call volume to 100
So before hand it would just loop the above code, now it gets to where it ends and just stays stuck!
Please Please help me!

[SOLVED] Gets pass G1 screen, nothing else (log included)

HBoot: 1.33.0013d
Radio: 2.22.27.08
So I tried turning on my G1 today to get it ready to sell for a friend, figuring nothing has changed. The initial power-up kept rebooting, so I figured I should try reflashing another ROM. Tried flashing SparksMod 2.1 to get this interesting scenerio.
The phone will boot up, get pass the G1 screen, and then get stuck. It boot-looped once but now won't do anything after starting up. Attached is the log with the fatal error causing the problem. Any solutions? Thanks in advance!
Code:
sysproc ( 471): System server: starting Android runtime.
sysproc ( 471): System server: starting Android services.
SystemServer( 471): Entered the Android system server!
sysproc ( 471): System server: entering thread pool.
dalvikvm( 471): threadid=7: thread exiting with uncaught exception (group=0x400207e8)
SystemServer( 471): Entropy Service
AndroidRuntime( 471): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
AndroidRuntime( 471): java.lang.NoClassDefFoundError: [generic]
AndroidRuntime( 471): at dalvik.system.NativeStart.main(Native Method)
Process ( 471): Sending signal. PID: 471 SIG: 9
AndroidRuntime( 471): Error reporting crash
AndroidRuntime( 471): java.lang.NullPointerException
AndroidRuntime( 471): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
AndroidRuntime( 471): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
AndroidRuntime( 471): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
ServiceManager( 222): service 'SurfaceFlinger' died
Zygote ( 466): Exit zygote because system server (471) has terminated
ServiceManager( 222): service 'media.audio_flinger' died
ServiceManager( 222): service 'media.player' died
ServiceManager( 222): service 'media.camera' died
ServiceManager( 222): service 'media.audio_policy' died
ServiceManager( 273): Waiting for sevice SurfaceFlinger...
You flashed a 2708-compatible kernel?
Sent from my Gingerbread on Sapphire using XDA App

[Q] ADS_magpie-20110729 + gapps-mdpi-gb-20110709: java/lang/NullPointerException

It's a follow up of the thread [Q] ADS_magpie-20110729-signed.zip: android.process.acore stopped unexpectedly.
The phone setup is as before:
Phone: ADP1 (DREAM PVT 32B SHIP S-ON CPLD-4)
ROM: ADS_magpie-20110729 + gapps-mdpi-gb-20110709
Recovery: RA-dream-v1.7.0
Radio: 2.22.28.25
Spl:1.33.0013d
SD: 8GB = 128MB swap / 512MB ext4 / FAT
Playing around with the phone result in Dalvik crashes:
Code:
W/dalvikvm( 1054): Exception Ljava/lang/NullPointerException; thrown while initializing Lcom/google/android/syncadapters/contacts/ContactsSyncAdapterService;
W/dalvikvm( 1054): Class init failed in newInstance call (Lcom/google/android/syncadapters/contacts/ContactsSyncAdapterService;)
I/DEBUG ( 1044): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1044): Build fingerprint: 'google/soju/crespo:2.3.3/GRI40/102588:user/release-keys'
I/DEBUG ( 1044): pid: 1054, tid: 1054 >>> com.google.process.gapps <<<
I/DEBUG ( 1044): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000002
I/DEBUG ( 1044): r0 00000000 r1 00000004 r2 ffffffff r3 00000000
I/DEBUG ( 1044): r4 fffffffa r5 00000003 r6 00000000 r7 416fcee8
I/DEBUG ( 1044): r8 aca11f80 r9 0000ce40 10 416fce2c fp beacd760
I/DEBUG ( 1044): ip 80000004 sp beacd418 lr aca31581 pc aca3eade cpsr 80000030
I/DEBUG ( 1044): #00 pc 0003eade /system/lib/libdvm.so
I/DEBUG ( 1044): #01 pc 000605b8 /system/lib/libdvm.so
I/DEBUG ( 1044): #02 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 1044): #03 pc 0001c100 /system/lib/libdvm.so
I/DEBUG ( 1044): #04 pc 0001affc /system/lib/libdvm.so
I/DEBUG ( 1044): #05 pc 000593da /system/lib/libdvm.so
I/DEBUG ( 1044): #06 pc 000595fe /system/lib/libdvm.so
I/DEBUG ( 1044): #07 pc 0003f01e /system/lib/libdvm.so
I/DEBUG ( 1044): #08 pc 00059598 /system/lib/libdvm.so
I/DEBUG ( 1044): #09 pc 00060f2e /system/lib/libdvm.so
I/DEBUG ( 1044): #10 pc 00017014 /system/lib/libdvm.so
I/DEBUG ( 1044): #11 pc 0001c100 /system/lib/libdvm.so
I/DEBUG ( 1044): #12 pc 0001affc /system/lib/libdvm.so
I/DEBUG ( 1044): #13 pc 000593da /system/lib/libdvm.so
I/DEBUG ( 1044): #14 pc 000459e4 /system/lib/libdvm.so
I/DEBUG ( 1044): #15 pc 000342cc /system/lib/libandroid_runtime.so
I/DEBUG ( 1044): #16 pc 000350e6 /system/lib/libandroid_runtime.so
I/DEBUG ( 1044): #17 pc 00008ca2 /system/bin/app_process
I/DEBUG ( 1044): #18 pc 000150fc /system/lib/libc.so
I/DEBUG ( 1044):
I/DEBUG ( 1044): code around pc:
I/DEBUG ( 1044): aca3eabc 33d458ab 42886819 f027d006 2800f897
I/DEBUG ( 1044): aca3eacc 1c27d102 e0092500 2c00683c e7f8d1e9
I/DEBUG ( 1044): aca3eadc 68a03c14 1e426824 182d4190 d1f72c00
I/DEBUG ( 1044): aca3eaec 2d002000 9c00d032 d00a2c00 20490069
I/DEBUG ( 1044): aca3eafc f0222200 1e04fffb 1c23d02b 20003310
I/DEBUG ( 1044):
I/DEBUG ( 1044): code around lr:
I/DEBUG ( 1044): aca31560 d1112800 60e53501 9b019800 60606027
I/DEBUG ( 1044): aca31570 1c6860a3 004160e0 1c320849 e8bcf7e0
I/DEBUG ( 1044): aca31580 d0012800 fa92f00e bdf0b003 1e04b510
I/DEBUG ( 1044): aca31590 68a0d005 ef72f7df f7df1c20 bd10ef70
I/DEBUG ( 1044): aca315a0 1c05b570 20012120 ef7af7df d00e1e04
I/DEBUG ( 1044):
I/DEBUG ( 1044): stack:
I/DEBUG ( 1044): beacd3d8 beacd3e0
I/DEBUG ( 1044): beacd3dc 0000dfc0
I/DEBUG ( 1044): beacd3e0 407ad220
I/DEBUG ( 1044): beacd3e4 401cc8c8
I/DEBUG ( 1044): beacd3e8 00000001
I/DEBUG ( 1044): beacd3ec aca65c5d /system/lib/libdvm.so
I/DEBUG ( 1044): beacd3f0 00000002
I/DEBUG ( 1044): beacd3f4 401ccaf0
I/DEBUG ( 1044): beacd3f8 00000000
I/DEBUG ( 1044): beacd3fc 00000002
I/DEBUG ( 1044): beacd400 00000004
I/DEBUG ( 1044): beacd404 416fcec8
I/DEBUG ( 1044): beacd408 aca9e5c0
I/DEBUG ( 1044): beacd40c 00000000
I/DEBUG ( 1044): beacd410 df002777
I/DEBUG ( 1044): beacd414 e3a070ad
I/DEBUG ( 1044): #00 beacd418 00000001
I/DEBUG ( 1044): beacd41c fffffec4
I/DEBUG ( 1044): beacd420 00000fae
I/DEBUG ( 1044): beacd424 beacd490
I/DEBUG ( 1044): beacd428 416fce54
I/DEBUG ( 1044): beacd42c beacd488
I/DEBUG ( 1044): beacd430 401cc8c8
I/DEBUG ( 1044): beacd434 aca605bd /system/lib/libdvm.so
I/DEBUG ( 1044): #01 beacd438 41e5be0c
I/DEBUG ( 1044): beacd43c aca17018 /system/lib/libdvm.so
W/dalvikvm( 1054): threadid=3: spin on suspend #1 threadid=1 (pcf=0)
W/dalvikvm( 1054): threadid=3: spin on suspend #2 threadid=1 (pcf=0)
I/dalvikvm( 1054): "GC" daemon prio=5 tid=3 RUNNABLE
I/dalvikvm( 1054): | group="system" sCount=0 dsCount=0 obj=0x406d10f8 self=0x129cd0
I/dalvikvm( 1054): | sysTid=1056 nice=0 sched=0/0 cgrp=default handle=584024
I/dalvikvm( 1054): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 1054):
I/dalvikvm( 1054): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 1054): | group="main" sCount=1 dsCount=0 obj=0x401e2190 self=0xce40
I/dalvikvm( 1054): | sysTid=1054 nice=0 sched=0/0 cgrp=default handle=-1345006496
I/dalvikvm( 1054): DumpRunning: bad offset found: 7740940 (from 0x416fa000 0x41e5be0c)
I/dalvikvm( 1054): at java.lang.Throwable.nativeFillInStackTrace(Native Method)
I/dalvikvm( 1054): at java.lang.Throwable.fillInStackTrace(Throwable.java:135)
I/dalvikvm( 1054): at java.lang.Throwable.<init>(Throwable.java:74)
I/dalvikvm( 1054): at java.lang.Throwable.<init>(Throwable.java:99)
I/dalvikvm( 1054): at java.lang.Exception.<init>(Exception.java:61)
I/dalvikvm( 1054): at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:50)
I/dalvikvm( 1054): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 1054): at java.lang.reflect.Method.invoke(Method.java:507)
I/DEBUG ( 1044): debuggerd committing suicide to free the zombie!
I/DEBUG ( 1073): debuggerd: Jul 15 2011 18:22:13
I/ActivityManager( 436): Process com.google.process.gapps (pid 1054) has died.
W/ActivityManager( 436): Scheduling restart of crashed service com.google.android.syncadapters.contacts/.ContactsSyncAdapterService in 80000ms
W/ActivityManager( 436): Scheduling restart of crashed service com.google.android.gsf/.gtalkservice.service.GTalkService in 89999ms
D/Zygote ( 428): Process 1054 terminated by signal (11)
I/power ( 436): *** set_screen_state 0
D/AKMD ( 153): Compass CLOSE
E/talk ( 1024): onSaveInstanceState: caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.getAccountId(IImSession.java:496)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onSaveInstanceState(RosterListActivity.java:168)
E/talk ( 1024): at android.app.Activity.performSaveInstanceState(Activity.java:1037)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1181)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2336)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2311)
E/talk ( 1024): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2291)
E/talk ( 1024): at android.app.ActivityThread.access$1700(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:938)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
D/SurfaceFlinger( 436): About to give-up screen, flinger = 0x1b49f0
I/ActivityManager( 436): Start proc com.google.process.gapps for service com.google.android.gsf/.loginservice.GoogleLoginService: pid=1074 uid=10004 gids={3003, 1015, 2001, 1007}
W/IInputConnectionWrapper( 436): showStatusIcon on inactive InputConnection
D/szipinf ( 1074): Initializing inflate state
I/ActivityThread( 1074): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
I/ActivityThread( 1074): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
D/dalvikvm( 1074): GC_CONCURRENT freed 407K, 51% free 2790K/5639K, external 0K/0K, paused 7ms+15ms
I/ActivityThread( 1074): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
I/GservicesProvider( 1074): Gservices pushing to system: true; secure: true
I/ActivityThread( 1074): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
D/SyncManager( 436): setSyncAutomatically: , provider subscribedfeeds -> true
D/SyncManager( 436): setSyncAutomatically: already set to true, doing nothing
D/KeyguardViewMediator( 436): wakeWhenReadyLocked(82)
I/power ( 436): *** set_screen_state 1
D/AKMD ( 153): Compass OPEN
E/talk ( 1024): initSession: caught android.os.DeadObjectException
D/SurfaceFlinger( 436): Screen about to return, flinger = 0x1b49f0
D/dalvikvm( 436): GC_CONCURRENT freed 664K, 39% free 5285K/8647K, external 600K/1800K, paused 18ms+16ms
W/InputManagerService( 436): Window already focused, ignoring focus gain of: [email protected]
W/InputManagerService( 436): Starting input on non-focused client [email protected] (uid=1000 pid=436)
I/ActivityManager( 436): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/com.android.launcher2.Launcher } from pid 436
E/talk ( 1024): onSaveInstanceState: caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.getAccountId(IImSession.java:496)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onSaveInstanceState(RosterListActivity.java:168)
E/talk ( 1024): at android.app.Activity.performSaveInstanceState(Activity.java:1037)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1181)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2336)
E/talk ( 1024): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2311)
E/talk ( 1024): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2291)
E/talk ( 1024): at android.app.ActivityThread.access$1700(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:938)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
E/talk ( 1024): removeRemoteListeners caught
E/talk ( 1024): android.os.DeadObjectException
E/talk ( 1024): at android.os.BinderProxy.transact(Native Method)
E/talk ( 1024): at com.google.android.gtalkservice.IImSession$Stub$Proxy.removeConnectionStateListener(IImSession.java:634)
E/talk ( 1024): at com.google.android.talk.BuddyList.removeRemoteListeners(BuddyList.java:981)
E/talk ( 1024): at com.google.android.talk.RosterListActivity.onStop(RosterListActivity.java:140)
E/talk ( 1024): at com.google.android.talk.BuddyList.onStop(BuddyList.java:570)
E/talk ( 1024): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1170)
E/talk ( 1024): at android.app.Activity.performStop(Activity.java:3873)
E/talk ( 1024): at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:2427)
E/talk ( 1024): at android.app.ActivityThread.handleStopActivity(ActivityThread.java:2475)
E/talk ( 1024): at android.app.ActivityThread.access$1800(ActivityThread.java:117)
E/talk ( 1024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:948)
E/talk ( 1024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/talk ( 1024): at android.os.Looper.loop(Looper.java:130)
E/talk ( 1024): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/talk ( 1024): at java.lang.reflect.Method.invokeNative(Native Method)
E/talk ( 1024): at java.lang.reflect.Method.invoke(Method.java:507)
E/talk ( 1024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/talk ( 1024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/talk ( 1024): at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 436): Starting: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.android.browser/.BrowserActivity } from pid 541
I/ActivityManager( 436): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=1089 uid=10014 gids={3003, 1015}
I/ActivityManager( 436): Process com.android.deskclock (pid 913) has died.
The whole logcat since installation cat be found attached.
Strange ... can you give me a dump of
Code:
df -h
I would like to be sure, that there is / was enough space on /system.
Here is the disk free human readable dump of this phone:
Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 55.0M 32.0K 54.9M 0% /dev
tmpfs 55.0M 0 55.0M 0% /mnt/asec
tmpfs 55.0M 0 55.0M 0% /mnt/obb
/dev/block/mtdblock3 91.0M 76.1M 14.9M 84% /system
/dev/block/mtdblock5 91.8M 73.0M 18.8M 80% /data
/dev/block/mtdblock4 27.0M 1.1M 25.9M 4% /cache
/dev/block/loop0 768.0K 768.0K 0 100% /system/lib/modules
/dev/block/loop1 2.5M 2.5M 0 100% /system/fonts
/dev/block/vold/179:1
6.9G 186.1M 6.7G 3% /mnt/sdcard
/dev/block/vold/179:1
6.9G 186.1M 6.7G 3% /mnt/secure/asec
/dev/block/dm-0 3.1M 1.1M 2.0M 35% /mnt/asec/de.anormalmedia.android.lw.cits-1
/dev/block/dm-1 2.0M 528.0K 1.5M 25% /mnt/asec/com.google.zxing.client.android-1
Most likely I found the reason:
Code:
...
I/Database( 389): sqlite returned: error code = 11, msg = database corruption at line 45898 of [42537b6056]
I/Database( 389): sqlite returned: error code = 11, msg = database corruption at line 45936 of [42537b6056]
I/Database( 389): sqlite returned: error code = 11, msg = statement aborts at 24: [SELECT _id, raw_contact_id, data_sync2, data_sync1, data_version FROM view_data_restricted data WHERE (account_name='[email protected]' AND account_type='com.google') AND (mimetype=? AND data_sync2 IS NOT NULL AND (data_sync3 IS NULL OR data_sync3!=data_sync2) AND data_sync1 IS NOT NULL)] database disk image is malformed
I/InstallAppProgress( 1847): Finished installing de.anormalmedia.android.lw.cits
E/Database( 389): Removing corrupt database: /data/data/com.android.providers.contacts/databases/contacts2.db
I/ActivityManager( 174): Start proc org.openintents.filemanager for activity org.openintents.filemanager/.FileManagerActivity: pid=1985 uid=10038 gids={1015}
I/ActivityManager( 174): Process android.process.media (pid 1926) has died.
I/ActivityThread( 1985): Pub org.openintents.filemanager: org.openintents.filemanager.FileManagerProvider
I/EulaOrNewVersion( 1985): Eula has been accepted.
I/EulaOrNewVersion( 1985): Same version 17 as last launch.
E/DatabaseUtils( 389): Writing exception to parcel
E/DatabaseUtils( 389): android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:73)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:287)
E/DatabaseUtils( 389): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:268)
E/DatabaseUtils( 389): at android.database.CursorToBulkCursorAdaptor.count(CursorToBulkCursorAdaptor.java:132)
E/DatabaseUtils( 389): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:118)
E/DatabaseUtils( 389): at android.os.Binder.execTransact(Binder.java:320)
E/DatabaseUtils( 389): at dalvik.system.NativeStart.run(Native Method)
I don't know, why your contact's database gets corrupted, but after that you got the NullpointerExceptions from the ContacsSyncAdapter.
I've done a "master clear" over the "Settings" menu. The result a lot of exceptions attached. Here a snapshot:
Code:
W/SettingsProvider( 185): Unable to add bookmark: com.google.android.gm/com.google.android.gm.ConversationListActivityGmail
W/SettingsProvider( 185): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.google.android.gm/com.google.android.gm.ConversationListActivityGmail}
W/SettingsProvider( 185): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1842)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:887)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:925)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.onCreate(DatabaseHelper.java:135)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:404)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:323)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:259)
W/SettingsProvider( 185): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
W/SettingsProvider( 185): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
W/SettingsProvider( 185): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
W/SettingsProvider( 185): at android.app.ActivityThread.installSystemProviders(ActivityThread.java:3660)
W/SettingsProvider( 185): at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:5567)
W/SettingsProvider( 185): at com.android.server.ServerThread.run(SystemServer.java:182)
W/SettingsProvider( 185): Unable to add bookmark: com.android.im/com.android.im.app.LandingPage
W/SettingsProvider( 185): android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{com.android.im/com.android.im.app.LandingPage}
W/SettingsProvider( 185): at android.app.ContextImpl$ApplicationPackageManager.getActivityInfo(ContextImpl.java:1842)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:887)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.loadBookmarks(DatabaseHelper.java:925)
W/SettingsProvider( 185): at com.android.providers.settings.DatabaseHelper.onCreate(DatabaseHelper.java:135)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:126)
W/SettingsProvider( 185): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.query(SettingsProvider.java:404)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.ensureAndroidIdIsSet(SettingsProvider.java:323)
W/SettingsProvider( 185): at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:259)
W/SettingsProvider( 185): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
W/SettingsProvider( 185): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
W/SettingsProvider( 185): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
W/SettingsProvider( 185): at android.app.ActivityThread.installSystemProviders(ActivityThread.java:3660)
W/SettingsProvider( 185): at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:5567)
W/SettingsProvider( 185): at com.android.server.ServerThread.run(SystemServer.java:182)
Code:
D/EmailProvider( 497): Creating EmailProvider database
E/AndroidRuntime( 497): FATAL EXCEPTION: main
E/AndroidRuntime( 497): java.lang.RuntimeException: Unable to create service com.android.exchange.SyncManager: java.lang.NullPointerException
E/AndroidRuntime( 497): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1955)
E/AndroidRuntime( 497): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
E/AndroidRuntime( 497): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
E/AndroidRuntime( 497): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 497): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 497): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 497): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 497): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 497): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/AndroidRuntime( 497): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/AndroidRuntime( 497): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 497): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 497): at com.android.email.Utility.getConsistentDeviceId(Utility.java:601)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.getDeviceIdInternal(SyncManager.java:1064)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.getDeviceId(SyncManager.java:1041)
E/AndroidRuntime( 497): at com.android.exchange.SyncManager.onCreate(SyncManager.java:1767)
E/AndroidRuntime( 497): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1945)
E/AndroidRuntime( 497): ... 10 more
V/ContactsProvider( 417): Completed import of legacy contacts
Code:
I/ActivityManager( 185): Starting: Intent { act=android.intent.action.INSERT dat=content://telephony/carriers cmp=com.android.settings/.ApnEditor } from pid 718
D/TelephonyProvider( 365): inserted port= authtype=-1 protocol=IP mmsproxy= roaming_protocol=IP proxy= name= server= apn= password= user= mmsport= rowID = 23
D/dalvikvm( 365): GC_CONCURRENT freed 473K, 47% free 3381K/6279K, external 0K/0K, paused 8ms+9ms
E/TelephonyProvider( 365): Failed setting numeric '26207' to the current operator
I/TelephonyRegistry( 185): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=apnChanged interfaceName=null networkType=8
W/dalvikvm( 718): threadid=9: thread exiting with uncaught exception (group=0x40258560)
E/AndroidRuntime( 718): FATAL EXCEPTION: pool-1-thread-1
E/AndroidRuntime( 718): java.lang.NoSuchMethodError: 
E/AndroidRuntime( 718): at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:182)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl.writeToFile(ContextImpl.java:3167)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl.access$800(ContextImpl.java:2732)
E/AndroidRuntime( 718): at android.app.ContextImpl$SharedPreferencesImpl$1.run(ContextImpl.java:3082)
E/AndroidRuntime( 718): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
E/AndroidRuntime( 718): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
E/AndroidRuntime( 718): at java.lang.Thread.run(Thread.java:1019)
I/DEBUG ( 149): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 149): Build fingerprint: 'google/soju/crespo:2.3.3/GRI40/102588:user/release-keys'
I/DEBUG ( 149): pid: 718, tid: 728 >>> com.android.settings <<<
I/DEBUG ( 149): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 149): r0 00000000 r1 00000370 r2 00000010 r3 00000100
I/DEBUG ( 149): r4 40093ec8 r5 0017f098 r6 aca9e5c0 r7 40093edc
I/DEBUG ( 149): r8 aca11f80 r9 00000000 10 0017f098 fp 444d0ed8
I/DEBUG ( 149): ip 00000010 sp 444d0b88 lr aca1710c pc aca3edfa cpsr 20000030
W/ActivityManager( 185): Force finishing activity com.android.settings/.ApnEditor
W/ActivityManager( 185): Force finishing activity com.android.settings/.ApnSettings
W/ActivityManager( 185): Activity pause timeout for HistoryRecord{4094a7d8 com.android.settings/.ApnEditor}
I/DEBUG ( 149): #00 pc 0003edfa /system/lib/libdvm.so
I/DEBUG ( 149): #01 pc 00017108 /system/lib/libdvm.so
I/DEBUG ( 149):
I/DEBUG ( 149): code around pc:
I/DEBUG ( 149): aca3edd8 009122dc 1c054e30 4c306a87 46622080
I/DEBUG ( 149): aca3ede8 00439300 9404447e 93029101 1c3c9805
I/DEBUG ( 149): aca3edf8 68033c14 1c2868a1 fedcf7ff 28009003
I/DEBUG ( 149): aca3ee08 9b00da3f d11a2b00 98019b04 581158f2
I/DEBUG ( 149): aca3ee18 d0142900 009823e6 29005811 68a1d004
I/DEBUG ( 149):
I/DEBUG ( 149): code around lr:
I/DEBUG ( 149): aca170ec e52dc004 e5961010 e1a0000a e5911020
I/DEBUG ( 149): aca170fc e1a02009 e0441001 e1a010c1 fa009f30
I/DEBUG ( 149): aca1710c e5da1024 e3510000 0a000004 e1a05000
I/DEBUG ( 149): aca1711c e1a0000a e1a01009 fa010669 e1a00005
I/DEBUG ( 149): aca1712c e59d5004 e3500000 e28dd008 4a00000f
I/DEBUG ( 149):
I/DEBUG ( 149): stack:
I/DEBUG ( 149): 444d0b48 00000004
I/DEBUG ( 149): 444d0b4c 40251b00
I/DEBUG ( 149): 444d0b50 40093df8
I/DEBUG ( 149): 444d0b54 aca11db8 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0b58 00000000
I/DEBUG ( 149): 444d0b5c 00000000
I/DEBUG ( 149): 444d0b60 407e3400
I/DEBUG ( 149): 444d0b64 41d6ed90
I/DEBUG ( 149): 444d0b68 41735058
I/DEBUG ( 149): 444d0b6c 0017f098
I/DEBUG ( 149): 444d0b70 40251b00
I/DEBUG ( 149): 444d0b74 ad119029 /system/lib/libnativehelper.so
I/DEBUG ( 149): 444d0b78 41735058
I/DEBUG ( 149): 444d0b7c 0017f098
I/DEBUG ( 149): 444d0b80 df002777
I/DEBUG ( 149): 444d0b84 e3a070ad
I/DEBUG ( 149): #00 444d0b88 00000000
I/DEBUG ( 149): 444d0b8c 00000370
I/DEBUG ( 149): 444d0b90 00000100
I/DEBUG ( 149): 444d0b94 444d0c10
I/DEBUG ( 149): 444d0b98 fffffec4
I/DEBUG ( 149): 444d0b9c 00000000
I/DEBUG ( 149): 444d0ba0 444d0c08
I/DEBUG ( 149): 444d0ba4 425f6338
I/DEBUG ( 149): 444d0ba8 40093edc
I/DEBUG ( 149): 444d0bac 444d0c08
I/DEBUG ( 149): 444d0bb0 00003072
I/DEBUG ( 149): 444d0bb4 aca1710c /system/lib/libdvm.so
I/DEBUG ( 149): #01 444d0bb8 444d0bbc
I/DEBUG ( 149): 444d0bbc 40093edc
I/DEBUG ( 149): 444d0bc0 00000000
I/DEBUG ( 149): 444d0bc4 444d0c08
I/DEBUG ( 149): 444d0bc8 00000001
I/DEBUG ( 149): 444d0bcc 001605e8
I/DEBUG ( 149): 444d0bd0 0017f0a0
I/DEBUG ( 149): 444d0bd4 00016f10
I/DEBUG ( 149): 444d0bd8 41d9a8ec
I/DEBUG ( 149): 444d0bdc 00000000
I/DEBUG ( 149): 444d0be0 444d0ed8
I/DEBUG ( 149): 444d0be4 aca1c104 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0be8 444d0c08
I/DEBUG ( 149): 444d0bec 0017f098
I/DEBUG ( 149): 444d0bf0 aca1c074 /system/lib/libdvm.so
I/DEBUG ( 149): 444d0bf4 4171da84
I/DEBUG ( 149): 444d0bf8 fffffec4
I/DEBUG ( 149): 444d0bfc aca1b000 /system/lib/libdvm.so
W/dalvikvm( 718): threadid=3: spin on suspend #1 threadid=10 (pcf=0)
W/dalvikvm( 718): threadid=3: spin on suspend #2 threadid=10 (pcf=0)
I/dalvikvm( 718): "GC" daemon prio=5 tid=3 RUNNABLE
I/dalvikvm( 718): | group="system" sCount=0 dsCount=0 obj=0x40750360 self=0x1ca110
I/dalvikvm( 718): | sysTid=720 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1224328
I/dalvikvm( 718): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 718):
I/dalvikvm( 718): "pool-1-thread-2" prio=5 tid=10 RUNNABLE
I/dalvikvm( 718): | group="main" sCount=1 dsCount=0 obj=0x407dc870 self=0x17f098
I/dalvikvm( 718): | sysTid=728 nice=0 sched=0/0 cgrp=bg_non_interactive handle=1569232
I/dalvikvm( 718): at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:~182)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl.writeToFile(ContextImpl.java:3167)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl.access$800(ContextImpl.java:2732)
I/dalvikvm( 718): at android.app.ContextImpl$SharedPreferencesImpl$1.run(ContextImpl.java:3082)
I/dalvikvm( 718): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
I/dalvikvm( 718): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
I/dalvikvm( 718): at java.lang.Thread.run(Thread.java:1019)
I/dalvikvm( 718):
I/DEBUG ( 149): debuggerd committing suicide to free the zombie!
I/DEBUG ( 731): debuggerd: Jul 15 2011 18:22:13
I/ActivityManager( 185): Process com.android.settings (pid 718) has died.
The whole logcat is attached. It's a morge general problem of installation but where to start?
Did'n look at your logcat at the moment, but probably you could send me the logcat from flashing, too. There were two other guys who had bad NAND and the "old" system was not erased. I would like to exclude, that you have a similar problem.
Sent from my Gingerbread on Dream using XDA App
I assume you are looking for the recovery.log created in SPL. I've done a whole wipe and redone the installation. All files I know are attached.
Playing arround I've found the following logcat entry:
Code:
E/Database( 442): Failure 10 (disk I/O error) on 0x148698 when executing 'COMMIT;'
E/Gmail ( 442): Mail sync failed
E/Gmail ( 442): android.database.sqlite.SQLiteDiskIOException: disk I/O error: COMMIT;
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.native_execSQL(Native Method)
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1763)
E/Gmail ( 442): at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:583)
E/Gmail ( 442): at com.google.android.gm.provider.MailCore.setCustomFromPreference(MailCore.java:1567)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine$PublicMailStore.setCustomFromPreference(MailEngine.java:3545)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleStartSyncInfoProto(MailSync.java:1476)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleResponseProto(MailSync.java:956)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleResponse(MailSync.java:864)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.handleSyncResponse(MailSync.java:844)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sendRequest(MailEngine.java:1543)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1505)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1393)
E/Gmail ( 442): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
E/Gmail ( 442): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
E/Gmail ( 442): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/SyncManager( 174): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 850665 expedited: false, SyncResult: databaseError: true stats []
D/SyncManager( 174): not retrying sync operation because the error is a hard error: authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 851914 expedited: false
I/dalvikvm( 274): Jit: resizing JitTable from 1024 to 2048
I/Database( 442): sqlite returned: error code = 2570, msg = statement aborts at 93: [select conversations_to_fetch._id as _id, max(
I/Database( 442): case when not clientCreated then messages.messageId else 0 end)
I/Database( 442): as highestMessageId, max(messages.clientCreated) as hasClientCreatedMessages from conversations_to_fetch left outer join messages on messages.conversation = conversations_to_fetch._id and messages.synced = 1 where nextAttemptDateMs < ?group by conversations_to_fetch._id order by conversations_to_fetch._id desc limit 50] disk I/O error
E/Gmail ( 442): Mail sync failed
E/Gmail ( 442): android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/Gmail ( 442): at android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
E/Gmail ( 442): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:73)
E/Gmail ( 442): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:287)
E/Gmail ( 442): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:268)
E/Gmail ( 442): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:171)
E/Gmail ( 442): at android.database.AbstractCursor.moveToNext(AbstractCursor.java:256)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine$PublicMailStore.getConversationInfosToFetch(MailEngine.java:3802)
E/Gmail ( 442): at com.google.android.gm.provider.MailSync.nextSyncRequest(MailSync.java:669)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.runSyncLoop(MailEngine.java:1462)
E/Gmail ( 442): at com.google.android.gm.provider.MailEngine.sync(MailEngine.java:1393)
E/Gmail ( 442): at com.google.android.gm.provider.MailSyncAdapterService$SyncAdapterImpl.onPerformLoggedSync(MailSyncAdapterService.java:61)
E/Gmail ( 442): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
E/Gmail ( 442): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/SyncManager( 174): failed sync operation authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 879123 expedited: false, SyncResult: databaseError: true stats []
D/SyncManager( 174): not retrying sync operation because the error is a hard error: authority: gmail-ls account: Account {[email protected], type=com.google} extras: [feed=https://mail.google.com/mail/g/?client=1313405658204 ] syncSource: 0 when: 882641 expedited: false
I/dalvikvm( 174): Jit: resizing JitTable from 2048 to 4096
D/dalvikvm( 257): GC_EXPLICIT freed <1K, 47% free 3391K/6343K, external 915K/1427K, paused 109ms
~ # df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 55.0M 32.0K 54.9M 0% /dev
tmpfs 55.0M 0 55.0M 0% /mnt/asec
tmpfs 55.0M 0 55.0M 0% /mnt/obb
/dev/block/mtdblock3 91.0M 76.1M 14.9M 84% /system
/dev/block/mtdblock5 91.8M 61.8M 30.0M 67% /data
/dev/block/mtdblock4 27.0M 1.2M 25.8M 4% /cache
/dev/block/loop0 768.0K 768.0K 0 100% /system/lib/modules
/dev/block/loop1 2.5M 2.5M 0 100% /system/fonts
/dev/block/vold/179:1
6.9G 58.2M 6.8G 1% /mnt/sdcard
/dev/block/vold/179:1
6.9G 58.2M 6.8G 1% /mnt/secure/asec
~ # exit
D/dalvikvm( 257): GC_EXPLICIT freed <1K, 47% free 3391K/6343K, external 915K/1427K, paused 142ms
No swap partition is enabled
Last time I've evaluated ADS_magpie-20110729 + gapps-mdpi-gb-20110709 I can remember that there was no SWAP active.
I'm now evaluating Ginger yoshi 1.4 fix 32a_b using a the 24Swap script in /sd-ext/userinit.d.
I see that Ginger yoshi 1.4 uses a lot of swap, round about 10MiB. Maybe additional RAM (swap in my case) would solve this case? By default ADS_magpie-20110729 did not use swap for me.

[Q] Optimus 4x HD No boot after clockwork

Installed clockwork, confirmed the su access, hit reboot normal, and there is no normal reboot.
Device is stuck at boot screen. I can access with adb, and have root access, but I'm not sure where to start looking to figure out why it won't boot.
dmesg has a lot of battery info,
try not to accidentally 'cat /init' it makes windows console confused.
Any idea where to look to determine why the phone won't boot? is there a boot log of some sort?
I've tried resetting the busybox in /data/local and resetting permissions.
Any other suggestions?
Update
I've not gotten as far as finding some logs using adb.
I'm curious as to why it doesn't hit the startup sound unless I fire init, yet the graphic/bootscreen is up.
I/boot_progress_start( 150): 9177
I/boot_progress_preload_start( 150): 9751
I/boot_progress_preload_end( 150): 15154
I/boot_progress_system_run( 252): 16404
I/boot_progress_pms_start( 252): 16698
I/boot_progress_pms_system_scan_start( 252): 17410
I/boot_progress_pms_data_scan_start( 252): 20932
I/boot_progress_pms_scan_end( 252): 53648
I/boot_progress_pms_ready( 252): 54926
C:\o4xr>adb logcat -d |grep preload
W/Zygote ( 150): Class not found for preloading: android.media.AudioManager$2
W/Zygote ( 150): Class not found for preloading: android.media.IRemoteControlC
lientDispatcher
W/Zygote ( 150): Class not found for preloading: android.media.IRemoteControlC
lientDispatcher$Stub
W/Zygote ( 150): Class not found for preloading: android.text.TextDirectionHeu
ristics$CharCount
W/Zygote ( 150): Class not found for preloading: android.text.method.WordItera
tor$1
W/Zygote ( 150): Class not found for preloading: android.widget.EdgeGlow
E/PhonePolicy( 150): Could not preload class for phone policy: com.android.inte
rnal.policy.impl.PhoneWindow$ContextMenuCallback
I/Zygote ( 150): ...preloaded 2297 classes in 4308ms.
I/Zygote ( 150): ...preloaded 379 resources in 1009ms.
I/Zygote ( 150): ...preloaded 31 resources in 8ms.
W/PackageManager( 252): Unknown permission com.shazam.android.preloadinfo.provi
der.ACCESS_DATA in package com.shazam.android
scidhuv00 said:
Installed clockwork, confirmed the su access, hit reboot normal, and there is no normal reboot.
Device is stuck at boot screen. I can access with adb, and have root access, but I'm not sure where to start looking to figure out why it won't boot.
dmesg has a lot of battery info,
try not to accidentally 'cat /init' it makes windows console confused.
Any idea where to look to determine why the phone won't boot? is there a boot log of some sort?
I've tried resetting the busybox in /data/local and resetting permissions.
Any other suggestions?
Click to expand...
Click to collapse

[ROM][4.4][UNOFFICIAL] CM11 without graphics

Hey there,
It is time to publish my CM11 tree for our Razr I phones.
There is nothing working so far.
It's a stock CM11 tree with integrated kernel from oxavelar (https://github.com/oxavelar/XT890-Kernel-Gamma), many things taken from hazou (https://github.com/HazouPH/android_device_motorola_smi) and surfaceflinger patches from steven676 (https://gist.github.com/steven676/7276901).
Recovery PHILZ 6.14.2 (CWM v6.0.4.7) should be working fine, although mount paths are not setup really well (vold mounts missing, aromafm can't automount). There might also be some confusion around the SD card paths, so I really recommend not to use it for wiping and backing up any SD related stuff. As recovery does work fine for installing and backing up, I post a fastboot flashable recovery.img. Note: This is really not well tested by me!
Additional Warning: You may lose your data on INTERNAL SD when you wipe DATA!
To use aromafm, push the supplied aromafm.zip to /external_sd/clockworkmod/aromafm/aromafm.zip using adb in recovery or your running rom (then use the stock path for external SD. Internal should also work but I prefer not to use that)
You can find recovery here: http://android.matthias-larisch.de/razr-i/recovery/
Device tree is here: https://github.com/NerdyProjects/android_device_motorola_smi
More Github links to other forked projects will follow shortly, there are more changes.
So let's begin with talking about some errors:
Code:
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]8934
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb94bf820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
I/AudioPolicyManagerBase( 131): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Hello why are you trying to do what people are already doing?
It would be better if you try to work with hazou:
http://forum.xda-developers.com/showthread.php?t=2563960
Burn02 said:
Hello why are you trying to do what people are already doing?
It would be better if you try to work with hazou:
http://forum.xda-developers.com/showthread.php?t=2563960
Click to expand...
Click to collapse
Actually this is the KitKat ROM whereas that's the Jelly Bean one.
PosixCompatible said:
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Click to expand...
Click to collapse
You are going to be more lucky looking at the patches from the galaxy nexus since we share the same gpu.
PosixCompatible said:
So let's begin with talking about some errors:
Code:
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb94bf820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
I/AudioPolicyManagerBase( 131): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): validate_display:254 error 3008 (EGL_BAD_DISPLAY)
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
Graphics is therefore not working. I also looked into the Samsung Galaxy Tab 3 10.1 porting effort and they seemed to not have any problem with the GFX at this stage. They have SGX544, though. Any ideas? Does also not work without surfaceflinger patches (Open-GL ES1.1 fallback). The ValidateWindowConfigFormat errors are the problems, I think.
Click to expand...
Click to collapse
And u did include all the patches from steven about the pixelflinger?
Hazou said:
And u did include all the patches from steven about the pixelflinger?
Click to expand...
Click to collapse
Jep, I thought I did. I really have to post the rest of the code, it's a bit complicated as I did not use the repo tool for most... Hope to make it this evening.
Patches applied to surfaceflinger:
Workaroung Bug XZ, pbuffer disable, egl2 disable, try-disabling-some-features-before-falling-back-to-egl1.
Following log with pbuffer without egl2:
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
Code:
I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): OpenGL ES 2.0 disabled for this device
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying OpenGL ES 1.1
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x2
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 127): OpenGL ES informations:
I/SurfaceFlinger( 127): vendor : Imagination Technologies
I/SurfaceFlinger( 127): renderer : PowerVR SGX 540
I/SurfaceFlinger( 127): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 127): extensions: GL_EXT_debug_marker GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object GL_APPLE_texture_2D_limited_npot
I/SurfaceFlinger( 127): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 127): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 127): Screen acquired, type=0 flinger=0xb790d820
D/hwcomposer( 127): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 195): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 195): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/cutils-trace( 195): Error opening trace file: No such file or directory (2)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 195): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 195): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/SurfaceFlinger( 127): GL error 0x0501
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 127): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 127): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 127): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 127): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
(boot continues as normal)
As I see we should not encounter BUG 10194508 as the disabled feature does not show up in the capability list. I have to say that I never did anything with OpenGL except some very basic vertice programming in Delphi when I was a kid. Did never tinker with any of those error messages above.
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
may be a bit more interesting as it gives us:
Code:
I/SurfaceFlinger( 127): SurfaceFlinger is starting
I/SurfaceFlinger( 127): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 127): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 127): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 127): framebuffer opened
D/hwcomposer( 127): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 127): Using composer version 0.0
W/SurfaceFlinger( 127): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 127): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/SurfaceFlinger( 127): EGL informations:
I/SurfaceFlinger( 127): vendor : Android
I/SurfaceFlinger( 127): version : 1.4 Android META-EGL
I/SurfaceFlinger( 127): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 127): Client API: OpenGL_ES
I/SurfaceFlinger( 127): EGLSurface: 8-8-8-8, config=0x13
E/cutils-trace( 127): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 127): call to OpenGL ES API with no current context (logged once per thread)
F/libc ( 127): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 127 (surfaceflinger)
I/DEBUG ( 125): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 125): Build fingerprint: 'motorola/cm_smi/smi:4.4.2/KOT49H/e72f0c2fd7:userdebug/test-keys'
I/DEBUG ( 125): Revision: '0'
I/DEBUG ( 125): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 125): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG ( 125): eax 00000000 ebx b75fce74 ecx 00000000 edx 00000000
I/DEBUG ( 125): esi b867f720 edi 00000000
I/DEBUG ( 125): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 125): eip b7687076 ebp bfc3143c esp bfc313cc flags 00010246
E/Corkscrew( 125): unrecognized DW_CFA_* instruction: 0x10
I/DEBUG ( 125):
I/DEBUG ( 125): backtrace:
I/DEBUG ( 125): #00 pc 0005c076 /system/lib/libc.so (strlen+6)
I/DEBUG ( 125): #01 pc 0001485a /system/lib/libutils.so (android::String8::setTo(char const*)+42)
I/DEBUG ( 125): #02 pc 0003f241 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+49)
I/DEBUG ( 125): #03 pc 0003f78c /system/lib/libsurfaceflinger.so (android::RenderEngine::logEGLInfo()+156)
I/DEBUG ( 125): #04 pc 00041655 /system/lib/libsurfaceflinger.so (android::GLES20RenderEngine::initializeGL()+341)
I/DEBUG ( 125): #05 pc 0002af69 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+1033)
I/DEBUG ( 125): #06 pc 00000931 /system/bin/surfaceflinger (main+209)
I/DEBUG ( 125):
I/DEBUG ( 125): stack:
I/DEBUG ( 125): bfc3138c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31390 b867d8c0 [heap]
I/DEBUG ( 125): bfc31394 bfc313e0 [stack]
I/DEBUG ( 125): bfc31398 bfc314b8 [stack]
I/DEBUG ( 125): bfc3139c b752359e /system/lib/libEGL.so (android::gl_no_context()+30)
I/DEBUG ( 125): bfc313a0 00000000
I/DEBUG ( 125): bfc313a4 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc313a8 b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc313ac b73eb4c6 /system/lib/libGLESv1_CM.so (glViewport+54)
I/DEBUG ( 125): bfc313b0 00000000
I/DEBUG ( 125): bfc313b4 00000000
I/DEBUG ( 125): bfc313b8 b7638db9 /system/lib/libc.so (pthread_mutex_lock+9)
I/DEBUG ( 125): bfc313bc b76e3fcc /system/lib/libc.so
I/DEBUG ( 125): bfc313c0 00000033
I/DEBUG ( 125): bfc313c4 b867f720 [heap]
I/DEBUG ( 125): bfc313c8 00000000
I/DEBUG ( 125): #00 bfc313cc b75e785b /system/lib/libutils.so (android::String8::setTo(char const*)+43)
I/DEBUG ( 125): #01 bfc313d0 00000000
I/DEBUG ( 125): bfc313d4 bfc313e0 [stack]
I/DEBUG ( 125): bfc313d8 00000000
I/DEBUG ( 125): bfc313dc 00000000
I/DEBUG ( 125): bfc313e0 7f800000
I/DEBUG ( 125): bfc313e4 00000000
I/DEBUG ( 125): bfc313e8 00000000
I/DEBUG ( 125): bfc313ec 00000000
I/DEBUG ( 125): bfc313f0 00000000
I/DEBUG ( 125): bfc313f4 7f800000
I/DEBUG ( 125): bfc313f8 00000000
I/DEBUG ( 125): bfc313fc b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): bfc31400 b867f720 [heap]
I/DEBUG ( 125): bfc31404 00000000
I/DEBUG ( 125): bfc31408 bfc3143c [stack]
I/DEBUG ( 125): bfc3140c b7752242 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+50)
I/DEBUG ( 125): #02 bfc31410 b867f724 [heap]
I/DEBUG ( 125): bfc31414 00000000
I/DEBUG ( 125): bfc31418 b75fce74 /system/lib/libutils.so
I/DEBUG ( 125): bfc3141c b7638f89 /system/lib/libc.so (pthread_mutex_unlock+25)
I/DEBUG ( 125): bfc31420 b866a030 [heap]
I/DEBUG ( 125): bfc31424 b75acddc /system/lib/libEGL.so
I/DEBUG ( 125): bfc31428 00001f00
I/DEBUG ( 125): bfc3142c b7523595 /system/lib/libEGL.so (android::gl_no_context()+21)
I/DEBUG ( 125): bfc31430 00000000
I/DEBUG ( 125): bfc31434 b7523586 /system/lib/libEGL.so (android::gl_no_context()+6)
I/DEBUG ( 125): bfc31438 b73f0fe4 /system/lib/libGLESv1_CM.so
I/DEBUG ( 125): bfc3143c b73ed67a /system/lib/libGLESv1_CM.so (glGetString+74)
I/DEBUG ( 125): bfc31440 00001f00
I/DEBUG ( 125): bfc31444 00000004
I/DEBUG ( 125): bfc31448 b7752219 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*)+9)
I/DEBUG ( 125): bfc3144c b776a8b4 /system/lib/libsurfaceflinger.so
I/DEBUG ( 125): ........ ........
But I cannot debug it with gdbserver as this dies before the SIGSEV. It may have something to do with any unclean disabling of pbuffer in stevens patch? As it segfaults in logEGLinfo I assume it to fail because of the failures right above.
Another one with both patches disabled:
Code:
BOARD_EGL_WORKAROUND_BUG_10194508 := true
#TARGET_DISABLE_SURFACEFLINGER_PBUFFERS := true
#TARGET_DISABLE_SURFACEFLINGER_GLES2 := true
For every try I rebuilt the complete surfaceflinger by removing all objects from surfaceflinger_intermediates and libsurfaceflinger_intermediates and pushing the new files onto the device, this should have been enough.
Code:
I/SurfaceFlinger( 128): SurfaceFlinger is starting
I/SurfaceFlinger( 128): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 128): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 128): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
I/GrallocFB( 128): framebuffer opened
D/hwcomposer( 128): bool IntelHWComposerDrm::drmInit(): successfully. mDrmFd 18
I/SurfaceFlinger( 128): Using composer version 0.0
W/SurfaceFlinger( 128): getting VSYNC period from fb HAL: 16666666
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 128): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
I/SurfaceFlinger( 128): EGL informations:
I/SurfaceFlinger( 128): vendor : Android
I/SurfaceFlinger( 128): version : 1.4 Android META-EGL
I/SurfaceFlinger( 128): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 128): Client API: OpenGL_ES
I/SurfaceFlinger( 128): EGLSurface: 8-8-8-8, config=0x12
E/cutils-trace( 128): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 128): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
I/SurfaceFlinger( 128): OpenGL ES informations:
I/SurfaceFlinger( 128): vendor : Imagination Technologies
I/SurfaceFlinger( 128): renderer : PowerVR SGX 540
I/SurfaceFlinger( 128): version : OpenGL ES 2.0 build [email protected]
I/SurfaceFlinger( 128): extensions: GL_EXT_debug_marker GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture
I/SurfaceFlinger( 128): GL_MAX_TEXTURE_SIZE = 2048
I/SurfaceFlinger( 128): GL_MAX_VIEWPORT_DIMS = 2048
D/SurfaceFlinger( 128): Screen acquired, type=0 flinger=0xb8e43820
D/hwcomposer( 128): int IntelDisplayPlaneManager::setZOrderConfig(int, int): set zorder: 3
E/IMGSRV ( 128): :0: compositionComplete: GLESFlushBuffersGCNoContext failed
E/IMGSRV ( 128): :0: compositionComplete: Foreign (probably software) GLES detected! Enabling workarounds.
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
D/libEGL ( 181): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_121.so
D/libEGL ( 181): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_121.so
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/cutils-trace( 181): Error opening trace file: No such file or directory (2)
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 181): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglQuerySurface:590 error 300d (EGL_BAD_SURFACE)
E/libEGL ( 181): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
E/IMGSRV ( 128): :0: Post2: Passed an empty slot for the composition buffer, but no composition was posted since last Post2()
E/hwcomposer( 128): bool IntelHWComposer::commit(hwc_display_t, hwc_surface_t, hwc_layer_list_t*): Post2 failed with errno -14
E/hwcomposer( 128): int hwc_set(hwc_composer_device_t*, hwc_display_t, hwc_surface_t, hwc_layer_list_t*): failed to commit
E/libEGL ( 128): eglMakeCurrent:775 error 3009 (EGL_BAD_MATCH)
(boot continues as normal)
Every try with EGL2 does not remove the bootloader-logo (the bootloader unlocked message), but the EGL1 tries lead to a black screen.
Code:
I/SurfaceFlinger( 127): Using composer version 0.0
As if the composer is not loaded correctly, should be 0.3.
Code:
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window and Config pixel formats do not match
E/IMGSRV ( 127): :0: ValidateWindowConfigFormat: Window format was 1, Config format was 5
Looked it up, has something to do with the pixelparameters (colors). But what...
Have a look at this for gdb debugging on crashed services on start up.
Hazou said:
Code:
I/SurfaceFlinger( 127): Using composer version 0.0
As if the composer is not loaded correctly, should be 0.3.
Click to expand...
Click to collapse
Hazou said:
Have a look at this for gdb debugging on crashed services on start up.
Click to expand...
Click to collapse
Yeah, I already know about android debugging. Thanks anyway
Problem is, that gdbserver segfaults when running surfaceflinger. Could be too easy else, right?
Code:
130|[email protected]:/ # gdbserver :5039 /system/bin/surfaceflinger
Process /system/bin/surfaceflinger created; pid = 691
Listening on port 5039
Remote debugging from host 127.0.0.1
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
gdb: Unable to get location for thread creation breakpoint: requested event is not supported
thread getmsg err: no event message for getmsg
Cannot attach to process -326959101: No such process (3)
gdb: Could not attach to thread -326959101 (LWP -326959101)
thread getmsg err: no event message for getmsg
Segmentation fault
Code:
I/SurfaceFlinger( 691): SurfaceFlinger is starting
F/libc ( 691): Fatal signal 5 (???) at 0x00000000 (code=128), thread 699 (Binder_1)
I/SurfaceFlinger( 691): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
F/libc ( 691): Fatal signal 5 (???) at 0x00000000 (code=128), thread 691 (surfaceflinger)
I/DEBUG ( 125): process stopped due to unexpected signal 5
I/DEBUG ( 125): unexpected waitpid response: n=691, status=00000005
I/DEBUG ( 125): ptrace detach from 691 failed: No such process
I/DEBUG ( 125): debuggerd committing suicide to free the zombie!
I/DEBUG ( 703): debuggerd: Feb 17 2014 17:10:40
I did try to set a breakpoint into HWComposer initialisation but that gdb segfault happens before.
Please give me another day for the remaining sources - I know you really would like to compile this yourself. I will have another two hours tomorrow morning and hope to get it sorted out then.
That's it for today.
Edit:
BTW it is very nice to live without a smartphone a few days - but I soon need to have it working again (Razr I is my primary and only one). As I don't see me getting anyway here, I will soon go back to JB. Should not be more than a month until we see official 4.4 - those libs should all work more or less out of the box in CM11 I think/hope.
Take your time, I am interested, but won't be able to build in the next couple of weeks, I think so I don't mind if it is tomorrow or next month. Waiting more or less for official kitkat, to get started with cm11. In the mean time getting audio ready, because that will be one thing that we need to build/compile our self without much help from moto/Intel and I can do that in cm10.1.
Sent from my GT-P5110 using XDA Premium HD app
hi
iam facing similar issues
and here is full logcat http://paste.ubuntu.com/8056961/
I/SurfaceFlinger( 132): SurfaceFlinger is starting
I/SurfaceFlinger( 132): use dithering
I/SurfaceFlinger( 132): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 132): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 132): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 132): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 132): <qeglDrvAPI_eglInitialize:290>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.005_msm7627a_JB_CL2577695_release_AU (CL2577695)
I/Adreno200-EGL( 132): Build Date: 07/11/12 Wed
I/Adreno200-EGL( 132): Local Branch: mybranch65565
I/Adreno200-EGL( 132): Remote Branch: quic/master
I/Adreno200-EGL( 132): Local Patches: NONE
I/Adreno200-EGL( 132): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.005 + db7e81a + 4568683 + dfff884 + NOTHING
I/gralloc ( 132): using (fd=19)
I/gralloc ( 132): id = msmfb303_20001
I/gralloc ( 132): xres = 240 px
I/gralloc ( 132): yres = 320 px
I/gralloc ( 132): xres_virtual = 240 px
I/gralloc ( 132): yres_virtual = 972 px
I/gralloc ( 132): bpp = 16
I/gralloc ( 132): r = 11:5
I/gralloc ( 132): g = 5:6
I/gralloc ( 132): b = 0:5
I/gralloc ( 132): width = 43 mm (141.767441 dpi)
I/gralloc ( 132): height = 58 mm (140.137924 dpi)
I/gralloc ( 132): refresh rate = 0.00 Hz
D/CALCFPS ( 132): DEBUG_CALC_FPS: 0
D/CALCFPS ( 132): period: 10
D/CALCFPS ( 132): ignorethresh_us: 500000
D/CALCFPS ( 132): DEBUG_CALC_FPS: 0
D/CALCFPS ( 132): period: 10
D/CALCFPS ( 132): ignorethresh_us: 500000
I/hwcomposer( 132): Initializing Qualcomm Hardware Composer
I/hwcomposer( 132): MDP version: 303
I/hwcomposer( 132): DYN composition threshold : 2.000000
I/SurfaceFlinger( 132): Using composer version 1.0
I/hwcomposer( 132): Initializing UEvent Listener Thread
I/hwcomposer( 132): Initializing VSYNC Thread
Click to expand...
Click to collapse
W/SurfaceFlinger( 132): getting VSYNC period from fb HAL: -1
W/Adreno200-EGL( 132): <qeglDrvAPI_eglChooseConfig:774>: EGL_BAD_ATTRIBUTE
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger( 132): no suitable EGLConfig found, trying with 16-bit color allowed
W/Trace ( 132): error opening trace file: No such file or directory (2)
F/libc ( 132): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 184 (SurfaceFlinger)
Click to expand...
Click to collapse
@Hazou @PosixCompatible please help me with a possible work around
iam building for lg optimus e400
sooorajjj said:
hi
iam facing similar issues
and here is full logcat http://paste.ubuntu.com/8056961/
@Hazou @PosixCompatible please help me with a possible work around
iam building for lg optimus e400
Click to expand...
Click to collapse
Sorry, i never fixed this. I know Angel_666 from the tab3 10.1 fixed it somehow if i remember correctly.
Hazou said:
Sorry, i never fixed this. I know @Angel_666 from the tab3 10.1 fixed it somehow if i remember correctly.
Click to expand...
Click to collapse
MSMFB_METADATA_GET defined in msm_mdp.h but our framebuffer does not support it.
though i havnt fixed it yet but atleast got an idea
Hi sooorajjj, it's nice that you're trying to port KitKat for your L3 (and such an effort is not to be belittled in any matter, though some may disagree), but I think your device already has its section on XDA. Other developers working on a ROM for your device might have already faced the same problem so that should be your starting point.
Good luck!
Update 4.4.1
@Hazou
Hey guys, i just saw on web site (androidpit.com.br) one person get's beta version 4.4.1 for xt 890
i'm trying to talk with him.. but i need to know whats exactly y'all need for everything works
Is the "NDA" enough of an answer, I don't think he will given something.
But I am well suited
Verstuurd van mijn GT-P5110

Categories

Resources