[HTC One V] doga.ozkaraca:
board primou's ion stuff and kernel-includes still causes problems......

https://github.com/dogaozkaraca/PRIMOU-ION-KERNEL/commits/master

added changes from rukin's commits...

kernel gives problems atm

latest compiling status :

http://pastebin.com/pgnHakZm

EDIT :

i fixed some stuff.. but im still using different media-legacy and display-legacy based rom....

here is dmesg

.479644] audit: initializing netlink socket (disabled)

<5>[ 4.479705] type=2000 audit(0.280:1): initialized

<6>[ 4.486541] ashmem: initialized

<6>[ 4.487609] fuse init (API version 7.16)

<7>[ 4.487976] SELinux: Registering netfilter hooks

<6>[ 4.489349] io scheduler noop registered

<6>[ 4.489349] io scheduler deadline registered (default)

<6>[ 4.489410] io scheduler cfq registered

<6>[ 4.489440] io scheduler sio registered

<6>[ 4.489471] io scheduler bfq registered

<6>[ 4.490295] [DISP] mddi: init() base=0xdc822000 irq=44

<7>[ 4.490509] [DISP] mddi runs at 384000000

<7>[ 4.490661] [DISP] mddi fixup

<6>[ 4.490661] [DISP] mddi: registering panel mddi_c_b9f6_5560

<6>[ 4.490661] [DISP] mddi: publish:

<7>[ 4.492279] [DISP] mddi_novtec_probe

<6>[ 4.492309] [DISP] CABC enabled

<7>[ 4.492675] [DISP] primou_backlight_probe

<7>[ 4.492858] Registered led device: lcd-backlight

<6>[ 4.493255] [DISP] setup_fb_info msmfb->xres 480, msmfb->yres 800

<6>[ 4.493347] [DISP] msmfb_probe() installing 480 x 800 panel

<6>[ 4.495910] [VID] msm_vidc_dec: Inside vid_dec_init()

<6>[ 4.496582] [VID] msm_vidc_dec: Inside vid_dec_vcd_init()

<6>[ 4.496643] [VID]

<6>[ 4.496643] msm_vidc_enc: Inside vid_enc_init()

<6>[ 4.497070] [VID]

05 15:31:33.528073094 UTC)

<3>[ 222.979156] kgsl kgsl-3d0: |adreno_start| Unknown chip ID 0

<6>[ 228.305572] request_suspend_state: wakeup (0->0) at 224115733491 (2014-01-05 15:31:38.872769144 UTC)

<3>[ 228.306823] init: untracked pid 2162 exited

<3>[ 228.329833] kgsl kgsl-3d0: |adreno_start| Unknown chip ID 0

<6>[ 232.656555] request_suspend_state: wakeup (0->0) at 228466716177 (2014-01-05 15:31:43.223782348 UTC)

<3>[ 232.660095] init: untracked pid 2174 exited

<3>[ 232.681091] kgsl kgsl-3d0: |adreno_start| Unknown chip ID 0

<6>[ 238.008026] request_suspend_state: wakeup (0->0) at 233818187081 (2014-01-05 15:31:48.575253252 UTC)

<6>[ 4.558135] loop: module loaded

<1>[ 4.558258] pmem: pmem_setup: unable to register pmem driver(pmem) - zero size passed in!

<4>[ 4.558319] android_pmem: probe of android_pmem.0 failed with error -1

<1>[ 4.558349] pmem: pmem_setup: unable to register pmem driver(pmem_adsp) - zero size passed in!

<4>[ 4.558380] android_pmem: probe of android_pmem.2 failed with error -1

<1>[ 4.558410] pmem: pmem_setup: unable to register pmem driver(pmem_adsp2) - zero size passed in!

<4>[ 4.558410] android_pmem: probe of android_pmem.3 failed with error -1

<1>[ 4.558441] pmem: pmem_setup: unable to register pmem driver(pmem_audio) - zero size passed in!

here is latest logcat also

I/DEBUG ( 1504): 401a71a8 d1024682 29046821 4638d0f3 e944f00d

I/SELinuxLabel( 1621): /system relabel complete

I/Netd ( 1633): Netd 1.0 starting

I/SurfaceFlinger( 1634): SurfaceFlinger is starting

I/SurfaceFlinger( 1634): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

D/libEGL ( 1634): loaded /system/lib/egl/libEGL_adreno200.so

D/libEGL ( 1634): loaded /system/lib/egl/libGLESv1_CM_adreno200.so

D/libEGL ( 1634): loaded /system/lib/egl/libGLESv2_adreno200.so

E/Adreno200-GSL( 1634): <ioctl_kgsl_driver_entry:268>: open(/dev/kgsl-3d0) failed: errno 22. Invalid argument

W/libEGL ( 1634): eglInitialize(0x1) failed (EGL_SUCCESS)

I/gralloc ( 1634): using (fd=14)

I/gralloc ( 1634): id = msmfb

I/gralloc ( 1634): xres = 480 px

I/gralloc ( 1634): yres = 800 px

I/gralloc ( 1634): xres_virtual = 480 px

I/gralloc ( 1634): yres_virtual = 1600 px

I/gralloc ( 1634): bpp = 32

I/gralloc ( 1634): r = 0:8

I/gralloc ( 1634): g = 8:8

I/gralloc ( 1634): b = 16:8

I/gralloc ( 1634): width = 52 mm (234.461533 dpi)

I/gralloc ( 1634): height = 88 mm (230.909088 dpi)

I/gralloc ( 1634): refresh rate = 60.00 Hz

E/SurfaceFlinger( 1634): hwcomposer module not found

W/SurfaceFlinger( 1634): getting VSYNC period from fb HAL: 16666666

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglGetConfigs:425>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglChooseConfig:594>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglGetConfigs:425>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglChooseConfig:594>: EGL_NOT_INITIALIZED

W/SurfaceFlinger( 1634): no suitable EGLConfig found, trying a simpler query

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglGetConfigs:425>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1634): <qeglDrvAPI_eglChooseConfig:594>: EGL_NOT_INITIALIZED

F/SurfaceFlinger( 1634): no suitable EGLConfig found, giving up

F/libc ( 1634): Fatal signal 6 (SIGABRT) at 0x00000662 (code=-6), thread 1634 (surfaceflinger)

I/DEBUG ( 1504): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 1504): Build fingerprint: 'htc_primou/primou:4.4/KRT16M/330937:user/user-debug'

I/DEBUG ( 1504): Revision: '2'

I/DEBUG ( 1504): pid: 1634, tid: 1634, name: surfaceflinger >>> /system/bin/surfaceflinger <<<

looks like kgsl is broken and pmem too or ion too dont know. something goes wrong......

(or because of different displaylegacy i dont know ..)

EDIT 189413235479 : i installed another rom(4.1.2) for testing display stuff. looks like they're broken in kernel

EDIT 189413235480 : i can compile rom if i use media-caf instead of media-legacy. i can compile the rom without any problem...

EDIT 189413235481 :

Latest one :

hardware/qcom/media-legacy/mm-video/vidc/vdec/src/omx_vdec.cpp:5016:21: error: 'MEM_DEVICE' was not declared in this scope