5 ms·
Android's driver APIs and userland implementation are nonstandard. They have their own libc (bionic) and their own linker. Vendors supply binary blobs for many
by bri3d 7y ago
Android's driver APIs and userland implementation are nonstandard. They have their own libc (bionic) and their own linker. Vendors supply binary blobs for many drivers (RIL, graphics, etc.).
These drivers need a series of compatibility shims to work with "normal Linux," on both sides of the driver API.
The Kernel <-> Driver interface needs to be backported to Android's non-mainline HAL, usually using Halium. The driver <-> userspace API needs to be implemented, for example by xf86-video-hwcomposer or libhybris-libwayland-egl. Finally, the blob needs a libc shim to work with normal libc (libhybris itself).
https://wiki.postmarketos.org/wiki/Hybris https://wiki.postmarketos.org/wiki/Hybris
- MartijnBraam 7y agoI like to point out that most devices don't use hybris on postmarketOS
- MuffinFlavored 7y agoand instead have native support?