Jailbreaking iPhones: what exactly does it entail?
I remember back in the day when people would "Jailbreak" iPhones, but never really picked up on what they were doing other than that it let them do stuff that those of us with "non-jailbroken" iPhones couldn't do.
Are they just booting another OS, e.g. android? Also: why haven't I heard of it in a while? Is it not possible on newer iPhones?
It meant getting root access to the device, which means you can do anything you want. People would get apps for free, install ones that aren't on the app store and customize their home screen in ways that Apple doesn't allow (like placing apps where you want). It's still IOS, just with the ability to screw around under the hood.
For Android, rooting is pretty much the same thing and it's still common.
Ahh, that makes sense. How did you go about doing that? It's not like you have a terminal to mess around in on an iPhone? Is the reason I haven't heard of it in a while that it's harder/impossible in newer iPhones?
Also: Why would apple prevent you from having root access? The way I see it, when I buy a phone, just like a pc, I should be allowed to do what I want with it.
The argument is that, for most people, letting them do what they want with something they don’t really understand is not a good idea. In this case it also creates a support headache for Apple. At first, they kind of tacitly accepted that jailbreaking was just going to happen and didn’t really actively fight it other than to close exploits used to root devices. As more and more people did it, for the reasons outlined above, more people wound up with bricked, or otherwise malfunctioning iPhones. When they went to Apple to fix it, at first there was an effort to help (you know, to retain customers), but they had voided their warranty. Because of that, Apple wasn’t really interested in spending lots of time troubleshooting something when they didn’t really know the full status of the OS (b/c there were multiple ways to jailbreak, and most of the fools taking their rooted phones to support didn’t understand enough to tell them what all was done beyond, “my kid’s friend said this would be cool”). Eventually Apple washed their hands of the whole thing and started refusing any support for rooted phones. That part, I have no problem with. They also started actively working to stop folks jailbreaking. That part, I thought, was too much. Just tell them they void the warranty by jailbreaking and refuse support. They dug their hole.
FWIW, I use an iPhone for personal use and android (Pixels) for work.
The way I see it, when I buy a phone, just like a pc, I should be allowed to do what I want with it.
Apple disagrees hard with that, they think they are the only ones who should ever have full access. It's easy to see why: If you have root access, you can get rid of their tracking and other data collection and avoid the ads that are shown in built-in apps like the app store.
Some of the jailbreaks could be performed simply by visiting a specific website. Bugs in the web browser in earlier versions of iOS would trigger something known as a buffer overflow. A very specially crafted web request could target a buffer overflow bug that could cause arbitrary code to be executed within iOS. It would require a lot of trial and error to figure out how to craft appropriate commands.
You rely on security exploits that grant access to low level stuff, which then allows for jailbreak. As security vulnerabilities get more and more discovered and fixed there’s just less opportunities to have root access.
Why would Apple prevent this
Capitalism, that’s why. It’s their way or no way.
This is the reason why I will never buy an iphone, way too limited. On android I don't even need root access to install alternative app stores und custom apps.
I just want to add jailbreaking iOS is still very much a thing today. I’ve been doing it for several years. You can take a look in r/jailbreak, as there is not a comparably-active community in Lemmy.
As for the main reason, as others have stated, is to have root-level control to your device, which alows you to install alternative stores, which besides providing apps not sanctioned by Apple, also provide tweaks to alter various things in your system (i.e. alter your homescreen look and feel, change your statusbar color and icons, notifications behaviour and style, etc etc.).
On the first iPhone once jail broken, the camera would also record video. Apple came out with video on a future release. The hardware was there all along, the software blocked it. Who knows what is locked down on current phones.