Commit Graph

22 Commits (b3246f64742aa92ce3bd6b4162fc5755322b0924)

Author SHA1 Message Date
cfig b3246f6474
update module versions 3 years ago
cfig 41b216e840
Struct3: retire legacy Struct3 3 years ago
cfig 19632ce235
helper: massive refinement 4 years ago
cfig 5cef10203b
Issue #79: add "gradle clean" command 4 years ago
cfig a358bd6a7b
Issue #71: refine dtbo unpack/pack
dtbo unpack:
    save image info
    decompile dtb to dts and yaml dts
    print summary
dtbo pack:
    compile dts to dtb
    print summary
boot v0-v4 pack:
    print summary
4 years ago
cfig 1e2592c1c4
routine mass checkin
- VirtualABMsg: read and parse VAB info from misc
- Clear some detekt warnings
- dtbo: supress warnings
4 years ago
cfig 62bc8004c4
update gradle/kotlin
gradle 7.2
kotlin plugin: 1.5.30
4 years ago
cfig 1b8fdbe69f
refine lzma ramdisk type check
We meet this OOM after PR 66:
  https://github.com/cfig/Android_boot_image_editor/pull/66
Need to harden ZipHelper by catching OOM error when trying lzma.
4 years ago
cfig b8dd19be1e
Issue #55: fully support boot V4
v3 -> v4 changelog:
 - boot signature for GKI
4 years ago
cfig b274b358e5
Issue #55: fully support vendor boot V4
v3 -> v4 changelog:
 - vendor ramdisk table
 - bootconfig

Fix bugs:
 - unpack: vrt postion calculation
4 years ago
cfig 9dcf014a39
kotlin: upgrade to 1.5 4 years ago
cfig 1cc54f4592
add license header for each source file
This doesn't affect use of the software in any means under the terms of
Apache License
4 years ago
cfig 6a7d3793fb
upgrade gradle to 7.0 4 years ago
cfig ec13a2d926
Issue #57: allocate proper buffer size for BootV2/V3 images
use the maxOf(image size, 64MB)
4 years ago
cfig 3658f7248e
file perm bug when unpack cpio
when some directory has mode 000, it becomes unwritable,
fix it with mode owner+rwx
4 years ago
cfig e6ed2d7b96
cpio: fix special perms bug
also add dispol to decompile sepolicy binary file
4 years ago
cfig 71fcc9b26e
boot v4: unpack
boot:
  boot signature
vendor boot:
  vendor ramdisk table
  boot config

TODO:
  pack (later when AOSP gets stable)
4 years ago
cfig e66477ce65
fully support @verify
ChainDesc: verify public key and all
    {ChainDesc|HashDesc|HashTreeDesc} inside
HashDesc: verify hash
HashTreeDesc: verify whole hash tree and root hash
4 years ago
cfig c46398dbb7
vbmeta.img: verify during unpacking 4 years ago
cfig bdd8b3972c fix macos unittest 4 years ago
cfig 31be98dc60
support lzma/xz ramdisk
Issue 52
4 years ago
cfig 6c662a54da
lots of stuff
- extract helper for more projects
 - kotlin 1.4.31
 - gradle 6.8.3
 - vendor_boot flash/pull
 - fix comanion vbmeta update: boot.img, vendor_boot.img
 - refine libavb
4 years ago