News for hackers. Stuff that matters.
Re:Asahi Linux: Linux on Apple Silicon project by Bluerise on Tuesday January 05, 2021 @02:53PM (#25650145)
First of all the feature wasn't available in the initial Big Sur release and it only got available during the Betas for the first minor patch. Second of all, some Apple developer stated on Twitter that (during M1 unveil) he's finally able to show all the boot policy work they worked on the past year(s) to allow users to boot foreign OSes and without opening up holes for attackers.

Basically it boils down to: they could have just used iBoot without changing it at all to keep it as a brick like the iPhone/iPad/Watch, but instead they invested plenty of resources to allow it.

With all that work done to allow it, I'm sure there'll be plenty of people inside of Apple who'd protest if someone changes their mind and decides all this has to go away.

Re:Asahi Linux: Linux on Apple Silicon project by lrvick on Tuesday January 05, 2021 @04:49PM (#25651615)
Kind of like all the work Sony did to allow Linux on the PS4 only to kill it later?

You don't own a mac. You can only do on it what it is profitable for Apple to let you do, today.

As much as I respect the incredible RE skills required for this task, I feel like this is shaky foundation unless an unpatchable bootrom exploit is discovered. Even then new models would be patched leaving existing users with an insecure platform that they can't replace when it breaks.

Re:Asahi Linux: Linux on Apple Silicon project by oneplane on Tuesday January 05, 2021 @08:01PM (#25653547)
You don't really own any high-tech stuff anyway (with that interpretation). You can't boot your Intel of AMD CPU without their signed and sometimes encrypted code. You can't even initialise a single core, let alone the DRAM controllers.

Everyone likes to point at Apple, because that's easy, but it's neither new nor big nor special. There are practically three things at play:

- root-of-trust, if you have a better solution than CA-based signing, by all means, let the world know

- NDA/IP/Lawyerisms

- Apple and many others aren't selling hardware, they are trying to sell experiences or ecosystems, and that is the only reason they exist at all and also the reason a lot of the beige box hardware companies are either less visible, less profitable or both

Is it fun? No. But it's not some sort of automatic malice or 'haha you don't own things but you thought you did' all the time either.

Re:Asahi Linux: Linux on Apple Silicon project by jmnicolas on Wednesday January 06, 2021 @04:44AM (#25656148)
> You can't boot your Intel of AMD CPU without their signed and sometimes encrypted code.

Except that Intel and AMD don't care what you run on your machine, they don't lose money if you don't run their software.

When you run Linux on a MAC, Apple isn't getting money from their iCloud subscriptions and from the store so they have a motive to stop you from escaping the walled garden.

Re:Asahi Linux: Linux on Apple Silicon project by Grustaf on Wednesday January 06, 2021 @06:36AM (#25656790)
You don't need iCloud to use macOS. And macOS itself is free, as is their awesome office apps, XCode and a lot of other useful apps and services.
Re:Asahi Linux: Linux on Apple Silicon project by jmnicolas on Wednesday January 06, 2021 @07:05AM (#25656959)
Of course but if you run Linux they're sure you will never earn them any money from these services.

So at one point they could decide that they don't want people to use Linux on their Macs and there's nothing you could do.

Look at what happened to CentOS.

Re:Asahi Linux: Linux on Apple Silicon project by Grustaf on Wednesday January 06, 2021 @07:30AM (#25657110)
If they can sell you a mac for $1500 I don't think they are very concerned that you're not spending 50 bucks a year on iCloud.

I mean, if they prevent Linux you probably won't buy a mac at all, you won't prioritise using an M1 macbook over using Linux if you're a hardcore Linux nerd.

Bottomline is that yes they are greedy, but they are not trying to stop people from installing Linux on macs just to perhaps earn some extra dollars.

Re:Asahi Linux: Linux on Apple Silicon project by lrvick on Thursday January 07, 2021 @03:27AM (#25668649)
Counter point: they have no problem charging $1000+ for iPhones and lock them down to only run the operating systems and apps they approve because consumers of them were largely not technical enough to understand they don't own their own devices.

Apple is motivated to do this as soon as they feel they can get away with it and keep profits as high or higher.

Re:Asahi Linux: Linux on Apple Silicon project by Grustaf on Thursday January 07, 2021 @06:56AM (#25670026)
I’m not saying they have any moral objections to locking the macs, it just doesn’t make any financial sense. Enough people want to run windows or linux for them to make the effort to make that possible. It’s also more in the spirit of PCs to have this possibility.

For phones, basically nobody wants to run android on an iphone, so it makes no sense to make it possible.

Keep in mind that they don’t lock down iOS because they hate our freedoms, it’s because it is much harder to make it safe and secure if it’s also very open. And since the market of people wanting to run other OSs is so small, they don’t want to take the additional cost.

As to owning you device. Unless you buy real hand stitched shoes with leather soles, your shoes are most likely completely impossible to repair, they’re basically molded rubber. It’s not because Nike hates freedom or even because they want you to buy new shoes more often, it’s because it’s so much cheaper to make shoes that way. But would you argue that you “don’t own your sneakers”?

Re:Asahi Linux: Linux on Apple Silicon project by oneplane on Thursday January 07, 2021 @05:12PM (#25678343)
How do you know the number of people that want this, and how large is the number of 'enough', and what other numbers come in to play? (Number of incidents, number of happy users, number of systems to support, number of binaries to consider during upgrades, number of sales... and is 'enough' a percentage? An absolute number? And how high does it need to be? And to what degree does it need to align with the goals of the product teams?)

My gut feeling would say: a bunch of hackers would be happy if they can hack on their code on Apple hardware but run plain FreeBSD or Linux while doing it. But that is not something you run a multi-billion business on...

Re:Asahi Linux: Linux on Apple Silicon project by Grustaf on Friday January 08, 2021 @03:26AM (#25682747)
My argument is that Apple wouldn’t be losing money by allowing people to install Linux on macs, it’s not about “preventing people from using macs without paying for iCloud”.

But in general, running Windows or Linux on macs is not uncommon, it’s definitely not just for hackers.

I don’t have any numbers at all but I’m sure nobody would doubt that it is orders of magnitude more common than people wanting to run homemade OSs on iphones.

Re:Asahi Linux: Linux on Apple Silicon project by oneplane on Wednesday January 06, 2021 @03:05PM (#25661591)
iCloud is free unless you pay for extra space or features, and most people I know of don't.
Re:Asahi Linux: Linux on Apple Silicon project by monocasa on Tuesday January 05, 2021 @05:06PM (#25651846)
PS3, and supposedly that was because some jurisdictions treated game consoles and computers differently for import tariffs (computers being cheaper to import), but those jurisdictions changed to not having a distinction.

Agreed with the underlying point you're making though. They allow this because it aligns with their current strategic objectives, and changes to those objectives can be arbitrary and capricious, at least from the viewpoint of the consumer.

Re:Asahi Linux: Linux on Apple Silicon project by pricci on Tuesday January 05, 2021 @06:20PM (#25652639)
I remember it was because geohot "jailbreaked" the PS3 using the Linux capabilities to some extent.

But I could be wrong.

Re:Asahi Linux: Linux on Apple Silicon project by svenpeter on Tuesday January 05, 2021 @06:37PM (#25652820)
There were two versions of the PS3: The original model and a slimmed down version released after a few years.

the timeline was something like this:

- Sony released the original PS3 with Linux running under a hypervisor that locked certain things (e.g. 3D rendering and their DRM)

- Sony released the PS3 slim without Linux. They claimed they didn't have the resources to make Linux run on it. (We later figured out all that was required were a few incredibly simple kernel patches)

- geohot found a somewhat unstable hardware glitch that, with some luck and a few tries, could escalate to hypervisor mode and enable e.g. 3D rendering from Linux. Their DRM was still untouched at this point and no one really cared.

- Sony released an update for the old PS3 models to disable Linux as well citing "security concerns"

After that more people started looking into the PS3 and marcan, me and others at fail0verflow eventually figured out their security wasn't all that great. It was actually so bad that we could calculate their private keys. Then they sued us for that but that's another story.

Re:Asahi Linux: Linux on Apple Silicon project by paulryanrogers on Tuesday January 05, 2021 @07:24PM (#25653267)
Got a link to that story?
Re:Asahi Linux: Linux on Apple Silicon project by svenpeter on Wednesday January 06, 2021 @05:05AM (#25656266)
zarvox already linked to the talk we gave at https://media.ccc.de/v/27c3-4087-en-console_hacking_2010.

We talked about how you could compute private keys but didn't release any keys for obvious reasons.

Essentially Sony had N different sets of keys protecting different levels of their system (e.g. one keyset for the hypervisor and another one for the kernel). What we found allowed to compute the private signing key given two public signatures.

Due to some technicality this meant that you needed another bug which allowed to extract these plaintext signatures. (The best comparison today would be that we found a universal code execution bug but you still needed to find your own info leak to defeat ASLR which we either didn't share or didn't have for all keysets).

What happened then was that geohot used this flaw we found together with a simple bug that leaked two plaintext signatures to extract one of the most important keys and published that one on his website.

Sony responded by suing him and us as well - probably because they assumed that we worked together. After a few month they reached a settlement with geohot where he promised to never hack any Sony product ever again. At the same time they simply dropped the lawsuit against marcan, me and a few other friends from fail0verflow without having ever served us. Those months resulted in quite some stress for me and personal and legal issues for another friend.

Re:Asahi Linux: Linux on Apple Silicon project by zarvox on Wednesday January 06, 2021 @12:05AM (#25654812)
Re:Asahi Linux: Linux on Apple Silicon project by michaelmrose on Tuesday January 05, 2021 @07:03PM (#25653085)
I actually think other os got canned before the jailbreak. If I recall correctly it provided extra incentive.

They may have wanted to make it harder to jailbreak. Another argument is that they weren't profitable to sell as computers but largely become profitable via the money they made off games sold for the platform including money paid by game developers.

Re:Asahi Linux: Linux on Apple Silicon project by colonwqbang on Tuesday January 05, 2021 @06:10PM (#25652527)
The same goes for any device you can buy today. We should demand more of manufacturers in general, I agree.

But you cannot expect that Apple should give you a legally enforceable contract (or whatever) pertaining to a product you haven't bought yet and they haven't even made yet.

The fact that the boot process on the M1 chip is explicitly not locked down on release is at least showing a modicum of goodwill.

Re:Asahi Linux: Linux on Apple Silicon project by raverbashing on Tuesday January 05, 2021 @03:05PM (#25650306)
I'd say there might be ongoing work to support Windows/BootCamp but in true Apple tradition (or maybe due to MS delays) it is being kept secret
Re:Asahi Linux: Linux on Apple Silicon project by kmeisthax on Tuesday January 05, 2021 @04:02PM (#25650991)
Apple's outright said it's a matter of Microsoft agreeing to license Windows on ARM for consumers. Right now putting Windows on an ARM Mac is about as legal as Hackintoshing.
Re:Asahi Linux: Linux on Apple Silicon project by saagarjha on Tuesday January 05, 2021 @04:28PM (#25651344)
I don't think that's what Apple said at all–they just said the ball is in their court, which means that they want Microsoft to write Bootcamp essentially.
Re:Asahi Linux: Linux on Apple Silicon project by DCKing on Tuesday January 05, 2021 @04:43PM (#25651555)
Yeah. Someone - cough cough Microsoft - would need to be convinced to write a Boot Camp Assistant app equivalent (okay), a Windows bootloader (okay), various device drivers for Apple Silicon hardware revisions for Windows (big ugh), graphics drivers for Apple Silicon GPUs for Windows (VERY big ugh). Microsoft will need to very motivated to distribute Windows on ARM for this to happen, even if Apple gives them access to all the info they need which is not a given by any means.

...I don't think this is going to happen, and Apple probably doesn't either.

Re:Asahi Linux: Linux on Apple Silicon project by Twisell on Tuesday January 05, 2021 @05:58PM (#25652416)
Apple have developed Bootcamp and provided drivers so far for Intel Mac. But shipping Bootcamp for Windows ARM would be an EULA violation until Microsoft loosen theirs conditions. Changing this is literally step 1.

Wether Apple would develop Bootcamp for ARM or not is purely theoretical discourse until then.

Re:Asahi Linux: Linux on Apple Silicon project by DCKing on Tuesday January 05, 2021 @06:30PM (#25652749)
The only driver Apples needed to develop for Windows are Mac specifics though, like the stuff that was managed by the T1. Not trivial, but not the end of the world to have to make. Things like wifi drivers and especially the graphics drivers are just the chip vendor's standard preexisting Windows drivers.

Apple is now the vendor of at least the GPU. I don't think they're going to write a Windows driver for that - the incentives are just not there.

Re:Asahi Linux: Linux on Apple Silicon project by ksec on Tuesday January 05, 2021 @04:53PM (#25651664)
If I remember correctly Windows on ARM is still limited to 32bit Apps.

And you can actually download Windows on ARM from Microsoft Insider Preview for Free. And run it on top of Parallels Desktop 16.

Re:Asahi Linux: Linux on Apple Silicon project by benjaminl on Tuesday January 05, 2021 @05:35PM (#25652176)
Windows on ARM supports 64bit ARM apps.

What you were possibly remembering was that Windows on ARM when it was first introduced only supported emulating x86 apps. Although x64 emulation is currently in preview.

https://docs.microsoft.com/en-us/windows/uwp/porting/apps-on...

Re:Asahi Linux: Linux on Apple Silicon project by GeekyBear on Tuesday January 05, 2021 @05:54PM (#25652366)
Legacy x86-64 app emulation has only just appeared in alpha form and still has massive compatibility issues.

I'd still call it something we hope to see in the future, instead of a working proof of concept.

https://www.youtube.com/watch?v=OhESSZIXvCA

Re:Asahi Linux: Linux on Apple Silicon project by brundolf on Tuesday January 05, 2021 @03:15PM (#25650416)
That would make a lot of sense. Windows is in a tight spot right now because OEMs have lagged on ARM. Apple could offer MS a way out of that, while at the same time giving people one more reason to spend money on a Mac.
Re:Asahi Linux: Linux on Apple Silicon project by r00fus on Tuesday January 05, 2021 @03:33PM (#25650645)
There is a significant number of people working at Microsoft who use Windows on a Mac as it's generally nice (and expensive) hardware. I'm sure they'd be thrilled to see Bootcamp operational on ARM Macs.
Re:Asahi Linux: Linux on Apple Silicon project by _ph_ on Tuesday January 05, 2021 @03:23PM (#25650519)
Right, if MS is serious about Windows on ARM, they should support the Mac as a show case and also to allow all future Mac buyers the chance to run Windows. Of course, Apple can't announce much until Microsoft makes an announcement about Windows on AS Macs.
Re:Asahi Linux: Linux on Apple Silicon project by tibbydudeza on Tuesday January 05, 2021 @03:37PM (#25650683)
Is MS not busy looking at doing their own ARM silicon for future Windows powered Surface devices after release of M1 and the failure Qualcomm with the Snapdragon 8cx (we just use ARM reference designs) ???.

They do have the chops for it since they have done Xbox and Hololens and various other devices in-house.

Re:Asahi Linux: Linux on Apple Silicon project by solarkraft on Tuesday January 05, 2021 @04:28PM (#25651357)
It's a rumor. If they're starting now I expect results in 2-5 years and in Azure first.

> They do have the chops for it since they have done Xbox and Hololens and various other devices in-house.

Not sure about the Hololens, but the XBox contains an x86 AMD processor.

Re:Asahi Linux: Linux on Apple Silicon project by unilynx on Tuesday January 05, 2021 @03:45PM (#25650773)
Maybe they are already developing their own "MS1" in secret ?

But even if they are, it would make sense to release Windows 10 for the M1 and getting Win-developers to start porting their applications to ARM, so they could leap-frog Apple on ARM if they manage to build a 'better' ARM SoC

Re:Asahi Linux: Linux on Apple Silicon project by Hamuko on Tuesday January 05, 2021 @03:41PM (#25650737)
Re:Asahi Linux: Linux on Apple Silicon project by zarkov99 on Tuesday January 05, 2021 @07:13PM (#25653175)
Or they could take significant market share away from Windows, possibly permanently, by offering increasingly more performant machines. Seems like a better move to me.
Re:Asahi Linux: Linux on Apple Silicon project by Hamuko on Tuesday January 05, 2021 @03:24PM (#25650534)
Linus Tech Tips actually just released a video a couple of hours ago where they compared the Surface Pro X SQ2 with the M1 MacBook Air. It was not pretty.

https://www.youtube.com/watch?v=OhESSZIXvCA

Re:Asahi Linux: Linux on Apple Silicon project by danudey on Tuesday January 05, 2021 @04:09PM (#25651084)
So basically, the M1 Macbook Air is two to three times faster than the SQ2, including comparing ARM Windows on the SQ2 against ARM Windows in a VM on the M1 Air.
Re:Asahi Linux: Linux on Apple Silicon project by glandium on Tuesday January 05, 2021 @07:37PM (#25653377)
Relatedly, I wrote this on Twitter a few weeks ago: cargo build of sccache on a Lenovo Yoga C630 (Snapdragon 850) in WSL: 4 minutes 55 seconds. On a Macbook Air M1: 55 seconds
Re:Asahi Linux: Linux on Apple Silicon project by mkl on Wednesday January 06, 2021 @06:06AM (#25656606)
WSL 1 or 2? WSL 1 has very slow disk access, so compiling can be pretty slow. I.e. I would expect WSL to be slower for disk reasons even it was running on an M1.
Re:Asahi Linux: Linux on Apple Silicon project by granzymes on Tuesday January 05, 2021 @05:13PM (#25651918)
The virtualized Windows comparison was just brutal.
Re:Asahi Linux: Linux on Apple Silicon project by uncledave on Tuesday January 05, 2021 @03:35PM (#25650664)
It’s 100% on the mark that video.
Re:Asahi Linux: Linux on Apple Silicon project by vlovich123 on Tuesday January 05, 2021 @04:24PM (#25651283)
He’s off on the strategic focus of Apple (where he says that the M1 benefit because Apple is taking a mobile OS and adapting it for the desktop vs Microsoft is taking a desktop OS and adapting it for mobile architectures. The truth of the matter is that Apple has been consistently making CPUs for about a decade that blow away the competition on compute per watt. Like 2-3 years before the industry catches up to where Apple was. They’re just bringing that same power to laptops/PCs as they’ve saturated what that buys them on mobile (not fully but it’s not a big enough sales driver as mobile sales growth has slowed). That’s why you see AirPods and M1 - “where else can we deploy our perf per watt and vertical integration advantage”.

As for “why are there so few ARM versions of apps”, that’s purely the vertical integration piece again. Apple makes it very clear the old tech line is dead so developers have a clear thing to explain to their management. Microsoft tries to keep everyone happy which means devs are like “I’ll wait until this actually has industry buy in” which then Microsoft uses as “well there’s no interest here and maybe the tech won’t work out/vendors won’t materialize” and “we can’t ask our customers to pay this transition cost”.

Re:Asahi Linux: Linux on Apple Silicon project by Technically on Tuesday January 05, 2021 @04:45PM (#25651572)
Is there any point of running windows outside of intel processors? I'm aware they have an ARM offering but it's not clear what the "killer apps" of the OS/arch pair are.

I'd think linux/BSD drivers would be the concern here!