Benjamin-Dobell / Heimdall

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy devices.
MIT License
2.62k stars 587 forks source link

Add an option to skip libusb_interface_alt_setting in FlashAction #533

Open TheZeldakatze opened 1 year ago

TheZeldakatze commented 1 year ago

This should make it possible to flash phones like the Samsung Galaxy Ace I (Gt-S5830I) that otherwise fail to set up an interface

This should fix #278 , I was able to push a custom recovery using this patch and running heimdall flash --dont_set_libusb_interface_alt_setting --boot <image>

Grimler91 commented 1 year ago

Just for the record (as an alternative fix), in the fork I maintain for alpine linux I opted for always skipping libusb_set_interface_alt_setting if there are no alt settings: https://git.sr.ht/~grimler/Heimdall/commit/2ecc98020c607631d1371c8596d20cce84586047