Commit Graph

34 Commits (2076fad7d348bbfd26adf13c46db1d5d07b49a32)

Author SHA1 Message Date
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 82ff5215b7
Test case for , along with periodic updates
- kotlin: 1.9.0
 - gradle: 8.2.1
 - helper: update crypto helper
 - capex: partial update
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 e96aa0e33d
Issue : add test case
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 56b75a2610
add test case for Issue
cfig 3df4ec6fc1
Issue : refine "clear" task
Please use "gradle clear" instead of "gradle clean".
cfig 2d8c39b797
Issue , Issue : ignore empty bootSig in boot V4
Issue : Android 12 has empty bootSig, while Android 13 doesn't, so we
    ignore this part duing re-packing
Issue : allow duplicated entry in CPIO
Also: replace slf4j-simple with logback
cfig b701884df2
Issue : 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
cfig f716e34d6d
Issue : support misc.img
Actions:
  unpack
  pack
  pull
  flash
Signed-off-by: cfig <yuyezhong@gmail.com>
cfig 78105c6b72
Issue : support init_boot.img
cfig 5cef10203b
Issue : add "gradle clean" command
cfig a358bd6a7b
Issue : 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
cfig 6a7d3793fb
upgrade gradle to 7.0
cfig 852ee928c7
squashed update
aosp: mkdtboimg,mkbootimg
test: Issue 
parser: support boot-debug and vendor_boot-debug
cfig 85c26a361d Fix : support boot.img vbmeta blob flag
cfig a67ff9e4db
lzma checking may crash, move to last
cfig b108110dbd
first version compatible with Windows 10
cfig 454c5e6ae8
update test case for issue 47
cfig ddd1ad5ef2
mass update
dependent modules:
 aosp update
 kotlin: 1.4.0 -> 1.4.10
 unify helpers between projects
 commons.compress 1.20
bbootimage:
 fix page size error in vendor_boot
 supress compile warnings
lz4:
 change lz4 compress parameter if lz4 is not up-to-date
 use external lz4 to decompress kernel for Ubuntu <=18.04
cpio:
 use java cpio to decompress ramdisk
 add skipcpio to read contatenate cpio
cfig bb5c217e4e
travis: multi platform tests
cfig 125418c99d
Squashed commit of the following:
1. libsparse: update form AOSP

    * commit a386482f1d2e29e893a59289f71ccdc715472514
    | Author: Woody Lin <woodylin@google.com>
    | Date:   Wed May 13 20:50:54 2020 +0800
    |
    |     libsparse: Limit block size to 64 MB
    ...
    |     Change-Id: Ic4edb963a3d99f718d7630aba3f351729a84e994

 2. mkbootfs: update from AOSP

    * commit 6ad4d0a601485475645ddd1b23181a4c31754977
    | Author: Tom Cherry <tomcherry@google.com>
    | Date:   Wed Mar 4 13:35:28 2020 -0800
    |
    |     Remove EXCLUDE_FS_CONFIG_STRUCTURES
    ...
    |     Change-Id: I5ba2541cd1045c22486140649c90db39163081fd

 2.1 mkbootfs: add mkbootfs for (Android <= 10) and (Android 11)

 3. avb: update from 1.1 to 1.2

    libavb and avbtool

    * commit 23dbe6ec9b8734aea9812e1ecd3af47e88d6360a
    | Author: Thiébaud Weksteen <tweek@google.com>
    | Date:   Fri May 15 15:52:02 2020 +0200
    |
    |     Enable Android.bp format validation hook
    | ...
    |     Change-Id: I3496b43093aa7f7633ca64e587e128c45b534601
cfig b21e856754
eliminate meaningless non-zero values of ramdisk_offset
- Fix: issue 
 - sync change of
https://android-review.googlesource.com/c/platform/system/tools/mkbootimg/+/1087679
 - also change integrationTest
cfig ff7021e2db
test: add more tests for android 10 coral
cfig 40a31fd655
generalize command recognization/invocation
Now we can directly call "java -jar bbootimg.jar".
Also add hidden command '@footer' in BootImgParser
cfig f680adcc05
update integrationTest and gradle 'check'
cfig 79b84baf68
mass update
builder:
  kotlin 1.3.41
bootloader_message:
  reboot rescue
  reboot fastboot
mkbootimg
  update mkbootimg from AOSP master
  modify our header packer accordingly
avbtool:
  update from commit 9d3646515bf0b5f09d8bdbe0b844c7eefa0c0802
  Tue May 14 15:30:37 2019 -0400
remote java
cfig 3dd9f1e685
update integrationTest for android Q preview
cfig a7be076e77
using newly added kotlin.(UInt|ULong|UByte) since 1.3
add 'Reboot' function tests
add "Struct3" to replace "Struct" with new kotlin types
cfig fe14b49178
add submodule for integrationTest resources
cfig fac31f1526
mass update
update avbtool from upstream
update kotlin to 1.3.20
support boot image header v2
add integration test