summaryrefslogtreecommitdiffstats
path: root/heimdall/source (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-06- removed superfluous semicolons from namespace definitionsSteffen Pankratz9-9/+9
2016-03-06- fixed compiler warning: dead initialization (the values are never read)Steffen Pankratz2-4/+2
In order to not get compiler warnings about 'unused return values' a void cast is used, which also makes it clear the the returned values are ignored on purpose
2016-02-29- fixed logical error, wrong variable was used in error messageSteffen Pankratz1-1/+1
2015-02-20Implemented hack to make WinUSB play nice with empty receive transfersBenjamin Dobell1-0/+8
2015-02-20Fixed incorrect method arguments causing PIT transfers to failBenjamin Dobell1-2/+2
2014-12-09Fix UNIX CMake (and OS X autotools) builds for Heimdall CLIBenjamin Dobell1-2/+2
2014-11-17Continue to support autotools... for nowBenjamin Dobell1-0/+4
2014-11-16CMake files for Heimdall CLI and mingw supportBenjamin Dobell2-13/+9
2014-07-05More empty transfer craziness, this time when receving packetsBenjamin Dobell2-64/+76
It seems newer devices need more weird empty transfers in order to function.
2014-06-01Fixed support for large files (up to 2^32 - 1 bytes)Benjamin Dobell6-35/+48
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-01Fixed file transfer sequence bugBenjamin Dobell2-13/+11
2014-05-31Give devices some leeway to handle empty bulk transfers.Benjamin Dobell2-8/+13
2014-05-17Fixed regression that broke support for GT-I9100 etc.Benjamin Dobell2-19/+41
2014-05-17Removed unused optional parameters in BridgeManager.Benjamin Dobell2-25/+16
2014-05-16Windows does not provide (or require) va_copy.Benjamin Dobell1-0/+4
2014-05-14Added missing new lines to CLI help output.Benjamin Dobell3-3/+3
2014-05-11Fixed help output alignment.Benjamin Dobell4-10/+10
2014-05-11Fixed header guard typo.Benjamin Dobell1-1/+1
2014-05-09fix --stdout-errors handlingMartin Willers1-30/+42
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-06Removed a few unused variables.Benjamin Dobell3-4/+0
2014-05-06It would seem that messing around with line coding etc. is not necessary.Benjamin Dobell2-104/+1
2014-05-06Updated copyright notices to 2014Benjamin Dobell54-55/+55
2014-05-06Cleaned up command line interfaceBenjamin Dobell6-68/+33
- Removed the "--delay <ms>" argument. - Improved Action usage info.
2014-05-06Bumped version number to 1.4.1Benjamin Dobell1-1/+1
2014-05-06Fix support for SGS4 (with empty bulk transfers)Benjamin Dobell2-87/+55
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-06Minor code clean up.Benjamin Dobell5-83/+104
2013-11-06Fix error condition check on finding correct usb interface.Robert Craig1-1/+1
2013-05-12Update copyright notices, version identifier and documentation for 1.4.0 release.Benjamin Dobell54-59/+59
2013-05-11Removed bad Galaxy Camera device identifier, as it was the PID for regular boot, not download mode.Benjamin Dobell2-5/+3
2013-05-05For devices that support variable packet size - decreased sequence size from 100 MiB to 30 MiB.Benjamin Dobell1-1/+1
2013-05-05Minor command line output changes - No functional changes.Benjamin Dobell1-17/+3
2013-03-13Changed Arguments.h constructors with default parameters so it compiles with clang.Benjamin Dobell1-2/+2
2013-03-09Fixed output bug attempting to log a std::string instead of a C-style string with printf.Benjamin Dobell1-1/+1
2013-03-07- Removed legacy command line hard-coded partition name parameters.Benjamin Dobell14-661/+535
- As a result of the above two points, there are no "known boot partitions", and hence boot partitions are not automatically flashed last. - Made partitions flash in the order in order in which partition arguments are specified. Hence, it's recommended that you specify boot partitions last. - Added --usb-level argument that can be used for debugging libusbx, or flashing issues in general. - Removed generally non-functional firmware dumping behaviour. - Removed auto-resume functionality - Although this feature was definitely nice to have; I believe it may be responsible for flashing compatibility issues for a variety of devices. - As a result of the above. In order perform another action after a --no-reboot action, you must provide the --resume flag. - Heimdall Frontend also has support for specifying the --resume flag via a GUI. Heimdall Frontend also tries to keep track of your actions and enable "Resume" automatically after a "No Reboot" action. - Refactored quite a few of the actions, and code responsible for flashing (particularly PIT file flashing). - Bumped version to 1.4RC3 *however* this commit is not yet an official release candidate. It's still a WIP. In particular build files still have not been updated for Linux and OS X.
2013-01-23- Incrementing to 1.4 RC2.Benjamin Dobell1-1/+1
- Fixed Release xcopy command that was referring to libusb instead of libusbx.
2013-01-22Added Galaxy Camera download mode identifier (apparently).Benjamin Dobell2-3/+5
2013-01-22- Updated MSVC projects to MSVC2012.Benjamin Dobell1-0/+10
- Changed from libusb-1.0 to libusbx. - Upgraded to C++11 (defined as C++0x for backwards compatibility with gcc < 4.7).
2013-01-22- Changed interpretation of packet size reponses of 0 from meaning "don'tBenjamin Dobell3-43/+36
care" to "unsupported". - Changed block size in libpit to mean either block size or block offset.
2012-11-30Fixed --repartition flag parsing bug.Benjamin Dobell1-1/+1
2012-10-07PIT files are no longer always exactly 4096 bytes. Fixed a bug that was aBenjamin Dobell1-7/+18
result of making this assumption.
2012-10-03Added missing reference& in heimdall/source/Arguments.cppBenjamin Dobell1-1/+1
2012-10-02Made Qt project (qmake) configurable using environment variables on OS X. Also added a missing &reference symbol in heimdall/source/Arguments.hBenjamin Dobell1-1/+1
2012-10-02Added fixed for g++ parsing issue on OS X.Benjamin Dobell1-2/+3
2012-10-01Heimdall 1.4 RC1:Benjamin Dobell39-1711/+3193
- Massive refactoring. - Support for Qualcomm based devices. - Print PIT from file. - Use partition names as arguments e.g. --HIDDEN, --KERNEL, --MOVINAND etc. - Heimdall Frontend UI improvements. - And much more...
2012-03-31Updated version to 1.3.2 and copyright notices to 2012.v1.3.2Benjamin Dobell30-32/+32
2012-03-29Renamed partitionType to chipIdentifier as partition type was incorrect.Benjamin Dobell7-33/+28
2012-03-29Replaced some extremely weird code that I came up with during the initialBenjamin Dobell4-48/+22
reverse engineering of the flashing protocol. Turns out all I needed to do was send the sequence size in bytes rather than performing weird calculations (which when packed) end up representing the same thing!
2012-03-28Made the last parameter of EndFileTransferPacket partitionType (obtainedBenjamin Dobell7-54/+63
from the device's PIT)
2011-09-11Heimdall 1.3.1Benjamin Dobell10-293/+423
- Improved the no-reboot functionality, you no longer have to reboot to flash more files. - Fixed repartitioning functionality (thanks XDA user psych0phobia for finding the problem!)
2011-07-26Added proper copyright notices to the About window and also updated some documentation slightly.Benjamin Dobell1-1/+1
2011-07-20- Added file extension checks to Heimdall Frontend (for partition files).Benjamin Dobell5-21/+41
- Made sure Heimdall command line always returns 1 if a device is not detected. - Minor interface tweaks for Heimdall Frontend.
2011-07-19- Heimdall Frontend large font fixes.Benjamin Dobell1-32/+35
- Heimdall Frontend name collision resolution (over the top). - Attempt at resolving SGS2 failure to end session errors. (Needs testing)
2011-07-17- Added Utilities tab to Heimdall Frontend.Benjamin Dobell4-24/+171
- Fixed Heimdall command line support for PIT files without a reference to themselves. - Added tool tips to Heimdall Frontend. - Added heimdall 'info' and 'download-pit' actions. - Made 'detect' action return 0 if a device is detected, 1 otherwise.
2011-07-09Version 1.3 (beta)Benjamin Dobell1-1/+0
2011-07-081.3 betaBenjamin Dobell29-120/+185
2011-07-07Version 1.3 beta.Benjamin Dobell4-44/+61
2011-07-05Major 1.3 updatesBenjamin Dobell10-1378/+1021
2011-06-11Fixed several bugs related to 'common' arguments.Benjamin Dobell1-23/+26
2011-06-03Doh! Fixed the displayed version number.Benjamin Dobell2-2/+2
2011-06-01More linux-specific fixes/changes.Benjamin Dobell3-4/+9
2011-05-311.2.0b Heimdall command line update. Large update that adds lots of PIT file functionality and better support for more devices.Benjamin Dobell13-415/+1192
2010-12-13Heimdall 1.1.1 - Fix Galaxy Tab Modem FlashingBenjamin Dobell2-4/+5
- Swapped back to the "Odin method" of flashing modem files. (Galaxy Tab Fix) - Updated the README files slightly. - Removed unnecessary files /heimdall/source/.dirstamp
2010-12-07Added .gitignore file to remove all of OS X's directory fluff.aidansteele5-0/+0
2010-12-05Changed PPC preprocessor macro to WORDS_BIGENDIAN and added macro toBenjamin-Dobell3-3/+3
configure.ac that automatically defines WORDS_BIGENDIAN when appropriate. modified: .DS_Store modified: configure.ac modified: source/.DS_Store modified: source/InboundPacket.h modified: source/OutboundPacket.h
2010-12-04Removed the "Heimdall" folder and moved its contents to the root directory.Benjamin Dobell35-0/+3850