• titanicx@lemmy.zip
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    I mean I’m not sure I could actually boot off of my phone as a USB drive. That would be an interesting concept.

    • Chais@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      1 day ago

      Unlikely. The USB protocol requires one master and one or more slaves (or whatever less charged nomenclature you prefer). In all likelihood UEFI will blindly assume to be the master while Android and iOS require negotiation to figure out who’s boss and what interface to present.
      Although given UEFI it might be possible to patch that functionality in.

      • hexagonwin@lemmy.today
        link
        fedilink
        arrow-up
        2
        ·
        15 hours ago

        i had this feature when i installed ubports (ubuntu touch) on my phone in 2021.

        much before that in 2013 my phone’s stock rom had a ‘driver install’ mode that presents an iso file in the system partition to the computer as a virtual cdrom, i could swap out that file with a linux iso and it would boot

      • Ajen@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        The USB protocol and UEFI aren’t a problem, but Android/iOS might be. I’ve booted various PCs from a raspberry pi (USB-OTG), but the last time I tried to boot an iso from my android phone I couldn’t get it to work. It’s been a while so I can’t remember exactly what the issue was.

    • __hetz@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      There’s a tool, whose name I forget, which is included in Kali NetHunter to do just that. It does whatever trickery is needed to present the phone/tablet as a bootable thumb drive. It requires root and, to my dismay when I needed it, I never owned a device that was rootable to fully use NetHunter. It could do a lot of other cool stuff via USB too; phone as a Bad USB, Rubber Ducky, automated Windows login bypasses, etc.