News for hackers. Stuff that matters.
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by johnklos on Sunday December 29, 2024 @09:15PM (#42545757)
According to the app store:

    This app may use your location even when it isn't open, which can decrease device battery life.
Why would an emulator running Linux need someone's location?
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by n2d4 on Sunday December 29, 2024 @10:45PM (#42546245)
It supports /dev/location. It doesn't request location consent until you try to open that file
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by teruakohatu on Monday December 30, 2024 @05:17AM (#42548061)
Using location and/or background audio are ways of keeping an app running in the background and not being killed by iOS.

Obviously this is a bad thing for any app to abuse but in this context it’s up the user to write in ‘cat /dev/location > /dev/null &’ into the shell or a shell script.

Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by ChocolateGod on Monday December 30, 2024 @05:43AM (#42548177)
Would be interesting to see the interpreter available for Apple Silicon Macs as a lightweight alternative to lima for running Linux binaries.
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by fragmede on Monday December 30, 2024 @08:01AM (#42548929)
why do you think that it would be lightweight compared to (co)Lima? it's only being done on iOS because Apple won't let anybody do any better. Apple Silicon mac's have far better options available
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by ChocolateGod on Monday December 30, 2024 @06:58PM (#42554968)
Lima out of the box for me running an Alpine Linux container uses 800MB (resident) of memory.

That's quite high overhead given the VM inside is using a 1/10th of that.

Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by devops99 on Tuesday December 31, 2024 @12:21AM (#42556621)
I wonder what kind of expertise and specialized equipment is needed to liberate, as in get Linux as the first thing running, on relatively modern iPhones.

To any of Apple's lawyers that may ever happen to read this:

  - lick my butt

  - you can't stop us
Re:ISH: Linux on jailbreak-free iPhones via userspace emulation by thallosaurus on Sunday January 05, 2025 @03:47PM (#42604891)
depending on what you see as "relatively modern", you can check out "project sandcastle" which lets you run postmarketOS (and thus linux) on the iPhone. Kinda tethered but it runs