94 Commits

Autor SHA1 Mensagem Data
Benjamin Dobell d0526a3b74 Do not use static libusb-1.0 by default on Linux. 2015-03-21 14:53:43 +11:00
Benjamin Dobell 8cb7f3dd87 Actually fix #261 (CMake Linux detection) 2015-03-06 00:48:18 +11:00
Benjamin Dobell fae5f627a0 Implemented hack to make WinUSB play nice with empty receive transfers 2015-02-21 03:50:55 +11:00
Benjamin Dobell e98281afb7 Fixed incorrect method arguments causing PIT transfers to fail 2015-02-21 03:50:54 +11:00
Benjamin Dobell 625fdf2736 Fix issue with Linux specific code not compiling (#261) 2015-02-20 23:57:08 +11:00
Benjamin Dobell 67c17cc48b Fix Unix build issues and work-around Qt5 Mac UI bugs 2015-02-19 05:22:04 +11:00
Benjamin Dobell b22ae7b89f Removed autotools and VS files, and standardised source dir naming 2015-02-19 04:13:33 +11:00
Benjamin Dobell 09ba183922 Update Heimdall CLI build to use an MSYS2 environment 2015-02-19 02:49:11 +11:00
Benjamin Dobell 69c3aafd81 Fix UNIX CMake (and OS X autotools) builds for Heimdall CLI 2014-12-10 00:57:29 +11:00
Benjamin Dobell b9e722768f CMake build fixes 2014-11-17 16:06:06 +11:00
Benjamin Dobell ee53613ec1 Continue to support autotools... for now 2014-11-17 16:05:34 +11:00
Benjamin Dobell 1ddfdc1a88 CMake files for Heimdall CLI and mingw support 2014-11-17 07:02:39 +11:00
Benjamin Dobell d613a87cdb More empty transfer craziness, this time when receving packets
It seems newer devices need more weird empty transfers in order to
function.
2014-07-06 03:50:48 +10:00
Benjamin Dobell fbebc394f4 Autogen'd files for Heimdall 1.4.1 2014-06-01 14:49:56 +10:00
Benjamin Dobell 082fb091f1 Fixed support for large files (up to 2^32 - 1 bytes)
The Loke protocol supports 32-bit unsigned for the size of files being
flashed. However, POSIX file commands only support 32-bit (signed). As
such we now have platform specific support for larger files.
2014-06-01 14:09:56 +10:00
Benjamin Dobell 46d9a51e18 Fixed file transfer sequence bug 2014-06-01 13:12:07 +10:00
Benjamin Dobell 7d6ddcd5d5 Give devices some leeway to handle empty bulk transfers. 2014-05-31 12:09:33 +10:00
Benjamin Dobell 900161750e Fixed regression that broke support for GT-I9100 etc. 2014-05-18 05:45:39 +10:00
Benjamin Dobell fd23c07ef5 Removed unused optional parameters in BridgeManager. 2014-05-18 04:18:36 +10:00
Benjamin Dobell b62d66b297 Windows does not provide (or require) va_copy. 2014-05-17 04:36:51 +10:00
Benjamin Dobell abea6dbbe0 Added missing new lines to CLI help output. 2014-05-15 00:59:13 +10:00
Benjamin Dobell e6fdafd482 Fixed help output alignment. 2014-05-11 19:26:26 +10:00
Benjamin Dobell 150e3344de Fixed header guard typo. 2014-05-11 19:18:59 +10:00
Benjamin Dobell e28d6c0768 Fixed hard-coded libdir regression. 2014-05-10 11:50:34 +10:00
Benjamin Dobell b518fdc9f6 Merge pull request #199 from m-willers/fix_stdargs 2014-05-10 01:27:19 +10:00
Martin Willers d5cd49b73c fix --stdout-errors handling
When using --stdout-errors, the messages written to stdout contained garbage.

Inside vfprintf(), each va_arg() consumes one entry from the va_args.
Trying to use the same va_args variable again results in undefined behavior
as subsequent va_arg() invocations continue to read from memory past the
actual variable space.

Instead, a copy has to be made with va_copy() and this be used for
outputting to stdout.
2014-05-10 01:22:22 +10:00
Benjamin Dobell ce486f7ecb Removed a few unused variables. 2014-05-07 06:48:00 +10:00
Benjamin Dobell 9b56396ba1 It would seem that messing around with line coding etc. is not necessary. 2014-05-07 00:23:19 +10:00
Benjamin Dobell 9f957a1937 Updated copyright notices to 2014 2014-05-06 22:53:10 +10:00
Benjamin Dobell 32383b994d Merge pull request #168 from r-craig/master
Fix error condition check on finding correct usb interface.
2014-05-06 22:40:04 +10:00
Benjamin Dobell ca6db9a647 Upgraded to libusb-1.0 (1.0.18) post libusbx merge. 2014-05-06 21:39:07 +10:00
Benjamin Dobell a5452e884a Cleaned up command line interface
- Removed the "--delay <ms>" argument.
- Improved Action usage info.
2014-05-06 21:39:07 +10:00
Benjamin Dobell 0767cff624 autogen'd for 1.4.1 2014-05-06 21:39:06 +10:00
Benjamin Dobell 3dae56a596 Bumped version number to 1.4.1 2014-05-06 21:39:06 +10:00
Benjamin Dobell 1e345bcd7c Fix support for SGS4 (with empty bulk transfers)
After each bulk transfer sent containing an Odin/Loke protocol packet, we now
send through a zero length bulk transfer. This is required for newer devices to
function correctly.
2014-05-06 21:39:05 +10:00
Benjamin Dobell a934ad2608 Project file changes (for statically linked vc++ library builds). 2014-05-06 21:39:04 +10:00
Benjamin Dobell 3af0c3ad63 Minor code clean up. 2014-05-06 21:39:04 +10:00
Robert Craig 5cd4141c98 Fix error condition check on finding correct usb interface. 2013-11-06 10:00:33 -05:00
Juan Orti Alcaine e9311908a0 Fix udev rules directory
The udev rules always must be installed in /lib/udev/rules.d even when it is
a 64 bits OS
2013-06-12 09:35:26 +02:00
Benjamin Dobell f47b69d037 Modified Heimdall Frontend so it can find Heimdall CLI in /usr/local/bin on OS X. Also updated the OS X build files, as well as READMEs for all platforms. 2013-06-08 15:07:01 +10:00
Benjamin Dobell b8a92f1c71 Fixed configure/libtool issue on OS X by placing AC_PROG_LIBTOOL after AC_PROG_CXX. 2013-06-06 22:09:36 +10:00
Benjamin Dobell 3d6a35972b Renamed udev rules file and explictly added /usr/include to the include search path for Heimdall Frontend on UNIX systems. 2013-06-04 23:00:55 +10:00
Benjamin Dobell 858a3470e9 Moved LICENSE to root of the repo and deleted heimdall-frontend duplicate documentation in doc-pak. 2013-05-14 00:09:19 +10:00
Benjamin Dobell 9fa0a13022 Minor build file clean-up for linux and regenerated autotools output for 1.4.0 release. 2013-05-13 23:38:33 +10:00
Benjamin Dobell 07dcba54fc Update copyright notices, version identifier and documentation for 1.4.0 release. 2013-05-13 00:08:30 +10:00
Benjamin Dobell c9e4f764c2 Removed bad Galaxy Camera device identifier, as it was the PID for regular boot, not download mode. 2013-05-11 13:36:05 +10:00
Benjamin Dobell f46ef9d47a For devices that support variable packet size - decreased sequence size from 100 MiB to 30 MiB. 2013-05-05 23:59:47 +10:00
Benjamin Dobell 8301663c99 Minor command line output changes - No functional changes. 2013-05-05 20:57:50 +10:00
Benjamin Dobell a653a4800b Changed Arguments.h constructors with default parameters so it compiles with clang. 2013-03-14 00:28:39 +11:00
Benjamin Dobell 973ad82fef Regenerated autoconf files. 2013-03-14 00:18:50 +11:00