3 ms·
Apples old hardware isn't all that closed - most models have enough exploits it's very possible to get your own low level code running. The key issue is that h
by londons_explore 6y ago
Apples old hardware isn't all that closed - most models have enough exploits it's very possible to get your own low level code running.
The key issue is that hardware drivers aren't there, and that requires a massive amount of reverse engineering work.
Apple could release documentation for the hardware, making things easier, but from apples point of view that opens them up to patent litigation (you can be sure trolls will scour the documentation for evidence of violated patents), and most internal documentation isn't of sufficient quality to release without at least someone reading it all over and removing swearwords...
Collecting the documentation together will be hard - it is probably scattered amongst hundreds of git repos, wikis, documents, spreadsheets, photos of whiteboards, on some engineers laptop, and mixed in with code and secrets.
Even then, without a lot of people putting a lot of effort in, you wouldn't see desktop linux running...
Overall, I can see why Apple doesn't help these guys - the disadvantages outweigh the advantages.
- toast0 6y ago> The key issue is that hardware drivers aren't there, and that requires a massive amount of reverse engineering work. I know Apple drops open source blobs for iOS. Do the kernels not include drivers? Especially as Apple takes over more of the BOM through vertical integration, there's less stuff they would need to suppress because of contracts (but of course that doesn't mean they do include other things).
- londons_explore 6y agoThe kernel source is here[1]. I don't see any hardware drivers there. [1]: https://github.com/apple/darwin-xnu https://github.com/apple/darwin-xnu
- DCKing 6y ago> Apples old hardware isn't all that closed - most models have enough exploits it's very possible to get your own low level code running. This might be semantics, but the fact that unlocking the bootloader or running code with the highest level of privilege on an iPhone requires exploits in the first place is a pretty big sign that these platforms are pretty closed. Checkra1n is very nice but this is an oversight that Apple is unlikely to make again (the only way Checkra1n was found in the first place was Apple fixing the underlying issue on Apple A12 devices anyway). Unfortunately I think the existence of Apple's Security Researcher Device program squashes any hopes that Apple would consider opening up store bought devices any further. The only real way I see Apple opening iDevices if some regulation to that effect would be enforced, but I don't see that happening any time soon either.
- vbezhenar 6y agoMay be it would be possible to rip kernel with drivers from iOS image and run custom user software over it. It should be very close to UNIX anyway. People want to run userspace software, not just Linux kernel.