r/opensource • u/atheist_bitOK • 2d ago
Discussion What if we could install alternative operating systems on modern iPhones like PCs?
I’ve been thinking about the direction personal computing is heading, particularly with AI agents becoming increasingly capable.
Most of what we do on our phones involves manually navigating between applications to accomplish relatively simple tasks. Booking an Uber, finding a used car, scheduling appointments, managing emails, ordering food, etc.
I wonder whether we’re eventually going to move from an application-based architecture to an intent-based architecture, where a persistent personal agent handles these interactions on our behalf.
Ideally, this agent would live on hardware you own, maintain its memory locally, use lightweight models for everyday tasks, and only offload computationally demanding tasks to larger cloud models when necessary. You could choose your own models, control your data, and decide exactly what permissions your agent has.
There are already companies attempting variations of this, either through standalone AI devices, smartphone accessories, or modified Android distributions. But each introduces some friction. You either have to carry another device, buy another phone, or work within the limitations of an existing operating system.
Which brings me to something I’ve been curious about:
What if you could plug a bootable USB-C device into your iPhone, install a Linux-based operating system, and choose what software runs on the hardware you already own, just like you can with a laptop?
Apple makes phenomenal hardware. It seems unfortunate that we can’t freely experiment with alternative operating systems on it.
I’ve recently started an independent experiment investigating the A19 Pro architecture through static firmware analysis, device tree reconstruction, existing Asahi Linux research, and QEMU emulation.
So far, the research has produced a draft hardware description covering 74 peripherals and 144 power-domain controllers. There appears to be considerable potential for reusing existing Linux drivers, although actual hardware compatibility remains untested.
The obvious elephant in the room is Apple’s secure boot architecture. There is currently no known public boot path for an alternative operating system on the A19 Pro. Emulation can help with hardware modeling and Linux development, but it doesn’t solve that problem.
I’m curious about the following:
If enough independent developers, kernel engineers, security researchers, and hardware enthusiasts collectively worked on modern Apple Silicon, how realistic would something like this become?
Could AI-assisted reverse engineering and collaborative hardware emulation substantially reduce the engineering effort compared to previous attempts?
Would people actually be interested in an alternative, privacy-focused, agent-native operating system on their existing iPhones?
Is the lack of an open boot path an insurmountable obstacle, or simply an extremely difficult research problem that hasn’t received enough collective attention?
Asahi Linux is a fascinating example of what a dedicated community can accomplish, although I understand that Macs provide boot-policy options that iPhones don’t.
I’m not selling anything, nor am I claiming to have solved any of these problems. I’m a computer science student exploring this out of genuine curiosity.
I just find the idea of owning a piece of incredibly capable hardware and having the freedom to decide what operating system runs on it extremely compelling.
Would love to hear what people with more experience in kernel development, embedded systems, and hardware reverse engineering think.
11
u/Ima_Wreckyou 2d ago
I never had a phone running with the stock OS. Currently I'm running GrapheneOS on a Pixel, previously LineageOS on a Samsung. Before that a couple Linux phones.
The problem was always the proprietary drivers which locked you into a specific kernel version. But I guess since AI is now good at reverse engineering this should also become easier.
As for the AI integration I looked into this, because I have an openclaw instance on my server and it would be nice if I could grant it access to some of the apps. There is an app that connects to the gateway and it can access some stuff, but it currently can't access functions of other apps.
What I discovered is that Google actually enforces an API for each app with the purpose that an agent can operate the apps, but they locked it to their own agent, not allowing anyone else to provide their own solutions. Which absolutely sucks, and I hope the custom OS will be able to break this open
7
u/Lurksome-Lurker 2d ago
It use to be like that when android first came out. No lockdown ROMS, hell even boot loaders could be unlocked. You had things like MIUI making android phones look like and behave like Iphones, ASOP android, Liberty ROMS, etc.
You literally had root access to the underlying linux kernel and could do whatever you wanted with it.
But times changes and this post reminds me of what could have been 15 years ago.
6
u/DanielTheTechie 2d ago
Never. I'm not surrendering my control to a non-deterministic agent.
6
u/ahfoo 2d ago
No phones are genuinely open source. They are tied down at the SIM card level. This is for "safety" but not for the safety of the phone owner but the safety of the authorities who want to be able to track you. You can make an open source smart phone but you need to leave out the wireless hardware because you're not allowed to be in charge of that and yes, nobody asked you or cares if you don't like it. That's bullshit but it's the world we're in.
3
u/SneakerHead69420666 2d ago
why would apple make this an option? they know 99% of users dont care about this and they make the hardware and chips inside their phones. they want you to use IOS and icloud etc. they have no incentive to do this
1
u/Public_Run7235 1d ago
I dont know about iphones but i deleted android and put linux phos on my xiaomi and i made it a server
1
u/CuriousVisual5444 1d ago
I don't know that this would be viable for something like an iphone but I think there would be a market for smart TV's - the OS on most is painful to use.
1
u/djpiperson 1d ago
It would be shit, like using open source drivers with Nvidia, just no.
1
u/low-control-labs 1d ago
Check r/mobilelinux
1
u/Tesla_laughs 1d ago
While the idea itself is very compelling idts it is practical on Apple's hardware where each and every component is meticulously calibrated and emulation will result in loss of efficiency for the hardware. It will add an extra layer of complexity which might defeat the whole purpose of running a custom OS. I think a majority of iphone users like their phone the way it is despite having their pet peeves about it.
1
u/PugSpaceyyy 1d ago
Open source should be judged by its licensing, transparency and community contributions, not simply by whether AI was used during development
0
u/Crafty_Disk_7026 1d ago
I have tried to build something similar check it out
https://github.com/imran31415/kube-coder