Commit Graph

138 Commits (2076fad7d348bbfd26adf13c46db1d5d07b49a32)

Author SHA1 Message Date
cfig 2076fad7d3
Issue #134: support multiple DTs in BootV2 and VendorBoot
https://source.android.com/docs/core/architecture/dto/multiple
2 years ago
cfig 05b4b4cab0
Issue #133: support repack ext4 system_dlkm etc.
Done:
  "unpack" and "pack" tasks are supported for sparse/raw ext4 images
TODO:
  sparse/raw erofs images are not supported yet
2 years ago
cfig 08f1d3b548
Issue #130: payload.bin unpack enhancement
- support ZERO op
- support extracting only 1 specified partition
Usage:
    gradle unpack -Dpart=<part_name>
Example:
    gradle unpack -Dpart=boot
    gradle unpack -Dpart=system
Note:
    "build/payload/" will be deleted before each "unpack" task
2 years ago
cfig a8c3166994
Mass update for ramdisk and lazybox
lazybox: support bootchart
ramdisk: support cpio entry of type CHAR_DEV
2 years ago
cfig 62862a263b
misc image: support intel style misc based boot slot info 2 years ago
cfig d558c77755
apex: ApexBuildInfo.pb ApexManifest.pb 2 years ago
cfig 82ff5215b7
Test case for #125, along with periodic updates
- kotlin: 1.9.0
 - gradle: 8.2.1
 - helper: update crypto helper
 - capex: partial update
2 years ago
cfig 55f2475ac0
Issue #125: boot/vendor_boot cmdline should be trimed when packing 2 years ago
cfig 5325af45b0
update doc and known_keys 2 years ago
cfig 7652770a25
dtb: refine 'clear' task of DeviceTreeParser
'clear' task can erase .dtb file now
2 years ago
cfig e5c6a41ede
Issue #123: better support dtb/dts
● support dumping /proc/device-tree from a running rooted Android
● support editing standalone dtb file
2 years ago
cfig ec6f4780a6
Issue #122: support ramdisk.img(boot image v0) without kernel 2 years ago
cfig 2f0af5d259
Issue #117: respect original check flags for ramdisk compression
ramdisk xz check flags: crc32/crc64 etc.
XiaoMi recovery image uses CRC32 and can not suppport CRC64
2 years ago
cfig d0dfebd42e
linux: use android-sdk-libsparse-utils instead of local code copy 2 years ago
cfig cb192ee39a
misc improvements
* gradle pull: support devices w/o /vbmeta partition
* VendorBoot: correct size calculation
2 years ago
cfig 8be3510b67
Issue #111: downgrade required java to 11 2 years ago
cfig e96aa0e33d
Issue #109: add test case 3 years ago
cfig de69dbf01c
Issue #109: support vendor_boot.img w/o dtb
Now for boot V4, dtb may be in vendor_boot or vendor_kernel_boot.
Google Change:
053c389f03
3 years ago
cfig 130789c276
support vendor_kernel_boot.img, also refine display info on Windows 3 years ago
cfig d7ea80a5c2
Issue #107: accept the new change in dtc 1.6.1 3 years ago
cfig e14887192a
update aosp modules from upstream
Goodbye 2022
a year of the Tiger
a year of lock down
a year of all the mess
3 years ago
cfig cbe39e8c3b
Issue #101: minimize mem footprint during partial file copy 3 years ago
cfig 1926af0eab
fix packing failure of vendor_boot on Windows 3 years ago
cfig 609c83db02
misc.img: allow "reserved" filed to be populated for testing purpose 3 years ago
cfig 66ca430622
some trivial changes 3 years ago
cfig 1f925cd742
Issue #92, Issue #95: support ext4/erofs image unpack 3 years ago
cfig 68afa1834e
Issue #95: add vendor_dlkm into known image name 3 years ago
cfig 0681a5e0c9
routine update
● avbtool: update to asop master, we see the new flag
  AvbHashtreeDescriptor.FLAGS_CHECK_AT_MOST_ONCE
● For China mainland users:
  Using domestic gradle+maven mirrors can speed up the build.
● gradle: 7.5
● kotlin: 1.7.10
3 years ago
railjty 782efa3b69
bootv2: support dts/dtb compiling in 'pack' 3 years ago
cfig 394bfc5f94
vendor boot: support dts/dtb compiling in 'pack' 3 years ago
cfig 56b75a2610
add test case for Issue #91 3 years ago
cfig d2719ae39e
Issue #91: allow unsigned vendor_boot.img 3 years ago
cfig 4e7bdf6c47
dtbo: support 'pull' and 'flash' 3 years ago
cfig 9101c5bbab
update kotlin to 1.7.0 3 years ago
cfig 067cab9406
additional boot signature support and others
Issue #90: support magisk-modified uncompressed ramdisk
3 years ago
cfig 0a342363de
partially spupport boot signature
Android 12: 4K boot signature
Android 13: 16K boot signature
3 years ago
cfig 3df4ec6fc1
Issue #87: refine "clear" task
Please use "gradle clear" instead of "gradle clean".
3 years ago
cfig 2d8c39b797
Issue #88, Issue #75: ignore empty bootSig in boot V4
Issue #88: Android 12 has empty bootSig, while Android 13 doesn't, so we
    ignore this part duing re-packing
Issue #75: allow duplicated entry in CPIO
Also: replace slf4j-simple with logback
3 years ago
cfig b701884df2
Issue #86: fix vrt vendor_boot issues
- support vendor_boot "board" filed
- fix unpack problem when vrt is enabled
- add test case
- upgrade to kotlin 1.6.21
3 years ago
cfig f716e34d6d
Issue #84: support misc.img
Actions:
  unpack
  pack
  pull
  flash
Signed-off-by: cfig <yuyezhong@gmail.com>
3 years ago
cfig 54be7a4fae
Issue #83: support boot.img w/o ramdisk 3 years ago
cfig 78105c6b72
Issue #83: support init_boot.img 3 years ago
cfig 1dd865adf4
support OTA payload.bin
- unpack: supported
- pack & others: Not Available
3 years ago
cfig 2d7e164da5
progressive refactor: using cc.cfig.io.Struct from mavenCentral() 3 years ago
cfig 3ae5d567e3
vendor_boot: allow null bootconfig 3 years ago
cfig b3246f6474
update module versions 4 years ago
cfig 41b216e840
Struct3: retire legacy Struct3 4 years ago
cfig 19632ce235
helper: massive refinement 4 years ago
cfig 5cef10203b
Issue #79: add "gradle clean" command 4 years ago
cfig 7a783acb27
Issue #75: do not alllow duplicated fsconfig when packing cpio 4 years ago