Commit Graph

66 Commits (b3246f64742aa92ce3bd6b4162fc5755322b0924)

Author SHA1 Message Date
Sapphire 3d3b7c552d
Update README.md
Update required packages for macOS
4 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 1e2592c1c4
routine mass checkin
- VirtualABMsg: read and parse VAB info from misc
- Clear some detekt warnings
- dtbo: supress warnings
4 years ago
cfig 1505433aa9
Issue #17: known to work with Topway TS10 4 years ago
cfig 852ee928c7
squashed update
aosp: mkdtboimg,mkbootimg
test: Issue #59
parser: support boot-debug and vendor_boot-debug
4 years ago
scarlet-glass 9d2a7a14c2 Update README.md 4 years ago
cfig 82c614a8f1
doc: ADT3 on Android S is compatible
also add reboot/shutdown flow
4 years ago
cfig d49b9b47a1
doc update
Issue #17: add Redmi K30 into compatible list
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 e2583777a0
partial support of boot/vendor_boot v4 4 years ago
cfig 2d5a7b7019
migrate travis to actions 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 b108110dbd
first version compatible with Windows 10 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 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
5 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 6 years ago
cfig c1d4133f79
first update in 2020
update gradle managed modules
update gradle to 6
refactor directory for aosp modules
6 years ago
cfig 88dc24e04b
add libavb
build: using gradle
patch: patch it to compile on Mac OS
6 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 8 years ago