Commit Graph

20 Commits (master)

Author SHA1 Message Date
cfig 657b2d40ce
support legacy ota 1 year 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
1 year ago
cfig d0dfebd42e
linux: use android-sdk-libsparse-utils instead of local code copy 2 years ago
cfig 95ee9b6d85
Issue #116: fix syntax error in Gradle 8.0.2 2 years ago
cfig 3df4ec6fc1
Issue #87: refine "clear" task
Please use "gradle clear" instead of "gradle clean".
3 years ago
cfig 1dd865adf4
support OTA payload.bin
- unpack: supported
- pack & others: Not Available
3 years ago
cfig 8bf807b663
Issue #81: do not compile AOSP native code by default 3 years ago
cfig 5cef10203b
Issue #79: add "gradle clean" command 3 years ago
cfig 2d5a7b7019
migrate travis to actions 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 b108110dbd
first version compatible with Windows 10 4 years ago
cfig 4e9d60db1a
cpio: replace mkbootfs with java CPIO
reimplement android mkbootfs with pure java, features include:

unpack:
 - using commons.compress
 - save cpio entry info on unpacking, and reload it on packing, this is
   called 'exact-matching'

pack: using new code with the help of commons.compress
 - for newly added ramdisk file, its file mode falls back to
   'pattern-matching'
 - for newly added ramdisk file that doesn't match any pattern, it will
   use default file mode, 'default'

integration test:
 - enable strict cpio checking
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 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 bcf3c2e2b4
mkbootfs: revert 'cpp-application'
use legacy 'c' and 'cpp' plugin for MacOS comapatibility
6 years ago
cfig 30fe87357b
add 'rr' task for 'reboot recovery' 6 years ago
cfig b8aba9992e
add 'flash' task for vbmeta/boot 6 years ago