Shared publicly  - 
So, introducing libhybris, - Hybris is a solution that commits hybris, by allowing us to use bionic-based HW adaptations in glibc systems.

The previous G+ post disappeared for mysterious reasons and I'd like to not assume malice at this point, as it might have been a pocket dial kind of thing removing it. Awkward.

Practically, if you know what libdl is, this is a libdl-API-like implementation that happens to be able to load Android libraries, and overrides some symbols from bionic with glibc based ones.

The applications for this is for example being able to use binary-only android HW adaptation parts - GPU, RIL, etc. Included are example thin wrappers for libEGL and libGLESv2, with test programmes. The solution is a bit alpha and the pthread implementation needs wrapping/sanity, but currently, it works and shows quite interesting promise.

Shown on video is a unmodified test program, built against Mesa headers and glibc, using GL shaders, fullscreen on a Qualcomm GPU on a HP Touchpad (thanks to WebOS Developer Relations for sending me one) with the GPU userland driver being utilized. Android kernel is utilized with glibc userland. Future directions can be Wayland on top of this solution, utilizing vendor RIL .so's, etc. Come to #mer on to discuss this more and get involved in testing this on various hardware and do more amazing demos than the one shown on the demo.
Dimiter “malkia” Stanev's profile photoRichard Boswell (灵狩帝祸)'s profile photoSujai Antony's profile photoMichel Memeteau's profile photo
Damn, there was some informative comments in the original post!
I hope they put it back, very weird....
Never attribute to malice that which is adequately explained by stupidity - I think it may have been my mobile browser doing a bad click on 'delete post'. On mobile g+, it doesn't actually ask if you truly want to delete it.
+Carsten Munk

I dont suppose you can lay this all out in layman's terms for everyone reading this post?
That was done in the comments of the original post, alas that post was lost.
How would the surface sharing for wayland work then? Are there already extensions available in the android user space libraries?
If you look at gralloc API and the definitions of ANativeWindow, it certainly looks like it could work.
YAY!!! test_glesv2 passed! =)
+Justin Shafer  Um, you're a little late buddy, this was uploaded 14mth+ ago, this is a milestone passed loooong ago, nice necro.
No I am not late! I have been trying to reproduce this as STS never releases a rom.  Nice necro? WTH?
trying to get passed test_sf... we need directions. =)
So, you found the other collab. points? (inc. mail-list)
And what did you mean by STS?
Sts is the short-hand for my nickname.
+Jed Samson  Naa.. I decided I was ahead of myself and got lipstick with qmlscene working in nemo mobile.. Then switched to sailfish sdk. ICS may have been a problem.. tempted to retry with 10.1.. When it doubt, try all the variables.
Hello Carsten Munk,
Currently i am working on Qualcomm Snapdragon 600 series processors.

I have successfully ported Linaro with X Server on it and able to play video using VLC but it is too slow by using Software codecs. I also cross compile Qt4 without X11 libs to use framebuffer but it show some L2 cache error.

I read and find that libhybris will solve my problem.

Can you give me a small start step to use libhybris in Linaro so i can try more.
If you try linaro 11.04 you could attempt unity with egl and libhybris.. just because ogra said it should work, as that version of unity was written in egl.

You basically compile cm10.1 or aosp 4.4.2 with the bionic patches... take the system folder and vendor folder, move it to your rootfs, and then compile libhybris... you will need to create /dev/ directories... read my sailfish touchpad post on xda and it has that...
Sorry Carsten, I am sure you have better directions...
Newer hybris you will also have to run on your android source.. and move that new folder over to your device... for when it is time to compile libhybris...
Add a comment...