cfig
67cdef2c43
fix autotest error
1 year ago
cfig
643ac9e51d
fix auto test failure under Windows
...
migrate all test resources to github
1 year ago
cfig
657b2d40ce
support legacy ota
1 year ago
cfig
94570b1fcc
trivial improvements
...
- replace String.deleteIfExists with kotlin.io.Path.deleteIfExists
- remove unused "dtb.src", use "dtb.*.src" instead
1 year 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
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
2 years 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
e5c6a41ede
Issue #123 : better support dtb/dts
...
● support dumping /proc/device-tree from a running rooted Android
● support editing standalone dtb file
2 years ago
cfig
ec6f4780a6
Issue #122 : support ramdisk.img(boot image v0) without kernel
2 years ago
cfig
2f0af5d259
Issue #117 : respect original check flags for ramdisk compression
...
ramdisk xz check flags: crc32/crc64 etc.
XiaoMi recovery image uses CRC32 and can not suppport CRC64
2 years ago
cfig
e96aa0e33d
Issue #109 : add test case
2 years ago
cfig
d7ea80a5c2
Issue #107 : accept the new change in dtc 1.6.1
2 years ago
cfig
66ca430622
some trivial changes
3 years ago
cfig
ccb246342d
change test cases for PR#94
3 years ago
cfig
394bfc5f94
vendor boot: support dts/dtb compiling in 'pack'
3 years ago
cfig
56b75a2610
add test case for Issue #91
3 years ago
cfig
46370b17a8
Issue #91 : fix "cannot access class sun.security.rsa.RSAPrivateCrtKeyImpl" error
3 years ago
cfig
3df4ec6fc1
Issue #87 : refine "clear" task
...
Please use "gradle clear" instead of "gradle clean".
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
54be7a4fae
Issue #83 : support boot.img w/o ramdisk
3 years ago
cfig
78105c6b72
Issue #83 : support init_boot.img
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
4 years ago
cfig
9772e6c163
boot config: add libxbc usage examples
4 years ago
cfig
1505433aa9
Issue #17 : known to work with Topway TS10
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
82c614a8f1
doc: ADT3 on Android S is compatible
...
also add reboot/shutdown flow
4 years ago
cfig
85c26a361d
Fix #54 : support boot.img vbmeta blob flag
4 years ago
cfig
a67ff9e4db
lzma checking may crash, move to last
4 years ago
cfig
b108110dbd
first version compatible with Windows 10
5 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
5 years ago
cfig
454c5e6ae8
update test case for issue 47
5 years ago
cfig
30a5a0cbad
unify helpers and remove codacy
5 years ago
cfig
bff3b6fa97
fix integrationTest
...
do not check lz4-ed files
remove cpio dependency
5 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
5 years ago
cfig
bb5c217e4e
travis: multi platform tests
5 years ago
cfig
716e8363ff
initial GKI images support
...
- boot.img header v3
- vendor_boot.img
5 years ago
cfig
b21e856754
eliminate meaningless non-zero values of ramdisk_offset
...
- Fix: issue #38
- sync change of
https://android-review.googlesource.com/c/platform/system/tools/mkbootimg/+/1087679
- also change integrationTest
5 years ago
cfig
ff7021e2db
test: add more tests for android 10 coral
5 years ago
cfig
bf7defd434
bundle {boot.img, vbmeta.img}
6 years ago
cfig
f680adcc05
update integrationTest and gradle 'check'
6 years ago
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
6 years ago
cfig
f03315b08a
add dtbo.img parser
...
also refactor some code structure
6 years ago
cfig
3dd9f1e685
update integrationTest for android Q preview
6 years ago
cfig
fe14b49178
add submodule for integrationTest resources
6 years ago
cfig
fac31f1526
mass update
...
update avbtool from upstream
update kotlin to 1.3.20
support boot image header v2
add integration test
6 years ago
cfig
5d97d46c62
massive update for upcoming Android Pi
...
- update mkbootimg: AOSP commit 147b355bb34cbd457a260c585be93193cef43b8e
- migrate all code from groovy to kotlin
- support DTBO and header_version, resolve #12
- upate README.expert.md too
- support AVB
7 years ago
cfig
29041710ec
update base code to android-8.1.0_r2
...
update bouncycastle to android-8.1.0_r2
update mkbootfs to android-8.1.0_r2
boot_signer is not updated in AOSP upstream
move mkbootfs to sub-project
8 years ago
cfig
86eeb8d6cb
squashed update
...
1.enable shell in debug mode
2.upgrade gradle to 4.4
8 years ago