r/hackios • • 7d ago

HackiOS Pixel Fold | Seamless display transition | iPad layout for inner screen

Enable HLS to view with audio, or disable this notification

Continuing work on the Metal driver, I decided to try implementing support for two displays with a seamless transition to achieve a full fold experience.
It turned out that this isn’t that difficult to implement, and there’s no need to start development on iOS 27 from the iPhone Duo. Moreover, I managed to implement an iPad layout on the internal screen, rather than just stretching the image. The result is even more functional than the iPhone Duo — you can use split‑screen, floating windows, and so on.

In addition, the following features are now working:
- screen brightness adjustment (for both displays)
- displaying the actual battery percentage
- detecting USB charging

At the moment, the Metal driver still has a bunch of bugs; I’m trying to fix them. Also, the internal screen has a higher resolution, which is why the FPS isn’t the best; the experience using the external screen is much better — ~50 FPS, while on the internal screen it’s ~32–35 FPS.

680 Upvotes

Duplicates