Commit Graph
29 Commits
Author SHA1 Message Date
osm0sis ef8cd6c008 tools: update magisk utils to v28.0(28000) beta 2024-10-11 22:23:32 -03:00
osm0sis a6c478e370 tools: update magisk utils to v27.0(27000) beta 2024-02-03 23:57:38 -04:00
osm0sis 458caeda33 tools: update magisk utils to v26.4(26400) stable 2023-11-06 14:19:14 -04:00
osm0sis d7b689331f tools: update magisk utils to 0352ea2c(26302) canary
- fixes custom AVBv1 signing (see: 1dfb2c34aa)
- fixes/improves dtb patching
- fixes sepolicy patching on older devices
2023-10-18 15:34:00 -03:00
osm0sis d2f06464d8 tools: update magisk utils to v26.3(26300) stable 2023-09-04 07:10:30 -03:00
engstk 9664985a0b tools: update magisk utils to v26.0(26000) beta
Signed-off-by: engstk <eng.stk@sapo.pt>
2023-04-06 09:34:56 -03:00
engstk 330de65c77 tools: update magisk utils to v25.2(25200) stable
Signed-off-by: engstk <eng.stk@sapo.pt>
2022-07-27 12:19:30 -03:00
Chris Renshaw 6e1b5c9cd9 tools: update magisk utils to v25.1(25100) stable 2022-06-20 00:24:11 -03:00
engstk f81b0b2db6 tools: update magisk utils to v25.0(25000) beta
Signed-off-by: engstk <eng.stk@sapo.pt>
2022-06-07 20:21:32 -03:00
osm0sis 446ad5d85d tools: update magisk utils to v24.2(24200) beta 2022-03-02 09:00:45 -04:00
engstk 52f96e80d2 tools: update magisk utils to v24.0(24000) beta
Signed-off-by: engstk <eng.stk@sapo.pt>
2022-01-26 13:10:40 -04:00
engstk 6aec94e549 tools: update magisk utils to 5f4cd50c (23017) canary
Signed-off-by: engstk <eng.stk@sapo.pt>
2022-01-20 18:06:52 -04:00
engstk 11cb678fb3 tools: update magisk utils to 92546e8a(23016) canary
Signed-off-by: engstk <eng.stk@sapo.pt>
2021-12-15 20:33:34 -04:00
osm0sis a312a2bdc9 tools: update magisk utils to e097c097(23015+) CI
- adds partial hdr v4 support (cannot currently unpack vendor_boot v4 multi-ramdisk or bootconfig)
- use upstream CI build since it includes an AVBv2 signature padding fix, resolving all known regressions

Closes #61
2021-12-06 08:07:42 -04:00
osm0sis 37782872f6 tools: update magisk utils to v23.0(23000) stable 2021-05-12 23:03:10 -03:00
osm0sis b55338ac61 tools: update magisk utils to v22.1(22100) stable 2021-05-09 14:52:11 -03:00
osm0sis a6b80592a6 tools: update magisk utils to v22.0(22000) stable 2021-02-23 22:16:03 -04:00
osm0sis 2098b0f030 tools: update magisk utils to v21.4(21400) stable 2021-01-18 15:25:41 -04:00
osm0sis 3d3e21af86 tools: update magisk utils to v21.2(21200) stable 2021-01-14 00:22:50 -04:00
osm0sis d9c8bb7c70 tools: update magisk utils to v20.4(20400) beta 2020-03-24 04:37:57 -03:00
osm0sis ccb19a8337 tools: update magisk utils to v20.4-ed58cf95(20304) canary
- fix lzop detection use-case of magiskboot decompress which was broken in the generic stream refactor
2020-02-03 13:30:13 -04:00
osm0sis d2e55da124 tools: update magisk utils to v20.3(20300) stable 2020-01-09 21:59:36 -04:00
osm0sis dd041bafe9 tools: update magisk utils to v20.2(20200) stable 2020-01-02 12:17:25 -04:00
osm0sis 9ece27131a tools: update magisk utils to v20.1(20100) stable 2019-11-03 03:22:30 -04:00
osm0sis d3363b7dcb tools: update magisk utils to v19.4-05658caf(19305) canary 2019-06-30 23:56:41 -03:00
osm0sis 46614b2f84 tools: update magisk utils to v19.4-1058aeb0(19302) canary 2019-06-24 12:31:49 -03:00
osm0sis 6b8b178c12 tools: update magiskboot to v19.4-ee407472(19301)
- 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-15 21:27:10 -03:00
osm0sis 725e3a0006 tools: update magisk tools to v19.3(19300) stable 2019-06-05 20:33:59 -03:00
osm0sis 6986821230 Welcome to AK3: AnyKernel2 + Magisk = AnyKernel3!
- 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
2019-05-31 23:49:19 -03:00