Commit Graph

  • f12d42359d Update database Pascal Roeleven 2023-02-28 20:14:12 +01:00
  • 017889684d Automatically test full OTA zip Pascal Roeleven 2023-02-28 19:40:01 +01:00
  • 6ce86be917 Add hashes to database automatically Pascal Roeleven 2023-02-28 19:38:19 +01:00
  • 38dd0917e6 Automatically add device to database Pascal Roeleven 2023-02-28 18:11:54 +01:00
  • 10d964b7ef Zero all partitions we never intend to use Pascal Roeleven 2023-02-28 16:57:30 +01:00
  • fc6564ea47 Use constant instead of value Pascal Roeleven 2023-02-28 16:43:33 +01:00
  • 0aa18ff0a6 Use unittest.mock instead of manually patching Pascal Roeleven 2023-02-28 14:45:12 +01:00
  • a4f0086368 Improve reliability for getting file offset in zip Pascal Roeleven 2023-02-28 12:55:47 +01:00
  • 07b0e552f9 Merge pull request #71 from chenxiaolong/ota Andrew Gunnerson 2023-02-27 20:14:41 -05:00
  • 3bd5f77716 avbroot/ota.py: Remove OnePlus comment about ZERO blocks Andrew Gunnerson 2023-02-27 20:13:06 -05:00
  • ed915b5ad6 Merge pull request #68 from pascallj/external Andrew Gunnerson 2023-02-27 16:30:07 -05:00
  • fb2c512248 Test all device images in Github Actions Pascal Roeleven 2023-02-27 16:31:23 +01:00
  • 0090de3a48 Test dummy images with tox Pascal Roeleven 2023-02-27 16:28:49 +01:00
  • 8f2d09b447 Add script to test with dummy images Pascal Roeleven 2023-02-27 16:27:57 +01:00
  • e129f2478c Add creation of dummy images for use in tests Pascal Roeleven 2023-02-27 16:15:15 +01:00
  • 5e0a0be981 Import external in ota Pascal Roeleven 2023-02-27 16:05:22 +01:00
  • d911945a05 Merge pull request #67 from chenxiaolong/kmi Andrew Gunnerson 2023-02-27 01:19:20 -05:00
  • 8ea3d185ca avbroot/boot.py: Check KMI version when using prepatched image Andrew Gunnerson 2023-02-27 01:10:43 -05:00
  • 794755be0c Merge pull request #66 from chenxiaolong/readme Andrew Gunnerson 2023-02-26 22:42:29 -05:00
  • d74f7c77ff tests: README.md: Document that --prepatched is now tested Andrew Gunnerson 2023-02-26 22:41:54 -05:00
  • 0449b606ff Merge pull request #65 from chenxiaolong/extract Andrew Gunnerson 2023-02-26 22:39:17 -05:00
  • ed1310d243 README.md: Add section about extracting the entire OTA Andrew Gunnerson 2023-02-26 22:38:32 -05:00
  • 56013dd027 Merge pull request #64 from chenxiaolong/parallel Andrew Gunnerson 2023-02-26 22:37:30 -05:00
  • 282adf36cb Extract images from payload in parallel Andrew Gunnerson 2023-02-26 21:22:01 -05:00
  • b326b6f4a0 Merge pull request #63 from chenxiaolong/all Andrew Gunnerson 2023-02-26 20:26:47 -05:00
  • 3f85a441e4 avbroot/main.py: Add --all option for extract subcommand Andrew Gunnerson 2023-02-26 20:25:06 -05:00
  • 02f8942642 Merge pull request #62 from chenxiaolong/clear_vbmeta_flags Andrew Gunnerson 2023-02-26 20:22:33 -05:00
  • a927d09936 Add option to clear vbmeta flags Andrew Gunnerson 2023-02-26 19:01:31 -05:00
  • 1fb6d6c65c Merge pull request #61 from chenxiaolong/prepatched Andrew Gunnerson 2023-02-26 18:08:44 -05:00
  • d80ce411c7 Add support for using prepatched boot images Andrew Gunnerson 2023-02-26 17:39:18 -05:00
  • 26a4c054a6 Merge pull request #58 from chenxiaolong/clearotacerts_build Andrew Gunnerson 2023-02-17 19:33:20 -05:00
  • 48ce06ca41 clearotacerts/build.py: Make executable and fix lint warnings Andrew Gunnerson 2023-02-17 19:32:57 -05:00
  • 67d2f171f2 Merge pull request #57 from chenxiaolong/arch-wine Andrew Gunnerson 2023-02-16 22:44:33 -05:00
  • 545a2a9587 tests/tests_containerized.py: Include elapsed time in result table Andrew Gunnerson 2023-02-16 22:32:18 -05:00
  • 37ef00d7b4 tests/tests_containerized.py: Fix swapped if condition for network access Andrew Gunnerson 2023-02-16 21:57:36 -05:00
  • 2238c37556 tests: Add new image for running tests for Windows in Wine Andrew Gunnerson 2023-02-16 20:21:14 -05:00
  • d14549a49d Merge pull request #56 from chenxiaolong/unlink Andrew Gunnerson 2023-02-16 20:20:20 -05:00
  • d797623acd avbroot/util.py: open_output_file: Close file before unlinking on Windows Andrew Gunnerson 2023-02-16 20:17:51 -05:00
  • 8a01ada343 Merge pull request #55 from chenxiaolong/zip_cd_reproducibility Andrew Gunnerson 2023-02-16 20:16:51 -05:00
  • 4d091a0f83 avbroot/boot.py: Mark otacerts.zip entries as created on Unix Andrew Gunnerson 2023-02-16 20:14:29 -05:00
  • 93eb5a493e Merge pull request #54 from chenxiaolong/epipe Andrew Gunnerson 2023-02-15 18:48:44 -05:00
  • f62c129198 avbroot/ota.py: Fix EPIPE when interrupted by controlling TTY Andrew Gunnerson 2023-02-15 18:43:46 -05:00
  • a3ab7c5b56 Merge pull request #53 from chenxiaolong/exceptions Andrew Gunnerson 2023-02-15 00:21:49 -05:00
  • b758174236 Fix skipped cleanup logic caused by fixing bare except lint warnings Andrew Gunnerson 2023-02-15 00:20:15 -05:00
  • 65bf1e0065 Merge pull request #52 from chenxiaolong/python_3.9 Andrew Gunnerson 2023-02-15 00:05:04 -05:00
  • 7435c49f50 Add support for Python 3.9 Andrew Gunnerson 2023-02-15 00:03:45 -05:00
  • 1dc6f1a088 Merge pull request #51 from chenxiaolong/podman_tests Andrew Gunnerson 2023-02-15 00:03:04 -05:00
  • 7557d30183 tests: Add infrastructure for running tests in podman Andrew Gunnerson 2023-02-14 23:55:34 -05:00
  • faaedf3f88 Merge pull request #49 from chenxiaolong/bootimagecli Andrew Gunnerson 2023-02-14 02:02:30 -05:00
  • 4c81c5180d Add new cpiotool utility for dumping/repacking cpio archives Andrew Gunnerson 2023-02-14 01:28:26 -05:00
  • 98bd336c91 Add new bootimagetool utility for working with boot images Andrew Gunnerson 2023-02-14 00:34:26 -05:00
  • 1a416a5c68 Merge pull request #48 from chenxiaolong/lint Andrew Gunnerson 2023-02-13 22:24:04 -05:00
  • dc1ec187a5 avbroot/util.py: Fix f-string with no placeholders Andrew Gunnerson 2023-02-13 22:23:44 -05:00
  • 81c20b1467 Merge pull request #47 from chenxiaolong/gzip Andrew Gunnerson 2023-02-13 22:20:19 -05:00
  • 75ea4331d3 avbroot/formats/compression.py: Hardcode timestamp in gzip header Andrew Gunnerson 2023-02-13 22:19:32 -05:00
  • 558fef4232 Merge pull request #46 from chenxiaolong/tests Andrew Gunnerson 2023-02-13 22:16:59 -05:00
  • 904a9f666a Add end-to-end patching tests Andrew Gunnerson 2023-02-13 22:07:19 -05:00
  • c3f5235d11 Merge pull request #45 from chenxiaolong/magisk_version Andrew Gunnerson 2023-02-13 17:34:18 -05:00
  • 0f3bb92ab3 avbroot.py: Validate Magisk apk version Andrew Gunnerson 2023-02-13 17:25:27 -05:00
  • 3278e01f4d Merge pull request #44 from chenxiaolong/ramdisk_from_scratch Andrew Gunnerson 2023-02-13 16:50:38 -05:00
  • 248b78044c avbroot/boot.py: Construct Magisk ramdisk from scratch if no ramdisk exists Andrew Gunnerson 2023-02-13 16:40:33 -05:00
  • 4f814a9971 Merge pull request #41 from chenxiaolong/threads Andrew Gunnerson 2023-02-12 18:02:16 -05:00
  • 51a3742837 avbroot.py: Run boot image patches in parallel Andrew Gunnerson 2023-02-12 17:55:14 -05:00
  • 8ab265e08f Merge pull request #40 from chenxiaolong/patch Andrew Gunnerson 2023-02-11 20:39:14 -05:00
  • 505ef91bc9 Use unittest.mock.patch for replacing classes and variables Andrew Gunnerson 2023-02-11 20:37:47 -05:00
  • d1ac305d41 Merge pull request #39 from chenxiaolong/executable Andrew Gunnerson 2023-02-11 18:16:01 -05:00
  • a709854c3a avbroot/ota.py: Improve silencing of irrelevant AOSP warning Andrew Gunnerson 2023-02-11 18:12:44 -05:00
  • 6a5ce3815e avbroot.py: extract: Create output directory if it doesn't already exist Andrew Gunnerson 2023-02-11 18:12:04 -05:00
  • 2c4ab013b0 avbroot.py: Make script executable Andrew Gunnerson 2023-02-11 18:11:12 -05:00
  • 4c21a94aa7 Merge pull request #38 from chenxiaolong/docs Andrew Gunnerson 2023-02-11 18:08:52 -05:00
  • 3c3b70bcd7 Improve documentation for installing dependencies Andrew Gunnerson 2023-02-11 18:06:26 -05:00
  • a5384a7bfb Merge pull request #37 from chenxiaolong/boot_image_cpio2 Andrew Gunnerson 2023-02-11 17:34:14 -05:00
  • dc18244d12 avbroot/util.py: Atomic file replacement does not work on Windows Andrew Gunnerson 2023-02-11 17:06:27 -05:00
  • 333297c7a1 avbroot/openssl.py: Pass in the passphrase via env vars on Windows Andrew Gunnerson 2023-02-11 16:42:17 -05:00
  • 6c116f0dba Remove dependency on magiskboot Andrew Gunnerson 2023-02-10 23:06:34 -05:00
  • 1cbfd96067 Merge pull request #36 from chenxiaolong/passphrase Andrew Gunnerson 2023-02-09 22:22:19 -05:00
  • 17ee5ee37b Pass encrypted private keys to openssl directly Andrew Gunnerson 2023-02-09 21:58:04 -05:00
  • d62516b2e0 Merge pull request #35 from pascallj/patch-1 Andrew Gunnerson 2023-02-07 17:29:48 -05:00
  • 9618c0bc36 Add unused return object when extracting Pascal Roeleven 2023-02-07 22:17:04 +01:00
  • 2e27d9eb12 Merge pull request #33 from chenxiaolong/docs Andrew Gunnerson 2023-02-06 23:42:44 -05:00
  • 6272ca573d README.md: Improve documentation Andrew Gunnerson 2023-02-06 23:35:28 -05:00
  • 2319ce8cac Merge pull request #32 from chenxiaolong/oneplus Andrew Gunnerson 2023-02-06 22:57:59 -05:00
  • 3c843856e1 Add support for OnePlus OTAs Andrew Gunnerson 2023-02-06 22:43:28 -05:00
  • fe79cc852d Merge pull request #31 from chenxiaolong/typo Andrew Gunnerson 2023-02-03 17:45:31 -05:00
  • e687eeed24 avbroot/util.py: Fix variable name typo in zero_n() Andrew Gunnerson 2023-02-03 17:43:58 -05:00
  • 4bd6c48b8f Merge pull request #30 from chenxiaolong/temp_dir Andrew Gunnerson 2023-02-03 17:40:24 -05:00
  • 2d4ff61531 Stop setting default temporary directory to the output directory Andrew Gunnerson 2023-02-03 17:38:18 -05:00
  • d9bfa98ea1 Merge pull request #29 from chenxiaolong/x86_64 Andrew Gunnerson 2023-02-03 17:34:12 -05:00
  • 0a3b7ff5f7 avbroot/boot.py: Document why the x86 magiskboot is used instead of x86_64 Andrew Gunnerson 2023-02-03 17:13:20 -05:00
  • 99dd8ba5ff Merge pull request #28 from chenxiaolong/zip_signing Andrew Gunnerson 2023-02-03 16:57:30 -05:00
  • e81f17cabc avbroot/ota.py: Ensure all protobuf serialization is deterministic Andrew Gunnerson 2023-02-01 20:26:58 -05:00
  • 806d8117f0 Perform all OTA signing ourselves Andrew Gunnerson 2023-02-01 02:24:48 -05:00
  • 1057c2c5fc avbroot/boot.py: Ensure otacerts.zip certificate filename is consistent Andrew Gunnerson 2023-01-31 15:08:48 -05:00
  • df887f90e7 ota: Reimplement zip signing ourselves more efficiently Andrew Gunnerson 2023-01-30 19:14:05 -05:00
  • 437cfc23d0 Merge pull request #27 from chenxiaolong/time Andrew Gunnerson 2023-01-30 13:56:21 -05:00
  • c2f64a6587 avbroot.py: Add final status message to indicate the elapsed time Andrew Gunnerson 2023-01-30 13:54:59 -05:00
  • 00f903e85f Merge pull request #26 from chenxiaolong/deps Andrew Gunnerson 2023-01-30 01:15:21 -05:00
  • 26526ff235 Update external submodules Andrew Gunnerson 2023-01-30 00:47:33 -05:00
  • 19a559508f Merge pull request #24 from chenxiaolong/linux_only Andrew Gunnerson 2023-01-28 16:24:21 -05:00
  • 9c52dbd8f9 README.md: Clarify that only Linux is supported Andrew Gunnerson 2023-01-28 16:23:07 -05:00