Commit Graph

21 Commits

Author SHA1 Message Date
topjohnwu b7e2e972c7 Support boot_img_hdr_v2 2019-03-13 16:51:22 -04:00
topjohnwu 1bde78d121 Rename patch_level -> os_patch_level 2019-03-07 21:59:03 -05:00
topjohnwu bbd014ad1b More saftey checks and improvements 2019-03-07 21:49:47 -05:00
topjohnwu 1287372f5a Support patching header in magiskboot 2019-03-07 21:32:01 -05:00
topjohnwu 0442d6d509 Only compress kernel and ramdisk if input not compressed 2019-03-07 07:24:20 -05:00
topjohnwu c9fa8118d1 Some code adjustments 2019-02-24 23:09:34 -05:00
topjohnwu 86f778c0aa Group unsupported formats into the same code 2019-02-24 02:30:04 -05:00
topjohnwu 69d10b747a Directly use FDT headers for detection 2019-02-21 05:24:05 -05:00
topjohnwu da3394f34e Move image parsing out of header searching 2019-02-21 05:08:38 -05:00
topjohnwu b4c2a9f49f More macro magic 2019-02-21 04:14:52 -05:00
topjohnwu 7cee77f57a Some C++ magic to make code cleaner 2019-02-21 02:54:37 -05:00
topjohnwu e59c5c8780 Modernize compress and decompress 2019-02-20 20:49:26 -05:00
topjohnwu 71ecbb3af3 Clean/refactor includes 2019-02-10 03:57:51 -05:00
topjohnwu 9275975b2c Re-organize functions 2019-01-26 06:00:23 -05:00
topjohnwu 08cd5b81d1 Try to repair boot_hdr v1 entries 2018-12-04 03:30:43 -05:00
topjohnwu 3603b7c82b Move cmdline and extra_cmdline to the same line 2018-11-08 20:57:30 -05:00
topjohnwu ca35a9681f Minor code improvements 2018-11-06 05:02:30 -05:00
topjohnwu 3e2afd4b1d Better debugging output 2018-11-01 01:16:15 -04:00
topjohnwu fc8a3c5fb4 Migrate MagiskBoot to C++ 2018-10-24 22:23:14 -04:00
topjohnwu 018c0064cd Make sure boot_img is initialized correctly 2018-10-22 01:58:50 -04:00
topjohnwu 74aae523ba Properly support boot image header v1
Close #695
2018-10-20 00:27:56 -04:00