postmarketOS

Screen Calibration

Framebuffer

On most Android devices, a somewhat working framebuffer is required to get Weston and other Wayland compositors running. The alternative to framebuffer would be [[DRI|Glossary#dri]].

If your framebuffer does not work out of the box, try the following: Run this to set the framebuffer resolution: cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode Boot TWRP/Android and read out the correct framebuffer configurations from the /sys... paths and try to set them in pmOS * If you made it work, create an initfs hook, that instantly sets the framebuffer right. Example

Weston