Commit Graph

42 Commits (master)

Author SHA1 Message Date
cfig 71a7d2a07f update BootV3 for abe 10 months ago
cfig 585e2fdcd5 Issue #145: staging
boot.img V3
unpack
java -jar bbootimg/build/libs/bbootimg.jar unpackInternal ../boot.img out
pack
java -jar bbootimg/build/libs/bbootimg.jar packInternal out ../x/boot.img.modified
10 months ago
cfig 979a9b9f77
lazybox: support settings dump 10 months 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 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
1 year ago
cfig cb192ee39a
misc improvements
* gradle pull: support devices w/o /vbmeta partition
* VendorBoot: correct size calculation
2 years ago
cfig de69dbf01c
Issue #109: support vendor_boot.img w/o dtb
Now for boot V4, dtb may be in vendor_boot or vendor_kernel_boot.
Google Change:
053c389f03
2 years ago
cfig 078930b7c7
correct document typos 2 years ago
cfig 66ca430622
some trivial changes 3 years ago
cfig 5cef10203b
Issue #79: add "gradle clean" command 3 years ago
cfig 62bc8004c4
update gradle/kotlin
gradle 7.2
kotlin plugin: 1.5.30
3 years ago
cfig 93e81171ac
doc update 4 years ago
cfig 9a94d2a16e
boot v4: fix bug "avbtool not found" 4 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 9772e6c163
boot config: add libxbc usage examples 4 years ago
cfig 1505433aa9
Issue #17: known to work with Topway TS10 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 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 2665fd0098
doc: misc and BootControl 4 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 ff7021e2db
test: add more tests for android 10 coral 5 years ago
cfig 4a819179f4
update doc for Oppo K3 6 years ago
Surendra Kumar 68b0d7ceb6 Fix typo :) 6 years ago
Surendra Kumar de3e9bc3d8 Added tricks to obtain Oppo K3 recovery.img 6 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 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 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 32139203e7
fix several critial bug
details
 - code refine
 "In Kotlin 1.3, it is now possible to capture the when subject into variable"
 - fix gradle version checking bug: now we can handle versions like "5.4-rc-1" and "5.4"
 - removed unwanted import of "UnImplNode"
 - add Struct3 doc
6 years ago
cfig 3dd9f1e685
update integrationTest for android Q preview 6 years ago
cfig a7be076e77
using newly added kotlin.(UInt|ULong|UByte) since 1.3
add 'Reboot' function tests
add "Struct3" to replace "Struct" with new kotlin types
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