summaryrefslogtreecommitdiff
path: root/tools/magiskboot
AgeCommit message (Collapse)Author
2020-03-24tools: update magisk utils to v20.4(20400) betaosm0sis
2020-02-03tools: update magisk utils to v20.4-ed58cf95(20304) canaryosm0sis
- fix lzop detection use-case of magiskboot decompress which was broken in the generic stream refactor
2020-01-09tools: update magisk utils to v20.3(20300) stableosm0sis
2020-01-02tools: update magisk utils to v20.2(20200) stableosm0sis
2019-11-03tools: update magisk utils to v20.1(20100) stableosm0sis
2019-06-30tools: update magisk utils to v19.4-05658caf(19305) canaryosm0sis
2019-06-24tools: update magisk utils to v19.4-1058aeb0(19302) canaryosm0sis
2019-06-15tools: update magiskboot to v19.4-ee407472(19301)osm0sis
- resolves https://github.com/osm0sis/AnyKernel3/commit/698682123053cab9e3277c9c9df783a97b3e8958 "IMPORTANT NOTE" 2, and allows 1 to be supported (via script change in subsequent commit)
2019-06-05tools: update magisk tools to v19.3(19300) stableosm0sis
2019-05-31Welcome to AK3: AnyKernel2 + Magisk = AnyKernel3!osm0sis
- abstract out execution directory as $home to fascilitate testing individual scripts (defaults to /tmp/anykernel) - general script clean ups for uniformity, readability, speed and simplicity - simplify consecutive `ui_print` commands where possible Backend only fixes: - use busybox umount and mount whenever possible to avoid linker warnings in stderr during system-as-root setup - use `busybox --install -s` for bin/* setup - consolidate setup to abort earlier if there are issues - add backwards compatible symlinks for those who might not have updated their anykernel.sh with ak3-core.sh (to be renamed in subsequent commit) Tools only fixes: - add magiskboot to replace separate support for AOSP and PXA-AOSP formats, with MTK headers, BLOB, DHTB, SEAndroid and Nook signing - add magiskpolicy to allow for easy sepolicy patching - remove xz and lz4 since magiskboot supports these AK3 Core only fixes: - use full `ui_print` function implementation like the backend - add `abort` function to simplify exit on errors - fix $patch directory being excluded from `reset_ak` - update $ramdisk_compression handling for magiskboot - magiskboot also resolves long-standing request for built-in Bump support (#18) - update Sony ELF and related support for initial repack as AOSP by using mkbootimg as plug-and-play optional add-in binary - update Sony ELF MTK header support using mkmtkhdr only when ELF is initially unpacked by unpackelf - add support for MTK RECOVERY ramdisk header type with Sony ELF - simplify U-Boot dumpimage/mkimage and Sony ELF unpackelf/mkbootimg split_img file handling - update patch_cmdline to handle both magiskboot as header prop file, and unpackelf or mboot as cmdline.txt - use `cp -fp` for `backup_file` and `restore_file` to hopefully better preserve attributes if used outside of the ramdisk - refactor setup into `setup_ak` to simplify `reset_ak` trigger to find slot and block again - add fallback to busybox for compression formats (i.e. lzop) which magiskboot cannot handle IMPORTANT NOTES: 1) forcing repack with uncompressed cpio ramdisk is not currently supported by magiskboot 2) forcing repack with lzop ramdisk when previously another format is not currently supported by magiskboot