r/mobilelinux • u/Nemege16 • Aug 29 '26
Hardware ipad mini1(apple A5) running linux on custom iBEC. No XNU. Custom IRQ driver
i couldn't get the second cpu core or the touch screen to work because of the restrictive recovery environment and SecureROM. Only the buttons work. i found the framebuffer address by hand. Going to upload this to github soon. Basically what i did was to get arbitrary code execution working with pwndfu checkm8. And i pulled the Apple device tree from IPSW. i made a script to turn that ADT to compileable DTB and DTS. i know in the apple device tree some nodes are placeholders or pointers but some nodes did work out. This is only in RAM. i couldnt find a way to input keystrokes to the device so this is pretty much useless but a one trick pony.
5
u/Nemege16 Aug 29 '26
The reason that i could boot linux at all i think because of the bootx command in iBEC. The xnu kernel required interrupts but the recovery and flash environment didn't need touchscreen enabling and the second core was gated in secureROM. So i couldnt get those two working.
3
u/Nemege16 Aug 29 '26
https://github.com/teutekeune/iBSSloader
2
u/SuccessfulRiver1850 Aug 29 '26
Could this be ported for postmarketOS?
1
u/Darth_bunny Aug 29 '26
Any way to communicate with it? Like hooking it up to a llm to do reverse engineering and test it on device?
1
u/iphones2g- Aug 30 '26
This gives me hope for my plans of putting Linux on the apple TV 3rd gen
2
u/Material_Run_5570 Sep 04 '26
This is awesome.
A couple of days ago I asked ChatGPT if I can install Linux on my ancient Ipad Mini.
The reply: nobody would be crazy enough to take on that challenge.
I guess you proved it wrong
2
u/Material_Run_5570 Sep 22 '26
There is another madman who took on the challenge: https://www.reddit.com/r/AlpineLinux/comments/1wku3pi/alpine_linux_running_natively_on_ipad_mini_1/
1
u/meem-baa Aug 29 '26
any tutorial?
1
u/hypersonicwilliam569 Aug 29 '26
I have an iPad mini, this is interesting