Commit Graph

40 Commits (master)

Author SHA1 Message Date
cfig 4af828484c staging commit 3 weeks ago
cfig 545c0509a5
update tool version 6 months ago
cfig cae7591d55 upgrade kotlin to 2.0.0, gradle 8.8 9 months ago
cfig 5b08470d76
lazybox: add trace-cmd analyzer 12 months ago
cfig 2076fad7d3
Issue #134: support multiple DTs in BootV2 and VendorBoot
https://source.android.com/docs/core/architecture/dto/multiple
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 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 d0dfebd42e
linux: use android-sdk-libsparse-utils instead of local code copy 2 years ago
cfig 8be3510b67
Issue #111: downgrade required java to 11 2 years ago
cfig 130789c276
support vendor_kernel_boot.img, also refine display info on Windows 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 cbe39e8c3b
Issue #101: minimize mem footprint during partial file copy 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 9101c5bbab
update kotlin to 1.7.0 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 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 b3246f6474
update module versions 3 years ago
cfig 5cef10203b
Issue #79: add "gradle clean" command 3 years ago
cfig a358bd6a7b
Issue #71: 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
3 years ago
cfig 1e2592c1c4
routine mass checkin
- VirtualABMsg: read and parse VAB info from misc
- Clear some detekt warnings
- dtbo: supress warnings
3 years ago
cfig 62bc8004c4
update gradle/kotlin
gradle 7.2
kotlin plugin: 1.5.30
3 years ago
cfig b274b358e5
Issue #55: fully support vendor boot V4
v3 -> v4 changelog:
 - vendor ramdisk table
 - bootconfig

Fix bugs:
 - unpack: vrt postion calculation
4 years ago
cfig 9dcf014a39
kotlin: upgrade to 1.5 4 years ago
cfig 1cc54f4592
add license header for each source file
This doesn't affect use of the software in any means under the terms of
Apache License
4 years ago
cfig 6a7d3793fb
upgrade gradle to 7.0 4 years ago
cfig 31be98dc60
support lzma/xz ramdisk
Issue 52
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 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 9e30b56015
Fix KernelCmdlineDescriptor type error in kotlin 1.4
also: add pull.py to pull boot and vbmeta from device
      upgrade to kotlin 1.4.20
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 a39b870033
kotlin: upgrade to 1.4.0
travis: upgrade to Ubuntu 20.04 Focal
4 years ago
cfig e47b10e013
build tool update
kotlin 1.3.61 to 1.3.71
gradle 6.0.1 to 6.3
replase @Experimental with @OptIn
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 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