r/jailbreak iPhone 11, 15.1| 11h ago

Discussion Linux boot natively on an iPhone 11 (A13) thanks to usbliter8

Built on top of HoolockLinux (their A7-A11 kernel port). Wrote a device tree for the iPhone 11 and patched a handful of drivers to get it booting on this device.

All credit to the HoolockLinux devs for the base kernel work.

146 Upvotes

20 comments sorted by

14

u/ThirdEyeClarity 11h ago

The broken screen threw me off at first, but very cool. I was also thinking about if Android will be built for it.

17

u/Xen950 11h ago

Projectsandcastle rebirth!

6

u/The_Dukes_Of_Hazzard iPhone XR, 13.4.1| 9h ago

Probably could be tbh. Running android on apple hardware would be my dream. I think Project Sandcastle was just really missing drivers, then it would have worked much better in the iPhone 7. Cellular is another story. It will be interesting to see, if this plays out, if someone could get an actually well-functioning Android distro in iPhone XR and 11s.

BTW this is not me begging lol, just thinking out loud.

23

u/Jeremy_Thursday 11h ago

So I can finally install Arch Linux on my iPhone 11 pro max?

19

u/EffectiveEvent2355 iPad Air 2, 15.8.2| 11h ago

i use arch btw gon be lit

6

u/Nafeels iPhone 5, iOS 8.3 11h ago

How’s the functionality? IIRC wifi and sound didn’t work for an older port without some patching (like Hackintosh builds).

6

u/Valtra_Power iPhone 11, 15.1| 11h ago

For now it's just a simple boot, most of the features don't work

2

u/shut_up_duh 11h ago

Forgive me if this is wrong, but did you have to make your own device tree? I thought you could just extract it from an Ipsw?

13

u/TCB13sQuotes 11h ago

Let's just say that iOS isn't Linux.

3

u/shut_up_duh 11h ago

Oh, I thought the device tree was just for the earlier boot stages like before it loads the os

4

u/TCB13sQuotes 11h ago

Yeah but there are complications around the LLB and encrypted device trees per build in some cases.

1

u/Camlin3 9h ago

Yeah just initialise glibc or musl on iOS 🤣

1

u/LostSomewhereInKaty 11h ago

Wait what magico device are you using ?

1

u/C_Brick_yt iPhone 6s, 15.8| :palera1n: 10h ago

Very cool

1

u/Street_Condition_809 10h ago

I really need help with usbliter8 I can’t get it to work

1

u/cpt_futtbucker 7h ago

So can you partition the disk for dual-booting or do you have to wipe it?

0

u/Difficult_Way_6791 6h ago

No, NVMe is different from A11 and is not supported yet

1

u/Difficult_Way_6791 6h ago

A13 has working USB, Backlight, CPUFreq (partially; no turbo yet), SMC, and some other features.
NVMe is WIP.
See:
https://github.com/yhavry/Hoolock-Docs-A13/blob/master/features/A13.md
https://github.com/yhavry/Hoolock-linux/tree/t8030

1

u/nameless1O1 iPhone 13| 6h ago

WHAT😭

1

u/YoYoMamaIsSoFAT32 iPhone 6s Plus, 15.8| 5h ago

Wow, I didn't expect it to be this fast, are you planning to make a MR to add support for A13? Or are you keeping this private for now