checkra1n (current jailbreak for devices with A10 or older chips) is based on a BootROM exploit, so thankfully I can keep my iPad on newer iOS versions and remain jailbroken.
Actually it's A11 or older, which is even better.
iPhone runs Darwin, which has none of the low level primitives in the kernel (cgroups, namespaces, etc) that Linux does, so good luck with that!
https://linuxoniphone.blogspot.com/2010/05/android-on-iphone...