Commit graph

  • 4df088a01f Actually connect to the phone and get information about it main Ilya Bakulin 2024-06-02 23:09:36 +02:00
  • 83dbb529ab Ignore DS_Store files created by MacOS Ilya Bakulin 2024-06-02 21:32:05 +02:00
  • 7c7a181544 Added a Fyne-based GUI dummy Ilya Bakulin 2024-06-02 21:16:29 +02:00
  • 5f65f70e14 Embed a compiled Chaos loader and use it by default Ilya Bakulin 2024-06-02 17:46:47 +02:00
  • a0a72a11bb Allow to omit flash_addr and length when reading flash Ilya Bakulin 2023-10-30 23:35:27 +01:00
  • f97a9dc00b Time out after 5s when doing operations on a serial port Ilya Bakulin 2023-10-30 20:16:33 +01:00
  • f97cb7f241 Removed -chaos_info_file argument Ilya Bakulin 2023-10-11 10:26:29 +02:00
  • 73381c6e9e Remove a Mac OS binary from the repo User Kibab 2023-10-16 14:13:02 +02:00
  • 70d1723b6a Correctly process hex numbers (put them in LE order) Ilya Bakulin 2023-10-10 10:58:10 +02:00
  • 97c3896f05 Added commands to work with the fullflash dump Ilya Bakulin 2023-10-09 17:09:41 +02:00
  • 53a0634c0a Rename Connect to ConnectAndBoot Ilya Bakulin 2023-10-06 16:00:30 +02:00
  • 68ccbd5974 Added new flags -restore_old_data_from_ff and -force Ilya Bakulin 2023-10-06 13:11:29 +02:00
  • c304722093 Prepare to "work with fullflash file" funcitonality Ilya Bakulin 2023-10-05 19:26:39 +02:00
  • db5a530f45 Switch to using my fork of the serial library Ilya Bakulin 2023-10-05 12:05:04 +02:00
  • c2b315b541 Implement changing comms speeds Ilya Bakulin 2023-10-05 10:45:16 +02:00
  • 9e1d5854e9 Parse one-line strings in data fields Ilya Bakulin 2023-10-05 00:01:41 +02:00
  • f9fde989a9 New package for interacting with Internet Patches Storage Ilya Bakulin 2023-10-04 22:52:04 +02:00
  • 67f10bad31 Added a method FromString() to create PatchReader Ilya Bakulin 2023-10-04 22:51:32 +02:00
  • cc6f803f68 More files to ignore! Ilya Bakulin 2023-10-04 21:30:42 +02:00
  • f1791d4f07 Print some time-related statistics Ilya Bakulin 2023-10-04 21:30:00 +02:00
  • e8b4105a2d Added a commandline switch to boot into Normal Mode Ilya Bakulin 2023-10-04 21:29:10 +02:00
  • 9e25f62a19 Display total size of memory regions Ilya Bakulin 2023-10-04 18:20:19 +02:00
  • 2394ce98a3 Actually apply a parsed offset when calculating address Ilya Bakulin 2023-10-04 18:19:49 +02:00
  • d31f5ac055 Read extra reply bytes after writing flash Ilya Bakulin 2023-10-04 12:28:30 +02:00
  • a69cb17dd9 Added -revert_patch command Ilya Bakulin 2023-10-03 18:11:32 +02:00
  • 5b8feda46a Fixed readFlash() minimum read size Ilya Bakulin 2023-10-03 14:36:02 +02:00
  • ffda4bdb55 Added "servicemode" binary to the ignored files list Ilya Bakulin 2023-10-03 14:05:24 +02:00
  • 7fdf7d6fa8 Added command to apply patches Ilya Bakulin 2023-10-03 13:46:48 +02:00
  • bb340062b4 Implement writing Flash Ilya Bakulin 2023-09-30 22:57:11 +02:00
  • 4fb6bc20fd Some code to support writing to flash Ilya Bakulin 2023-09-30 19:26:56 +02:00
  • daf376c755 Support SL75 (6 memory regions) Ilya Bakulin 2023-09-30 18:58:25 +02:00
  • 7e56d05775 Added a function to validate blocks to be written against the blockmap Ilya Bakulin 2023-09-30 14:06:15 +02:00
  • a7ebf0874b Refactor test Blockmap reneration into a separate function Ilya Bakulin 2023-09-30 14:05:21 +02:00
  • befb6601b7 Added cmdline arguments to read flash to file Ilya Bakulin 2023-09-30 10:43:02 +02:00
  • f02b524259 Fixed an infinite loop when reading fullflash from the phone Ilya Bakulin 2023-09-29 22:15:54 +02:00
  • 7cedda6648 Fix calculation of the block boundaries Ilya Bakulin 2023-09-29 21:43:23 +02:00
  • 4ca34b9a71 An example of reading fullflash to file Ilya Bakulin 2023-09-29 20:16:13 +02:00
  • af75e7805a Implement Read Flash command Ilya Bakulin 2023-09-29 20:14:56 +02:00
  • ba9cef7c30 Return a parsed info structure from ReadInfo Ilya Bakulin 2023-09-29 16:54:41 +02:00
  • b0ada0be34 Added test for ParseChaosInfo() Ilya Bakulin 2023-09-29 08:41:18 +02:00
  • 94631f9cd9 Fix build Ilya Bakulin 2023-09-29 08:40:58 +02:00
  • d8218d0b24 Added methods to export more information about the blockmap Ilya Bakulin 2023-09-29 08:40:31 +02:00
  • d87be200f9 Support four flash regions (C81) Ilya Bakulin 2023-09-29 08:39:45 +02:00
  • 769b970478 Remove unused function Ilya Bakulin 2023-09-28 21:39:34 +02:00
  • f369549cf3 Take advantage of a properly implemented fmt.Stringer implementation to print phone information User Kibab 2023-09-28 16:25:05 +02:00
  • 43c8e9513d Added a structure for holding device info and a parser code User Kibab 2023-09-28 16:23:58 +02:00
  • 5a60a5aef9 Properly implement fmt.Stringer interface User Kibab 2023-09-28 16:17:05 +02:00
  • e3c8c6e12a Fix calculations of block end addresses and total flash size User Kibab 2023-09-28 16:16:23 +02:00
  • 371e64260b Recognize "bootcode rejected" ack code and return error User Kibab 2023-09-28 16:15:25 +02:00
  • 4b6189ba6e Started working on parsing Chaos boot info struct Ilya Bakulin 2023-09-28 10:25:42 +02:00
  • 1719f3181b Fixed a race condition in init goroutine Ilya Bakulin 2023-09-27 22:39:13 +02:00
  • 30ac27848c Massive refactoring Ilya Bakulin 2023-09-27 19:03:31 +02:00
  • e30f533ab3 Allow Device to specify which bootcode to use Ilya Bakulin 2023-09-27 16:13:08 +02:00
  • 005d3ace0e Ignore build products Ilya Bakulin 2023-09-27 13:36:30 +02:00
  • e21aa12d78 Added an app to connect to the real device Ilya Bakulin 2023-09-27 13:36:19 +02:00
  • 772564e230 Added emulated and real implementations of Device Ilya Bakulin 2023-09-27 13:36:02 +02:00
  • 248f6fa763 Refactor all the abstractions correctly Ilya Bakulin 2023-09-27 12:07:59 +02:00
  • 2f427a4763 Added a definition for Device interface Ilya Bakulin 2023-09-27 11:04:39 +02:00
  • 6960ac6ed3 Quick and dirty loading into Service Mode Ilya Bakulin 2023-09-27 07:38:12 +02:00
  • abdace798f Put line number in all error messages Ilya Bakulin 2023-09-26 18:18:44 +02:00
  • 2bbc359776 Permit old data being longer than new data Ilya Bakulin 2023-09-26 18:04:18 +02:00
  • df0d1848d2 Refactor decimal numbers code and add tests User Kibab 2023-09-26 17:43:38 +02:00
  • c5389065c2 Parse integer numbers in data (modifier 0i) User Kibab 2023-09-26 15:34:00 +02:00
  • a5fea327d0 Move loadpatch into its own directory User Kibab 2023-09-26 14:18:44 +02:00
  • c33cd20554 Renamed to as per official Go recommendations User Kibab 2023-09-26 14:18:08 +02:00
  • b4f2f89745 Extended a test app to load a patch and apply it to fullflash Ilya Bakulin 2023-09-25 19:50:46 +02:00
  • 798ba6aabe Added Size() and EndAddr() convenience methods Ilya Bakulin 2023-09-25 19:45:24 +02:00
  • 2ce65fe7bc Delete useless app Ilya Bakulin 2023-09-25 19:44:36 +02:00
  • 4702f17802 Added a package to manage block maps User Kibab 2023-09-25 16:16:58 +02:00
  • 94f8e97b9c Added support for C-style multi-line comments User Kibab 2023-09-25 13:44:26 +02:00
  • da1d0f3a3b Removed excessive logging Ilya Bakulin 2023-09-24 10:50:40 +02:00
  • 3d70b24fc5 Fix handling a special case with an addr offset Ilya Bakulin 2023-09-23 22:43:36 +02:00
  • c049015c7c Process data separated by commas Ilya Bakulin 2023-09-23 22:06:25 +02:00
  • 2c8ca2498c Always treat address offset as hexadecimal value Ilya Bakulin 2023-09-23 21:31:11 +02:00
  • b74dac7add Added processing of address offsets Ilya Bakulin 2023-09-23 21:17:54 +02:00
  • 054b4fda14 Recognize pragma "old_equal_ff" Ilya Bakulin 2023-09-23 20:42:31 +02:00
  • 7820a4d41d Treat the lines describing one big chunk properly Ilya Bakulin 2023-09-23 19:14:57 +02:00
  • 90eb84397f Added SiePatcher, a patcher for *nix systems Ilya Bakulin 2023-09-23 17:45:12 +02:00