Okay, I've made so many change to the original port, and now the last error is fixed.
BUT, now it's a porblem with libsigchain.so (in /system/lib/). Even if in init.environ.rc in the kernel, "export LD_PRELOAD libsigchain.so" is present.
We are current running as permissive while we work oh kind with the device. When we have all he playing nice we can flip back to enforcing mode. Its impossibly difficult to debug hardware issues when fighting selinux denials at the same time.
Great news !
Data connexion and headset is fixed on pico !
here my boot everything works except wifi and bt.
Great ! I've tested it, and it's truth !
But like h1gh1 meant : It will be better if you share your work on github :)
Any help would be appreciated ^^
Link : https://www.dropbox.com/s/ad7h3rmq7xcc0f0/cm-12-20141223-UNOFFICIAL-golfu.zip?dl=0