Commit Graph
541 Commits
Author SHA1 Message Date
osm0sis e4b1bb25ca AK3: usage/documentation comment touchups 2026-08-09 22:18:48 -03:00
osm0sis d81e180869 AK3: allow unpacking only specific vendor_ramdisk cpio
- introduce unpack_vendorrd <name|path> to allow only unpacking a specific VNDRBOOT v4+ sub-ramdisk
- repack_ramdisk repacks any found unpacked VNDRBOOT v4+ sub-ramdisk and leaves others untouched
2026-08-09 22:13:51 -03:00
osm0sis 1c9a500dd4 AK3: full magiskboot VNDRBOOT v4 multi-ramdisk support 2026-07-04 13:39:50 -03:00
osm0sis cea8f976cd AK3+Backend: remove all backwards compat (it's been years) 2026-06-28 09:07:23 -03:00
osm0sis 10a35863de AK3: fix elf to bootimg repacking 2026-06-28 07:16:49 -03:00
osm0sis 23e48c9571 AK3: fix 'ash: bad number' when NO_MAGISK_CHECK=1 2026-06-28 07:11:59 -03:00
osm0sis dca9dc3708 tools: update magisk utils to v30.7(30700) stable 2026-02-25 20:13:54 -04:00
osm0sis 63c886e3b3 AK3: restore f2dbe60 now that magiskboot split -n is supported 2026-02-08 14:22:45 -04:00
osm0sis 71e5f44869 AK3: fix simple multi-partition mode on devices with init_boot but not vendor_kernel_boot 2026-01-30 04:26:06 -04:00
engstk 6f88dff82b tools: update magisk utils to v29.0(29000) stable
Signed-off-by: engstk <eng.stk@sapo.pt>
2025-05-18 16:18:16 -03:00
osm0sis db90e19aae tools: update magisk utils to v28.1(28100) stable 2024-12-17 19:26:38 -04:00
engstk fdf4603a40 AK3: add option to skip vbmeta patching while avb is enabled (#90)
Signed-off-by: engstk <eng.stk@sapo.pt>
2024-10-14 13:02:49 -03:00
osm0sis 075e6ff32b AK3: fix Magisk check with magiskboot 27007+ 2024-10-12 20:37:18 -03:00
osm0sis ef8cd6c008 tools: update magisk utils to v28.0(28000) beta 2024-10-11 22:23:32 -03:00
osm0sis c55d63f393 README: updated variable names 2024-05-09 15:30:01 -03:00
osm0sis ad53675d2e anykernel: update for renamed user set variables
- overdue core variable cleanup, part 4/4
2024-05-09 15:29:06 -03:00
osm0sis cb044b649b AK3: replace remaining variables
- all working directory variables
- all user set variables
- add backwards compat so devs have time to update anykernel.sh
- overdue core variable cleanup, part 3/x
2024-05-09 14:14:22 -03:00
osm0sis 2bd7ed4945 AK3: replace $home with $AKHOME
- overdue core variable cleanup, part 2/x
2024-05-09 13:59:01 -03:00
osm0sis f35b521327 AK3: remove $bin/ for tools now on path
- begin overdue core variable cleanup: bin -> BIN
2024-05-09 13:51:42 -03:00
osm0sis c2e5f7e841 Backend: move tools higher in the PATH
- avoids conflicts with any utilities that might also be part of busybox
2024-05-09 13:32:46 -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 0ca10ebb1c README: update for default system_dlkm flashing 2023-10-20 00:12:46 -03:00
osm0sis f63f136037 AK3: add system_dlkm.img flashing to write_boot function 2023-10-20 00:10:34 -03: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 82adc2f4df AK3: separate dump failure and split failure 2023-10-09 11:52:12 -03:00
osm0sis f1e1a32c60 Backend: improve modules rw remount output 2023-09-20 10:37:49 -03:00
osm0sis 19ab7e13a3 AK3: only allow repack of hdr v4 ramdisks as lz4-l
- they all get overlayed and must be matching compression formats
2023-09-18 14:54:03 -03:00
osm0sis 04376fbe3e Backend: work around KernelSU not processing modules on initial install
- KernelSU currently requires the Manager app be run after first rooted to dump /data/adb/ksud, and then it will process any pending modules_update.img on the next reboot
- the above is problematic since some custom kernels providing KernelSU support will require a working module system to overlay .ko kernel modules needed for feature support and sometimes the ROM won't boot without these matching
- work around this KernelSU behavior by dumping ksud ourselves as-needed during the AK3 helper module installation, allowing seamless initial KernelSU kernel support installation with AK3 helper module .ko support

See: https://github.com/tiann/KernelSU/issues/945
2023-09-13 16:01:35 -03:00
Chris Renshaw 32afd2e411 README: boot_signer is deprecated, not the avb directory 2023-09-10 21:49:20 -03:00
osm0sis 1dfb2c34aa AK3: support custom AVBv1 signing with magiskboot
NOTE: this currently appears to be broken in magiskboot, so continue to use boot_signer for now, but we're ready for when it works ;)
2023-09-10 14:37:17 -03:00
osm0sis b5a74aab24 README: deprecate boot_signer now that magiskboot supports AVBv1 2023-09-04 07:13:00 -03:00
osm0sis d2f06464d8 tools: update magisk utils to v26.3(26300) stable 2023-09-04 07:10:30 -03:00
osm0sis df90d744fd AK3: add overlay.d warning for KernelSU users 2023-08-30 19:59:16 -03:00
osm0sis 051f79300f AK3: fix unset PATCHVBMETAFLAG, only read kernel strings once 2023-08-30 19:47:39 -03:00
osm0sis b52433bf12 AK3: fix repack return check with magiskboot 2023-08-28 22:37:04 -03:00
Chris Renshaw 7b28c94d1f README: update for KernelSU support 2023-08-22 23:27:54 -03:00
Chris Renshaw 87d6fc9545 Example: use boot_attributes instead of deprecated attributes
DO NOT MERGE if you have already updated your zip properly for your device
2023-08-22 12:35:28 -03:00
Chris Renshaw 2680ecb2cd README: update for supported.vendorpatchlevels 2023-08-22 02:01:36 -03:00
Chris Renshaw b9bdc36b60 anykernel: add supported.vendorpatchlevels 2023-08-22 01:53:06 -03:00
Chris Renshaw b9df8b892f Backend: add vendor security patch checking 2023-08-22 01:51:39 -03:00
Chris Renshaw 17f728cae0 README: add no_magisk_check=1 2023-08-15 21:09:00 -03:00
Chris Renshaw 9d09ba3ecd AK3: add no_magisk_check=1 to skip Magisk detection and repatching 2023-08-15 20:08:55 -03:00
Chris Renshaw 86417ffcb3 Example: correct order 2023-08-11 01:52:00 -03:00
Chris Renshaw d9afe472df Example: tidy again 2023-08-10 20:04:53 -03:00
Chris Renshaw e40e655e40 Example: add commented multi-parition attributes functions
DO NOT MERGE if you have already updated your zip properly for your device
2023-08-10 13:22:03 -03:00
Chris Renshaw 6567864730 anykernel: remove attributes call (now handled in core) 2023-08-10 13:14:20 -03:00
Chris Renshaw 32073dff09 AK3: add per-partition attributes, multi-partition fixes
- attributes function now runs via core in setup_ak and reset_ak, but only if it exists, allowing more easy removal of it for setups with no ramdisk changes (so all should now remove the awkward `&& attributes` call from anykernel3.sh, see next commit)
- for multi-partition zips with multiple ramdisks requiring different files, multiple attributes functions may now be specified, either redefine attributes() in anykernel.sh for the next partition, or add a different function for each partition, e.g. boot_attributes() and vendor_boot_attributes()
- fix block=auto multi-partition setup creating an "auto-files" directory instead of final found block, e.g. "init_boot-files"
2023-08-10 13:11:32 -03:00
Chris Renshaw a5ce1c04d1 Backend: hide shcon workaround stderr on (likely) working recoveries
- some recoveries don't allow reading/changing shell context and will show an error:

sh: write error: Invalid argument

- these recoveries seem to allow loop mounts unlike most LOS Recovery builds lately, so hide the error output
2023-08-10 12:36:28 -03:00
Chris Renshaw 9ab60a49de Backend: work around for chcon on broken recoveries 2023-08-01 11:04:26 -03:00