jacobrosenthal / hf2-rs

Microsoft HF2 HID Flashing Format for UF2 Bootloaders
49 stars 14 forks source link

Make it possible to use in termux environment #46

Open mukuact opened 2 years ago

mukuact commented 2 years ago

In the non-root Android platform (termux), these changes is necessary. it is only allowed to open usb devices with "libusb_wrap_sys_device" in such env.

Use with termux-usb helper.

termux-usb -E -e "cargo hf2" <device path>