r/jailbreak • • 1d ago

Question Need help getting the touchscreen working on an iPhone 8 Plus running Linux (A11)

I'm working on a project called HoolockOS, where I'm trying to run Debian Linux on an iPhone 8 Plus (A11), not through an emulator. I've already managed to boot Linux, get the screen displaying stuff, and get USB networking and physical buttons working. The main problem right now is that the touchscreen doesn't work. I've been digging through iOS 16.7.12 and found that the touchscreen uses Apple's Z2 protocol over SPI1 (spi-1,samsung). I've also extracted the original kernelcache and touchscreen firmware from the IPSW. Does anyone know anything about AppleHIDTransportProtocolZ2, AppleHIDTransportSPI, or how iOS initializes the touchscreen?

7 Upvotes

3 comments sorted by

1

u/outtajail iPhone XR, 15.1| 16h ago

How is this related to jailbreaking?

0

u/Belugabelugas 13h ago

I'm using jailbreak tools and iOS kernel research to find out about Apple's touchscreen drivers and get them working on Linux. I figured someone here might know about Apple's Z2 protocol.

1

u/outtajail iPhone XR, 15.1| 13h ago

Okay, thx. Cheers.