Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Hacking OpenAI(hacktron.ai ↗)
    94comments
  2. Jemalloc 5.4.0(github.com/jemalloc ↗)
    9comments
  3. The scourge of x86 emulation(fex-emu.com ↗)
    1comments
  4. Astra for Law(openai.com ↗)
    466comments
  5. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    115comments
  6. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    199comments
  7. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    18comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    150comments
  9. Qwen 3.8 Omni Flash(qwen.ai ↗)
    50comments
  10. Wax motor(wikipedia.org ↗)
    62comments
  11. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    214comments
  12. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    4comments
  13. Waymo in Singapore(waymo.com ↗)
    80comments
  14. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    3comments
  15. How to Write with an LLM(sockpuppet.org ↗)
    74comments
  16. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    17comments
  17. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    47comments
  18. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    8comments
  19. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    18comments
  20. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    34comments
  21. The most important product decision is what you don't build(liamnugent.me ↗)
    28comments
  22. CrowdSec Source Code Leak(crowdsec.net ↗)
    44comments
  23. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    90comments
  24. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    342comments
  25. How Uber Protects Against Retry Storms(uber.com ↗)
    33comments
  26. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    31comments
  27. Khipu (Quipu) Field Guide(khipufieldguide.com ↗)
    1comments
  28. Code Scans(devin.ai ↗)
    4comments
  29. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    38comments
  30. The American Religion of Self-Storage Facilities(newyorker.com ↗)
    378comments

Almost booting an iOS kernel in QEMU

121 pointsby 8y agoworthdoingbadly.com
19 comments
8y agoHN ↗

Interesting. I would love virtual iPhones. For testing apps, anonymously. But I doubt that I'd get an invite from Corellium, either :(

8y agoHN ↗

..but XNU is now open source.

Well XNU has always been 'open-source' [1] for some time on Intel machines but its just that ARM support remained closed (until 2017) which is why the darwin-on-arm [2] project existed. But I'm assuming that the OP means that the ARM64 code was recently open-sourced in the XNU sources[3] making a possible open-source ARM port much simpler. I still find it quite interesting to see some regained attempts in emulating iOS; with Corellium being the furthest at doing this.

[1] (https://opensource.apple.com)

[2] (https://github.com/darwin-on-arm/xnu)

[3] (https://github.com/apple/darwin-xnu/search?p=5&q=ARM64&unsco...)

8y agoHN ↗

In a way, it seems strange nobody made a full-blown iPhone/iPad iOS emulator yet. Not a simulator like the one Apple makes, but an emulator like for game systems. I would guess the amount of information available about iPhone hardware and software would make it much easier to emulate than e.g. a gamecube, Wii, PS3, etc, especially for older models. Such an emulator could obviously be used for piracy, but could also be an intersting tool for a homebrew scene (custom firmware, developing iOS apps on Linux & Windows, etc.

Is there a practical reason why this would be hard or impossible? Or is it just for fear of Apple's lawyers?

8y agoHN ↗

It seems strange to me that there are no Chinese OEMs selling mobiles with iOS. I mean, I understand it's hard, but is it THAT hard?

8y agoHN ↗

You would probably need to hack the OS to disable updates etc to prevent Apple from remotely bricking your device.

8y agoHN ↗

Wrapping it with a firewall would be the easy part.

8y agoHN ↗

That's be the easiest part. You can just grep the binary for apple domains and replace them with your own.

8y agoHN ↗

Yeah it is because the CPU and GPU are customized for Apple. You'd have to recreate them (which probably would require a F500 company like Amazon or Google) or write a translation layer similar to WINE (which would need a couple dozen expert coders). Not worth the effort for knockoff phones.

8y agoHN ↗

Knockoff iPhones would sell like hot bread.

8y agoHN ↗

You can buy them at "the market" in Shenzen. You can even put in original Apple logic board and run iOS - and have crazy things like double storage, memory cards, 3.5mm output, etc. You have to build it from parts though, no one is selling a complete product AFAIK.

8y agoHN ↗

Afaik, those are not really knockoff as in a Gameboy replica. They're still using the proprietary Apple mainboard and all for the most part. What they did to double the storage was to desolder and solder back in a different storage with different capacity with the image from the original storage cloned onto, a process which kinda costly amd very risky as the components aren't designed to be plug and play like desktop components

Ref: Youtube channel "Strange Parts"

8y agoHN ↗

There are stores selling knock-off easy to manufacture parts like body, some basic electronic components etc, and yes, as I said, the logic board itself needs to be original.

8y agoHN ↗

I would be fiercely interested in any more details around this. I'm sure many of us have seen Scotty from Strange Parts doing his headphone socket project, and the franken-phone built from spare parts, but it sounds like you're suggesting something even more than that.

Citations, please!

8y agoHN ↗

Sorry, that's personal anecdote, not something I got from youtube or articles that could be cited. See my other reply: I'm not really suggesting anything more than what you can see on Youtube, just that knock-off iPhone parts that are easy to manufacture (body, battery electronics etc) exist - not the logic board though.

8y agoHN ↗

They still can't run iOS apps from the App Store. They are encrypted when downloaded and only decrypted at runtime. Decrypted apps can be offloaded from a jailbroken phone and then re-uploaded to a pirate store though.

8y agoHN ↗

It seems Corellium (linked to from the blogpost) has done that. That said, it seems they only run iPhone 6, et al., which was jailbroken (untethered), so it's significantly easier to emulate than trying to run the only unencrypted file (kernel cache) targeting an undocumented CPU with Qemu of an iOS beta that was released a few days ago.

8y agoHN ↗

Corellium can run up to iPhone X, and certainly can run iOS 12 (Option is given for jailbroken or not jailbroken too).

Only limit which you may be thinking of is that it only supports 64-bit ARM, so no emulation of the older devices.