Commit Graph

38 Commits (3c93bcf5ff8f5ad6f33ec2a8cc7f76ada62ecad9)

Author SHA1 Message Date
cfig 6505fea379
add 'pull' task
WIP: add initrc parser test to analyze system boot sequence
8 years ago
cfig 1f7476d884
enhancement: support PropertyDescriptor; support flashing vbmeta.img 8 years ago
cfig f21e851abd
support add_hash_footer 8 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
8 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
8 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
9 years ago
cfig 86eeb8d6cb
squashed update
1.enable shell in debug mode
 2.upgrade gradle to 4.4
9 years ago
cfig c2b0d20f60 support two-step-recovery image 9 years ago
cfig 167f4ba2a4 upgrade to support gradle 4.0 9 years ago
cfig 83bd158fc6 replace Task.leftShift(Closure) with Task.doLast(Action) 10 years ago
cfig d7eb1fce89 supress several Java compile warnings 10 years ago
Yu Yezhong 24499bb9a5 add macro CFIG_NO_FIX_STAT to disable fix_stat() for mkbootfs
just in case some geeks do not want the "fix stat" behavior
of Android cpio, a.k.a mkbootfs.

Test:
original attributes:
drw------- 2 yu yu 4.0K 2017-04-11 16:43 T1
drwxrwxrwx 2 yu yu 4.0K 2017-04-11 16:43 T2

generated boot image w/ fix_stat():
drwxr-xr-x   2 root   root        0 1969-12-31 18:00 T1
drwxr-xr-x   2 root   root        0 1969-12-31 18:00 T2

define CFIG_NO_FIX_STAT and disable fix_stat():
drw-------   2 root   root        0 1969-12-31 18:00 T1
drwxrwxrwx   2 root   root        0 1969-12-31 18:00 T2
10 years ago
Yu Yezhong 094252e583 add "-m" when unpacking cpio
"-m": Preserves original mtime on files being written out, so the copy will
have the same timestamps as the original (copy-out and pass-thru modes)
10 years ago
cfig a2aeea97c1 'mount' in Nougat is inside 'toybox' 10 years ago
cfig 07ad14b74a add init.debug.rc for more debug features 10 years ago
cfig 1f8a88eaf4 move global var to local 10 years ago
cfig 8bcdeda55a fix typo 10 years ago
cfig 76b4966007 support Android N recovery binaries 10 years ago
cfig 742e776412 fix decimal patch version decode bug 10 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
11 years ago
cfig e90758fe94 fix unit test issue
fix an argument issue which causes the difference of mkbootimg program
and mkbootimg.groovy core
11 years ago
cfig 896d6065f9 groovy unpack/pack tasks can run, but still failed unit test 11 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
11 years ago
cfig 56dacf31bd update to android master on May.30.2016, not tested 11 years ago
cfig 395d66ef9e fix an error in 'flash' task 11 years ago
cfig 6cd1026891 support boot.img and recovery.img (#4)
support boot.img and recovery.img
11 years ago
cfig b27994ec46 update tasks for recovery debugging (#3) 11 years ago
cfig ae70fe4122 add debug tools for recovery mode 11 years ago
cfig db3bb98466 allow co-working with full ANDROID code base when packing 11 years ago
cfig 245f99187c add 'flash' task
'flash' task will update boot.img on rooted platforms
11 years ago
cfig ef64e70941 fix get cmdline error 11 years ago
cfig ea493a7d6d add self test in travis-ci 11 years ago
cfig ba75f8f6af fix previous workarounds, fix travis-ci 11 years ago
cfig 1826113a74 add wrapper 11 years ago
cfig 494191bb37 bring up "gradle pack" and "gradle unpack"
add boot_signer, mkbootimg and dependencies
11 years ago
cfig 41ef4cf147 add mkbootfs task, add Android default keys, 11 years ago
cfig 57f9e4f86d update 11 years ago
cfig 3fb9a9398a initial commit 11 years ago