[Galaxy Tab S Android Development] :
[MENTION=2371134]Schischu[/MENTION]:

First the most important: ganz herzlichen Dank, für Deine Patches, Deine Erklärungen und Deine Geduld bei letzterem!!!

(Thank you so much for your patches, your explenations and your patience!!!)

Perhaps you want to comsider porting cm's linker to aosp:

I have gpsd, omx and drm(*) running, without(**) SHIM's. All errors I have seen, was resolvable by your patches or choosing the right blobs (newer is not always better).

(*) drm is running without crashes, sadly something inside the running drm is not working:

02-02 20:34:36.634 2443 2443 I WVCdm : CdmEngine::eek:penSession
02-02 20:34:36.634 2443 2443 I WVCdm : Level3 Library Sep 25 2014 17:10:03
02-02 20:34:36.636 2443 2443 W WVCdm : Could not read /data/mediadrm/IDM1013/ay64.dat2: No such file or directory
02-02 20:34:36.659 2443 2443 W WVCdm : Could not initialize L1. Falling Back to L3.
02-02 20:34:36.702 2443 2443 I WVCdm : CdmEngine::QueryKeyControlInfo
02-02 20:34:36.704 2443 2697 W WVCdm : BufferReader::Read<T> : Failure during parse: Not enough bytes (4)
02-02 20:34:36.704 2443 2697 W WVCdm : CdmEngine::ExtractWidevinePssh: Unable to read PSSH atom size
02-02 20:34:36.704 2443 2697 W WVCdm : BufferReader::Read<T> : Failure during parse: Not enough bytes (4)
02-02 20:34:36.704 2443 2697 W WVCdm : CdmEngine::ExtractWidevinePssh: Unable to read PSSH atom size
02-02 20:34:36.704 2443 2697 I WVCdm : CdmEngine::GenerateKeyRequest
02-02 20:34:36.707 2443 2697 D WVCdm : PrepareKeyRequest: nonce=1729505379
02-02 20:34:37.234 2443 4291 W WVCdm : BufferReader::Read<T> : Failure during parse: Not enough bytes (4)
02-02 20:34:37.234 2443 4291 W WVCdm : CdmEngine::ExtractWidevinePssh: Unable to read PSSH atom size
02-02 20:34:37.234 2443 4291 W WVCdm : BufferReader::Read<T> : Failure during parse: Not enough bytes (4)
02-02 20:34:37.234 2443 4291 W WVCdm : CdmEngine::ExtractWidevinePssh: Unable to read PSSH atom size
02-02 20:34:37.234 2443 4291 I WVCdm : CdmEngine::GenerateKeyRequest
02-02 20:34:37.236 2443 4291 D WVCdm : PrepareKeyRequest: nonce=2658802472
02-02 20:34:37.731 2443 3963 I WVCdm : CdmEngine::CloseSession
02-02 20:34:37.733 2443 3963 I WVCdm : L3 Terminate.

I remember having seen this error on cm-11, but I don't remember how [MENTION=4193974]Barracuda77777[/MENTION] and me fixed that. I will try with manta's widevine from LL. The above happens with manta's widevine MM blobs.

I belive the remaining errors (at first the invalid grallocs from hwcomposer) and the failing camera preview starts, can be solved without using SHIMs(**). I think hwcomposer amd CameraWrapper need more love. (I wouldn't ne surprised, if just one or two definitions need to be changed. In my device git I had CameraWrapper and two header files. I had to delete the header files, after merging your commits, 'cause the definitions in my .h files was also in one of your commits, but I havn't checked (too tired and lazy) if they really match. For hwcomposer I have not yet an idea where to start.)

EDIT:

(**) I made a flashable zip for the boot partition for testing porpose. I thought, I had removed the SHIM line, but in fact I didn't. So all of the above was tested WITH(!!!) SHIM.

Thanx again.

BTW: Thank you, [MENTION=4222965]deadman96385[/MENTION], for having cm13 kernel sources ready, when I needed them!