156 Commits (dev)

Author SHA1 Message Date
cfig 43317d4f92
chore: minor fixes on boot and lazybox
cfig c55f584f2e
windows: install gzip, 7zip
disable c++ modules in settings.gradle.kts
add copyright.kts
cfig 7451a29f45
squashed commit
gradle 8.14
kotlin 2.1.21
updated support of be

Signed-off-by: cfig <yuyezhong@gmail.com>
cfig cd46a2fe6c staging
cfig 545c0509a5
update tool version
cfig b1a47eefee
misc: support factory image parsing for Pixel8a akita
cfig cae7591d55 upgrade kotlin to 2.0.0, gradle 8.8
cfig b0b1bcc968 dtb update for abe
cfig 38dd70a5fd vendor boot update for abe
cfig 71a7d2a07f update BootV3 for abe
cfig 585e2fdcd5 Issue : staging
boot.img V3
unpack
java -jar bbootimg/build/libs/bbootimg.jar unpackInternal ../boot.img out
pack
java -jar bbootimg/build/libs/bbootimg.jar packInternal out ../x/boot.img.modified
cfig 5835158b3f
trim cmdline for BootV3
cfig 859300e3b9
Issue : support customized dtc binary path
cfig 5b08470d76
lazybox: add trace-cmd analyzer
cfig 657b2d40ce
support legacy ota
cfig 374aab8f28
Issue : check bzcat/xzcat when unpacking payload.bin
also: support "-Dpart=XXX" in release package
cfig bdab70bd59
Issue : initial support of packing erofs image
cfig 94570b1fcc
trivial improvements
- replace String.deleteIfExists with kotlin.io.Path.deleteIfExists
- remove unused "dtb.src", use "dtb.*.src" instead
cfig 2076fad7d3
Issue : support multiple DTs in BootV2 and VendorBoot
https://source.android.com/docs/core/architecture/dto/multiple
cfig 05b4b4cab0
Issue : 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
cfig 08f1d3b548
Issue : 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
cfig a8c3166994
Mass update for ramdisk and lazybox
lazybox: support bootchart
ramdisk: support cpio entry of type CHAR_DEV
cfig 62862a263b
misc image: support intel style misc based boot slot info
cfig d558c77755
apex: ApexBuildInfo.pb ApexManifest.pb
cfig 82ff5215b7
Test case for , along with periodic updates
- kotlin: 1.9.0
 - gradle: 8.2.1
 - helper: update crypto helper
 - capex: partial update
cfig 55f2475ac0
Issue : boot/vendor_boot cmdline should be trimed when packing
cfig 5325af45b0
update doc and known_keys
cfig 7652770a25
dtb: refine 'clear' task of DeviceTreeParser
'clear' task can erase .dtb file now
cfig e5c6a41ede
Issue : better support dtb/dts
● support dumping /proc/device-tree from a running rooted Android
● support editing standalone dtb file
cfig ec6f4780a6
Issue : support ramdisk.img(boot image v0) without kernel
cfig 2f0af5d259
Issue : respect original check flags for ramdisk compression
ramdisk xz check flags: crc32/crc64 etc.
XiaoMi recovery image uses CRC32 and can not suppport CRC64
cfig d0dfebd42e
linux: use android-sdk-libsparse-utils instead of local code copy
cfig cb192ee39a
misc improvements
* gradle pull: support devices w/o /vbmeta partition
* VendorBoot: correct size calculation
cfig 8be3510b67
Issue : downgrade required java to 11
cfig e96aa0e33d
Issue : add test case
cfig de69dbf01c
Issue : support vendor_boot.img w/o dtb
Now for boot V4, dtb may be in vendor_boot or vendor_kernel_boot.
Google Change:
053c389f03
cfig 130789c276
support vendor_kernel_boot.img, also refine display info on Windows
cfig d7ea80a5c2
Issue : accept the new change in dtc 1.6.1
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
cfig cbe39e8c3b
Issue : minimize mem footprint during partial file copy
cfig 1926af0eab
fix packing failure of vendor_boot on Windows
cfig 609c83db02
misc.img: allow "reserved" filed to be populated for testing purpose
cfig 66ca430622
some trivial changes
cfig 1f925cd742
Issue , Issue : support ext4/erofs image unpack
cfig 68afa1834e
Issue : add vendor_dlkm into known image name
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
railjty 782efa3b69
bootv2: support dts/dtb compiling in 'pack'
cfig 394bfc5f94
vendor boot: support dts/dtb compiling in 'pack'
cfig 56b75a2610
add test case for Issue
cfig d2719ae39e
Issue : allow unsigned vendor_boot.img