Commit Graph

33 Commits (master)

Author SHA1 Message Date
cfig 657b2d40ce
support legacy ota 1 year 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
1 year 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 e14887192a
update aosp modules from upstream
Goodbye 2022
a year of the Tiger
a year of lock down
a year of all the mess
2 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
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 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 78105c6b72
Issue #83: support init_boot.img 3 years ago
cfig 93e81171ac
doc update 4 years ago
cfig 9772e6c163
boot config: add libxbc usage examples 4 years ago
cfig 6a7d3793fb
upgrade gradle to 7.0 4 years ago
cfig 852ee928c7
squashed update
aosp: mkdtboimg,mkbootimg
test: Issue #59
parser: support boot-debug and vendor_boot-debug
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 c46398dbb7
vbmeta.img: verify during unpacking 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
cfig 50273a9085
use mavenCentral in light of JCenter shutdown 4 years ago
cfig 0dbf161ce8
extract_kernel: update from AOSP (with fix) 4 years ago
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
4 years ago
cfig 15921efa2d
support lz4 compressed ramdisk
support lz4: Fix #43
other enhancements:
  avbtool: v1.1: for BootV2 before Android 11
  avbtool: v1.2: for BootV2(Android 11+), Vendor Boot, BootV3
  fix VB1.0 parsing error
  travis: osx xcode12.2, macOS 10.15.7, jdk 14.0.2
4 years ago
cfig af5ddbc934
fix build on mac and older ubuntu 5 years ago
cfig 3111fc1eba
mass update
support super.img
add 'pull' task
clean up obsolete makefiles
5 years ago
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
5 years ago
cfig 716e8363ff
initial GKI images support
- boot.img header v3
 - vendor_boot.img
5 years ago
cfig e5b03661f8
add "avbVerifier" to emulate boot time AVB flow
In memory of Dr. Li:
  He who holds the firewood for the masses,
  is the one who freezes to death in wind and snow.
5 years ago
cfig 0d0484248d
cleanup Struct3 to remove dependency of org.junit.Assert
also force using of python2 for avbtool
5 years ago
cfig c1d4133f79
first update in 2020
update gradle managed modules
update gradle to 6
refactor directory for aosp modules
5 years ago
cfig 4d1a3912d0 support makefile for c/cpp files
Fix: #33
usage:
    make
    ./gradlew unpack
    ./gradlew pack
5 years ago
cfig 88dc24e04b
add libavb
build: using gradle
patch: patch it to compile on Mac OS
5 years ago
cfig bcf3c2e2b4
mkbootfs: revert 'cpp-application'
use legacy 'c' and 'cpp' plugin for MacOS comapatibility
6 years ago
cfig 1bcf9389a0
squashed commit
update gradle to 5.6
dtbo parser: force use of python 2.7
add android libsparse utils
add sparse image parser: {system|vendor|product}.img
travis: upgrade to bionic(18.04 LTS)
6 years ago