LibUSB port for iOS IOKit
I tried UTM ,it’s great . My iPad Pro was jailbroken already , so whether would UTM to support usb type-c ? That would be wonderful.
No, such support is not planned because there's no libusb on iOS even if jailbroken.
Whichever developers wants to add usb support for UTM. Can do it using ported iOS libusb https://github.com/Brandon-T/iOUSB/tree/master/libusb.
I’ll reopen this as it seems possible to port for jailbroken devices.
Thank you for reopening it osy
@osy86 Thank you for taged it as enhancement.
I managed to get the dylib for libusb already complied for IOS here is the download link https://mega.nz/file/FPJVDIJY#pRh_U3JxAQ1Wqk4_CnvalwPuCtzT1e1OEfgjB8tXya4
Also a easier to implement, non jailbreak alternative to libusb, would be dark lightning https://github.com/jamiebishop/DarkLightning it is a swift library, that lets you transmit at 480MBit using usb, but the only caveat is you could only transmit data to macOS.
There is a new sandbox escape exploit that works on 13.4.1 this may work for libusb
The sandbox escape has no relevance here.
Maybe it does since I opened a issue with the developer that ported libusb to IOS and he got his app that runs on libusb to work using the sandbox escape as you can see here https://github.com/Brandon-T/iOUSB/issues/4
Whichever developers wants to add usb support for UTM. Can do it using ported iOS libusb https://github.com/Brandon-T/iOUSB/tree/master/libusb.
You say that but it hasn't been updated since 2018, so I doubt it supports ios 13, or probably even 12, as it was updated in june.
There have to be people working on this out there, but I don't think this would be possible without a hardcore dev thats willing to rewrite libusb. I don't think osy is willing to do that, and I'd rather he works on UTM first.
Edit: darkLightning could work, but again, it will need osy to work on it, or have some help from a hardcore dev
I am just saying you can try.
I would love it if someone tried too, but its harder than it looks
That’s true
I wonder if UTM can use USB in macOS. (especially M1 devices)
What is needed on a jailbroken iPad to enable USB pass through? This guide isn't listed anywhere
You need to be on iOS 14 or higher. Then you press the usb button on the toolbar.
What version UTM? I'm on newest and don't have this on my toolbar.
If you’re jailbroken, running iOS 14 or higher, and have UTM (not SE) v2.0 or higher it should show up. If it doesn’t then you don’t meet the requirements.
Maybe now with the new DriverKit for iPad OS 16 it will be possible to have it ?