cfig
b108110dbd
first version compatible with Windows 10
4 years ago
cfig
30a5a0cbad
unify helpers and remove codacy
4 years ago
cfig
bff3b6fa97
fix integrationTest
...
do not check lz4-ed files
remove cpio dependency
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
5f9f17601d
verified Pixel 3 Android 11 boot.img and vbmeta.img
5 years ago
cfig
4bce4a0f39
fix dtbo support
...
- fix dtbo support with correct file path
- refine README
5 years ago
The Codacy Badger
915ee2292b
Add Codacy badge
5 years ago
cfig
af5ddbc934
fix build on mac and older ubuntu
5 years ago
cfig
716e8363ff
initial GKI images support
...
- boot.img header v3
- vendor_boot.img
5 years ago
cfig
40a31fd655
generalize command recognization/invocation
...
Now we can directly call "java -jar bbootimg.jar".
Also add hidden command '@footer' in BootImgParser
5 years ago
cfig
67667c803c
refine avbVerifier; fix AuthBlob bug
...
1. AuthBlob bug: if change algorithm_type from 0 to non-zero values,
auth_blob should not be empty
2. avbVerifier:
move key file to config/pubkey
add gradle task "v1/v2" to verify normal/recovery flow
5 years ago
cfig
c9d3365739
add Vivo X7
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
88dc24e04b
add libavb
...
build: using gradle
patch: patch it to compile on Mac OS
5 years ago
cfig
4a819179f4
update doc for Oppo K3
6 years ago
cfig
f680adcc05
update integrationTest and gradle 'check'
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
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
3c6ad3de94
feature enhancements
...
1. print unpack summary
2. try to extract kernel version/config if possible
6 years ago
cfig
cf24cb4003
add usage live demo
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
ec32a3750a
update README and misc refine
6 years ago
cfig
3c93bcf5ff
replace AOSP bouncycastle with upstream bcprov-jdk15on:1.57
...
- use jcenter bcprov/bcprokix, also remove original security provider
signature to make it workable
- other misc refactoration
7 years ago
cfig
4f598e07cf
Update README.md
7 years ago
cfig
6505fea379
add 'pull' task
...
WIP: add initrc parser test to analyze system boot sequence
7 years ago
cfig
1f7476d884
enhancement: support PropertyDescriptor; support flashing vbmeta.img
7 years ago
cfig
ec00936463
use javax.crypto.Cipher for raw signing
...
- using Cipher "RSA/ECB/NoPadding" to do raw sign
- also add .gitignore
7 years ago
cfig
f21e851abd
support add_hash_footer
7 years ago
cfig
48fd99d1c1
refine AVB support and ramdisk gzip
...
- avbtool only works with python 2.x, so systems which only have python
3.x as default will fail to run avbtool, fix it
- avbtool: sync with AOSP master
- avb salt: store salt for AVB signature, and use it in re-packing process
- ramdisk gzip: java.util.zip.GZIPOutputStream doesn't support parameters, so we use
org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream instead
7 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
Jonas Hackenberg
fce93d5117
Fix typo: gradew -> gradlew ( #11 )
...
Thank you very much for your project.
Worked perfectly without any issues.
I just noticed this typos in the readme.
7 years ago
cfig
e40768ed44
update README
7 years ago
cfig
f30a87eea8
update README icon
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
7 years ago
cfig
8a8a666d4d
obviously we support latest Androdi Oreo
7 years ago
cfig
2a65ea7604
update README
7 years ago
cfig
8cfc1260fe
update readme ( #9 )
8 years ago
cfig
507342d0a7
update readme: we also support recovery.img
8 years ago
cfig
3e5449af04
Squashed commit of all strict checkings
...
1. make my groovy code more java like
add @groovy.transform.TypeChecked and @groovy.transform.CompileStatic to
eliminate runtime surprise
2. add strict checking before 'pack' task
3. all boot.img.clear* will be hashed and the hash code will be compared to
assert equation
4. upgrade gradle and groovy version
9 years ago
cfig
601453ef84
add missing '--pagesize', fix '--board' bug
9 years ago
cfig
460c5b05eb
mass update for next generation boot.img
...
remove original abootimg by Gilles Grandou <gilles@grandou.net>
create groovy abootimg and mkbootimg
previous bootimg.cfg moved to bootimg.json
update doc: README.expert.md
9 years ago
cfig
1c77093f10
update readme ( #5 )
9 years ago
cfig
b3d5fbde2e
update readme for master ( #2 )
9 years ago
cfig
ea3bf4622b
update readme
9 years ago
cfig
d7ce4d65aa
clean up and refine README
9 years ago
cfig
ea493a7d6d
add self test in travis-ci
9 years ago