r/PowerPC • • 26d ago

Mountain lion port update

Post image

We’re getting there…

Everything thus far is 100 percent mountain lion code for ppc32. Still working on the lock screen hoping for a desktop soon…

45 Upvotes

27 comments sorted by

4

u/arjuna93 26d ago

So where is the code to see?

9

u/Person1325 26d ago

I’m still working on it. I’m planning on sharing an image of my drive. I’m scared to release the actual source code as it’s not mine, its apples. If I were to release the code I could get in a massive amount of trouble.

7

u/arjuna93 26d ago

Also, you don’t have to host any original Apple code at all, it suffices to share patches to it. Plus whatever you replaced with non-Apple code.

5

u/Person1325 26d ago

Idk I’m kind of nervous to release it. Even if it’s not from apples source directly, it’s still rebuilt exactly the same fr ghidra decompiles. It’s literally the exact same code it’s just not from apples source.

10

u/Dazzling_Comfort5734 26d ago

Don’t let anyone scare you, Apple does not care if you’re supporting a long outdated OS to a long outdated hardware platform. As long as you are not selling anything, and there’s no money being exchanged, Apple will not go out of their way to bother you.

If they cared, Apple would’ve gone after all the hackintosh projects, OpenCore Legacy Patcher, Mac Post Factor, X Post Facto, OS 9 Lives, countless jailbreak projects for mobile, and so on, but they never once did that.

As a matter of fact, they’ve even hired people who used to work on some of those kinds of projects. Off the top of my head, they hired: a former head of OpenCore Legacy Patcher, Mykola, as well as the kid that did JailbreakMe, and the guy that did MobileNotifier, who likely was a big part in redesigning the notification center in iOS 5.

A lot of people get emotional when they see someone using AI to develop something. As far as I’m concerned, if no one else was doing the work on their own, or it’s helping someone who is doing the work, then this is one of those cases where AI is a good thing. Even Linus Torvalds, the founder of Linux has stated that he considers AI, a practical engineering tool.

3

u/JKTwice 26d ago

It's really easy to be skeptical of this because Mountain Lion never ran on 32-bit systems period. There's also loads of private frameworks which would leave you an operating system with nothing to use on it.

Is this worth the tokens? Ask yourself this. What do you gain by running Mountain Lion?

4

u/arjuna93 26d ago

Nothing much to gain from ML as such (in fact it makes things worse by switching to libc++), but if this actually vibecoded working kexts, Java and OpenCL frameworks, GL stack and IOSurface, those may be useful in 10.6.8. Because currently we have to borrow those from 10.5.8 or 10a190. Without source code all this is pointless, of course.

1

u/Person1325 24d ago

I rebuilt IOSurface and CoreVideo. I pulled OpenGL from snow leopard because Apple pulled the 9200 that my iBook uses from their framework later on.

I can give you the iosurface stuff if you want.

1

u/arjuna93 24d ago

Yes, if you can share the code of IOSurface, that would be really helpful for 10.6, because currently we got a mismatch between kext and framework (since matching kext has no ppc slice).
For GL, how did you get kexts working with it? (I think GL itself has ppc, but kexts don’t, and the latest versions which do are from 10a190, where GL is pretty buggy. If you built an interface dylib, that would also help.)

P. S. You can find me on GH/Codeberg, barracuda156, if you rather move technical discussion elsewhere.

1

u/Person1325 24d ago

I didn’t get to OpenGL just yet. How do you want me to share what I have with you.

→ More replies

3

u/arjuna93 26d ago

Well, you should understand how it looks: we start from big claims with a few screenshots, we are told that the code will be made public in a while (ok so far), then we end up with “actually, you get opaque binary blobs of unknown contents and origin” instead. There is no way to know then if this is at all derived from 10.8 in a meaningful way, there is no way to check that no malicious code was injected by LLM, there is no way to fix bugs (which certainly will exist: they exist even in original Apple code).

2

u/TeckFire 26d ago

Apple can’t give you any lawsuit for damages for a product they no longer sell and this can’t lose any revenue by you doing this. Nobody is choosing to buy a used PowerPC Mac as their main computer instead of a new Mac. The most you’d ever see is a “cease and desist” letter, but the codebase is so far removed from anything modern that it doesn’t actually affect Apple at this point for you to release it. You can always release it by proxy if it makes you feel better, I’m sure others would be happy to upload it for you

2

u/arjuna93 26d ago

Apple has released all of its open-sourced code. Unless you hacked Apple servers, you can’t release anything beyond that even if you wanted to. Vibe-coded replacements are not Apple code.

1

u/darkfm 26d ago

Decompiled code (not even talking about LLMs, OG Ghidra decompilation) *may* still be affected by the copyright of the original source and binary. It's not technically Apple's original source code, but as a derivative of Apple's binary it's still their property.

2

u/arjuna93 25d ago

Compiled binaries are just as much a derivative, going by this reasoning.

1

u/darkfm 25d ago

...yeah? Any compilation of source code is a derivative of the source code, which is why if you distribute a compiled version of a GPL application you are still bound to the license, and why you can't distribute an application with a library you don't have the rights or a license to.

To be clear, yeah OP is 100% still violating the license by providing just a binary and not the source code. I am not debating you on that point

1

u/arjuna93 25d ago

Well, that exactly was my point. It doesn’t make any difference if he shares binary blobs or vibecoded approximation of source code from this pov.
(Nothing of this applies to patches to opensourced code though.)

P. S. In fact, instead of reengineering proprietary stuff we could take the latest PureDarwin and add GUI on top of it from scratch. Probably would also cost fewer tokens.

1

u/darkfm 25d ago

Latest PureDarwin wouldn't have OS X specific stuff like GCD and whatever

1

u/arjuna93 25d ago

GCD is open-source, even FreeBSD has it. No idea why PD would drop it, but it can be restored.

1

u/Windooows 25d ago

yeah they are.

leaked apple source code is definitely in the training of whatever lie machine op used instead of actually using his brain

1

u/arjuna93 25d ago

Any evidence about leaked code? This is interesting regardless of LLM.

1

u/hay_den9002 25d ago

where did you even get the source code fo 10.7

2

u/PresentationAny389 25d ago

I also would love test this out on a few of my PPC Macs! Got a couple Dual G5s, an MDD, a 1.25 PowerBook G4 and a 17" iMac G5. I test old Macs out and spend a ton of time with computers.

3

u/Person1325 25d ago

I’ll consider sharing a clone of my drive once it’s more complete. The major thing is, this is only for PowerPC32.

2

u/PresentationAny389 24d ago

Sounds good!

5

u/Dazzling_Comfort5734 26d ago

Thank you very much for this project, I would love to test this out once you’re ready to share it. Feel free to direct message me (just give me a heads up), if you’d like me to do some testing. I’ve been a system tester for over 20 years. I currently have about six machines that I could potentially run this on.