[Ubuntu Touch Ports to Android] splinterx7:
Hi everyone,

I'm trying to port to ubuntu touch to my tf201 but I'm experiencing a few problems (which I'm sure could be easily ironed out by someone in the know!).

When booting I believe there may be something awry with the drivers I'm using as sufaceflinger is unable to start.

Here's my kmsg for starters: (maybe not because new user...)

paste. ubuntu. com

/5943500/

at about line 882 it's failing to initalise a couple things, later I get repeated messages like so:

[ 17.715865] TF : INFO 00000017 11:37:02.362 P-0021 T-0023 HDCP SERVICE --- >> Cr <<

[ 17.716119] TF : INFO 00000018 11:37:02.362 P-0021 T-0023 HDCP SERVICE --- >> SRVXOpenClientSession

[ 17.717719] TF : INFO 00000019 11:37:02.363 P-0021 T-0023 HDCP SERVICE --- glob size mismatch\x0A

[ 17.717952] TF : INFO 00000020 11:37:02.364 P-0021 T-0023 HDCP SERVICE --- glob decrypt failed

[ 17.718183] TF : INFO 00000021 11:37:02.365 P-0021 T-0023 HDCP SERVICE --- >> De <<

I checked in the logcat at it looks like because this service is not running surfaceflinger can't get a move on:

I/ServiceManager( 124): Waiting for service SurfaceFlinger...

I/ServiceManager( 124): Waiting for service SurfaceFlinger...

I/SurfaceFlinger( 574): SurfaceFlinger is starting

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

D/libEGL ( 574): loaded /system/lib/egl/libEGL_tegra.so

D/NvOsDebugPrintf( 574): Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl, version: 1.0.0

D/NvOsDebugPrintf( 574): NvEglRedirInit: requested version 1.0.0 egl driver version: 1.0.0

D/NvOsDebugPrintf( 574): Loaded EGL implementation /system/lib//egl/libEGL_tegra_impl

D/libEGL ( 574): loaded /system/lib/egl/libGLESv1_CM_tegra.so

D/libEGL ( 574): loaded /system/lib/egl/libGLESv2_tegra.so

E/gralloc ( 574): HDCP: hdcp_open failed, error 1

E/gralloc ( 574): creating nvcap video capture service

E/gralloc ( 574): failed to load symbol nvcap_video_create (Symbol not found: )

E/gralloc ( 574): Failed to create overlay for display 2

E/gralloc ( 574): Failed to create overlay for display 2

E/gralloc ( 574): Failed to create overlay for display 2

I/gralloc ( 574): using (fd=16)

I/gralloc ( 574): id = tegra_fb

I/gralloc ( 574): xres = 1280 px

I/gralloc ( 574): yres = 800 px

I/gralloc ( 574): xres_virtual = 1280 px

I/gralloc ( 574): yres_virtual = 1600 px

I/gralloc ( 574): bpp = 32

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

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

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

I/gralloc ( 574): smem_start = 0xbec00000

I/gralloc ( 574): smem_len = 0x00900000

I/gralloc ( 574): format = 1

I/gralloc ( 574): stride = 1280

I/gralloc ( 574): width = 203 mm (160.157639 dpi)

I/gralloc ( 574): height = 127 mm (160.000000 dpi)

I/gralloc ( 574): refresh rate = 60.27 Hz

I/SurfaceFlinger( 574): Using composer version 0.3

W/SurfaceFlinger( 574): getting VSYNC period from fb HAL: 16591945

W/SurfaceFlinger( 574): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID

D/NvOsDebugPrintf( 574): Library for API 1 exposes function not wrapped: glPointSizePointerOES

D/NvOsDebugPrintf( 574): Loading GLESv1_CM implementation /system/lib//egl/libGLESv1_CM_tegra_impl

F/libc ( 574): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 575 (SurfaceFlinger)

I/DEBUG ( 119): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 119): Build fingerprint: 'asus/US_epad/EeePad:4.1.1/JRO03C/US_epad-10.4.2.15-20120917:user/release-keys'

I/DEBUG ( 119): Revision: '0'

I/DEBUG ( 119): pid: 574, tid: 575, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<

I/DEBUG ( 119): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

I/DEBUG ( 119): r0 00000000 r1 00000000 r2 00000000 r3 00000000

I/DEBUG ( 119): r4 00000000 r5 00000000 r6 ffffffff r7 00000000

I/DEBUG ( 119): r8 00000000 r9 40f30bf8 sl 40f8c400 fp 00000000

I/DEBUG ( 119): ip 4022be90 sp 4056dd78 lr 40221a67 pc 40166d8c cpsr 400f0070

I/DEBUG ( 119): d0 44a0000000000500 d1 4448000000000320

I/DEBUG ( 119): d2 404e229620000000 d3 0000000000000000

I/DEBUG ( 119): d4 0000000000000000 d5 8000000080000000

I/DEBUG ( 119): d6 0000000000000320 d7 3f8000003f000000

I/DEBUG ( 119): d8 0000000000000000 d9 0000000000000000

I/DEBUG ( 119): d10 0000000000000000 d11 0000000000000000

I/DEBUG ( 119): d12 0000000000000000 d13 0000000000000000

I/DEBUG ( 119): d14 0000000000000000 d15 0000000000000000

I/DEBUG ( 119): d16 8000000000000000 d17 41cdcd6500000000

I/DEBUG ( 119): d18 416fa5893a3d2741 d19 0000000000000000

I/DEBUG ( 119): d20 40181bab4ccccccd d21 404e229620000000

I/DEBUG ( 119): d22 0000000000000000 d23 0000000000000000

I/DEBUG ( 119): d24 0000000000000000 d25 0000000000000000

I/DEBUG ( 119): d26 404e229620000000 d27 0000000000000000

I/DEBUG ( 119): d28 0000000000000000 d29 0000000000000000

I/DEBUG ( 119): d30 0000000000000000 d31 4000000000000000

I/DEBUG ( 119): scr 80000010

I/DEBUG ( 119):

I/DEBUG ( 119): backtrace:

I/DEBUG ( 119): #00 pc 00018d8c /system/lib/libc.so

I/DEBUG ( 119): #01 pc 0000fa63 /system/lib/libutils.so (android::String8::setTo(char const*)+8)

I/DEBUG ( 119):

I/DEBUG ( 119): stack:

I/DEBUG ( 119): 4056dd38 4024f154 /system/lib/libEGL.so

I/DEBUG ( 119): 4056dd3c 4056dd5c

I/DEBUG ( 119): 4056dd40 00000000

I/DEBUG ( 119): 4056dd44 40f8c6d8 [heap]

I/DEBUG ( 119): 4056dd48 4056dd5c

I/DEBUG ( 119): 4056dd4c 4023729d /system/lib/libEGL.so

I/DEBUG ( 119): 4056dd50 4024f154 /system/lib/libEGL.so

I/DEBUG ( 119): 4056dd54 402375bb /system/lib/libEGL.so (android::egl_display_t::HibernationMachine::decWakeCount(android::egl_display_t::HibernationMachine::WakeRefStrength)+110)

I/DEBUG ( 119): 4056dd58 4024f108 /system/lib/libEGL.so

I/DEBUG ( 119): 4056dd5c 4056dd7c

I/DEBUG ( 119): 4056dd60 00000000

I/DEBUG ( 119): 4056dd64 40f8c6d8 [heap]

I/DEBUG ( 119): 4056dd68 4056dd7c

I/DEBUG ( 119): 4056dd6c 4023729d /system/lib/libEGL.so

I/DEBUG ( 119): 4056dd70 df0027ad

I/DEBUG ( 119): 4056dd74 00000000

I/DEBUG ( 119): #00 4056dd78 40f8c6dc [heap]

I/DEBUG ( 119): ........ ........

I/DEBUG ( 119): #01 4056dd78 40f8c6dc [heap]

I/DEBUG ( 119): 4056dd7c 40f8c400 [heap]

I/DEBUG ( 119): 4056dd80 00000000

I/DEBUG ( 119): 4056dd84 40f8c6d8 [heap]

I/DEBUG ( 119): 4056dd88 40f31198 [heap]

I/DEBUG ( 119): 4056dd8c 400ff47d /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, char const*, char const*, char const*)+20)

I/DEBUG ( 119): 4056dd90 40f8c6d8 [heap]

I/DEBUG ( 119): 4056dd94 00000000

I/DEBUG ( 119): 4056dd98 40f30318 [heap]

I/DEBUG ( 119): 4056dd9c 00000001

I/DEBUG ( 119): 4056dda0 40f8c6d8 [heap]

I/DEBUG ( 119): 4056dda4 4056dde8

I/DEBUG ( 119): 4056dda8 00000000

I/DEBUG ( 119): 4056ddac 40101e25 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::initializeGL(void*)+120)

I/DEBUG ( 119): 4056ddb0 40f8c400 [heap]

I/DEBUG ( 119): 4056ddb4 40f30bf8 [heap]

I/DEBUG ( 119):

I/DEBUG ( 119): memory near r9:

I/DEBUG ( 119): 40f30bd8 5f776569 646e6977 0000776f 00000023

I/DEBUG ( 119): 40f30be8 00000001 00000008 00000000 00000000

I/DEBUG ( 119): 40f30bf8 72646e41 0064696f 00000000 00000033

I/DEBUG ( 119): 40f30c08 00000001 00000015 00000000 00000000

I/DEBUG ( 119): 40f30c18 20342e31 72646e41 2064696f 4154454d

I/DEBUG ( 119): 40f30c28 4c47452d 00000000 00000000 00000023

I/DEBUG ( 119): 40f30c38 00000001 0000000a 00000000 00000000

I/DEBUG ( 119): 40f30c48 6e65704f 455f4c47 00000053 00000043

I/DEBUG ( 119): 40f30c58 40f31618 40f464c8 00000000 409a4000

I/DEBUG ( 119): 40f30c68 00100000 00001000 00000000 fffffff8

I/DEBUG ( 119): 40f30c78 00000242 00000000 00000000 00000000

I/DEBUG ( 119): 40f30c88 00000000 00000000 40aa3f00 00000013

I/DEBUG ( 119): 40f30c98 00000001 00000001 0074006e 0000004b

I/DEBUG ( 119): 40f30ca8 00020101 ba9ae600 40640048 4064067c

I/DEBUG ( 119): 40f30cb8 00000001 00000000 00000000 00000001

I/DEBUG ( 119): 40f30cc8 00000000 40f46e50 40f30c98 00000000

I/DEBUG ( 119):

I/DEBUG ( 119): memory near sl:

I/DEBUG ( 119): 40f8c3e0 00000000 00000000 00000000 000002db

I/DEBUG ( 119): 40f8c3f0 00000001 000002c0 72676574 564e2e61

I/DEBUG ( 119): 40f8c400 455f4c47 625f5458 20617267 455f4c47

I/DEBUG ( 119): 40f8c410 745f5458 75747865 635f6572 72706d6f

I/DEBUG ( 119): 40f8c420 69737365 645f6e6f 20317478 455f4c47

I/DEBUG ( 119): 40f8c430 745f5458 75747865 635f6572 72706d6f

I/DEBUG ( 119): 40f8c440 69737365 735f6e6f 20637433 455f4c47

I/DEBUG ( 119): 40f8c450 745f5458 75747865 665f6572 616d726f

I/DEBUG ( 119): 40f8c460 47425f74 38384152 47203838 58455f4c

I/DEBUG ( 119): 40f8c470 6e755f54 6b636170 6275735f 67616d69

I/DEBUG ( 119): 40f8c480 4c472065 5458455f 6265645f 6d5f6775

I/DEBUG ( 119): 40f8c490 656b7261 4c472072 5458455f 6265645f

I/DEBUG ( 119): 40f8c4a0 6c5f6775 6c656261 5f4c4720 745f564e

I/DEBUG ( 119): 40f8c4b0 75747865 6e5f6572 5f746f70 6d5f4432

I/DEBUG ( 119): 40f8c4c0 616d7069 4c472070 53454f5f 7479625f

I/DEBUG ( 119): 40f8c4d0 6f635f65 6964726f 6574616e 4c472073

I/DEBUG ( 119):

I/DEBUG ( 119): memory near ip:

I/DEBUG ( 119): 4022be70 4015b7cc 4015b8c8 4015c06c 4015afc1

I/DEBUG ( 119): 4022be80 401fb795 401fb7a3 401fa1f0 4015b5ac

I/DEBUG ( 119): 4022be90 40166d71 401676ac 400c7271 400c73f5

I/DEBUG ( 119): 4022bea0 400c7519 400c74d5 40160761 4016c4a5

I/DEBUG ( 119): 4022beb0 4016f2c9 40164dd8 40187254 40169c7d

I/DEBUG ( 119): 4022bec0 4015cf75 40166e59 40172df1 40164e48

I/DEBUG ( 119): 4022bed0 40187298 40185fa0 40166b00 40170ab1

I/DEBUG ( 119): 4022bee0 40172209 401fa1d0 401fa210 401fa1a8

I/DEBUG ( 119): 4022bef0 401fa254 40164f28 40185c77 4016f059

I/DEBUG ( 119): 4022bf00 40172fe9 40172f8d 40172dc5 40069927

I/DEBUG ( 119): 4022bf10 40069919 4016fb1b 40164960 40169cbb

I/DEBUG ( 119): 4022bf20 401781bd 40164d3c 40172d8d 40173171

I/DEBUG ( 119): 4022bf30 4017327d 401fb6cd 4016ca61 4015b1ac

I/DEBUG ( 119): 4022bf40 4015b1f4 4015b280 4015ba9c 4015b1dc

I/DEBUG ( 119): 4022bf50 40164af0 4015ca28 401fba45 40164bec

I/DEBUG ( 119): 4022bf60 4015b15c 40169b79 4015c0f0 4015c524

I/DEBUG ( 119):

I/DEBUG ( 119): memory near sp:

I/DEBUG ( 119): 4056dd58 4024f108 4056dd7c 00000000 40f8c6d8

I/DEBUG ( 119): 4056dd68 4056dd7c 4023729d df0027ad 00000000

I/DEBUG ( 119): 4056dd78 40f8c6dc 40f8c400 00000000 40f8c6d8

I/DEBUG ( 119): 4056dd88 40f31198 400ff47d 40f8c6d8 00000000

I/DEBUG ( 119): 4056dd98 40f30318 00000001 40f8c6d8 4056dde8

I/DEBUG ( 119): 4056dda8 00000000 40101e25 40f8c400 40f30bf8

I/DEBUG ( 119): 4056ddb8 40f30c18 40f31198 c6983870 c6983870

I/DEBUG ( 119): 4056ddc8 ba9ae600 40f30c18 4024f108 40f680f8

I/DEBUG ( 119): 4056ddd8 40f748e8 40f748e8 40f680f8 4056de38

I/DEBUG ( 119): 4056dde8 00000000 40f30318 4056de40 00000002

I/DEBUG ( 119): 4056ddf8 4056de38 40f30408 40f30424 40f74978

I/DEBUG ( 119): 4056de08 401093af 40104ce5 4056de38 4056de40

I/DEBUG ( 119): 4056de18 4056de28 00caf32c 40f69dd0 40107b4c

I/DEBUG ( 119): 4056de28 40f68298 40f68e70 40f69dd0 40f30318

I/DEBUG ( 119): 4056de38 40f69dd0 40f74990 40f68e78 00000000

I/DEBUG ( 119): 4056de48 00000000 00000000 00000000 ffffffff

I/DEBUG ( 119):

I/DEBUG ( 119): code around pc:

I/DEBUG ( 119): 40166d6c ea0088fc b4504601 0600f07f f0102400

I/DEBUG ( 119): 40166d7c d0050f07 2b01f811 0f07f011 d1f9b1da

I/DEBUG ( 119): 40166d8c fa82c90c faa4f246 fa83f286 faa2f346

I/DEBUG ( 119): 40166d9c 2b00f386 2a00d0f4 461abf06 39073903

I/DEBUG ( 119): 40166dac 0f01f012 3101d107 7f80f412 3101bf02

I/DEBUG ( 119): 40166dbc 3fc0f412 eba13101 38010000 4770bc50

I/DEBUG ( 119): 40166dcc 8000f3af b5704b19 460d447b b1284604

I/DEBUG ( 119): 40166ddc f7f6b989 2116f8c9 e0236001 4a14b919

I/DEBUG ( 119): 40166dec 681e589b 460ee000 f7f44628 4605f8c5

I/DEBUG ( 119): 40166dfc 4604b1c8 460ee001 46202500 f7fe4631

I/DEBUG ( 119): 40166e0c 3001eb22 4628d104 f7f42400 e00af8bf

I/DEBUG ( 119): 40166e1c b93eb14d f00b4628 4604ffe5 f7f44628

I/DEBUG ( 119): 40166e2c e000f8b5 4620462c bf00bd70 0002e1fc

I/DEBUG ( 119): 40166e3c ffffff80 49034802 44794478 b99cf022

I/DEBUG ( 119): 40166e4c 000313f0 0000000b b8a0f7f4 4606b570

I/DEBUG ( 119): 40166e5c f824f000 4d0eb9d0 490f480e 4478447d

I/DEBUG ( 119):

I/DEBUG ( 119): code around lr:

I/DEBUG ( 119): 40221a44 6820fcce 3810b108 2100e7ff fcc9f7ff

I/DEBUG ( 119): 40221a54 60216829 b538bd38 46084604 f7fc460d

I/DEBUG ( 119): 40221a64 4601ede2 f7ff4628 6823fefd b1134605

I/DEBUG ( 119): 40221a74 0010f1a3 4618e000 f7ff2100 6025fcb2

I/DEBUG ( 119): 40221a84 f7ffb92d 6020feab 000bf06f 2000bd38

I/DEBUG ( 119): 40221a94 b538bd38 46084604 f7ff4611 6823fee3

I/DEBUG ( 119): 40221aa4 b1134605 0010f1a3 4618e000 f7ff2100

I/DEBUG ( 119): 40221ab4 6025fc98 f7ffb92d 6020fe91 000bf06f

I/DEBUG ( 119): 40221ac4 2000bd38 b538bd38 46084604 f7ff4611

I/DEBUG ( 119): 40221ad4 6823feae b1134605 0010f1a3 4618e000

I/DEBUG ( 119): 40221ae4 f7ff2100 6025fc7e f7ffb92d 6020fe77

I/DEBUG ( 119): 40221af4 000bf06f 2000bd38 b538bd38 46084604

I/DEBUG ( 119): 40221b04 f7ff4611 6823fe79 b1134605 0010f1a3

I/DEBUG ( 119): 40221b14 4618e000 f7ff2100 6025fc64 f7ffb92d

I/DEBUG ( 119): 40221b24 6020fe5d 000bf06f 2000bd38 b5f8bd38

I/DEBUG ( 119): 40221b34 460f4605 f7ff4614 682bfeb3 b1134606

Does anyone have any suggestions on how I can go forward? I'm jumping in the deep end here as my android/kernel knowledge is small, but I'm highly motivated to get this working.

Thanks in advance

Matt :D