Commit Graph

229 Commits

Author SHA1 Message Date
Benjamin Dobell e8b00e6426 Updated copyright in source repo README. 2013-05-13 00:24:03 +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 4b089d8084 Fix OS X qmake/environment variable usage in .pro file. 2013-05-13 00:06:44 +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 59cc6133d5 Fixed bug in Heimdall Frontend where "resume" wasn't being checked when it should have been. 2013-05-06 00:01:08 +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 55d6c9551e Fixed two major bugs in libpit related functionality:
- Partitions were being excluded from flashing (and UI) if the block-count
  was zero. Instead this is now done using a new IsFlashable() method
  which checks if the partition name is not blank.
- PitData::Pack() was packing the partition name where it should have been
  packing the "flash filename". This resulted in incorrect PIT files being
  flashed to the device.
2013-05-05 20:53:36 +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
Benjamin Dobell e4011af213 Ancient Mac GCC does not support C++11/C++0x. Swapped to using clang on OS X. 2013-03-14 00:09:39 +11:00
Benjamin Dobell f7f29172cb Updated Linux build files and fixed a string formatting warning in Heimdall Frontend. 2013-03-10 02:33:12 +11:00
Benjamin Dobell ef7c9a6377 Fixed output bug attempting to log a std::string instead of a C-style string with printf. 2013-03-10 01:26:22 +11:00
Benjamin Dobell ebbc3e7cd2 - Removed legacy command line hard-coded partition name parameters.
- 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-03-08 00:12:27 +11:00
Benjamin Dobell 9d7008e4ba Previous libusbx fix was a red herring of sorts. Inadvertedly it did fix the
issue. However, the correct solution was much simpler:
https://github.com/libusbx/libusbx/pull/80
2013-02-02 01:57:45 +11:00
Benjamin Dobell fec8bbc4db Actually fixed the bug (race condition) in libusbx-1.0 this time! Source
available at https://github.com/libusbx/libusbx/pull/79
2013-02-01 01:39:46 +11:00
Benjamin Dobell 1d2927be56 Added a patched version of libusbx that fixes device claiming on Windows.
Changes to libusbx are documented here:
https://github.com/libusbx/libusbx/issues/78
2013-01-27 02:37:51 +11:00
Benjamin Dobell 8c6b20a487 - Incrementing to 1.4 RC2.
- Fixed Release xcopy command that was referring to libusb instead of
  libusbx.
2013-01-24 00:51:32 +11:00
Benjamin Dobell 5212bf58c5 Added libusbx-1.0 library and DLL missed due to .gitignore 2013-01-24 00:46:30 +11:00
Benjamin Dobell 7caa014dcf Added Galaxy Camera download mode identifier (apparently). 2013-01-23 01:12:58 +11:00
Benjamin Dobell 4d850a272a - Updated MSVC projects to MSVC2012.
- Changed from libusb-1.0 to libusbx.
- Upgraded to C++11 (defined as C++0x for backwards compatibility with gcc < 4.7).
2013-01-23 00:44:12 +11:00
Benjamin Dobell 31b1b0b2b0 - Changed interpretation of packet size reponses of 0 from meaning "don't
care" to "unsupported".
- Changed block size in libpit to mean either block size or block offset.
2013-01-22 23:53:30 +11:00
Benjamin Dobell e0e84b2f7a Fixed --repartition flag parsing bug. 2012-12-01 03:15:02 +11:00
Benjamin Dobell 87341122db Turns out udev ATTR{idProduct} really is case sensitive. 2012-10-13 20:26:29 +11:00
Benjamin Dobell 7a8f81347b Made Heimdall Frontend pass the --verbose parameter for all actions when 'Verbose Output' is checked. 2012-10-13 19:35:20 +11:00
Benjamin Dobell 648bfb1bb7 Added a Qt4VSPropertySheet.props file that will hopefully work for other people. 2012-10-07 23:40:07 +11:00
Benjamin Dobell 8ac74126b4 PIT files are no longer always exactly 4096 bytes. Fixed a bug that was a
result of making this assumption.
2012-10-07 23:33:44 +11:00
Benjamin Dobell 4f3220646d Added missing reference& in heimdall/source/Arguments.cpp 2012-10-03 10:11:00 +10:00
Benjamin Dobell 4994531230 Made Qt project (qmake) configurable using environment variables on OS X. Also added a missing &reference symbol in heimdall/source/Arguments.h 2012-10-03 00:54:30 +10:00
Benjamin Dobell 28269910f2 Added fixed for g++ parsing issue on OS X. 2012-10-02 22:18:47 +10:00
Benjamin Dobell 6cd6b35c73 Heimdall 1.4 RC1:
- 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-10-02 01:41:25 +10:00
Benjamin Dobell 66f1e84dd2 Updated version to 1.3.2 and copyright notices to 2012. 2012-03-31 12:22:17 +11:00
Benjamin Dobell 907c942fd1 Renamed partitionType to chipIdentifier as partition type was incorrect. 2012-03-30 00:50:27 +11:00
Benjamin Dobell 713af23d0a Replaced some extremely weird code that I came up with during the initial
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-29 10:17:05 +11:00
Benjamin Dobell ee02a9c7c5 Made the last parameter of EndFileTransferPacket partitionType (obtained
from the device's PIT)
2012-03-28 23:59:27 +11:00
Benjamin Dobell e40e701387 Updated libusb-1.0 binaries/headers for windows. 2012-03-18 20:14:51 +11:00
Benjamin Dobell fbbed42c1e Updated Heimdall (command line) autotools files for the 1.3.1 changes.
Heimdall 1.3.1 should now build on Linux and OS X.
2011-09-13 00:34:15 +10:00
Benjamin Dobell 0de82e08b6 Heimdall 1.3.1
- 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-09-11 23:02:55 +10:00
Benjamin-Dobell ed9b08e5d9 Minor OS X UI tweaks. 2011-07-28 02:01:23 +10:00
Benjamin-Dobell 30dce11463 Added note to OS X README about Macports libusb-1.0. 2011-07-28 01:33:50 +10:00
Benjamin Dobell d8642f9ce2 Added proper copyright notices to the About window and also updated some documentation slightly. 2011-07-26 17:50:06 +10:00
Benjamin Dobell babef8e580 - Added file extension checks to Heimdall Frontend (for partition files).
- Made sure Heimdall command line always returns 1 if a device is not detected.
- Minor interface tweaks for Heimdall Frontend.
2011-07-21 02:43:49 +10:00
Benjamin Dobell 7dc796a988 Documentation update. 2011-07-20 04:55:22 +10:00
Benjamin Dobell 3fe2564481 - Heimdall Frontend large font fixes.
- Heimdall Frontend name collision resolution (over the top).
- Attempt at resolving SGS2 failure to end session errors. (Needs testing)
2011-07-20 04:18:18 +10:00
Benjamin Dobell a18d2e6b02 Merge branch 'master' of github.com:Benjamin-Dobell/Heimdall 2011-07-17 19:55:32 +10:00
Benjamin Dobell 8cb7f6ee8f - Added Utilities tab to Heimdall Frontend.
- 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-17 19:50:07 +10:00
Benjamin-Dobell ed819e2fbe Finally fixed the OS X 64-bit kext issuetest 2011-07-15 05:28:10 +10:00
Benjamin-Dobell a9ba51f99e Altered the user interface slightly to prevent clipping on certain OS. 2011-07-12 02:00:47 +10:00
Benjamin Dobell 06a640fd6c Fixed include directories for MSVC release builds. 2011-07-12 00:57:28 +10:00
Benjamin Dobell 56834b63cc Missed two READMEs, updated now. 2011-07-12 00:00:36 +10:00