Driver mali r6p0 on pour kernel - Galaxy Note II, Galaxy S III Developer Discussion

Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app

bizcuite said:
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Then no body to answer, my driver seems loaded with little modifications, i have just to compile gralloc module of r6p0rel1.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app

Ok, i continue my search:
This is my logcat and dmesg with MALI+UMP from r6p0 driver version.
I let the last version of my kernel (with sources) with fully r6p0 driver.
/!\ THE KERNEL BOOT BUT THERE IS NO SCREEN /!\ it's just a try for devs
To compile yourself the kernel, just replace the /driver/gpu folder by mine and change the KConfig in video to point on /driver/gpu/arm/ folder.
I think that it lacks just library binaries to have this driver working
OR an Hack for Android:
https://community.arm.com/groups/android-community/blog/authors/matteofranchin
The driver seems correctly loaded (debug has been ported and actvated):
Code:
[ 1.170084] s5pv210-uart.3: ttySAC3 at MMIO 0x13830000 (irq = 28) is a S3C6400/10
[ 1.251085] UMP: UMP device driver loaded
[ 1.251113] Mali<2>: Inserting Mali v850 device driver.
[ 1.251144] Mali<2>: Compiled: Aug 16 2016, time: 11:40:34.
[ 1.251175] Mali<2>: Driver revision:
[ 1.251197] Mali<2>: mali_module_init() registering driver
[ 1.251429] Mali: Mali device driver loaded
[ 1.251456] func:max77693_muic_init
[ 1.251540] func:max77693_muic_probe
[ 1.251567] max77693-muic max77693-muic: adc:0 chgtype:0, adc1k:0
[ 1.251600] max77693-muic max77693-muic: H/W rev connected UT1 UR2 pin to AP UART
Code:
[email protected]:/ # cd /sys/module/mali/parameters/
[email protected]:/sys/module/mali/parameters # ls
gpu_power_state mali_dvfs_control mali_max_pp_cores_group_1
mali_debug_level mali_gpu_clk mali_max_pp_cores_group_2
mali_dedicated_mem_size mali_gpu_vol mali_max_system_fps
mali_dedicated_mem_start mali_l2_max_reads mali_mem_swap_out_threshold_value
mali_desired_fps mali_max_job_runtime mali_shared_mem_size
The logcat error:
Code:
08-16 11:58:37.905 2397 2397 I ServiceManager: Waiting for service SurfaceFlinger...
08-16 11:58:38.148 3239 3239 I SurfaceFlinger: SurfaceFlinger is starting
08-16 11:58:38.149 3239 3239 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-16 11:58:38.151 3239 3239 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-16 11:58:38.154 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-16 11:58:38.179 3239 3239 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-16 11:58:38.206 3239 3239 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-16 11:58:38.208 3239 3239 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-16 11:58:38.208 3239 3239 I gralloc : using (fd=12)
08-16 11:58:38.208 3239 3239 I gralloc : id = s3cfb
08-16 11:58:38.208 3239 3239 I gralloc : xres = 720 px
08-16 11:58:38.208 3239 3239 I gralloc : yres = 1280 px
08-16 11:58:38.208 3239 3239 I gralloc : xres_virtual = 720 px
08-16 11:58:38.208 3239 3239 I gralloc : yres_virtual = 2560 px
08-16 11:58:38.208 3239 3239 I gralloc : bpp = 32
08-16 11:58:38.208 3239 3239 I gralloc : r = 16:8
08-16 11:58:38.208 3239 3239 I gralloc : g = 8:8
08-16 11:58:38.208 3239 3239 I gralloc : b = 0:8
08-16 11:58:38.208 3239 3239 I gralloc : width = 69 mm (265.043488 dpi)
08-16 11:58:38.208 3239 3239 I gralloc : height = 123 mm (264.325195 dpi)
08-16 11:58:38.208 3239 3239 I gralloc : refresh rate = 58.00 Hz
08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found
08-16 11:58:38.216 3239 3239 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
08-16 11:58:38.216 3239 3239 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3239 (surfaceflinger)
08-16 11:58:38.217 2095 2095 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-16 11:58:38.217 2095 2095 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-16 11:58:38.291 2398 2398 I Zygote : Preloading resources...
08-16 11:58:38.317 2095 2095 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-16 11:58:38.317 2095 2095 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-16 11:58:38.317 2095 2095 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-16 11:58:38.317 2095 2095 F DEBUG : Revision: '0'
08-16 11:58:38.317 2095 2095 F DEBUG : ABI: 'arm'
08-16 11:58:38.318 2095 2095 F DEBUG : pid: 3239, tid: 3239, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-16 11:58:38.318 2095 2095 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-16 11:58:38.329 2095 2095 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'
08-16 11:58:38.329 2095 2095 F DEBUG : r0 00000000 r1 00000ca7 r2 00000006 r3 4010fb8c
08-16 11:58:38.329 2095 2095 F DEBUG : r4 4010fb94 r5 4010fb44 r6 00000000 r7 0000010c
08-16 11:58:38.329 2095 2095 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-16 11:58:38.329 2095 2095 F DEBUG : ip 00000006 sp beca34b8 lr 401ec7a9 pc 401eeba4 cpsr 400f0010
Bizcuite

08-16 11:58:38.216 3239 3239 E SurfaceFlinger: hwcomposer module not found
Click to expand...
Click to collapse
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don't ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build (depending on the ROM you currently have) the ROM and dirty flash it and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.

Alexander_the_B0ss said:
It needs a brand new hwcomposer built specifically for the new r6p0 version. Don't ask me how, but maybe you could, idk, for example, build a ROM with these changes and then try? Or build (depending on the ROM you currently have) the ROM and dirty flash it and see if it works.
Just try to build CM 13 for your n7100 and then dirty flash it over your installation and see if she works.
Click to expand...
Click to collapse
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom (R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using (fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
[COLOR="Red"][B]08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:[/B][/COLOR]
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap 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_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connect(fd11, ...) failed with errno = 111(Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id(12009), handler(0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit(0.0:135): table=filter family=2 entries=11
08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:39:51.340 2720 2720 I gralloc : using (fd=12)
08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb
08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px
08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px
08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32
08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8
08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8
08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8
08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz
[COLOR="red"][B]08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so
08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found
08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up[/B][/COLOR]
08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2720 (surfaceflinger)
08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0'
08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm'
08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[COLOR="red"][B]08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'[/B][/COLOR]
08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c
08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c
08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010
08-17 09:39:51.478 2089 2089 F DEBUG :
08-17 09:39:51.478 2089 2089 F DEBUG : backtrace:
08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so (tgkill+12)
08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so (pthread_kill+32)
08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so (raise+10)
08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so (__libc_android_abort+34)
08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so (abort+4)
08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so (__android_log_assert+86)
08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+240)
08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger
08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so (__libc_init+44)
08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger
08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit(0.0:141): table=filter family=2 entries=8
08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit(0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=(null)
08-17 09:39:51.787 2089 2089 F DEBUG :
08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting
08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0
08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
if (err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
if (err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW("no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfig(display, format, 0, &config);
if (err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL("[COLOR="Red"]no suitable EGLConfig found, giving up[/COLOR]");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */
static config_pair_t const config_8_attribute_list[] = {
{ EGL_BUFFER_SIZE, 32 },
{ EGL_ALPHA_SIZE, 8 },
{ EGL_BLUE_SIZE, 8 },
{ EGL_GREEN_SIZE, 8 },
{ EGL_RED_SIZE, 8 },
{ EGL_DEPTH_SIZE, 0 },
{ EGL_CONFIG_ID, 2 },
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 },
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
};
Bizcuite

bizcuite said:
Hi,
Thanks for your reply, but:
I have made a boot with my own Rom (R3p2 driver like everybody), this is the logcat:
Code:
08-17 09:46:40.719 2177 2177 I cm : Welcome to Android 6.0.1 / CyanogenMod-13.0-20160809-UNOFFICIAL-n7100
08-17 09:46:40.720 2123 2123 I perfprofd: random seed set to 1438291486
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:46:40.724 2072 2072 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:46:40.738 2094 2094 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.765 2109 2109 W linker : /system/bin/gpsd has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.833 2109 2109 W linker : /system/lib/libsec-ril.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:40.892 2072 2072 E : Device driver API match
08-17 09:46:40.892 2072 2072 E : Device driver API version: 29
08-17 09:46:40.892 2072 2072 E : User space API version: 29
08-17 09:46:40.892 2072 2072 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:40.911 2072 2072 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:46:40.911 2072 2072 I gralloc : using (fd=14)
08-17 09:46:40.911 2072 2072 I gralloc : id = s3cfb
08-17 09:46:40.911 2072 2072 I gralloc : xres = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres = 1280 px
08-17 09:46:40.911 2072 2072 I gralloc : xres_virtual = 720 px
08-17 09:46:40.911 2072 2072 I gralloc : yres_virtual = 2560 px
08-17 09:46:40.911 2072 2072 I gralloc : bpp = 32
08-17 09:46:40.911 2072 2072 I gralloc : r = 16:8
08-17 09:46:40.911 2072 2072 I gralloc : g = 8:8
08-17 09:46:40.911 2072 2072 I gralloc : b = 0:8
08-17 09:46:40.911 2072 2072 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:46:40.911 2072 2072 I gralloc : refresh rate = 58.00 Hz
08-17 09:46:40.925 2109 2109 I libdmitry: Nexus 10 GPS interposition library loaded. Your GPS should work in M now.
[COLOR="Red"][B]08-17 09:46:40.956 2072 2072 E HAL : load: module=/system/lib/hw/hwcomposer.default.so
08-17 09:46:40.956 2072 2072 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:46:40.956 2072 2072 E SurfaceFlinger: hwcomposer module not found
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGL information:[/B][/COLOR]
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: vendor : Android
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: version : 1.4 Android META-EGL
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap 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_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: Client API: OpenGL_ES
08-17 09:46:40.956 2072 2072 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x60000014
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: OpenGL ES informations:
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: vendor : ARM
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: renderer : Mali-400 MP
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: version : OpenGL ES 2.0
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 4096
08-17 09:46:40.959 2072 2072 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 4096
08-17 09:46:40.959 2072 2072 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:40.963 2072 2072 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x41434df0
08-17 09:46:41.025 2072 2072 D SurfaceFlinger: SF. shader cache generated - 26 shaders in 58.574417 ms
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: connect(fd11, ...) failed with errno = 111(Connection refused)
08-17 09:46:41.042 2109 2255 D gpsd : LogJava: Couldn't connect to Logging service 127.0.0.1:6477. Waiting for server...
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperOpenClient_RILD
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterRequestCompleteHandler
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterUnsolicitedHandler id(12009), handler(0x40070bfd)
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperRegisterErrorCallback
08-17 09:46:41.060 2109 2109 D wrapperGPS: wrapperConnect_RILD
08-17 09:46:41.173 2295 2295 I sysinit : Running /system/etc/init.d/90userinit
08-17 09:46:41.221 2311 2311 I sysinit : Running /system/etc/init.d/98netflix
08-17 09:46:41.332 2239 2335 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:41.337 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:41.365 2239 2335 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:46:41.393 2239 2335 E : Device driver API match
08-17 09:46:41.393 2239 2335 E : Device driver API version: 29
08-17 09:46:41.393 2239 2335 E : User space API version: 29
08-17 09:46:41.393 2239 2335 E : mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
08-17 09:46:41.396 2239 2335 E cutils-trace: Error opening trace file: No such file or directory (2)
08-17 09:46:41.444 2239 2335 W BootAnimation: Unable to cache the animation
08-17 09:46:41.445 2239 2335 E BootAnimation: couldn't find audio_conf.txt
And now a boot with my r6p0 kernel:
Code:
08-17 09:39:51.241 2720 2720 I SurfaceFlinger: SurfaceFlinger is starting
08-17 09:39:51.252 2720 2720 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
08-17 09:39:51.256 2720 2720 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:39:51.261 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:39:51.291 2720 2720 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
08-17 09:39:51.310 1988 1988 W auditd : type=1325 audit(0.0:135): table=filter family=2 entries=11
08-17 09:39:51.328 2720 2720 W libEGL : eglInitialize(0x1) failed (EGL_BAD_ALLOC)
08-17 09:39:51.340 2720 2720 D gralloc : int init_frame_buffer_locked(private_module_t*) Initializing framebuffer
08-17 09:39:51.340 2720 2720 I gralloc : using (fd=12)
08-17 09:39:51.340 2720 2720 I gralloc : id = s3cfb
08-17 09:39:51.340 2720 2720 I gralloc : xres = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres = 1280 px
08-17 09:39:51.340 2720 2720 I gralloc : xres_virtual = 720 px
08-17 09:39:51.340 2720 2720 I gralloc : yres_virtual = 2560 px
08-17 09:39:51.340 2720 2720 I gralloc : bpp = 32
08-17 09:39:51.340 2720 2720 I gralloc : r = 16:8
08-17 09:39:51.340 2720 2720 I gralloc : g = 8:8
08-17 09:39:51.340 2720 2720 I gralloc : b = 0:8
08-17 09:39:51.340 2720 2720 I gralloc : width = 69 mm (265.043488 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : height = 123 mm (264.325195 dpi)
08-17 09:39:51.340 2720 2720 I gralloc : refresh rate = 58.00 Hz
[COLOR="red"][B]08-17 09:39:51.352 2720 2720 E HAL : load: module=/system/lib/hw/hwcomposer.exynos4.so
08-17 09:39:51.352 2720 2720 E HAL : dlopen failed: library "libhdmiclient.so" not found
08-17 09:39:51.352 2720 2720 E SurfaceFlinger: hwcomposer module not found
08-17 09:39:51.354 2720 2720 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
08-17 09:39:51.354 2720 2720 F SurfaceFlinger: no suitable EGLConfig found, giving up[/B][/COLOR]
08-17 09:39:51.354 2720 2720 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2720 (surfaceflinger)
08-17 09:39:51.355 2089 2089 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
08-17 09:39:51.355 2089 2089 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
08-17 09:39:51.456 2089 2089 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-17 09:39:51.456 2089 2089 F DEBUG : CM Version: '13.0-20160809-UNOFFICIAL-n7100'
08-17 09:39:51.456 2089 2089 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
08-17 09:39:51.456 2089 2089 F DEBUG : Revision: '0'
08-17 09:39:51.456 2089 2089 F DEBUG : ABI: 'arm'
08-17 09:39:51.456 2089 2089 F DEBUG : pid: 2720, tid: 2720, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
08-17 09:39:51.456 2089 2089 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[COLOR="red"][B]08-17 09:39:51.467 2089 2089 F DEBUG : Abort message: 'no suitable EGLConfig found, giving up'[/B][/COLOR]
08-17 09:39:51.467 2089 2089 F DEBUG : r0 00000000 r1 00000aa0 r2 00000006 r3 40146b8c
08-17 09:39:51.467 2089 2089 F DEBUG : r4 40146b94 r5 40146b44 r6 00000000 r7 0000010c
08-17 09:39:51.467 2089 2089 F DEBUG : r8 00000000 r9 ffff6372 sl 00000000 fp 00000001
08-17 09:39:51.467 2089 2089 F DEBUG : ip 00000006 sp beff14b8 lr 401957a9 pc 40197ba4 cpsr 400f0010
08-17 09:39:51.478 2089 2089 F DEBUG :
08-17 09:39:51.478 2089 2089 F DEBUG : backtrace:
08-17 09:39:51.478 2089 2089 F DEBUG : #00 pc 00044ba4 /system/lib/libc.so (tgkill+12)
08-17 09:39:51.478 2089 2089 F DEBUG : #01 pc 000427a5 /system/lib/libc.so (pthread_kill+32)
08-17 09:39:51.478 2089 2089 F DEBUG : #02 pc 0001ba2f /system/lib/libc.so (raise+10)
08-17 09:39:51.478 2089 2089 F DEBUG : #03 pc 00018bd1 /system/lib/libc.so (__libc_android_abort+34)
08-17 09:39:51.478 2089 2089 F DEBUG : #04 pc 000167f0 /system/lib/libc.so (abort+4)
08-17 09:39:51.478 2089 2089 F DEBUG : #05 pc 000090ab /system/lib/libcutils.so (__android_log_assert+86)
08-17 09:39:51.478 2089 2089 F DEBUG : #06 pc 0002b495 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #07 pc 0002b095 /system/lib/libsurfaceflinger.so
08-17 09:39:51.478 2089 2089 F DEBUG : #08 pc 0001adcd /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+240)
08-17 09:39:51.478 2089 2089 F DEBUG : #09 pc 00000ecb /system/bin/surfaceflinger
08-17 09:39:51.478 2089 2089 F DEBUG : #10 pc 0001669d /system/lib/libc.so (__libc_init+44)
08-17 09:39:51.478 2089 2089 F DEBUG : #11 pc 00000d90 /system/bin/surfaceflinger
08-17 09:39:51.475 1988 1988 W auditd : type=1325 audit(0.0:141): table=filter family=2 entries=8
08-17 09:39:51.475 2757 2757 W iptables: type=1300 audit(0.0:141): arch=40000028 syscall=294 per=800008 success=yes exit=0 a0=4 a1=0 a2=40 a3=40829920 items=0 ppid=2719 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 exe="/system/bin/iptables" subj=u:r:netd:s0 key=(null)
08-17 09:39:51.787 2089 2089 F DEBUG :
08-17 09:39:51.787 2089 2089 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
08-17 09:39:55.942 2797 2797 I Netd : Netd 1.0 starting
08-17 09:39:55.943 2797 2797 I QtiConnectivityAdapter: Failed to open libconnctrl, some features may not be present.
08-17 09:39:55.943 2797 2797 D TetherController: Setting IP forward enable = 0
08-17 09:39:56.002 2798 2798 I SurfaceFlinger: SurfaceFlinger is starting
The error comes from here:
Code:
EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) {
status_t err;
EGLConfig config;
// First try to get an ES2 config
err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
if (err != NO_ERROR) {
// If ES2 fails, try ES1
err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
if (err != NO_ERROR) {
// still didn't work, probably because we're on the emulator...
// try a simplified query
ALOGW("no suitable EGLConfig found, trying a simpler query");
err = selectEGLConfig(display, format, 0, &config);
if (err != NO_ERROR) {
// this EGL is too lame for android
LOG_ALWAYS_FATAL("[COLOR="Red"]no suitable EGLConfig found, giving up[/COLOR]");
}
}
}
There are no pb with hwcomposer. It seems that it lakes a part of EGL informations.
Maybe this in frameworks/native/opengl/libagl/egl.cpp:
Code:
/* 32-bit BGRA */
static config_pair_t const config_8_attribute_list[] = {
{ EGL_BUFFER_SIZE, 32 },
{ EGL_ALPHA_SIZE, 8 },
{ EGL_BLUE_SIZE, 8 },
{ EGL_GREEN_SIZE, 8 },
{ EGL_RED_SIZE, 8 },
{ EGL_DEPTH_SIZE, 0 },
{ EGL_CONFIG_ID, 2 },
{ EGL_NATIVE_VISUAL_ID, GGL_PIXEL_FORMAT_BGRA_8888 },
{ EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT|EGL_PIXMAP_BIT },
};
Bizcuite
Click to expand...
Click to collapse
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.

Alexander_the_B0ss said:
Code:
08-17 09:46:40.789 2072 2072 D libEGL : loaded /system/lib/egl/libEGL_mali.so
08-17 09:46:40.831 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv1_CM_mali.so
08-17 09:46:40.860 2072 2072 D libEGL : loaded /system/lib/egl/libGLESv2_mali.so
These are specific for the r3p2 version of the device. You HAVE to build a new ROM that contains the Kernel with r6p0 version for everything to fit properly. Trust me.
Click to expand...
Click to collapse
I made ATM (compilation in progress) my own ROM with the new kernel, i haven't wait you to do it
But i don't understand why it's necessary for you to compile the OS with the kernel? (where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
By experience, when i had to build ROM for Archos gen 8, kernel is not necessary to have a working build (it was compile as an external kernel).
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain....
I compile the kernel by linaro toolchain to save time.
Bizcuite

bizcuite said:
I made ATM (compilation in progress) my own ROM with the new kernel, i haven't wait you to do it
But i don't understand why it's necessary for you to compile the OS with the kernel? (where are the relations with the Android code and the kernel?) For me, kernel files are not used to compile gralloc/hwcomposer/others graphics libs.
Kernel can be compiled by internal CM/AOSP toolchain or independant toolchain....
I compile the kernel by linaro toolchain to save time.
Bizcuite
Click to expand...
Click to collapse
That is because, especially if you are upgrading the driver version, the graphics files (gralloc, hwcomposer, OpenGL) only know the "old" revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the ROM doesn't know what to do and simply abandons trying. Try to read the logcat and you'll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android

Alexander_the_B0ss said:
That is because, especially if you are upgrading the driver version, the graphics files (gralloc, hwcomposer, OpenGL) only know the "old" revision of the driver, i.e. r3p2. With the newer version, r6p0, many things have changed, so the graphics part of the ROM doesn't know what to do and simply abandons trying. Try to read the logcat and you'll see what I mean by it. It also needs to build a new EGLConfig for the ROM to work with.
Code:
08-16 11:58:38.216 3239 3239 F SurfaceFlinger: no suitable EGLConfig found, giving up
Code:
// this EGL is too lame for android
Click to expand...
Click to collapse
A new ROM with r6p0 kernel include has been terminated yesterday (applications update at start has changed, it's beautiful lol).
Same error with surfaceflinger and the Hack doesn't worked for us.
Nothing has changed!! (same logcat)
I recompile with a newer version of gralloc (i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
(Back)Port driver PVR is more easily!!!
Bizcuite

bizcuite said:
A new ROM with r6p0 kernel include has been terminated yesterday (applications update at start has changed, it's beautiful lol).
Same error with surfaceflinger and the Hack doesn't worked for us.
Nothing has changed!! (same logcat)
I recompile with a newer version of gralloc (i build it ATM) and will try to see evolutions in the logcat.
sources of gralloc:
HTML:
http://malideveloper.arm.com/resources/drivers/open-source-mali-gpus-android-gralloc-module/
and choose 13 january 2015 version
(Back)Port driver PVR is more easily!!!
Bizcuite
Click to expand...
Click to collapse
Now it should work. If the gralloc accepts the r6p0 drivers we're in business.

Alexander_the_B0ss said:
Now it should work. If the gralloc accepts the r6p0 drivers we're in business.
Click to expand...
Click to collapse
It doesn't worked because the drivers ils not loaded correctly. /dev/mali is not created, UMP driver yes. There are ni crash from the kernel :/
I work on kernel before....
I have included too the new UMP HAL(with the new gralloc) into n7100 device folder.
I will inform you about any progression...
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app

bizcuite said:
Hi guys,
Anyone has tried to switch r3p2 mali driver to r6p0 version?
I try to port it atm, kernel boot, but driver is not load correctly.
If you want try you can take kernel exynos from Google repo. And port mali_osk_locks.c files from r3p2 driver. I will push my first try (which boot) on my github un few times.
This is the base of driver that i use:
https://android.googlesource.com/ke...3.10-marshmallow-mr1-wear-release/drivers/gpu
My github:
https://github.com/bizcuite/android_kernel_samsung_smdk4412/tree/r6p0_v1
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Work on void kernel

xress7 said:
Work on void kernel
Click to expand...
Click to collapse
I have rebase all my work and use drivers (kernel/gralloc/UMP) from Mali website (not pushed in git) but i put this project in stand by, because i compile (with success but doesn't boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app

bizcuite said:
I have rebase all my work and use drivers (kernel/gralloc/UMP) from Mali website (not pushed in git) but i put this project in stand by, because i compile (with success but doesn't boot) staging/cm14 atm.
Bizcuite
Sent from my GT-N7100 using XDA-Developers mobile app
Click to expand...
Click to collapse
Ok you try commit him new version mali

Hey it grivers but games?
Note2 rooms 4.4.4 suport?

DRAMER16 said:
Hey it grivers but games?
Note2 rooms 4.4.4 suport?
Click to expand...
Click to collapse
The driver is link to the rom (by libraries used) it will be never compatible with another roms, only roms build with news librairies.
The driver doesn't worked and i don't worked on it ATM.
Bizcuite

Related

[SOLVED] [32A] Help with hybrid stock 32A kernel - Google ION 1.6 ROM

I've created a hybrid ROM of my stock 32A (extracted from phone) kernel and the Google ION 1.6 update
Everything works (ie. market, calls, wlan, bluetooth (turns on), data, sound, recording sound, playing music, accelerometer, etc.) except for the camera/camcorder. Here is some log output when starting the Camera app:
Code:
...
(t=0x41504e4d l=40)
D/CameraService( 36): CameraService::connect E (pid 332, client 0x22e78)
D/CameraService( 36): Client::Client E (pid 332)
D/QualcommCameraHardware( 36): createInstance: E
E/QualcommCameraHardware( 36): startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=1072, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=1128, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=1200, Bad file number
D/QualcommCameraHardware( 36): createInstance: X created hardware=0x201b8
D/CameraService( 36): Client::Client X (pid 332)
D/CameraService( 36): CameraService::connect X
D/Camera ( 332): app passed NULL surface
D/CameraService( 36): setPreviewDisplay(0x0) (pid 332)
D/CameraService( 36): getParameters(antibanding=off;antibanding-
...
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=21, length=4, rc=-1, ctrlCmd.status=11664, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=15, length=4, rc=-1, ctrlCmd.status=12224, Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=14, length=4, rc=-1, ctrlCmd.status=12000, Bad file number
V/camera ( 332): startPreview
D/CameraService( 36): startPreview (pid 332)
D/CameraService( 36): startCameraMode(0) (pid 332)
D/CameraService( 36): mSurface is not set yet.
D/CameraService( 36): startPreviewMode (pid 332)
I/QualcommCameraHardware( 36): initPreview E: preview size=384x288
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): ioctl error. camfd=-1, type=1, length=28, rc=-1, ctrlCmd.status=9135, Bad file number
E/QualcommCameraHardware( 36): startPreview X initPreview failed. Not starting preview.
D/CameraService( 36): stopPreview (pid 332)
D/CameraService( 36): stopPreview(), hardware stopped OK
D/Camera-JNI( 332): release camera
D/CameraService( 36): Client::disconnect() E (pid 332 client 0x22e78)
D/CameraService( 36): hardware teardown
D/QualcommCameraHardware( 36): release E
E/QualcommCameraHardware( 36): ioctl CAMERA_EXIT fd -1 error Bad file number
E/QualcommCameraHardware( 36): config_thread exit failure: Bad file number
D/QualcommCameraHardware( 36): release X
D/QualcommCameraHardware( 36): ~QualcommCameraHardware E
D/QualcommCameraHardware( 36): ~QualcommCameraHardware X
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
E/QualcommCameraHardware( 36): register_buf: MSM_CAM_IOCTL_(UN)REGISTER_PMEM fd -1 error Bad file number
D/CameraService( 36): removeClient (pid 332) done
D/CameraService( 36): Client::disconnect() X (pid 332)
W/dalvikvm( 332): threadid=13: thread exiting with uncaught exception (group=0x4001da20)
E/AndroidRuntime( 332): Uncaught handler: thread Thread-7 exiting due to uncaught exception
E/AndroidRuntime( 332): java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1360)
E/AndroidRuntime( 332): at com.android.camera.Camera.access$4000(Camera.java:78)
E/AndroidRuntime( 332): at com.android.camera.Camera$3.run(Camera.java:724)
E/AndroidRuntime( 332): at java.lang.Thread.run(Thread.java:1060)
E/AndroidRuntime( 332): Caused by: java.lang.RuntimeException: startPreview failed
E/AndroidRuntime( 332): at android.hardware.Camera.startPreview(Native Method)
E/AndroidRuntime( 332): at com.android.camera.Camera.startPreview(Camera.java:1357)
E/AndroidRuntime( 332): ... 3 more
D/CameraService( 36): Client::~Client E (pid 36, client 0x22e78)
D/CameraService( 36): Client::disconnect() E (pid 36 client 0x22e78)
D/CameraService( 36): Client::~Client X (pid 36)
I/Process ( 59): Sending signal. PID: 332 SIG: 3
I/dalvikvm( 332): threadid=7: reacting to signal 3
I/dalvikvm( 332): Wrote stack trace to '/data/anr/traces.txt'
I/DumpStateReceiver( 59): Added state dump to 1 crashes
I/Process ( 332): Sending signal. PID: 332 SIG: 9
I/ActivityManager( 59): Process com.android.camera (pid 332) has died.
I think the key bit there is 'startCamera X: /dev/msm_camera/control0 open failed: No such file or directory!'
After that, you can see successive ioctl 'Bad file number' errors.
I have a workaround by copying /system/lib/libcamera.so and /system/lib/libqcamera.so from the original, stock image of my phone. This results in a working camera. However, the camcorder can't record video. When pressing record, it freezes. No force close. Can BACK out of the app. Here's the log when that happens. As you can see, mediaserver pukes:
Code:
...
I/ActivityManager( 60): Displayed activity com.android.camera/.VideoCamera: 1260 ms (total 1260 ms)
V/videocamera( 354): initializeRecorder
V/videocamera( 354): Releasing media recorder.
D/CameraService( 495): Client::connect E (pid 495, client 0x373fc)
D/CameraService( 495): Connect to the new client (pid 495, client 0x373fc)
V/videocamera( 354): Current camera video filename: /sdcard/DCIM/Camera/video-2009-12-29-22-22-37.3gp
I/MediaRecorderJNI( 354): prepare: surface=0x1ba9a8 (id=1)
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
I/OMXVenc ( 495): component_init::292 Initializing component OMX.qcom.video.encoder.h263
E/OMXVenc ( 495): get_parameter::922 unsupported index 267887431
E/OMXVenc ( 495): get_parameter::899 unsupported index 117440523
E/OMXVenc ( 495): set_parameter::1099 unsupported index in set_parameter 117440523
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663301
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663301
E/OMXVenc ( 495): get_parameter::922 unsupported index 100663302
E/OMXVenc ( 495): set_parameter::1142 unsupported index 100663302
I/OMXVenc ( 495): send_command::690 attempt to move to new state 2
E/OMXVenc ( 495): Setting OMX_Video_ControlRateVariable
I/VENC_DRV( 495): venc_drv_malloc::1155 /dev/pmem_adsp
I/VENC_DRV( 495): venc_drv_malloc::1183 phys lookup success virt=0x40e64000 -- FD=21 -- size - 524288
D/CameraService( 495): setPreviewDisplay(0x37800) (pid 495)
D/CameraInput( 495): Intended mFrameWidth=176, mFrameHeight=144
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
V/QualcommCameraHardware( 495): setParameters: E params = 0x40c63cf8
V/QualcommCameraHardware( 495): requested size 176 x 144
V/QualcommCameraHardware( 495): actual size 176 x 144
V/QualcommCameraHardware( 495): initCameraParameters: E
V/QualcommCameraHardware( 495): camera hardware has been started already
V/QualcommCameraHardware( 495): initCameraParameters: set parm: CAMERA_PARM_PREVIEW_MODE, 0
V/QualcommCameraHardware( 495): Setting Zoom is 0
I/QualcommCameraHardware( 495): setting thumbnail dimensions to 512x384, quality 30
E/QualcommCameraHardware( 495): LINK_camera_set_thumbnail_properties returned 2
V/QualcommCameraHardware( 495): Setting JPEG-image quality to 100
V/QualcommCameraHardware( 495): initCameraParameters: X
V/QualcommCameraHardware( 495): setParameters: X mCameraState=3
V/QualcommCameraHardware( 495): getParameters: EX
D/CameraService( 495): getParameters(antibanding=auto;antibanding-
...
D/CameraInput( 495): Actual mFrameWidth=176, mFrameHeight=144
D/CameraService( 495): startPreview (pid 495)
D/CameraService( 495): startCameraMode(0) (pid 495)
D/CameraService( 495): startPreviewMode (pid 495)
E/MetadataDriver( 495): isCommandSuccessful: Command id(0 and expected 0) and status (-4 and expected 1), data corruption (false) at state (1).
E/MetadataDriver( 495): isCommandSuccessful: Command id(1 and expected 1) and status (-14 and expected 1), data corruption (false) at state (5).
D/dalvikvm( 60): GC freed 8852 objects / 389392 bytes in 235ms
V/videocamera( 354): startVideoRecording
I/OMXVenc ( 495): send_command::690 attempt to move to new state 3
I/VENC_DRV( 495): venc_drv_open::283 TE version = 1
D/CameraService( 495): startRecording (pid 495)
D/CameraService( 495): startCameraMode(1) (pid 495)
D/CameraService( 495): startRecordingMode (pid 495)
V/QualcommCameraHardware( 495): startPreview E
E/QualcommCameraHardware( 495): startPreview is already in progress, doing nothing.
D/AudioHardwareMSM72XX( 495): audpre_index = 0, tx_iir_index = 0
D/HTC Acoustic( 495): msm72xx_enable_audpre: 0x0000
W/AudioFlinger( 495): write blocked for 66 msecs
I/DEBUG ( 494): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 494): Build fingerprint: 'rogers/htc_magic/sapphire/sapphire:1.5/2.17.631.2/42949:user'
I/DEBUG ( 494): pid: 495, tid: 519 >>> /system/bin/mediaserver <<<
I/DEBUG ( 494): signal 11 (SIGSEGV), fault addr 10000014
I/DEBUG ( 494): r0 00000000 r1 00000001 r2 10000014 r3 ffff0fff
I/DEBUG ( 494): r4 00000000 r5 10000014 r6 a9c8c048 r7 4080bcb4
I/DEBUG ( 494): r8 4070be38 r9 afe39dd4 10 a949bec1 fp 00000001
I/DEBUG ( 494): ip a9d4bcdc sp 4080bc58 lr afe0d46c pc ffff0fc0 cpsr 00000010
I/DEBUG ( 494): #00 pc ffff0fc0
I/DEBUG ( 494): #01 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #02 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #03 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #04 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #05 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #06 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #07 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #08 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #09 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #10 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #11 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #12 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #13 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #14 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #15 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #16 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #17 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #18 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #19 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #20 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #21 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #22 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #23 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #24 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #25 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #26 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #27 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #28 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #29 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #30 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): #31 pc 0000d468 /system/lib/libc.so
I/DEBUG ( 494): stack:
I/DEBUG ( 494): 4080bc18 3fc971ba
I/DEBUG ( 494): 4080bc1c 00000000
I/DEBUG ( 494): 4080bc20 00000000
I/DEBUG ( 494): 4080bc24 00000000
I/DEBUG ( 494): 4080bc28 00000000
I/DEBUG ( 494): 4080bc2c 00000000
I/DEBUG ( 494): 4080bc30 00000000
I/DEBUG ( 494): 4080bc34 00000000
I/DEBUG ( 494): 4080bc38 00000000
I/DEBUG ( 494): 4080bc3c 00000000
I/DEBUG ( 494): 4080bc40 00000001
I/DEBUG ( 494): 4080bc44 00000000
I/DEBUG ( 494): 4080bc48 00000002
I/DEBUG ( 494): 4080bc4c 00000000
I/DEBUG ( 494): 4080bc50 df002777
I/DEBUG ( 494): 4080bc54 e3a070ad
I/DEBUG ( 494): #01 4080bc58 00000000
I/DEBUG ( 494): 4080bc5c a9d398a7 /system/lib/libutils.so
W/AudioRecord( 495): obtainBuffer timed out (is the CPU pegged?) user=00005000, server=00005400
W/AudioRecord( 495): *** SERIOUS WARNING *** obtainBuffer() timed out but didn't need to be locked. We recovered, but this shouldn't happen (user=00005000, server=00005400)
W/AudioSystem( 354): AudioFlinger server died!
I/ServiceManager( 31): service 'media.audio_flinger' died
W/MediaMetadataRetriever( 354): MediaMetadataRetriever server died!
I/ServiceManager( 31): service 'media.player' died
W/Camera ( 354): ICamera died
I/ServiceManager( 31): service 'media.camera' died
W/AudioSystem( 60): AudioFlinger server died!
E/Camera ( 354): Error 100
I/DEBUG ( 494): debuggerd committing suicide to free the zombie!
I/DEBUG ( 531): debuggerd: Sep 21 2009 14:37:06
W/Camera ( 354): Camera server died!
The key bit there can be found by searching for 'SIGSEGV'
Any help on how to fix this would be appreciated! I'd like to fix this 'the right way' (ie. do not want to copy old cupcake camera app, etc.) Also, not against re-compiling the kernel, if that's what it takes.
Thanks!
Guess fix:
Compile a kernel for 32A with source from:
http://android.git.kernel.org/?p=kernel/msm.git;a=shortlog;h=refs/heads/android-msm-2.6.29-donut
It has the source for msm_camera, whereas the source from HTC does not.
Sound right?
fastboot'd the new kernel and everything appears to be working now. Just need to compile wlan.ko and I'm done!

[Q] Sensation camera problem after update

I just bought a new sensation a few days ago. I was very happy when i got the message that an update to 1.45.707.1 was available. I installed the update and that is when the problem started. Whenever I to launch any camera related application I just end up at a black screen that can only be navigated away from by pressing the home button. I have been searching the forums for the past two days and have found nothing. I have tried everything that i thought would fix the problem. Soft Resets, Factory Resets, Running the 1.35.707.1 RUU and still the problem remains. Could someone please help me so that i can begin using this amazing phone.
Camera Problem after update
Fareedeffan said:
I just bought a new sensation a few days ago. I was very happy when i got the message that an update to 1.45.707.1 was available. I installed the update and that is when the problem started. Whenever I to launch any camera related application I just end up at a black screen that can only be navigated away from by pressing the home button. I have been searching the forums for the past two days and have found nothing. I have tried everything that i thought would fix the problem. Soft Resets, Factory Resets, Running the 1.35.707.1 RUU and still the problem remains. Could someone please help me so that i can begin using this amazing phone.
Click to expand...
Click to collapse
I do have a same problem after updating it's pain did any one find a solution for this problem
have you guys tried clearing the cache? If that doesnt work, try http://forum.xda-developers.com/showthread.php?t=1533238
Camera Problem after update
yes i tray everything i will tray your solution today
---------- Post added at 06:50 PM ---------- Previous post was at 06:27 PM ----------
i tray it doesn't work
m_srayi said:
yes i tray everything i will tray your solution today
---------- Post added at 06:50 PM ---------- Previous post was at 06:27 PM ----------
i tray it doesn't work
Click to expand...
Click to collapse
If everything is stock return your phone to HTC.
And try is spelt t-r-y, tray is something you carry food on.
the official ics update came out now? how is it?
I have the same problem - I think... I have tried to debug the problem but I pretty quickly end with the following SIGSEGV... along with a stackdump..
Some comments:
I use virtuous_inquisition-v4.0.2
The errors occurs right after a failed MSM_CAM_IOCTL_RELEASE_PIC_BUFFER
As far as I can see the problem started around 16/4 (I have a picture from this date), but I have not installed anything new around this time.
I run with the phone and it can get a little moist, but not wet.
Model: HTC Sensation Z710e
Baseband: 11.68.3504.00U_11.21.3504.13_2
Kernel: 3.0.16-v1.4.1 SebastiaFM #1
OpenADSP: v2.6.0.2226.00.0104
I have had to break up my log in two sections, as it was otherwise too large and I could not find a way to reduce it - as I don't know what is the basic problem here
First Part:
Code:
05-07 00:27:41.708: W/HTCCamera(12390): onCreate()
05-07 00:27:41.718: D/OpenGLRenderer(429): Flushing caches (mode 1)
05-07 00:27:41.748: D/OpenGLRenderer(429): Flushing caches (mode 0)
05-07 00:27:41.758: W/IntentManager(12390): from class: com.android.camera.CameraEntry
05-07 00:27:41.758: W/IntentManager(12390): mRequestMode = RequestMode.Main, from Camera
05-07 00:27:41.758: W/IntentManager(12390): request name = null - RequestName.Unknown_General
05-07 00:27:41.758: W/IntentManager(12390): extras == null
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.EffectManager(Effect Manager)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.ThumbnailController(Thumbnail Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.PanoramaController(Panorama Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.HdrController(HDR Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.BurstController(Burst Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.HandShakeController(Handshake Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.ColorEffectController(Color Effect Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.GpuEffectController(GPU Effect Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.SceneController(Scene Controller)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.ThumbnailUI(Thumbnail UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.PanoramaUI(Panorama UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.HdrUI(HDR UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.BurstUI(Burst UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.HandShakeUI(Handshake UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.ZoomBar(Zoom Bar)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.RemovableStorageWatcher(Removable Storage Watcher)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.MediaScannerWatcher(Media Scanner Watcher)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.NewMediaBroadcaster(New Media Broadcaster)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.BatteryWatcher(Battery Watcher)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.EffectPanelUI(Effect Panel)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.effect.EffectControlUI(Effect Control UI)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.IndicatorsUI(Indicators)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.SelfTimerUI(Self Timer)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.RecordingTimerUI(Recording Timer)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.component.AutoBacklightIntentSender(AutoBacklightIntentSender)
05-07 00:27:41.778: D/ComponentManager(12390): Adding component com.android.camera.actionscreen.CommonActionScreen(Common Action Screen)
05-07 00:27:41.778: W/HTCCamera(12390): onStart() - start
05-07 00:27:41.778: W/HTCCamera(12390): onStart() - end
05-07 00:27:41.788: W/HTCCamera(12390): onResume() - start
05-07 00:27:41.788: W/HTCCamera(12390): !!!! @@@@ broadcastStopVoiceRecording() - start
05-07 00:27:41.798: W/HTCCamera(12390): !!!! @@@@ broadcastStopVoiceRecording() - end
05-07 00:27:41.798: D/SensorManager(12390): [SensorManager] registerListener: delay = 200000
05-07 00:27:41.798: D/SensorService(240): enable: get sensor name = MPL accel
05-07 00:27:41.798: D/SensorService(240): SensorDevice::activate--: handle = 0x4, enabled = 0x1
05-07 00:27:41.798: D/SensorService(240): pid=12390, uid=10006
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.effect.ColorEffectController(Color Effect Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.component.BurstController(Burst Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.component.HdrController(HDR Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.component.PanoramaController(Panorama Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.effect.SceneController(Scene Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.component.ThumbnailController(Thumbnail Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.component.HandShakeController(Handshake Controller)
05-07 00:27:41.798: D/ComponentManager(12390): Initializing component com.android.camera.effect.GpuEffectController(GPU Effect Controller)
05-07 00:27:41.798: W/HTCCamera(12390): OnResume - reset UI, immediately set mMainLayout invisible
05-07 00:27:41.798: W/HTCCamera(12390): Block Capture UI - onResume(), and unblock after start preview
05-07 00:27:41.798: W/HTCCamera(12390): onResume() - mFocusingState = NO_FOCUSING
05-07 00:27:41.798: W/HTCCamera(12390): keyguard is not shown !!!!!
05-07 00:27:41.798: W/HTCCamera(12390): OnResume - set mWaitResetSettings to true
05-07 00:27:41.798: W/HTCCamera(12390): onResume() - end
05-07 00:27:41.809: D/EventManager(12390): Event 'CameraActivity.CameraThreadRunning' is raising
05-07 00:27:41.809: D/EventManager(12390): Event 'CameraActivity.CameraThreadRunning' is raised
05-07 00:27:41.829: D/MP-Decision(623): UP Nw:2.700000 Tw:180 rq:4.000000 seq:199
05-07 00:27:41.839: W/HTCCamera(12390): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated [email protected]
05-07 00:27:41.839: W/HTCCamera(12390): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceCreated $$$$$$$$$$$$$$$$$$$$$$$$$$$ start preview
05-07 00:27:41.839: W/HTCCamera(12390): $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ surfaceChanged $$$$$$$$$$$$$$$$$$$$$$$$$$$ w=540 h=960
05-07 00:27:41.839: W/CameraThread(12390): CameraHandler Message - START_PREVIEW start mode0
05-07 00:27:41.849: D/CameraService(12625): CameraService::connect E (pid 12390, id 0)
05-07 00:27:41.849: I/CameraService(12625): cameraId:0
05-07 00:27:41.849: I/CameraService(12625): 2D mode only
05-07 00:27:41.849: I/CameraService(12625): Opening camera 0
05-07 00:27:41.849: I/QualcommCameraHardwareZSL(12625): openCameraHardware: call createInstance cameraId 0
05-07 00:27:41.849: I/QualcommCameraHardwareZSL(12625): createInstance: E
05-07 00:27:41.859: D/memalloc(116): /dev/pmem: Allocated buffer base:0x42025000 size:2088960 offset:20242432 fd:62
05-07 00:27:41.869: D/CameraPP(12625): CameraPP::CameraPP()
05-07 00:27:41.869: D/SDO_PP(12625): SDO_PP::SDO_PP()
05-07 00:27:41.869: I/OlaEngine(12625): [Ola_Engine_Create:79] engine build info [ name ] : htc
05-07 00:27:41.869: I/OlaEngine(12625): [Ola_Engine_Create:83] engine build info [ date ] : 2011-07-28 13:07:31
05-07 00:27:41.869: I/OlaEngine(12625): [Ola_Engine_Create:87] engine build info [ version ] : __bulid_revision_223__
05-07 00:27:41.869: D/CameraFace_OLA(12625): create OlaEngine
05-07 00:27:41.869: I/FD(12625): [Ola_FaceDetector_Create:135] create num : 1
05-07 00:27:41.869: D/CameraFace_OLA(12625): create Ola FD
05-07 00:27:41.869: V/Olaworks(12625): [Ola_BeautyShotEngine_Create] prr(0x015ecb50)
05-07 00:27:41.869: D/CameraFace_OLA(12625): create Ola BS
05-07 00:27:41.879: D/CameraFace_OLA(12625): create Ola SD
05-07 00:27:41.879: D/CameraFace_OLA(12625): create Ola BD
05-07 00:27:41.879: D/CameraFace(12625): alloc face_t 0x166b700 num 10
05-07 00:27:41.879: I/QualcommCameraHardwareZSL(12625): QualcommCameraHardware constructor E
05-07 00:27:41.889: D/memalloc(12390): /dev/pmem: Mapped buffer base:0x52d54000 size:22331392 offset:20242432 fd:72
05-07 00:27:41.899: I/QualcommCameraHardwareZSL(12625): 2D mode only
05-07 00:27:41.899: I/QualcommCameraHardwareZSL(12625): QualcommCameraHardware constructor EX
05-07 00:27:41.899: I/QualcommCameraHardwareZSL(12625): createInstance: created hardware=0x15ed248
05-07 00:27:41.899: D/QualcommCameraHardwareZSL(12625): bool android::QualcommCameraHardware::startCamera() mCurrentTarget=4
05-07 00:27:41.899: I/mm-camera(12625): set sensor selection :0
05-07 00:27:41.899: D/mm-camera(12625): mm_camera_init, open FD: 26
05-07 00:27:41.899: D/mm-camera(12625): mm_camera_init close FD: 26, dyn_device_query 1
05-07 00:27:41.899: D/mm-camera(12625): mm_camera_exec open FD: 26
05-07 00:27:41.909: D/memalloc(429): /dev/pmem: Unmapping buffer base:0x568ae000 size:14569472 offset:12480512
05-07 00:27:41.909: D/memalloc(429): /dev/pmem: Unmapping buffer base:0x576fc000 size:16658432 offset:14569472
05-07 00:27:41.909: I/ActivityManager(240): Displayed com.android.camera/.CameraEntry: +263ms
05-07 00:27:41.919: D/memalloc(429): /dev/pmem: Unmapping buffer base:0x5451f000 size:8216576 offset:6127616
05-07 00:27:41.919: D/memalloc(116): /dev/pmem: Freeing buffer base:0x42c0c000 size:2088960 offset:12480512 fd:32
05-07 00:27:41.919: D/memalloc(116): /dev/pmem: Freeing buffer base:0x425fd000 size:2088960 offset:6127616 fd:56
05-07 00:27:41.929: D/memalloc(116): /dev/pmem: Freeing buffer base:0x42e0a000 size:2088960 offset:14569472 fd:50
05-07 00:27:41.939: D/ConnectivityService(240): onUidRulesChanged(uid=10060, uidRules=0)
05-07 00:27:42.039: I/(12625): [AWB Calibration] from kernel: fuse_id: 0x0, 0x0, 0x4, 0x54d15
05-07 00:27:42.039: D/mm-camera(12625): sensor_load_chromatix: Sensor name: s5k3h1gx cnt=1
05-07 00:27:42.039: D/mm-camera(12625): sensor_load_chromatix:1789:chromatix library Name = libchromatix_s5k3h1gx_preview.so
05-07 00:27:42.039: D/mm-camera(12625): load_chromatix() : PRODUCT_PYRAMID in preview
05-07 00:27:42.039: D/mm-camera(12625): sensor_load_chromatix:1814: dlclose(libchromatix_handle) refcount 0
05-07 00:27:42.039: I/mm-camera-s5k3h1gx_u(12625): Inside s5k3h1gx_process_start
05-07 00:27:42.039: I/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_process_start: prev_res=SENSOR_FULL_SIZE
05-07 00:27:42.039: I/mm-camera(12625): [LSC Calibration]Sensor_set_mesh
05-07 00:27:42.039: I/mm-camera(12625): [LSC Calibration] : call awb_get_fuseid
05-07 00:27:42.039: I/mm-camera(12625): Sensor_set_mesh(): LSC for MAIN CAM
05-07 00:27:42.039: I/mm-camera(12625): Read /data/lsc_cal fail
05-07 00:27:42.039: I/mm-camera(12625): Read from file OK: /data/lsc_cal or /sys/android_camera_awb_cal/awb_cal
05-07 00:27:42.039: I/mm-camera(12625): [LSC Calibration]: lsc_checksum=8f411605, lsc_verify=c1b
05-07 00:27:42.039: I/mm-camera(12625): [LSC Calibration]: fuseid_1=0,fuseid_2=0,fuseid_3=4,fuseid_4=54d15, sfuse.fuse_id_word1=0,sfuse.fuse_id_word2=0,sfuse.fuse_id_word3=4,sfuse.fuse_id_word4=54d15
05-07 00:27:42.039: I/mm-camera(12625): LSC_Calibration: addr=4190867c, & addr=4190867c
05-07 00:27:42.039: I/mm-camera(12625): LSC_Calibration: addr=41909450, & addr=41909450
05-07 00:27:42.039: I/mm-camera(12625): LSC_Calibration: addr=4190a224, & addr=4190a224
05-07 00:27:42.039: I/mm-camera(12625): LSC_Calibration: addr=4190aff8, & addr=4190aff8
05-07 00:27:42.039: I/mm-camera(12625): LSC_Calibration: addr=4190bdcc, & addr=4190bdcc
05-07 00:27:42.039: I/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_process_start: [LSC Calibration] LSC is valid and set NEW mesh value
05-07 00:27:42.039: I/(12625): [AWB Calibration] fuse_id : 0x0, 0x0, 0x4, 0x54d15
05-07 00:27:42.039: I/(12625): ReadFlash() for AWB of MAIN CAM
05-07 00:27:42.039: I/(12625): [AWB Calibration] fail to read /data/awb_cal, try another file
05-07 00:27:42.049: I/(12625): [AWB Calibration] read from file OK: /sys/android_camera_awb_cal/awb_cal
05-07 00:27:42.049: I/(12625): [AWB Calibration] nandflash data: 0xc1b, 0x306, 0x28d, 0x0, 0x0, 0x4, 0x54d15, 0x3e99eb4c
05-07 00:27:42.049: I/(12625): [AWB Calibration] check sum=3e99eb4c, OK
05-07 00:27:42.049: I/(12625): [AWB Calibration] valid bit and fuseID pass, use new white points
05-07 00:27:42.049: I/(12625): [AWB Calibration] use light version: v3
05-07 00:27:42.049: I/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_register: table = 0x41903dfc
05-07 00:27:42.049: I/mm-camera-s5k3h1gx_u(12625): get snapshot size pointer:0x418be65d
05-07 00:27:42.049: D/mm-camera(12625): af_init_process_exhaustive_search sensor->af_exhaust_downhill_allowance 2, sensor->af_exhaust_fv_drop_allowance 0.750000
05-07 00:27:42.049: I/mm-camera(12625): sctrl:0x419031b0
05-07 00:27:42.049: I/mm-camera(12625): sctrl->fn_table:0x418bf659
05-07 00:27:42.049: I/mm-camera(12625): sctrl->fn_table.get_snapshot_sizes:0x418be65d
05-07 00:27:42.049: I/mm-camera-s5k3h1gx_u(12625): get table
05-07 00:27:42.049: I/mm-camera(12625): sctrl:0x419031b0
05-07 00:27:42.049: I/mm-camera(12625): sctrl->fn_table:0x418bf659
05-07 00:27:42.049: I/mm-camera(12625): sctrl->fn_table.default_sensor_get_preview_sizes_table:0x418be635
05-07 00:27:42.049: I/mm-camera-s5k3h1gx_u(12625): get table
05-07 00:27:42.049: I/mm-camera(12625): set sensor selection :0
05-07 00:27:42.059: D/QualcommCameraHardwareZSL(12625): loading libposteffect at 0xb000ffa4
05-07 00:27:42.059: I/QualcommCameraHardwareZSL(12625): initDefaultParameters E
05-07 00:27:42.059: D/mm-camera(12625): dimension.cam_mode = 0 zsl_mode = 0
05-07 00:27:42.059: D/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_u_get_preview_information s->sensor.prev_res = 1
05-07 00:27:42.059: D/mm-camera(12625): vfe_util_get_sensor_preview_info: Done sensor_get_preview_info rc=1
05-07 00:27:42.059: D/QualcommCameraHardwareZSL(12625): product 15
05-07 00:27:42.059: D/QualcommCameraHardwareZSL(12625): mPanelWidth 0 mPanelHeight 0
05-07 00:27:42.059: D/GPUPostEffect(12625): void* mlabs::GPUPostEffect::threadMain() E.
05-07 00:27:42.059: I/GEManager(12625): [GEManager] enter
05-07 00:27:42.059: D/QualcommCameraHardwareZSL(12625): Maximum zoom value is 60
05-07 00:27:42.069: D/libEGL(12625): loaded /system/lib/egl/libGLES_android.so
05-07 00:27:42.069: I/mm-camera(12625): set sensor selection :0
05-07 00:27:42.079: D/libEGL(12625): loaded /system/lib/egl/libEGL_adreno200.so
05-07 00:27:42.079: I/QualcommCameraHardwareZSL(12625): request capture mode normal
05-07 00:27:42.079: D/libEGL(12625): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
05-07 00:27:42.079: I/QualcommCameraHardwareZSL(12625): requested preview size 640 x 480
05-07 00:27:42.079: I/QualcommCameraHardwareZSL(12625): requested picture size 640 x 480, mCaptureMode 0
05-07 00:27:42.079: D/libEGL(12625): loaded /system/lib/egl/libGLESv2_adreno200.so
05-07 00:27:42.079: I/QualcommCameraHardwareZSL(12625): requested jpeg thumbnail size 512 x 384
05-07 00:27:42.079: I/QualcommCameraHardwareZSL(12625): requested jpeg quality 85
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): Set zoom=0 40
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): request burst picture count 1
05-07 00:27:42.089: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AfArea : (0,0,0,0,0)
05-07 00:27:42.089: D/GEManager(12625): [GEManager] m_eglDisplay successfully
05-07 00:27:42.089: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AecArea : (0,0,0,0,0)
05-07 00:27:42.089: D/QualcommCameraHardwareZSL(12625): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): setRecordingHint value 0 actual-camera-mode -1 cam-mode -1 recordingEnabled 0
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): requested Fps Range min: 1 x max: 200000
05-07 00:27:42.089: D/GEManager(12625): [GEManager] eglInitialize successfully
05-07 00:27:42.089: D/GEManager(12625): [GEManager] eglChooseConfig successfully
05-07 00:27:42.089: D/mm-camera(12625): config_proc_CAMERA_SET_PARM_FPS: 18
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): new brightness value : 3
05-07 00:27:42.089: I/QualcommCameraHardwareZSL(12625): requested effect 0
05-07 00:27:42.099: I/QualcommCameraHardwareZSL(12625): Setting flash 0
05-07 00:27:42.099: D/memalloc(240): /dev/pmem: Unmapping buffer base:0x57673000 size:10305536 offset:8216576
05-07 00:27:42.109: D/memalloc(116): /dev/pmem: Freeing buffer base:0x427fb000 size:2088960 offset:8216576 fd:59
05-07 00:27:42.109: D/(12625): [GECameraParameters::getGPUEffect] enter
05-07 00:27:42.109: D/(12625): [GECameraParameters::getGPUEffect] leave. no key GPU-effect
05-07 00:27:42.109: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0
05-07 00:27:42.109: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1
05-07 00:27:42.109: D/GEManager(12625): [GEManager] eglCreateContext successfully
05-07 00:27:42.109: D/GEManager(12625): [GEManager] eglCreatePbufferSurface successfully
05-07 00:27:42.119: D/GEManager(12625): [GEManager] eglMakeCurrent successfully
05-07 00:27:42.119: I/GEManager(12625): [GEManager] leave
05-07 00:27:42.119: I/GPUPostEffect(12625): int mlabs::GPUPostEffect::setParameters(mlabs::GPUPostEffect::GPUTask*): old effect = 0, new effect = -1.
05-07 00:27:42.119: D/GPUPostEffect(12625): setParameters: isGEInit == false: no call to ChooseEffect.
05-07 00:27:42.119: D/QualcommCameraHardwareZSL(12625): previewEnabled() E, mZslEnable 0
05-07 00:27:42.119: D/QualcommCameraHardwareZSL(12625): previewEnabled() X, mCameraRunning=0 mPreviewStartInProgress=0
05-07 00:27:42.119: I/QualcommCameraHardwareZSL(12625): initDefaultParameters X
05-07 00:27:42.119: I/QualcommCameraHardwareZSL(12625): createInstance: X
05-07 00:27:42.119: D/CameraService(12625): Client::Client E (pid 12390)
05-07 00:27:42.119: I/QualcommCamera(12625): void android::set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*): E
05-07 00:27:42.119: I/QualcommCamera(12625): void android::set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*): X
05-07 00:27:42.119: D/CameraService(12625): Client::Client X (pid 12390)
05-07 00:27:42.119: D/CameraService(12625): CameraService::connect X
05-07 00:27:42.119: W/CameraThread(12390): Open Camera - set mIsLastCameraClosed to false
05-07 00:27:42.129: I/QualcommCameraHardwareZSL(12625): request capture mode burst
05-07 00:27:42.129: I/QualcommCameraHardwareZSL(12625): requested preview size 640 x 480
05-07 00:27:42.129: I/QualcommCameraHardwareZSL(12625): requested picture size 640 x 480, mCaptureMode 1
05-07 00:27:42.129: I/QualcommCameraHardwareZSL(12625): requested jpeg thumbnail size 512 x 384
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): requested jpeg quality 85
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): Set zoom=0 40
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): request burst picture count 1
05-07 00:27:42.139: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AfArea : (0,0,0,0,0)
05-07 00:27:42.139: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AecArea : (0,0,0,0,0)
05-07 00:27:42.139: D/QualcommCameraHardwareZSL(12625): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): setRecordingHint value 0 actual-camera-mode 0 cam-mode -1 recordingEnabled 0
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): requested Fps Range min: 1 x max: 200000
05-07 00:27:42.139: D/mm-camera(12625): config_proc_CAMERA_SET_PARM_FPS: 18
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): requested effect 0
05-07 00:27:42.139: I/QualcommCameraHardwareZSL(12625): Setting flash 0
05-07 00:27:42.139: D/(12625): [GECameraParameters::getGPUEffect] enter
05-07 00:27:42.139: D/(12625): [GECameraParameters::getGPUEffect] leave. no key GPU-effect
05-07 00:27:42.139: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0
05-07 00:27:42.139: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1
05-07 00:27:42.149: I/GPUPostEffect(12625): int mlabs::GPUPostEffect::setParameters(mlabs::GPUPostEffect::GPUTask*): old effect = -1, new effect = -1.
05-07 00:27:42.149: D/GPUPostEffect(12625): setParameters: isGEInit == false: no call to ChooseEffect.
05-07 00:27:42.149: W/HTCCameraAdvanceSetting(12390): version: 20100727, not need to update
05-07 00:27:42.149: W/HTCCameraAdvanceSetting(12390): not reset to default and preference existed
05-07 00:27:42.149: W/CameraThread(12390): Disable touch aec !!!
05-07 00:27:42.149: W/CameraThread(12390): Start preview - disable continue AF !!!
05-07 00:27:42.149: W/CameraThread(12390): reset flashlight mode !!!
05-07 00:27:42.149: D/QualcommCameraHardwareZSL(12625): setCamMode pre_value -1 value 0
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): request capture mode burst
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested preview size 640 x 480
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested picture size 640 x 480, mCaptureMode 1
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested jpeg thumbnail size 512 x 384
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested jpeg quality 85
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): Set zoom=0 40
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): request burst picture count 1
05-07 00:27:42.159: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AfArea : (0,0,0,0,0)
05-07 00:27:42.159: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AecArea : (0,0,0,0,0)
05-07 00:27:42.159: D/QualcommCameraHardwareZSL(12625): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): setRecordingHint value 0 actual-camera-mode 0 cam-mode 0 recordingEnabled 0
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested Fps Range min: 1 x max: 200000
05-07 00:27:42.159: D/mm-camera(12625): config_proc_CAMERA_SET_PARM_FPS: 18
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): requested effect 0
05-07 00:27:42.159: I/QualcommCameraHardwareZSL(12625): Setting flash 0
05-07 00:27:42.159: D/(12625): [GECameraParameters::getGPUEffect] enter
05-07 00:27:42.159: D/(12625): [GECameraParameters::getGPUEffect] leave. no key GPU-effect
05-07 00:27:42.159: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0
05-07 00:27:42.159: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1
05-07 00:27:42.159: I/GPUPostEffect(12625): int mlabs::GPUPostEffect::setParameters(mlabs::GPUPostEffect::GPUTask*): old effect = -1, new effect = -1.
05-07 00:27:42.159: D/GPUPostEffect(12625): setParameters: isGEInit == false: no call to ChooseEffect.
05-07 00:27:42.159: W/HTCCamera(12390): reset_layout_from_surface - width: 544, height: 960
05-07 00:27:42.169: W/HTCCamera(12390): Reset layout end, set mMainLayout visible
05-07 00:27:42.169: D/memalloc(116): /dev/pmem: Allocated buffer base:0x42025000 size:2088960 offset:6127616 fd:32
05-07 00:27:42.179: D/memalloc(12390): /dev/pmem: Mapped buffer base:0x52172000 size:8216576 offset:6127616 fd:75
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): request capture mode burst
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): requested preview size 960 x 544
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): requested picture size 3264 x 1840, mCaptureMode 1
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): requested jpeg thumbnail size 512 x 384
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): requested jpeg quality 85
05-07 00:27:42.179: I/QualcommCameraHardwareZSL(12625): Set zoom=0 40
05-07 00:27:42.189: I/QualcommCameraHardwareZSL(12625): request burst picture count 1
05-07 00:27:42.189: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AfArea : (0,0,0,0,0)
05-07 00:27:42.189: D/QualcommCameraHardwareZSL(12625): initDefaultParameters AecArea : (0,0,0,0,0)
Second part:
Code:
05-07 00:27:42.189: D/QualcommCameraHardwareZSL(12625): virtual bool android::QualcommCameraHardware::recordingEnabled() recordingState=0
05-07 00:27:42.189: I/QualcommCameraHardwareZSL(12625): setRecordingHint value 0 actual-camera-mode 0 cam-mode 0 recordingEnabled 0
05-07 00:27:42.189: I/QualcommCameraHardwareZSL(12625): requested Fps Range min: 1 x max: 200000
05-07 00:27:42.189: D/mm-camera(12625): config_proc_CAMERA_SET_PARM_FPS: 18
05-07 00:27:42.189: I/QualcommCameraHardwareZSL(12625): requested effect 0
05-07 00:27:42.189: I/QualcommCameraHardwareZSL(12625): Setting flash 0
05-07 00:27:42.189: D/(12625): [GECameraParameters::getGPUEffect] enter
05-07 00:27:42.189: D/(12625): [GECameraParameters::getGPUEffect] leave. no key GPU-effect
05-07 00:27:42.189: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param0
05-07 00:27:42.189: D/(12625): [GECameraParameters::getGPUEffectParam] leave. no key GE-param1
05-07 00:27:42.189: I/GPUPostEffect(12625): int mlabs::GPUPostEffect::setParameters(mlabs::GPUPostEffect::GPUTask*): old effect = -1, new effect = -1.
05-07 00:27:42.189: D/GPUPostEffect(12625): setParameters: isGEInit == false: no call to ChooseEffect.
05-07 00:27:42.189: D/CameraService(12625): sendCommand (pid 12390)
05-07 00:27:42.199: D/CameraService(12625): setPreviewDisplay(0x16791b8) (pid 12390)
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): previewEnabled() E, mZslEnable 0
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): previewEnabled() X, mCameraRunning=0 mPreviewStartInProgress=0
05-07 00:27:42.199: D/EventManager(12390): Event 'Preview.Starting' is raising
05-07 00:27:42.199: D/EventManager(12390): Event 'Preview.Starting' is raised
05-07 00:27:42.199: D/CameraService(12625): startPreview (pid 12390)
05-07 00:27:42.199: D/CameraService(12625): startCameraMode(0)
05-07 00:27:42.199: D/CameraService(12625): startPreviewMode
05-07 00:27:42.199: D/CameraService(12625): OMADM DCMO CAMERA flag = 1
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): previewEnabled() E, mZslEnable 0
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): previewEnabled() X, mCameraRunning=0 mPreviewStartInProgress=0
05-07 00:27:42.199: I/QualcommCamera(12625): int android::set_preview_window(camera_device*, preview_stream_ops*): E window = 0x15ec918
05-07 00:27:42.199: I/QualcommCameraHardwareZSL(12625): setPreviewWindow: E, window 0x15ec918, mPreviewWindow 0x0
05-07 00:27:42.199: I/QualcommCameraHardwareZSL(12625): virtual android::status_t android::QualcommCameraHardware::setPreviewWindow(preview_stream_ops_t*) mPreviewStartInProgress 0 mResetPreviewWindow 1
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS(2)
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview check if mZSLOn 1
05-07 00:27:42.199: D/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: setPreviewWindow(960 x 544), mTotalPreviewBufferCount 7
05-07 00:27:42.199: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.199: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 0 with fd :57 with kernel
05-07 00:27:42.209: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.209: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 1 with fd :61 with kernel
05-07 00:27:42.209: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.209: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 2 with fd :65 with kernel
05-07 00:27:42.209: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.209: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 3 with fd :69 with kernel
05-07 00:27:42.209: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.209: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 4 with fd :73 with kernel
05-07 00:27:42.219: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 5 with fd :77 with kernel
05-07 00:27:42.219: D/memalloc(12625): virtual int gralloc::PmemKernelAlloc::map_buffer(void**, size_t, int, int): Mapped 786432 bytes
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Registering buffer 6 with fd :81 with kernel
05-07 00:27:42.219: I/msm8660.hwcomposer(116): video layer changed: 0 => 1
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): getBuffersAndStartPreview: Starting preview after buffer allocation
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): in startPreviewInternal : E
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): Enable Zsl Mode in startPreviewInternal
05-07 00:27:42.219: D/GPUPostEffect(12625): virtual int mlabs::GPUPostEffect::startPreview(int, int) E.
05-07 00:27:42.219: D/GPUPostEffect(12625): int mlabs::GPUPostEffect::startPreview(mlabs::GPUPostEffect::GPUTask*) E.
05-07 00:27:42.219: D/GPUPostEffect(12625): int mlabs::GPUPostEffect::startPreview(mlabs::GPUPostEffect::GPUTask*): preview 960 x 544 started ok.
05-07 00:27:42.219: D/GPUPostEffect(12625): int mlabs::GPUPostEffect::startPreview(mlabs::GPUPostEffect::GPUTask*) X.
05-07 00:27:42.219: D/GPUPostEffect(12625): virtual int mlabs::GPUPostEffect::startPreview(int, int) X.
05-07 00:27:42.219: D/QualcommCameraHardwareZSL(12625): android::status_t android::QualcommCameraHardware::startPreviewInternal(): startPreview 960 x 544 (0)
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): start zsl Preview called
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): ZSL Enable called
05-07 00:27:42.219: I/QualcommCameraHardwareZSL(12625): initPreview E: preview size=960x544 videosize = 960 x 544
05-07 00:27:42.219: D/QualcommCameraHardwareZSL(12625): mDimension.cam_mode = 0
05-07 00:27:42.219: D/mm-camera(12625): dimension.cam_mode = 0 zsl_mode = 1
05-07 00:27:42.219: D/mm-camera(12625): sensor_load_chromatix, chromatix_type = 5
05-07 00:27:42.219: D/mm-camera(12625): sensor_load_chromatix: Sensor name: s5k3h1gx cnt=1
05-07 00:27:42.219: D/mm-camera(12625): sensor_load_chromatix:1789:chromatix library Name = libchromatix_s5k3h1gx_zsl.so
05-07 00:27:42.219: D/OverlayLIB(116): getOverlayConfig: HDMI not connected...
05-07 00:27:42.229: D/mm-camera(12625): load_chromatix() : PRODUCT_PYRAMID in zsl
05-07 00:27:42.229: D/mm-camera(12625): sensor_load_chromatix:1814: dlclose(libchromatix_handle) refcount 0
05-07 00:27:42.229: I/mm-camera(12625): [LSC Calibration]Sensor_set_mesh
05-07 00:27:42.229: I/mm-camera(12625): [LSC Calibration] : call awb_get_fuseid
05-07 00:27:42.229: I/mm-camera(12625): Sensor_set_mesh(): LSC for MAIN CAM
05-07 00:27:42.229: I/mm-camera(12625): Read /data/lsc_cal fail
05-07 00:27:42.229: I/mm-camera(12625): Read from file OK: /data/lsc_cal or /sys/android_camera_awb_cal/awb_cal
05-07 00:27:42.229: I/mm-camera(12625): [LSC Calibration]: lsc_checksum=8f411605, lsc_verify=c1b
05-07 00:27:42.229: I/mm-camera(12625): [LSC Calibration]: fuseid_1=0,fuseid_2=0,fuseid_3=4,fuseid_4=54d15, sfuse.fuse_id_word1=0,sfuse.fuse_id_word2=0,sfuse.fuse_id_word3=4,sfuse.fuse_id_word4=54d15
05-07 00:27:42.229: I/mm-camera(12625): LSC_Calibration: addr=4190867c, & addr=4190867c
05-07 00:27:42.229: I/mm-camera(12625): LSC_Calibration: addr=41909450, & addr=41909450
05-07 00:27:42.229: I/mm-camera(12625): LSC_Calibration: addr=4190a224, & addr=4190a224
05-07 00:27:42.229: I/mm-camera(12625): LSC_Calibration: addr=4190aff8, & addr=4190aff8
05-07 00:27:42.229: I/mm-camera(12625): LSC_Calibration: addr=4190bdcc, & addr=4190bdcc
05-07 00:27:42.229: I/(12625): [AWB Calibration] fuse_id : 0x0, 0x0, 0x4, 0x54d15
05-07 00:27:42.229: I/(12625): ReadFlash() for AWB of MAIN CAM
05-07 00:27:42.229: I/(12625): [AWB Calibration] fail to read /data/awb_cal, try another file
05-07 00:27:42.229: I/(12625): [AWB Calibration] read from file OK: /sys/android_camera_awb_cal/awb_cal
05-07 00:27:42.229: I/(12625): [AWB Calibration] nandflash data: 0xc1b, 0x306, 0x28d, 0x0, 0x0, 0x4, 0x54d15, 0x3e99eb4c
05-07 00:27:42.229: I/(12625): [AWB Calibration] check sum=3e99eb4c, OK
05-07 00:27:42.229: I/(12625): [AWB Calibration] valid bit and fuseID pass, use new white points
05-07 00:27:42.229: I/(12625): [AWB Calibration] use light version: v3
05-07 00:27:42.229: D/mm-camera(12625): af_algo_config: 164:Failed: Unknown AF mode
05-07 00:27:42.229: D/mm-camera(12625): af_init_process_exhaustive_search sensor->af_exhaust_downhill_allowance 2, sensor->af_exhaust_fv_drop_allowance 0.750000
05-07 00:27:42.229: D/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_u_get_preview_information s->sensor.prev_res = 1
05-07 00:27:42.229: D/mm-camera(12625): vfe_util_get_sensor_preview_info: Done sensor_get_preview_info rc=1
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): initPreview X: 1
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): Calling CAMERA_OPS_STREAMING_ZSL
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): Init ZSL buffers E
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): SMIDBG mZSLSMIBufferCount =5 3264 1840
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): bool android::QualcommCameraHardware::initZslBuffers(bool) mJpegMaxSize 9008640, mJpegMaxAlignedSize 9011200
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add snapshot buffer 0
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add snapshot buffer 1
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add snapshot buffer 2
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add snapshot buffer 3
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[3] to snapshot_capture_q
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add snapshot buffer 4
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[4] to snapshot_capture_q
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): constructing MemPool thumbnail backed by pmem pool /dev/pmem_adsp: 7 frames @ 783360 bytes, buffer size 783360
05-07 00:27:42.229: D/QualcommCameraHardwareZSL(12625): mBufferSize=783360, mAlignedBufferSize=786432
05-07 00:27:42.229: D/QualcommCameraHardwareZSL(12625): num_buffers = 7
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 0
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 1
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 2
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 3
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[3] to snapshot_capture_thumb_q
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 4
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[4] to snapshot_capture_thumb_q
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 5
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[5] to snapshot_capture_thumb_q
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add thumb buffer 6
05-07 00:27:42.229: I/mm-camera(12625): snapshot_add_buffers: add_frame[6] to snapshot_capture_thumb_q
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): PmemPool: (thumbnail) X
05-07 00:27:42.229: I/QualcommCameraHardwareZSL(12625): Init ZSL buffers X
05-07 00:27:42.229: D/mm-camera(12625): config_proc_CAMERA_START_ZSL: received CAMERA_START_ZSL!, ctrl->state = 0
05-07 00:27:42.229: I/mm-camera(12625): config_proc_ctrl_command: pendingCtrlCmd 0x169fee0
05-07 00:27:42.229: I/mm-camera(12625): VFE_RESET_ACK ctrl->state 29
05-07 00:27:42.229: D/mm-camera(12625): vfe_util_get_sensor_info: mode=3
05-07 00:27:42.229: D/mm-camera(12625): vfe_util_get_sensor_info: ctrl->sensorCtrl.sensor.op_mode=0
05-07 00:27:42.229: D/mm-camera(12625): vfe_util_get_sensor_info: pre_mode=-1 ctrl->mode=3
05-07 00:27:42.229: D/mm-camera-s5k3h1gx_u(12625): s5k3h1gx_u_video_config s->sensor.prev_res = 1
05-07 00:27:42.229: I/mm-camera(12625): Open Device node : /dev/msm_camera/pic0
05-07 00:27:42.249: D/(12625): aec_init_settings_reload_sensor input->aec_parms.antibanding=0
05-07 00:27:42.249: D/mm-camera(12625): vfe_util_get_sensor_info: Done sensor_get_info rc=1
05-07 00:27:42.249: D/mm-camera(12625): vfe_util_copy_sensor_ZSL Dim: O/P 1 w* H = 960*544, O/P 2 H*W = 3264*1840
05-07 00:27:42.269: E/mm-camera-s5k3h1gx_u(12625): s5k3h1gx failed 193
05-07 00:27:42.269: D/mm-camera(12625): vfe_util_update_meshrolloff: input mesh 3280x2464 output mesh 3280x2464
05-07 00:27:42.269: I/mm-camera(12625): Calling vfe_start_ZSL
05-07 00:27:42.549: D/MP-Decision(623): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:298 (Up time:634)
05-07 00:27:47.214: D/BatteryService(240): updateBatteryStats ======================================
05-07 00:27:48.245: E/mm-camera(12625): zsl_snapshot_thread_func timeout while polling
05-07 00:27:48.285: I/mm-camera(12625): ...config thread select timeout...
05-07 00:27:51.808: D/dalvikvm(429): GC_BEFORE_OOM freed 1121K, 57% free 8145K/18595K, paused 85ms
05-07 00:27:54.251: E/mm-camera(12625): zsl_snapshot_thread_func timeout while polling
05-07 00:27:54.301: I/mm-camera(12625): ...config thread select timeout...
05-07 00:27:56.022: D/PowerManagerService(240): New lightsensor value:90, lcdValue:56
05-07 00:27:56.022: D/PowerManagerService(240): lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
05-07 00:28:00.046: D/memalloc(116): /dev/pmem: Allocated buffer base:0x42025000 size:1949696 offset:8216576 fd:82
05-07 00:28:00.046: D/memalloc(325): /dev/pmem: Mapped buffer base:0x544e1000 size:10166272 offset:8216576 fd:85
05-07 00:28:00.246: E/mm-camera(12625): zsl_snapshot_thread_func timeout while polling
05-07 00:28:00.246: E/mm-camera(12625): snapshot_release_picture_frame: MSM_CAM_IOCTL_RELEASE_PIC_BUFFER failed.-1
05-07 00:28:00.246: A/libc(12625): Fatal signal 11 (SIGSEGV) at 0x000fffb8 (code=1)
05-07 00:28:00.307: I/mm-camera(12625): ...config thread select timeout...
05-07 00:28:00.657: I/DEBUG(12621): debuggerd: 2012-05-07 00:28:00
05-07 00:28:00.657: I/DEBUG(12621): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-07 00:28:00.667: I/DEBUG(12621): Build fingerprint: 'htc_europe/htc_pyramid/pyramid:4.0.3/IML74K/309896.5:user/release-keys'
05-07 00:28:00.667: I/DEBUG(12621): pid: 12625, tid: 13180 >>> /system/bin/mediaserver <<<
05-07 00:28:00.667: I/DEBUG(12621): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000fffb8
05-07 00:28:00.667: I/DEBUG(12621): r0 000fffb8 r1 00000001 r2 4191b110 r3 00000000
05-07 00:28:00.667: I/DEBUG(12621): r4 00100000 r5 00100000 r6 0167fa68 r7 00000000
05-07 00:28:00.677: I/DEBUG(12621): r8 00000000 r9 43f3be34 10 00100000 fp 00000001
05-07 00:28:00.677: I/DEBUG(12621): ip 00000000 sp 43f3bdf0 lr 400d17c0 pc 41899372 cpsr 20000030
05-07 00:28:00.677: I/DEBUG(12621): d0 41435f4d534d203a d1 5f4c54434f495f4d
05-07 00:28:00.677: I/DEBUG(12621): d2 5f455341454c4552 d3 464655425f434950
05-07 00:28:00.677: I/DEBUG(12621): d4 702c746867696e2c d5 2c7469617274726f
05-07 00:28:00.677: I/DEBUG(12621): d6 6867696c6b636162 d7 0000000070732c74
05-07 00:28:00.677: I/DEBUG(12621): d8 0000000000000000 d9 0000000000000000
05-07 00:28:00.677: I/DEBUG(12621): d10 0000000000000000 d11 0000000000000000
05-07 00:28:00.677: I/DEBUG(12621): d12 0000000000000000 d13 0000000000000000
05-07 00:28:00.677: I/DEBUG(12621): d14 0000000000000000 d15 0000000000000000
05-07 00:28:00.677: I/DEBUG(12621): d16 746f687370616e73 d17 657361656c65725f
05-07 00:28:00.687: I/DEBUG(12621): d18 6e61632c73726577 d19 746867696c656c64
05-07 00:28:00.687: I/DEBUG(12621): d20 726f77657269662c d21 79747261702c736b
05-07 00:28:00.687: I/DEBUG(12621): d22 702d746867696e2c d23 2c7469617274726f
05-07 00:28:00.687: I/DEBUG(12621): d24 3e66376972bea4d0 d25 0000000000000000
05-07 00:28:00.687: I/DEBUG(12621): d26 0000000000000000 d27 0000000000000000
05-07 00:28:00.687: I/DEBUG(12621): d28 0000000000000000 d29 0000000000000000
05-07 00:28:00.687: I/DEBUG(12621): d30 0000000000000000 d31 0000000000000000
05-07 00:28:00.687: I/DEBUG(12621): scr 60000010
05-07 00:28:00.837: I/DEBUG(12621): #00 pc 0000e372 /system/lib/liboemcamera.so (__override_free)
05-07 00:28:00.837: I/DEBUG(12621): #01 pc 0001356e /system/lib/liboemcamera.so
05-07 00:28:00.837: I/DEBUG(12621): #02 pc 000133bc /system/lib/libc.so (__thread_entry)
05-07 00:28:00.837: I/DEBUG(12621): #03 pc 00012ef4 /system/lib/libc.so (pthread_create)
05-07 00:28:00.837: I/DEBUG(12621): code around pc:
05-07 00:28:00.837: I/DEBUG(12621): 41899350 00081e2e 00081dfa 0005eeaa 4604b510 ...............F
05-07 00:28:00.847: I/DEBUG(12621): 41899360 44784812 f7ff6800 b1ccece2 0048f1b4 .HxD.h........H.
05-07 00:28:00.847: I/DEBUG(12621): 41899370 f854d011 f8543c48 b10b2c44 e002605a ..T.H<T.D,..Z`..
05-07 00:28:00.847: I/DEBUG(12621): 41899380 447b4b0b f854601a b1133c44 2c48f854 .K{D.`T.D<..T.H,
05-07 00:28:00.847: I/DEBUG(12621): 41899390 f7ff601a 4907ecd8 680b4479 60081e58 .`.....IyD.hX..`
05-07 00:28:00.847: I/DEBUG(12621): code around lr:
05-07 00:28:00.847: I/DEBUG(12621): 400d17a0 e2166903 1a000018 e5945000 e1a02004 .i.......P... ..
05-07 00:28:00.847: I/DEBUG(12621): 400d17b0 e2055a02 e1a00005 e3851001 ebffec4c .Z..........L...
05-07 00:28:00.847: I/DEBUG(12621): 400d17c0 e3500000 13856002 1a000001 ea000009 ..P..`..........
05-07 00:28:00.847: I/DEBUG(12621): 400d17d0 ebfffe87 e1a01004 e1a00006 ebffec4c ............L...
05-07 00:28:00.847: I/DEBUG(12621): 400d17e0 e1a01005 e1a02006 e3a03000 e1550000 ..... ...0....U.
05-07 00:28:00.847: I/DEBUG(12621): memory map around addr 000fffb8:
05-07 00:28:00.847: I/DEBUG(12621): 00008000-00009000 /system/bin/mediaserver
05-07 00:28:00.847: I/DEBUG(12621): (no map for address)
05-07 00:28:00.847: I/DEBUG(12621): 40000000-40018000 /system/lib/libvorbisidec.so
05-07 00:28:00.847: I/DEBUG(12621): stack:
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdb0 00100000
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdb4 400d5069 /system/lib/libc.so
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdb8 0169ff98
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdbc 01680148
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdc0 0167fa68
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdc4 eac0c23b
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdc8 0167fa68
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdcc 0167fa68
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdd0 00100000
05-07 00:28:00.847: I/DEBUG(12621): 43f3bdd4 00100000
05-07 00:28:00.857: I/DEBUG(12621): 43f3bdd8 0167fa68
05-07 00:28:00.857: I/DEBUG(12621): 43f3bddc 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3bde0 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3bde4 43f3be34
05-07 00:28:00.857: I/DEBUG(12621): 43f3bde8 df0027ad
05-07 00:28:00.857: I/DEBUG(12621): 43f3bdec 00000000
05-07 00:28:00.857: I/DEBUG(12621): #00 43f3bdf0 0167fa68
05-07 00:28:00.857: I/DEBUG(12621): 43f3bdf4 4189e573 /system/lib/liboemcamera.so
05-07 00:28:00.857: I/DEBUG(12621): #01 43f3bdf8 43f3bec0
05-07 00:28:00.857: I/DEBUG(12621): 43f3bdfc 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be00 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be04 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be08 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be0c 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be10 418e02eb /system/lib/liboemcamera.so
05-07 00:28:00.857: I/DEBUG(12621): 43f3be14 418e13b6 /system/lib/liboemcamera.so
05-07 00:28:00.857: I/DEBUG(12621): 43f3be18 418f26c8 /system/lib/liboemcamera.so
05-07 00:28:00.857: I/DEBUG(12621): 43f3be1c 418e02eb /system/lib/liboemcamera.so
05-07 00:28:00.857: I/DEBUG(12621): 43f3be20 0168013c
05-07 00:28:00.857: I/DEBUG(12621): 43f3be24 01680154
05-07 00:28:00.857: I/DEBUG(12621): 43f3be28 01680174
05-07 00:28:00.857: I/DEBUG(12621): 43f3be2c 0004308a
05-07 00:28:00.857: I/DEBUG(12621): 43f3be30 00000000
05-07 00:28:00.857: I/DEBUG(12621): 43f3be34 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be38 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be3c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be40 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be44 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be48 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be4c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be50 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be54 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be58 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be5c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be60 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be64 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be68 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be6c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be70 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be74 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be78 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be7c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be80 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be84 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be88 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be8c 00000000
05-07 00:28:00.867: I/DEBUG(12621): 43f3be90 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3be94 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3be98 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3be9c 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bea0 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bea4 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bea8 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3beac 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3beb0 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3beb4 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3beb8 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bebc 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bec0 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bec4 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bec8 00000000
05-07 00:28:00.877: I/DEBUG(12621): 43f3becc 43f3bf00
05-07 00:28:00.877: I/DEBUG(12621): 43f3bed0 4189e1cd /system/lib/liboemcamera.so
05-07 00:28:00.877: I/DEBUG(12621): 43f3bed4 0167fa68
05-07 00:28:00.877: I/DEBUG(12621): 43f3bed8 00000078
05-07 00:28:00.877: I/DEBUG(12621): 43f3bedc 4189e1cd /system/lib/liboemcamera.so
05-07 00:28:00.877: I/DEBUG(12621): 43f3bee0 0167fa68
05-07 00:28:00.877: I/DEBUG(12621): 43f3bee4 00100000
05-07 00:28:00.877: I/DEBUG(12621): 43f3bee8 00000001
05-07 00:28:00.877: I/DEBUG(12621): 43f3beec 400d23c0 /system/lib/libc.so
05-07 00:28:02.899: I/BootReceiver(240): Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)

[Q] [DEV] Tab 4 7.0 AOSP porting thread

Hello
Since HP Slate 7 6100en VoiceTab uses the same SoC (Marvell PXA1088) and has the same screen resolution (800 x 1280) it should be possible to port the firmware to our Tab 4.
I tried to do it myself using Tab 4 stock kernel and HP's /system but it's stuck in the bootanimation giving this error in logcat:
Code:
I/SystemServer( 531): Entered the Android system server!
D/SystemServer( 531): reason = 0 irc = 0
I/SystemServer( 531): Waiting for installd to be ready.
I/Installer( 531): connecting...
I/SystemServer( 531): Power Manager
I/SystemServer( 531): Activity Manager
E/AndroidRuntime( 531): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 531): java.lang.NoClassDefFoundError: com.marvell.security.MrvlActivityManagerService
E/AndroidRuntime( 531): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1959)
E/AndroidRuntime( 531): Error reporting crash
E/AndroidRuntime( 531): java.lang.NullPointerException
E/AndroidRuntime( 531): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
E/AndroidRuntime( 531): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 531): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
You can find HP Slate 7 firmware here:
http://ftp.hp.com/pub/softlib/software13/COL55456/ob-143932-1/update.zip
(from http://support.hp.com/us-en/product/HP-Slate-7-VoiceTab/6825090/model/7096415/drivers)
I am not very experienced in ROM porting, so any help will be appreciated.
isnt hp firmware worse as samsung stock?
sub77 said:
isnt hp firmware worse as samsung stock?
Click to expand...
Click to collapse
At least it's not touchwiz and it should not be much worse than Samsung stock, if not better.
sub77 said:
isnt hp firmware worse as samsung stock?
Click to expand...
Click to collapse
I'm really not trying to be disrespectful here but as someone who is developing for the 530 I would assume you know the difference between firmware and OS? He is trying to use the parts of code which correspond to the processor in the hp device merged into code for the 230. He isn't trying to port the hp version of the os without modification I would assume.
no touchwiz
Click to expand...
Click to collapse
made me convinced
gammaxgoblin said:
I'm really not trying to be disrespectful here but as someone who is developing for the 530 I would assume you know the difference between firmware and OS? He is trying to use the parts of code which correspond to the processor in the hp device merged into code for the 230. He isn't trying to port the hp version of the os without modification I would assume.
Click to expand...
Click to collapse
I am sorry again for my lack of knowledge about android development.
The goal is to get non-touchwiz version of Android running on the Tab 4 7.0, so the parts of code which correspond to the processor would not change, unless we needed to change them.
DJ_MuTeD said:
I am sorry again for my lack of knowledge about android development.
The goal is to get non-touchwiz version of Android running on the Tab 4 7.0, so the parts of code which correspond to the processor would not change, unless we needed to change them.
Click to expand...
Click to collapse
wish you a lot of fun.
This is impossible!
safariking said:
This is impossible!
Click to expand...
Click to collapse
It is not impossible but it is very difficult, I tried to carry both CM11 and CM12 and errors that I get are epic, the reach make boot but failed most things then leave the project aside because some very important exams approach to me, me no more to say goodbye.
Greetings from Costa Rica
XperiAMM
safariking said:
This is impossible!
Click to expand...
Click to collapse
Hey Safariking didn't you sell your galaxy tab 4 7.0
Sent from my SM-T230NU using XDA Free mobile app
troy5890 said:
Hey Safariking didn't you sell your galaxy tab 4 7.0
Sent from my SM-T230NU using XDA Free mobile app
Click to expand...
Click to collapse
Yup i did have my good old tab 8.9 now
For any interested developers here who enjoy pain:
http://forum.xda-developers.com/showpost.php?p=59617257&postcount=28
http://forum.xda-developers.com/showpost.php?p=59638497&postcount=31
I think I actually made some progress with this port
Using:
Stock T230 unmodified Samsung kernel
HP Slate 7 Voicetab /system with modified build.prop
The logcat is now stuck at Waiting for service media.audio_flinger... without any hw accel errors.
I can also access the shell
{
"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"
}
Can I boot the OS skipping audio support?
I tried using both HP's libaudioflinger.so and Samsung's, none works.
Just reminding that getting AOSP rom will also allow us to get a fully functional MIUI port easily using patchrom (almost impossible with stock Touchwiz rom).
@down
Attaching logcat
Code:
--------- beginning of /dev/log/main
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
--------- beginning of /dev/log/system
I/CryptfsCH( 111): Device Encryption status is (0).
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
E/logwrapper( 111): Cannot log to file /dev/fscklogs/log
I/installd( 146): installd firing up
I/DEBUG ( 140): debuggerd: bydroot Dec 22 2014 09:45:59
I/DEBUG ( 140): bydroot waiting for connection
I/DEBUG ( 140): debuggerd: Dec 22 2014 09:45:59
I/marvellWirelessDaemon( 153): succeed to create socket and listen.
I/ ( 148): ServiceManager: 0x41393890
D/FileMonitorService( 148): Monitor directory: /data/Linux/Marvell/NVM
D/FileMonitorService( 148): Monitor directory: /NVM
D/FileMonitorService( 148): FileMonitorService event thread is started.
I/Vold ( 138): Vold 2.1 (the revenge) firing up
D/Vold ( 138): Volume extSdCard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveA state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveB state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveC state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveD state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveE state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 138): Volume UsbDriveF state changing -1 (Initializing) -> 0 (No-Media)
I/SurfaceFlinger( 142): SurfaceFlinger is starting
I/SurfaceFlinger( 142): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 142): loaded /system/lib/egl/libEGL_MRVL.so
D/libEGL ( 142): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
D/libEGL ( 142): loaded /system/lib/egl/libGLESv2_MRVL.so
I/ ( 150): ServiceManager: 0x41fc0830
I/FMRadio ( 150): Current uid = 1000, gid = 1000, cap.effective = 0x3402, cap.permitted = 0x3402
I/FMRadio ( 150): groups=
I/FMRadio ( 150): 1010
E/FMRadio ( 150): Failed to open /sys/devices/platform/pxa27x-keypad/power/wakeup
I/v_gralloc( 142): using (fd=15)
I/v_gralloc( 142): id = mmp-fb
I/v_gralloc( 142): xres = 800 px
I/v_gralloc( 142): yres = 1280 px
I/v_gralloc( 142): xres_virtual = 800 px
I/v_gralloc( 142): yres_virtual = 3840 px
I/v_gralloc( 142): bpp = 32
I/v_gralloc( 142): r = 0:8
I/v_gralloc( 142): g = 8:8
I/v_gralloc( 142): b = 16:8
I/v_gralloc( 142): width = 94 mm (216.170212 dpi)
I/v_gralloc( 142): height = 150 mm (216.746674 dpi)
I/v_gralloc( 142): refresh rate = 60.00 Hz
I/v_gralloc( 142): Framebuffer phys addr = 0x17000000
I/v_gralloc( 142): LCD driver version = 0
I/v_gralloc( 142): FB device count = 1
W/v_hwc ( 142): TODO: HWC integration: display!
I/v_hwc ( 142): Default primary display
I/v_hwc ( 142): xres = 800 px
I/v_hwc ( 142): yres = 1280 px
I/v_hwc ( 142): xdpi = 216.2 dpi
I/v_hwc ( 142): ydpi = 216.7 dpi
I/v_hwc ( 142): refresh rate = 60.0 Hz
I/v_hwc ( 142): Virtual display 0 initialized.
I/v_hwc ( 142): Vivante HWComposer v2.4
I/v_hwc ( 142): Device: 0x40c13030
I/v_hwc ( 142): Separated 2D: YES
I/v_hwc ( 142): 2D PE20: YES
I/v_hwc ( 142): Multi-source blit: YES
I/v_hwc ( 142): Multi-source blit Ex: YES
I/v_hwc ( 142): OPF/YUV blit/Tiling : YES
I/v_hwc ( 142): Filter stretch : YES
I/SurfaceFlinger( 142): Using composer version 1.2
E/HWComposerMarvell( 142): hwc_getDisplayConfigs(313): TODO: disp 1 not supported!
W/SurfaceFlinger( 142): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( 142): EGL informations:
I/SurfaceFlinger( 142): vendor : Android
I/SurfaceFlinger( 142): version : 1.4 Android META-EGL
I/SurfaceFlinger( 142): 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_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 142): Client API: OpenGL_ES
I/SurfaceFlinger( 142): EGLSurface: 8-8-8-8, config=0x408f6e70
D/GC ( 142): <tid=142> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC14
D/GC ( 142):
I/SurfaceFlinger( 142): OpenGL ES informations:
I/SurfaceFlinger( 142): vendor : Vivante Corporation
I/SurfaceFlinger( 142): renderer : Vivante GC1000
I/SurfaceFlinger( 142): version : OpenGL ES 2.0
I/SurfaceFlinger( 142): extensions: GL_EXT_debug_marker GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_EGL_image GL_OES_depth24 GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_get_program_binary GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_ARM_rgba8 GL_EXT_frag_depth GL_VIV_shader_binary GL_VIV_direct_texture GL_OES_mapbuffer GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_EXT_multisampled_render_to_texture GL_VIV_clamp_to_border GL_MRVL_texture_video GL_EXT_unpack_subimage GL_OES_element_index_uint GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc
I/SurfaceFlinger( 142): GL_MAX_TEXTURE_SIZE = 8192
I/SurfaceFlinger( 142): GL_MAX_VIEWPORT_DIMS = 8192
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 142): HWComposer: framebufferTarget is null
D/SurfaceFlinger( 142): Screen acquired, type=0 flinger=0x40c10450
W/linker ( 206): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 205): loaded /system/lib/egl/libEGL_MRVL.so
D/libEGL ( 205): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
W/linker ( 225): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/libEGL ( 205): loaded /system/lib/egl/libGLESv2_MRVL.so
W/linker ( 234): libwtpsp.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/GC ( 205): <tid=223> OES11 ===> GC Version : GC Ver rls_pxa988_KK44_GC14
D/GC ( 205):
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
I/ServiceManager( 205): Waiting for service media.audio_flinger...
it can be everythink, not said its audio, its a classical bootloop. you better heard at safariking.
Do you mind uploading your verndor blobs for the hp slate? Might br usefull for CM
CTXz said:
Do you mind uploading your verndor blobs for the hp slate? Might br usefull for CM
Click to expand...
Click to collapse
You can extract them from the stock rom
http://ftp.hp.com/pub/softlib/software13/COL55456/ob-143932-1/update.zip
---
---
---
I'm crying, thank you very much for giving life to me, I look forward to a version that can be used daily

[Completed] Boot animation frozen after install any custom rom, have logcat

I tried install some customs roms, and all them frozen at boot animation.
Already tried all kinds of wipe and format caches, etc, and still doesn't work.
It's only work when I flash stock rom from Odin.
I don't have problems to install ROOT and Custom Recovery, the only problem is booting the system after installation.
My device is one Samsung Galaxy GT-I9305 4G LTE
Stock rom is I9305XXUFNI3
Android 4.4.4
Logcat generated after install AOSP Rom (AOSP-5.1.1-20150807-i9305-rodman01) and wait a while in bootloading animation.
Code:
--------- beginning of system
I/Vold ( 1988): Vold 2.1 (the revenge) firing up
D/Vold ( 1988): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1988): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 1988): Check if PFE is activated on Boot
E/Cryptfs ( 1988): Bad magic for real block device /dev/block/platform/dw_mmc/by-name/USERDATA
E/Cryptfs ( 1988): Error getting crypt footer and key
D/Vold ( 1988): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1988): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 17, PARTN 1
D/Vold ( 1988): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SurfaceFlinger( 1989): SurfaceFlinger is starting
I/SurfaceFlinger( 1989): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 1989): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1989): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1989): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 1989): Device driver API match
E/ ( 1989): Device driver API version: 29
E/ ( 1989): User space API version: 29
E/ ( 1989): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
D/gralloc ( 1989): int init_frame_buffer_locked(private_module_t*) Initializingframebuffer
I/gralloc ( 1989): using (fd=18)
I/gralloc ( 1989): id = s3cfb
I/gralloc ( 1989): xres = 720 px
I/gralloc ( 1989): yres = 1280 px
I/gralloc ( 1989): xres_virtual = 720 px
I/gralloc ( 1989): yres_virtual = 2560 px
I/gralloc ( 1989): bpp = 32
I/gralloc ( 1989): r = 16:8
I/gralloc ( 1989): g = 8:8
I/gralloc ( 1989): b = 0:8
I/gralloc ( 1989): width = 60 mm (304.799988 dpi)
I/gralloc ( 1989): height = 106 mm (306.716980 dpi)
I/gralloc ( 1989): refresh rate = 60.00 Hz
E/HAL ( 1989): load: module=/system/lib/hw/hwcomposer.smdk4x12.so
E/HAL ( 1989): dlopen failed: library "libhdmiclient.so" not found
E/SurfaceFlinger( 1989): hwcomposer module not found
I/SurfaceFlinger( 1989): EGL information:
I/SurfaceFlinger( 1989): vendor : Android
I/SurfaceFlinger( 1989): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1989): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap 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_EXT_create_context_robustness EG
L_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 1989): Client API: OpenGL_ES
I/SurfaceFlinger( 1989): EGLSurface: 8-8-8-8, config=0x60000014
I/SurfaceFlinger( 1989): OpenGL ES informations:
I/SurfaceFlinger( 1989): vendor : ARM
I/SurfaceFlinger( 1989): renderer : Mali-400 MP
I/SurfaceFlinger( 1989): version : OpenGL ES 2.0
I/SurfaceFlinger( 1989): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL
_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_E
GL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_progr
am_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
I/SurfaceFlinger( 1989): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1989): GL_MAX_VIEWPORT_DIMS = 4096
E/cutils-trace( 1989): Error opening trace file: Permission denied (13)
D/SurfaceFlinger( 1989): Set power mode=2, type=0 flinger=0x40c82000
D/SurfaceFlinger( 1989): SF. shader cache generated - 26 shaders in 37.015167 ms
D/libEGL ( 2089): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2089): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2089): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 2089): Device driver API match
E/ ( 2089): Device driver API version: 29
E/ ( 2089): User space API version: 29
E/ ( 2089): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Tue Jul 22 19:59:34 KST 2014
E/cutils-trace( 2089): Error opening trace file: Permission denied (13)
E/BootAnimation( 2089): couldn't find audio_conf.txt
W/BootAnimation( 2089): Audio service is not initiated.
And here it's stopped
Hello, and welcome to XDA Assist! The best thing to do would be to register and post your question here: Galaxy S III Q&A, Help & Troubleshooting. People should be able to help you out in that forum.
Good luck!

[WIP] Building a custom ROM for the LeapFrog Epic (CM/LOS)

So, uh, I decided to spin this off to a new thread to keep the other ones from being bloated.
A few days ago I started work on getting at least CyanogenMod to work on the LeapFrog Epic, which runs off the same MT8127 SoC as certain variants of the Amazon Fire tablet amongst other things. CM11 was first on my agenda since it is close to the KitKat build that came from the factory, but compiler issues kept me from pushing on with this one. I then moved on to CM12.1, which was far less of a pain build-wise, but I then faced a number of issues that kept me from getting this to run. Fixed the MTK headers, and added a shim to get rid of that missing function error with the Mali drivers, but now I am stuck with this if I use the stock 1.1.95 libs that came with the Epic Academy Edition. Boot animation does not start at all:
Code:
I/SurfaceFlinger( 2317): SurfaceFlinger is starting
I/SurfaceFlinger( 2317): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2317): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 2317): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 2317): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 2317): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 2317): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 2317): UREE_CreateSession fail, ret = -65536
I/gralloc ( 2317): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 2317): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 2317): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 2317): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 2317): ro_dpi: 160.000000
I/[MALI][Gralloc]( 2317): using (fd=13)
I/[MALI][Gralloc]( 2317): id = mtkfb
I/[MALI][Gralloc]( 2317): xres = 1024 px
I/[MALI][Gralloc]( 2317): yres = 600 px
I/[MALI][Gralloc]( 2317): xres_virtual = 1024 px
I/[MALI][Gralloc]( 2317): yres_virtual = 1800 px
I/[MALI][Gralloc]( 2317): bpp = 32
I/[MALI][Gralloc]( 2317): r = 16:8
I/[MALI][Gralloc]( 2317): g = 8:8
I/[MALI][Gralloc]( 2317): b = 0:8
I/[MALI][Gralloc]( 2317): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 2317): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 2317): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 2317): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
E/hwcomposer( 2317): [BLIT] sw_sync_timeline_create failed, aborting
F/libc ( 2317): Fatal signal 6 (SIGABRT), code -6 in tid 2317 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 2317, tid: 2317, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): r0 00000000 r1 0000090d r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6f34e38 r5 00000006 r6 0000000d r7 0000010c
I/DEBUG ( 129): r8 ffffffb4 r9 b5e01d8c sl b608f158 fp bec93a6c
I/DEBUG ( 129): ip 0000090d sp bec937e0 lr b6e8d8f5 pc b6eb08d0 cpsr 60010010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00010af9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11BlitManagerC1Ev+140)
I/DEBUG ( 129): #06 pc 0000b8d9 /system/lib/hw/hwcomposer.mt8127.so (_ZN11HWCMediatorC2Ev+12)
I/DEBUG ( 129): #07 pc 0000ba5d /system/lib/hw/hwcomposer.mt8127.so (_ZN7android9SingletonI11HWCMediatorE11getInstanceEv+28)
I/DEBUG ( 129): #08 pc 0000bbfd /system/lib/hw/hwcomposer.mt8127.so
I/DEBUG ( 129): #09 pc 00023d17 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #10 pc 00023a0b /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #11 pc 000195bb /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+130)
I/DEBUG ( 129): #12 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #13 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #14 pc 00000c08 /system/bin/surfaceflinger
I/DEBUG ( 129):
I/DEBUG ( 129): Tombstone written to: /data/tombstones/tombstone_08
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree, I get this additional message:
Code:
E/hwcomposer( 290): [BLIT] UREE_CreateSession failed (Non-specific cause.), aborting
I know there's probably only a few developers here who own a LeapFrog Epic, but I am at a loss here and any help would be very much appreciated. Yes I've read the Lenovo thread here before, but this one is a bit of a clincher, more so as I don't have complete kernel sources and I'm only building against a 3.4.67 kernel. My device tree's here, if anyone is interested: https://github.com/huckleberrypie/android_device_quanta_narnia
blakegriplingph said:
If I use hwcomposer.mt8127.so, libgralloc_extra.so, libion_mtk.so and libtz_uree.so from @pix106's Lenovo Tab 2 A7-10F vendor tree]
Click to expand...
Click to collapse
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
pix106 said:
Tab2 has 3.10.54 kernel, I don't know if you can use these libs with a 3.4 kernel.
When missing a symbol, you can grep it in your device stock rom to find what lib provides it.
From a running device using adv, or using a stock room dumping your computer.
grep -r _Zazertyuiopqsdfghjklmwxcvbn /path/to/libs
Click to expand...
Click to collapse
Good call on the grep stuff. And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
blakegriplingph said:
And I wonder if I could kang libs off another MT8127 device running KitKat which is a little tiny bit of a stretch to hunt for.
Click to expand...
Click to collapse
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
pix106 said:
My "mistake", in a way : Tab2 also had KitKat with a 3.4 kernel, but I used kernel 3.10 and vendor from Lollipop stock rom to build cm-12.1.
You can try to download and extract lenovo's kk rom, or I can search my archives later and try to upload a KitKat stock rom dump somewhere, but I'm not home and have slow internet for now.
Click to expand...
Click to collapse
3.4.67 I presume? I do have kernel sources for the Epic but it's missing a few things from what I've been told. The ROM dump does however have what appears to be a build config used by Quanta/LeapFrog to customise the board support package they used, or so I assume.
Apologies for the bump, and I hope they won't mind, but the likes of @superdragonpt are a lot more experienced with MTK than I could muster, so I was wondering if they could at least offer a bit of advice with this.
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
blakegriplingph said:
So I kanged hwcomposer from @pix106's dump of the A7-10F KitKat ROM, and it looks like I got something else other than the usual sw_sync_timeline failure:
Code:
I/SurfaceFlinger( 512): SurfaceFlinger is starting
I/SurfaceFlinger( 512): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 512): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 512): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 512): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/[MALI][Gralloc]( 512): gralloc UREE_CreateSession recount = 0
I/[MALI][Gralloc]( 512): gralloc call UREE_CreateSession
I/[MALI][Gralloc]( 512): UREE_CreateSession fail, ret = -65536
I/gralloc ( 512): [Gralloc] refreshRate = 0, info.pixclock = ffffffff
I/gralloc ( 512): [Gralloc] info.upper_margin = ffffffff, info.lower_margin = ffffffff
I/gralloc ( 512): [Gralloc] info.yres = 258, info.hsync_len = ffffffff
I/gralloc ( 512): [Gralloc] info.left_margin = ffffffff, info.right_margin = ffffffff
I/[MALI][Gralloc]( 512): ro_dpi: 160.000000
I/[MALI][Gralloc]( 512): using (fd=13)
I/[MALI][Gralloc]( 512): id = mtkfb
I/[MALI][Gralloc]( 512): xres = 1024 px
I/[MALI][Gralloc]( 512): yres = 600 px
I/[MALI][Gralloc]( 512): xres_virtual = 1024 px
I/[MALI][Gralloc]( 512): yres_virtual = 1800 px
I/[MALI][Gralloc]( 512): bpp = 32
I/[MALI][Gralloc]( 512): r = 16:8
I/[MALI][Gralloc]( 512): g = 8:8
I/[MALI][Gralloc]( 512): b = 0:8
I/[MALI][Gralloc]( 512): width = 163 mm (159.568100 dpi)
I/[MALI][Gralloc]( 512): height = 95 mm (160.421051 dpi)
I/[MALI][Gralloc]( 512): refresh rate = 60.00 Hz
I/[MALI][Gralloc]( 512): init_framebuffer va: 0xb50f8000 mva: 0xb3700000
I/hwcomposer( 512): [DPY] Display Information:
I/hwcomposer( 512): [DPY] # fo devices : 1
I/hwcomposer( 512): [DPY] -----------------------------
I/hwcomposer( 512): [DPY] Device id : 0
I/hwcomposer( 512): [DPY] Width : 1024
I/hwcomposer( 512): [DPY] Height : 600
I/hwcomposer( 512): [DPY] xdpi : 160.000000
I/hwcomposer( 512): [DPY] ydpi : 160.000000
I/hwcomposer( 512): [DPY] vsync : 1
I/hwcomposer( 512): [DPY] refresh : 17179179
I/hwcomposer( 512): [DPY] connected : 1
I/hwcomposer( 512): [DPY] subtype : 0
W/hwcomposer( 512): [EVENT] Failed to open vsync device (Permission denied)
W/hwcomposer( 512): [EVENT] HW VSync State(0)
W/hwcomposer( 512): [EVENT] Start to listen uevent, addr.nl_pid(512)
I/6620_launcher( 124): Can't open device node(/dev/stpwmt)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/SurfaceFlinger( 512): Using composer version 1.2
I/hwcomposer( 512): [HWC] getConfigs Display(0)
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/hwcomposer( 512): [HWC] getAttributes Display(0)
I/hwcomposer( 512): [HWC] getConfigs Display(1)
I/hwcomposer( 512): [HWC] getAttributes Display(1)
E/hwcomposer( 512): [HWC] Failed to get display attributes (dpy=1 is not connected)
W/SurfaceFlinger( 512): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 512): no suitable EGLConfig found, giving up
F/libc ( 512): Fatal signal 6 (SIGABRT), code -6 in tid 512 (surfaceflinger)
I/DEBUG ( 129): property debug.db.uid not set; NOT waiting for gdb.
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 129): HINT: adb forward tcp:5039 tcp:5039
W/hwcomposer( 512): [WKR] Failed to set priority to RR: Operation not permitted
I/DEBUG ( 129): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 129): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/e2909bc29b:eng/test-keys'
I/DEBUG ( 129): Revision: '0'
I/DEBUG ( 129): ABI: 'arm'
I/DEBUG ( 129): pid: 512, tid: 512, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 129): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 129): Abort message: 'no suitable EGLConfig found, giving up'
I/DEBUG ( 129): r0 00000000 r1 00000200 r2 00000006 r3 00000000
I/DEBUG ( 129): r4 b6fc1e38 r5 00000006 r6 00000000 r7 0000010c
I/DEBUG ( 129): r8 b6482000 r9 00000000 sl 00000000 fp 00000001
I/DEBUG ( 129): ip 00000200 sp be8d34a0 lr b6f1a8f5 pc b6f3d8d0 cpsr 60070010
I/DEBUG ( 129):
I/DEBUG ( 129): backtrace:
I/DEBUG ( 129): #00 pc 000378d0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 129): #01 pc 000148f1 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 129): #02 pc 0001564b /system/lib/libc.so (raise+10)
I/DEBUG ( 129): #03 pc 00011cc5 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 129): #04 pc 0001005c /system/lib/libc.so (abort+4)
I/DEBUG ( 129): #05 pc 00007a41 /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG ( 129): #06 pc 0002930d /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #07 pc 00028f09 /system/lib/libsurfaceflinger.so
I/DEBUG ( 129): #08 pc 000195e7 /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+174)
I/DEBUG ( 129): #09 pc 00000af1 /system/bin/surfaceflinger
I/DEBUG ( 129): #10 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 129): #11 pc 00000c08 /system/bin/surfaceflinger
Click to expand...
Click to collapse
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Rortiz2 said:
I would not know how to help you but maybe ggow who has compiled lineage 12.1 for amazon fire mt8127 can help you.
Click to expand...
Click to collapse
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
blakegriplingph said:
Does that one run on Kitkat originally? If anything, both the Epic and the MT8127 Amazon Fire tablets are made by the same ODM iirc. I might also try updating the blobs and kernel to version 1.8.45 to see if it helps any, but hwcomposer is apparently still the same.
Click to expand...
Click to collapse
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Rortiz2 said:
Amazon Fire tablets came with lollipop 5.1.
Have you tried to port the Rom instead of compiling? It is easier :/ . If you send me the stock bootimg and the stock system.img I can port you some ROM.
Click to expand...
Click to collapse
You sure you're able to port a ROM built for newer (prebuilt) kernel on a 3.4.67 device? The only sticking point so far with the LeapFrog CM12 port is hwcomposer/surfaceflinger refusing to cooperate. As of late I recompiled the ROM with no blobs kanged off other devices with the following flags added to BoardConfig:
Code:
TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
BOARD_EGL_WORKAROUND_BUG_10194508 := true
...and ran logcat on it. Still the same sw_sync issues though it apparently has something to do with SELinux denying those requests as what the attached log seems to imply. It might be a red herring though, and I've read that @pix106 also ran into similar issues before with him trying a myriad of build flags in an attempt to fix this. Any ideas on what to use to get rid of this once and for all and finally get the damn GUI to boot? I'm thinking about using "BOARD_NEEDS_OLD_HWC_API := true" given how the blobs were for KitKat but what do you guys think? If only there were developers here who just happen to own an Epic lol.
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Code:
File size of 0 bytes not large enough to contain ELF header of 52 bytes: '/data/dalvik-cache/arm/[email protected]@boot.oat'
blakegriplingph said:
...and I got a tiny bit further with the SELinux whitelist applied, though it's still the same "stuck on LeapFrog logo" moment with no sign of the boot animation springing to life. The backtrace mentions something along the lines of "buffer" in the functions called. Could it be that "BOARD_EGL_NEEDS_LEGACY_FB := true" is at fault here?
Also, there's an error in the log saying:
Click to expand...
Click to collapse
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
pix106 said:
I'd first check permission issues (/dev/stpwmt : iirc I had a few permission errors at early boot, but quick after it should be working fine), and nvram.
Click to expand...
Click to collapse
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
ART does seem to work, but for some reason /dev/stpwmt isn't being loaded properly despite it being declared on the init files. I can however load it manually through ADB shell. Also, even if I did seem to set the right permissions to the display drivers surfaceflinger crashes for a few times until the crash logs cease to show up, and I then get spammed with the following:
Code:
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/ac
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 191
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/usb
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 194
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll return 1
I/hwcomposer( 2058): [DPY] UEventThread::threadLoop recv [email protected]/devices/platform/battery/power_supply/battery
D/hwcomposer( 2058): [DPY] handle_uevents : s = 0xb5ce2138, len = 794
D/hwcomposer( 2058): [DPY] UEventThread::threadLoop poll wait
I think the surfaceflinger crash may have something to do with the permissions being loaded a bit too late. Can anyone look into this?
blakegriplingph said:
Care to explain even further? I'll have to check things on my other Epic to see if I got the permissions right (I have three Epics actually, one for development, one which I keep as stock for reference purposes and another as a parts unit).
Also, any ideas on why ART appears to be failing? Permissions issues as well I presume?
Click to expand...
Click to collapse
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
pix106 said:
I remember I had issues with this permission too, and maybe had to modify it from init.mt8127, among other permissions. Check my GitHub, check cm-12.1 branch, which was used as base for the CyanogenMod for Lenovo Tab2A710F repository ; you'll find the commits before cm finally booted.
Click to expand...
Click to collapse
I'll check that one out. Permissions seem to be the thing that's keeping CM from booting up at all lol. If only LeapFrog did a Lollipop update for the Epic (like seriously, KitKat in 2019 wtf?) that would've saved me the trouble of hacking up fixes and whatnot.
Strange, I applied your edits to init.mt8127 yet /dev/stpwmt isn't being loaded automatically. And HWC/surfaceflinger still spazzes out with complaints about buffers or something along the lines of it. I don't know if I should just suck it up and throw the towel for now, but I've gone too far into this project that it would be a shame to just let it go.
That being said, is it possible to decompile sepolicy and kang whatever it is in there so I don't have to compile a whole list of things to whitelist? And I really do need people who own a LeapFrog Epic and are also interested in porting CM to this damn thing. It's a shot in the dark but I could use all the help I could muster right now.
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
blakegriplingph said:
Seems like we need to adapt what I saw on this repo as the MediatekHacks.cpp I threw in to fix the missing symbols issue may have accounted for why SurfaceFlinger isn't cooperating.
@pix106 - Did you by any chance use the repo I mentioned above when you built your ROM? I've used the vanilla CM android_frameworks_native repo for one and that may have accounted for why my ROM is spazzing out. Also, I saw a commit by thp1997 (along with a patch of similar intent by @Kirito96) which appears to be a patch/shim set for the MT6572 that seems to tackle the same issue as what I've been experiencing with the Epic. The crash log...
Code:
--------- beginning of crash
F/libc ( 127): Fatal signal 7 (SIGBUS), code 1, fault addr 0xb6400189 in tid 127 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'LeapFrog/cm_narnia/narnia:5.1.1/LMY49J/ad8cbe2f60:eng/test-keys'
I/DEBUG ( 133): Revision: '0'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 127, tid: 127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb6400189
I/DEBUG ( 133): r0 ffffffff r1 b6400189 r2 00000005 r3 00000000
I/DEBUG ( 133): r4 b6400189 r5 ffffffff r6 be827298 r7 b60b30d0
I/DEBUG ( 133): r8 b6d6dc2c r9 be826db4 sl 00000000 fp 00000000
I/DEBUG ( 133): ip b6e02f38 sp be826d60 lr b6e68dbc pc b6e68dbc cpsr 80000010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 00003dbc /system/lib/libcutils.so (android_atomic_add+16)
I/DEBUG ( 133): #01 pc 0000d61f /system/lib/libutils.so (_ZNK7android7RefBase9decStrongEPKv+10)
I/DEBUG ( 133): #02 pc 00028f7b /system/lib/libgui.so (_ZN7android2spINS_13GraphicBufferEEaSERKS2_+22)
I/DEBUG ( 133): #03 pc 000290af /system/lib/libgui.so (_ZN7android19BufferQueueConsumer13acquireBufferEPNS_22IGraphicBufferConsumer10BufferItemEx+270)
I/DEBUG ( 133): #04 pc 0002c411 /system/lib/libgui.so (_ZN7android12ConsumerBase19acquireBufferLockedEPNS_22IGraphicBufferConsumer10BufferItemEx+16)
I/DEBUG ( 133): #05 pc 00023571 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #06 pc 00023679 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #07 pc 0002849b /system/lib/libgui.so (_ZN7android11BufferQueue21ProxyConsumerListener16onFrameAvailableERKNS_10BufferItemE+26)
I/DEBUG ( 133): #08 pc 0002ba2b /system/lib/libgui.so (_ZN7android19BufferQueueProducer11queueBufferEiRKNS_22IGraphicBufferProducer16QueueBufferInputEPNS1_17QueueBufferOutputE+562)
I/DEBUG ( 133): #09 pc 00037423 /system/lib/libgui.so (_ZN7android7Surface11queueBufferEP19ANativeWindowBufferi+254)
I/DEBUG ( 133): #10 pc 00036693 /system/lib/libgui.so (_ZN7android7Surface16hook_queueBufferEP13ANativeWindowP19ANativeWindowBufferi+10)
I/DEBUG ( 133): #11 pc 0000f720 /system/lib/libMali.so
I/DEBUG ( 133): #12 pc 00010218 /system/lib/libMali.so
I/DEBUG ( 133): #13 pc 0005e5d8 /system/lib/libMali.so
I/DEBUG ( 133): #14 pc 0005d70c /system/lib/libMali.so
I/DEBUG ( 133): #15 pc 0005bf58 /system/lib/libMali.so (shim_eglSwapBuffers+64)
I/DEBUG ( 133): #16 pc 000120d7 /system/lib/libEGL.so (eglSwapBuffers+290)
I/DEBUG ( 133): #17 pc 0000f541 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #18 pc 0001c187 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #19 pc 0001b367 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #20 pc 0001a6eb /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #21 pc 0001a459 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #22 pc 00011127 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+410)
I/DEBUG ( 133): #23 pc 00011219 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
I/DEBUG ( 133): #24 pc 00017b95 /system/lib/libsurfaceflinger.so
I/DEBUG ( 133): #25 pc 0001a04d /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger3runEv+8)
I/DEBUG ( 133): #26 pc 00000b4d /system/bin/surfaceflinger
I/DEBUG ( 133): #27 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 133): #28 pc 00000c08 /system/bin/surfaceflinger
F/libc ( 261): Fatal signal 7 (SIGBUS), code 1, fault addr 0xffffffff in tid 261 (surfaceflinger)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
...appears to allude to the ones mentioned in the patch files. Maybe this is the cure we needed, short of using a different HWC which I more or less doubt to be necessary.
Click to expand...
Click to collapse
i did not use this repo.
i could build a bootable and usable cm12.1 without any patch.
thp1997 joined afterwards and added patched repos, but they were not strictly needed : they allowed WPS wifi pairing, headset icon, usb mode selection when usb is not plugged.

Categories

Resources