Is Memory Tagging Extension (MTE) and/or Memory Integrity Encforcement (MIE) one of the requisite features for GrapheneOS?

The recent moves from Google that look like Android will become more of a “closed garden”, and it might affect the furure of privacy ROMs.

I’m not sure if thats the same reason for this, but GrapheneOS have stated that they are working on a phone from another Android OEM. I have no idea if apple’s chips allow exclusively ios or linux-like os on the system, but how feasable is it that they might consider Apple (given if the inclusion of MIE & MTE makes iPhones more compatible with gOS) in the future?

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    57
    arrow-down
    1
    ·
    5 days ago

    No way. iPhones don’t exactly allow bootloader unlocking to begin with, but even if you could, it would be in no better state than Asahi on the M1 Apple computers. Every driver would have to be written from scratch.

    Pixels are a good platform for custom ROMs because until the recent drama, you could literally just build AOSP as-is and use it. So the GrapheneOS team only really need to focus on their changes to the OS and their apps and none of the drivers and modem interface and all that. That’s also why GrapheneOS runs so well on it: Google provided everything, it just works.

    iPhones would be the absolute worst phone to develop for: zero support from Apple, no drivers no documentation, no nothing. Not even a Linux kernel! At least for Android, the Linux license forces manufacturers to publish the source code, so at minimum you start with something that should boot and contain all the stuff to talk to the hardware already, just need to wire it in with userspace drivers. CPU manufacturers like Qualcomm also provide a fair chunk of the userspace drivers open-source too, so you can just pull that and have audio and video working.

    Not impossible, but definitely really hard and impractical.

    • passepartout@feddit.org
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      5 days ago

      This is a great summary. Also, see the GrapheneOS teams list of hardware prequisites. They have said themselves before that this is not a very high bar, but that there are just no other manufacturers focusing on security. Apple claim they do, and get recommended as second best option in the forums sometimes, but given the walled garden approach, it must be next to impossible to develop against, even if they unexpectedly completely open up their ecosystem.

      They would probably also have to take a lot of criticism for their implementation approaches and their brand integrity would suffer immensely. Maybe there would even be some new undisclosed vulnerabilities to fix, like the goto fail bug breaking SSL encryption ten years ago.

      Compare it to the new open source Nvidia drivers for Linux, they have taken quite a while to develop since Nvidia announced the release, and I don’t know if they have yet reached the performance levels of the proprietary ones. Doing this for a whole Phone, given they even fulfil the requirements hardwarewise, will probably take a decade. And in this decade, ten new iPhones will be released…