Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rr4 #5

Open
wants to merge 517 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
517 commits
Select commit Hold shift + click to select a range
a7af28e
Backend: fix getting parent directory on some devices
wloot Jun 25, 2019
db390aa
Backend: use recovery umount for /vendor
wloot Jun 23, 2019
d3363b7
tools: update magisk utils to v19.4-05658caf(19305) canary
osm0sis Jul 1, 2019
6872cf5
AK3: add simple arch detect to optionally support arm + x86 in same zip
osm0sis Jul 1, 2019
823e8a6
README: update for optional arch detect
osm0sis Jul 12, 2019
c2d3d25
Backend: speed up and simplify is_mounted use
osm0sis Jul 13, 2019
bb013da
README: add caveat about slots + modules
osm0sis Jul 15, 2019
e4a907b
Backend: introduce Android security patch level check, cleanups
osm0sis Jul 20, 2019
3b554e8
anykernel: add supported.patchlevels
osm0sis Jul 20, 2019
0bd7ab9
README: document supported.patchlevels
osm0sis Jul 20, 2019
559a608
Backend: remember we needs them busybox awks
osm0sis Jul 20, 2019
84d9032
AK3: add file/directory attributes functions
osm0sis Jul 20, 2019
96f961b
Example: update to use set_perm_recursive
osm0sis Jul 21, 2019
f1494f3
README: update for set_perm and set_perm_recursive
osm0sis Jul 21, 2019
958b2c8
AK3: reset_ak: don't remove $ramdisk unless has already been unpacked
osm0sis Jul 21, 2019
f3f8001
AK3+Backend: fix multi-line abort outputs
osm0sis Aug 4, 2019
0e3b730
AK3: fix partition detection taking first match on older devices
osm0sis Aug 6, 2019
950b68a
Backend: attempt to fix system_root setup on oddball device recoveries
osm0sis Aug 6, 2019
146c834
Backend: ensure /system_root umount even if /system is a symlink
osm0sis Aug 6, 2019
97889f8
README: cosmetic changes to match xda thread
osm0sis Aug 6, 2019
4f722f3
Backend: fix derp
osm0sis Aug 7, 2019
01db339
Backend: mounting fixes, simplify ui_printing from files
osm0sis Aug 13, 2019
ff4f310
Backend: support TWRP devices with /system_root in fstab
osm0sis Aug 13, 2019
e2987e3
Backend: mask error on TWRP devices without /system_root in fstab
osm0sis Aug 13, 2019
a88936c
Backend: rewrite mount logic to properly cover all cases
osm0sis Aug 18, 2019
6332a27
add LICENSE and compliance notices for binary redistribution
osm0sis Aug 19, 2019
9763d0d
LICENSE: slight clarifications and touch-ups
osm0sis Aug 20, 2019
abc56fc
README: add note about including new LICENSE file in zips
osm0sis Aug 22, 2019
c6ccb4f
Backend: add /dev/random workaround for recovery
osm0sis Aug 27, 2019
98b1ac6
Backend: fix restore_env $bb commands
osm0sis Aug 29, 2019
6515f57
Backend: fix getprop and devicecheck for GSIs
osm0sis Oct 16, 2019
07def96
Backend: break early on getprop failure fallback when value found
osm0sis Oct 16, 2019
beec6a6
Backend: further fixes for GSIs
osm0sis Oct 29, 2019
02f4d2d
tools: update to latest busybox (1.31.1)
osm0sis Nov 3, 2019
9ece271
tools: update magisk utils to v20.1(20100) stable
osm0sis Nov 3, 2019
dd041ba
tools: update magisk utils to v20.2(20200) stable
osm0sis Jan 2, 2020
bb144e1
Add apex mount/umount (#48)
Zackptg5 Jan 3, 2020
648f23f
Should only run in recovery
Zackptg5 Jan 4, 2020
d2e55da
tools: update magisk utils to v20.3(20300) stable
osm0sis Jan 10, 2020
810de52
Backend: APEX mounts support improvements
osm0sis Jan 12, 2020
ef24a09
AK3: auto split Image.*-dtb to kernel/kernel_dtb + re-patch for Magisk
osm0sis Jan 12, 2020
4bae117
AK3: fix AVBv1 signing on Android 10
osm0sis Jan 12, 2020
bf9e9fd
AK3: only attempt fallback kernel decompression if format was identified
osm0sis Jan 13, 2020
23dd83d
AK3: auto kernel patch improvements
osm0sis Jan 13, 2020
d3d853a
AK3: only attempt to dump .magisk config if patch found
osm0sis Jan 13, 2020
3f60a5e
AK3: fix false positive Magisk detection after reset_ak
osm0sis Jan 15, 2020
d225890
Backend: don't attempt to unmount /system_root when booted
osm0sis Jan 15, 2020
bd279e6
Backend: fix dalvikvm execution in recovery on Android 10
osm0sis Jan 15, 2020
21ee68f
AK3: clean up and simplify Magisk patch logic
osm0sis Jan 16, 2020
0a712cc
AK3: add stderr hints for signing debugging
osm0sis Jan 16, 2020
b37d7e2
AK3+Backend: introduce systemless kernel modules support
osm0sis Jan 18, 2020
13dd106
anykernel: add do.systemless
osm0sis Jan 18, 2020
29210bc
README: document do.systemless, update and sync with XDA thread
osm0sis Jan 18, 2020
7fb9efd
Backend: fix link restoration post-install
osm0sis Jan 21, 2020
be5c08b
Backend: overdue clean up and refactor
osm0sis Jan 24, 2020
062b44c
Backend: work around ongoing TWRP SAR support fragmentation
osm0sis Jan 24, 2020
b772cca
Backend: put debugging down where it belongs too
osm0sis Jan 26, 2020
03af96a
Backend: fixes for mounting system on Lineage Recovery
osm0sis Jan 27, 2020
c35c7ce
AK3+Backend: /postinstall and opposite slot awareness for FlashAfterU…
osm0sis Jan 27, 2020
ebd2b04
Backend: work around some Lineage 17 (AOSP Q) Recovery issues
osm0sis Jan 29, 2020
e666adc
AK3+Backend: mount and output fixes
osm0sis Feb 1, 2020
ccb19a8
tools: update magisk utils to v20.4-ed58cf95(20304) canary
osm0sis Feb 3, 2020
3e5c6ba
Backend: fix /system/bin/* execution on recoveries using LD_CONFIG_FILE
osm0sis Feb 3, 2020
6bc4d96
Backend: add additional BOOTCLASSPATH entry for /apex mounts
osm0sis Feb 3, 2020
dfcfb87
Backend: support for upcoming recovery addon.d-v2
osm0sis Feb 4, 2020
5bec49d
Backend: simplify heredoc usage
osm0sis Feb 9, 2020
273384d
Backend: fixes for booted flashing and addon.d-v2
osm0sis Feb 14, 2020
3f6d112
AK3+Backend: fix truncated recovery.log with FlashAfterUpdate
osm0sis Feb 14, 2020
c92c8c6
Backend: don't do remounts for pushing modules in addon.d-v2
osm0sis Feb 18, 2020
d9c8bb7
tools: update magisk utils to v20.4(20400) beta
osm0sis Mar 24, 2020
2d5bba8
AK3: show final detected target slot/partition
osm0sis Apr 23, 2020
b3767d1
Backend: try to preserve a working /etc/fstab on AOSP Q-based recovery
osm0sis May 12, 2020
53ce3e4
Backend: add logical partition block mapper rw support
osm0sis May 12, 2020
7f82f21
AK3: update for latest optional binaries
osm0sis May 24, 2020
0fb788e
LICENSE: update boot_signer-dexed.jar naming
osm0sis May 24, 2020
ca8c679
README: update boot_signer-dexed.jar naming
osm0sis May 24, 2020
c137cbf
AK3: allow hiding block display for zips with custom output
osm0sis May 30, 2020
4731595
AK3: unlock blocks before flash to handle post-incremental-OTA cases
osm0sis Nov 27, 2020
8cf89c4
Backend: fix sloppy/unpredictable `cmd && this || that` statements
osm0sis Nov 28, 2020
51ed927
Backend: do apex mounts before /system bind to ensure a working env
osm0sis Jan 11, 2021
4006d35
Backend: support mounting dynamic partitions from /dev/block/mapper
osm0sis Jan 12, 2021
9cdec62
Backend: mounting improvements
osm0sis Jan 14, 2021
3d3e21a
tools: update magisk utils to v21.2(21200) stable
osm0sis Jan 14, 2021
1991a6a
Backend: slot detection and mounting fixes
osm0sis Jan 14, 2021
25d89a6
Backend: fix apex unmounting during addon.d-v2
osm0sis Jan 14, 2021
2098b0f
tools: update magisk utils to v21.4(21400) stable
osm0sis Jan 18, 2021
376be8c
Backend: clean up old style tic
osm0sis Jan 18, 2021
02329ba
Backend: add /product and /persist support
osm0sis Jan 18, 2021
630f926
AK3: clean up old style tic
osm0sis Jan 20, 2021
d1fd1eb
README: document no_block_display=1
osm0sis Jan 20, 2021
8df26b0
AK3+Backend: cleanups, update *_line functions
osm0sis Jan 28, 2021
3159b91
README: document replace_line and remove_line global scope
osm0sis Jan 28, 2021
a1d0b70
Backend: one more umount_all() touch-up
osm0sis Feb 3, 2021
a6b8059
tools: update magisk utils to v22.0(22000) stable
osm0sis Feb 24, 2021
0ec87a8
Backend: update apex mounting support for Android 11
osm0sis Mar 30, 2021
31a3fff
tools: update to latest busybox (1.32.1)
osm0sis Mar 31, 2021
4904913
AK3: fix unpackbootimg/unpackelf suffixes, fix elf to bootimg repack
osm0sis May 3, 2021
9bd0ed8
tools: update to latest busybox (1.33.1)
osm0sis May 9, 2021
b55338a
tools: update magisk utils to v22.1(22100) stable
osm0sis May 9, 2021
3778287
tools: update magisk utils to v23.0(23000) stable
osm0sis May 13, 2021
83ff0c0
AK3: add support for simple vendor_boot dtb replacement
osm0sis Jun 8, 2021
33a7548
README: update for vendor_boot partition detection
osm0sis Jun 8, 2021
7a71dde
Example: add commented vendor_boot setup for reference
osm0sis Jun 8, 2021
92f9828
AK3: add vendor_ramdisk support to simple vendor_boot support
osm0sis Jun 8, 2021
beff4d4
AK3: ensure dtbo does not get flashed twice in multi-partition setups
osm0sis Jun 8, 2021
484ea07
AK3: hide expected potential simple vendor_boot support stderr
osm0sis Jun 8, 2021
5035d6b
AK3+Backend: fix systemless modules on multi-partition setups
osm0sis Jun 8, 2021
3050096
README: update for simple vendor_boot support
osm0sis Jun 8, 2021
3cfdc71
AK3: fix systemless modules on single-partition setups
osm0sis Jun 9, 2021
e4e2ee1
README: clarify we have support for AVBv1
osm0sis Jul 13, 2021
6ae1c8e
Backend: add base version code for easier debugging
osm0sis Jul 14, 2021
216eefc
AK3: fix new .img backup in debugging tgz, multipartition output tweak
osm0sis Jul 21, 2021
d705b13
Backend: mount cleanups and add system_ext support
osm0sis Sep 10, 2021
4dfc45a
Backend: check before mounts, fix persist mount on Virtual A/B
osm0sis Sep 11, 2021
84caeb4
Backend: more partition mount fixes
osm0sis Sep 14, 2021
f88f90e
Backend: underps and regression fixes
osm0sis Sep 15, 2021
fc43a2a
Backend: print AK_BASE_VERSION to stdout in script output
osm0sis Oct 1, 2021
b32e4ce
Backend: fix module installation if apex mounts fail
osm0sis Oct 2, 2021
446d3ca
tools: update to latest busybox (1.34.1)
osm0sis Oct 3, 2021
42611f4
Backend: adjust AK_BASE_VERSION placement in output
osm0sis Oct 3, 2021
52aec65
Backend: use stderr for consistency with other debug output
osm0sis Oct 5, 2021
74be8b0
README: update thread links for XenForo xda
osm0sis Oct 6, 2021
049180b
Backend: update apex support
osm0sis Oct 16, 2021
d557289
Backend: fix apex mounts on fastboot boot'd TWRP
osm0sis Oct 18, 2021
20ad141
Create FUNDING.yml
osm0sis Oct 31, 2021
d432fd5
Backend: support Android 12 .capex (compressed apex) files
osm0sis Nov 18, 2021
146f9b2
AK3: add full vendor_boot.img flash support
engstk Dec 3, 2021
2b7f6e8
AK3: add full vendor_dlkm.img flash support
engstk Dec 3, 2021
ae28b9d
Increment AK_BASE_VERSION for latest changes
osm0sis Dec 5, 2021
a312a2b
tools: update magisk utils to e097c097(23015+) CI
osm0sis Dec 6, 2021
297d6c3
AK3: add flash_generic to reduce code duplication
osm0sis Dec 6, 2021
89c8c54
README: update for flash_generic and vendor_dlkm
osm0sis Dec 6, 2021
4950e80
README: update remaining flash_dtbo references
osm0sis Dec 6, 2021
08a7600
AK3: unbreak anykernel scripts using flash_dtbo directly
osm0sis Dec 6, 2021
66f42c1
AK3+Backend: grep cleanups
osm0sis Dec 10, 2021
6e7fcd6
AK3: add magiskboot KEEPVBMETAFLAG support
osm0sis Dec 11, 2021
f7490f7
anykernel: add keep_vbmeta_flag
osm0sis Dec 11, 2021
78f08d4
Example: add commented keep_vbmeta_flag to vendor_boot setup
osm0sis Dec 11, 2021
12baa27
AK3: better backwards compatibility for keep_vbmeta_flag (unset=auto)
osm0sis Dec 11, 2021
1edb7e9
Backend: fix devicecheck now that we can't abuse file_getprop with .*
osm0sis Dec 11, 2021
fb5fbb1
AK3: update KEEPVBMETAFLAG -> PATCHVBMETAFLAG for Canary 23016+
osm0sis Dec 16, 2021
d7d7aeb
anykernel: change keep_vbmeta_flag -> patch_vbmeta_flag
osm0sis Dec 16, 2021
19cf856
Example: change commented vendor_boot setup to patch_vbmeta_flag
osm0sis Dec 16, 2021
11cb678
tools: update magisk utils to 92546e8a(23016) canary
engstk Dec 15, 2021
42e9c3a
README: document patch_vbmeta_flag feature
osm0sis Dec 17, 2021
6aec94e
tools: update magisk utils to 5f4cd50c (23017) canary
engstk Jan 20, 2022
52f96e8
tools: update magisk utils to v24.0(24000) beta
engstk Jan 26, 2022
af9b68c
tools: update magisk utils to v24.1(24100) stable
osm0sis Jan 29, 2022
3e99a63
AK3: fix no_block_display behaviour with flash_generic (#65)
dereference23 Feb 1, 2022
446ad5d
tools: update magisk utils to v24.2(24200) beta
osm0sis Mar 2, 2022
076e748
AK3: Fix patch_fstab function (#66)
dereference23 Mar 4, 2022
743bb44
AK3: add support for new upstream AOSP init_boot partition
osm0sis Mar 4, 2022
991bb67
tools: update magisk utils to v24.3(24300) stable
osm0sis Mar 10, 2022
c19c5be
AK3: fix unpack/repack with magiskboot zimage kernel support
osm0sis Apr 3, 2022
97d2d7f
AK3: also ensure $comp fallback is a working command for ramdisks
osm0sis Apr 11, 2022
adb09dc
AK3: ensure no template files from beginner devs get to the ramdisk
osm0sis Apr 23, 2022
4ebf8e5
Backend: add id to helper module.prop so 3rd party mgr apps are happy
osm0sis Apr 29, 2022
79cb694
AK3: add support for resizing logical partitions (#69)
capntrips Apr 30, 2022
9758c92
README: update for lptools
osm0sis May 6, 2022
c8961de
AK3: silence placeholder cleanup rmdir noise
osm0sis Jun 7, 2022
f81b0b2
tools: update magisk utils to v25.0(25000) beta
engstk Jun 7, 2022
bc736e9
AK3: add support for avb patching (#70)
capntrips Jun 8, 2022
1e417cb
README: update for httools_static + fec
osm0sis Jun 9, 2022
6e1b5c9
tools: update magisk utils to v25.1(25100) stable
osm0sis Jun 20, 2022
330de65
tools: update magisk utils to v25.2(25200) stable
engstk Jul 27, 2022
97794de
AK3: use lptools resize for vendor_dlkm (#73)
capntrips Aug 2, 2022
70fb859
lptools: use a different overload of MetadataBuilder::New (#74)
capntrips Aug 27, 2022
042d0cc
AK3: add support for vendor_kernel_boot (#75)
DespairFactor Oct 20, 2022
cf1a931
AK3: separate init_boot and boot partition detections
osm0sis Oct 20, 2022
c713211
Backend: pass ZIPFILE name into AK3 core env
osm0sis Nov 11, 2022
020ca6f
AK3: add support for simple init_boot + vendor_kernel_boot setup
osm0sis Nov 12, 2022
8db5d24
Example: add commented init_boot + vendor_kernel_boot setup for refer…
osm0sis Nov 12, 2022
eb203cc
LICENSE: shorten by combining for included Apache 2.0 utilities
osm0sis Nov 12, 2022
f14d70d
Example: clean up some more for readability
osm0sis Nov 12, 2022
dd66ae6
README: updates to bring in line with xda thread
osm0sis Nov 13, 2022
1fd2702
AK3: partition auto-detect improvements
osm0sis Dec 1, 2022
03046c3
README: update for any partition auto-detect
osm0sis Dec 2, 2022
e4e0c0e
Backend: add useful mount debugging stderr for logs
osm0sis Jan 6, 2023
aea91db
AK3: block=auto and flash_generic improvements
osm0sis Jan 7, 2023
c2e0bd7
AK3: flash_* display/output/debug improvements
osm0sis Jan 7, 2023
e49ea0b
Backend: don't unmount any existing apex at start of flash
osm0sis Jan 8, 2023
8077d11
AK3: also remove leading spaces from cmdline
osm0sis Jan 9, 2023
6ffb765
AK3: correct cmdline to remove any type of leading whitespace
osm0sis Jan 20, 2023
950b8e5
Merge branch 'koush:master' into master
osm0sis Jan 22, 2023
c2e33f9
AK3+Backend: support AMLogic devices where A-only sets slot=normal
osm0sis Feb 8, 2023
398b963
Backend: correct build.prop locations for getprop replacement
osm0sis Feb 8, 2023
7c8c1e7
Backend: fix ui_printfile on Lineage-based recoveries
osm0sis Mar 16, 2023
7a3e6df
Backend: fix showing ui_printfile padding char in error when booted
osm0sis Mar 23, 2023
8588147
Backend: fix byname finding on modern Android versions for devices wi…
osm0sis Apr 6, 2023
9664985
tools: update magisk utils to v26.0(26000) beta
engstk Apr 6, 2023
ddbb40e
AK3: detect flashing to inactive slot during OTA on VAB devices (#77)
capntrips Apr 16, 2023
d6e040c
AK3: update for latest magiskboot, don't un/repack kernel if not patched
osm0sis Apr 18, 2023
e46a516
LICENSE: update for snapshotupdater_static
osm0sis Apr 21, 2023
c45a8d5
Backend: support /metadata mount + debugging improvements
osm0sis Apr 21, 2023
f080b80
Backend: refactor mount_all and umount_all
osm0sis Apr 22, 2023
f2dbe60
AK3: partial revert of d6e040c2 until issue with kernel_dtb is addressed
osm0sis Apr 23, 2023
b3c769f
AK3+Backend: use busybox as much as possible + OLD_PATH for exceptions
osm0sis Apr 23, 2023
dee204c
Backend: simpify getprop replacement propval return
osm0sis May 3, 2023
ba82924
AK3+Backend: pass AKHOME via export
osm0sis May 3, 2023
68564ba
AK3: clear cow before logical partition replace or resize (#78)
capntrips May 4, 2023
8055e75
Backend: move busybox bin setup to setup_bb function, add tools to PATH
osm0sis May 6, 2023
7ea57ac
tools: update to latest busybox (1.36.1)
osm0sis May 24, 2023
f4cbd4b
Backend: fixup now that mount_apex direct .img mount works
osm0sis May 24, 2023
5c916de
Backend: abort apex loop mounts early if failing
osm0sis May 25, 2023
15b90dc
tools: newer busybox (1.36.1) patched to fix loop mounts on kernels <5.x
osm0sis May 25, 2023
c878b3e
Backend: fix loop mounts on newer Lineage-based recoveries
osm0sis May 26, 2023
1a9dea2
README: update for snapshotupdater_static
osm0sis Jun 4, 2023
4cd6b57
LICENSE: update XDA link
osm0sis Jun 4, 2023
c91542d
AK3: don't attempt to AVBv1 sign if /system/bin/dalvikvm is not present
osm0sis Jun 5, 2023
0b37d0b
AK3+Backend: add preliminary KernelSU support
osm0sis Jul 4, 2023
4030d36
AK3+Backend: helper module improvements and full KernelSU support
osm0sis Jul 16, 2023
9ab60a4
Backend: work around for chcon on broken recoveries
osm0sis Aug 1, 2023
a5ce1c0
Backend: hide shcon workaround stderr on (likely) working recoveries
osm0sis Aug 10, 2023
32073df
AK3: add per-partition attributes, multi-partition fixes
osm0sis Aug 10, 2023
6567864
anykernel: remove attributes call (now handled in core)
osm0sis Aug 10, 2023
e40e655
Example: add commented multi-parition attributes functions
osm0sis Aug 10, 2023
d9afe47
Example: tidy again
osm0sis Aug 10, 2023
86417ff
Example: correct order
osm0sis Aug 11, 2023
9d09ba3
AK3: add no_magisk_check=1 to skip Magisk detection and repatching
osm0sis Aug 15, 2023
17f728c
README: add no_magisk_check=1
osm0sis Aug 16, 2023
b9df8b8
Backend: add vendor security patch checking
osm0sis Aug 22, 2023
b9bdc36
anykernel: add supported.vendorpatchlevels
osm0sis Aug 22, 2023
2680ecb
README: update for supported.vendorpatchlevels
osm0sis Aug 22, 2023
87d6fc9
Example: use boot_attributes instead of deprecated attributes
osm0sis Aug 22, 2023
7b28c94
README: update for KernelSU support
osm0sis Aug 23, 2023
b52433b
AK3: fix repack return check with magiskboot
osm0sis Aug 29, 2023
051f793
AK3: fix unset PATCHVBMETAFLAG, only read kernel strings once
osm0sis Aug 30, 2023
df90d74
AK3: add overlay.d warning for KernelSU users
osm0sis Aug 30, 2023
d2f0646
tools: update magisk utils to v26.3(26300) stable
osm0sis Sep 4, 2023
b5a74aa
README: deprecate boot_signer now that magiskboot supports AVBv1
osm0sis Sep 4, 2023
1dfb2c3
AK3: support custom AVBv1 signing with magiskboot
osm0sis Sep 10, 2023
32afd2e
README: boot_signer is deprecated, not the avb directory
osm0sis Sep 11, 2023
04376fb
Backend: work around KernelSU not processing modules on initial install
osm0sis Sep 13, 2023
19ab7e1
AK3: only allow repack of hdr v4 ramdisks as lz4-l
osm0sis Sep 18, 2023
f1e1a32
Backend: improve modules rw remount output
osm0sis Sep 20, 2023
82adc2f
AK3: separate dump failure and split failure
osm0sis Oct 9, 2023
d7b6893
tools: update magisk utils to 0352ea2c(26302) canary
osm0sis Oct 18, 2023
f63f136
AK3: add system_dlkm.img flashing to write_boot function
osm0sis Oct 20, 2023
0ca10eb
README: update for default system_dlkm flashing
osm0sis Oct 20, 2023
458caed
tools: update magisk utils to v26.4(26400) stable
osm0sis Nov 6, 2023
a6c478e
tools: update magisk utils to v27.0(27000) beta
osm0sis Feb 3, 2024
c2e5f7e
Backend: move tools higher in the PATH
osm0sis May 9, 2024
f35b521
AK3: remove $bin/ for tools now on path
osm0sis May 9, 2024
2bd7ed4
AK3: replace $home with $AKHOME
osm0sis May 9, 2024
cb044b6
AK3: replace remaining variables
osm0sis May 9, 2024
ad53675
anykernel: update for renamed user set variables
osm0sis May 9, 2024
c55d63f
README: updated variable names
osm0sis May 9, 2024
ef8cd6c
tools: update magisk utils to v28.0(28000) beta
osm0sis Oct 12, 2024
075e6ff
AK3: fix Magisk check with magiskboot 27007+
osm0sis Oct 12, 2024
fdf4603
AK3: add option to skip vbmeta patching while avb is enabled (#90)
engstk Oct 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: osm0sis # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://www.paypal.me/osm0sis # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
243 changes: 243 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
## AnyKernel3 (AK3), and AnyKernel2/AnyKernel 2.0 (AK2) Scripts License:

AnyKernel (versions 2.0/2 and later) Android image modifying scripts.
Copyright (c) 2019 Chris Renshaw (osm0sis @ xda-developers),
and additional contributors per readily available commit history/credits.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the disclaimer
below) provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.


## Included Binary Licenses:

magiskboot, magiskpolicy (Magisk): GPLv3+

Magisk, including all git submodules are free software:
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Per Section 6(d), official compiled binaries from unmodified source:
https://github.com/topjohnwu/Magisk

busybox: GPLv2

BusyBox is distributed under version 2 of the General Public
License. Version 2 is the only version of this license which this
version of BusyBox (or modified versions derived from this one) may
be distributed under.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Per Section 3(b), self-compiled binary from modified source:
https://git.busybox.net/busybox/
https://github.com/osm0sis/android-busybox-ndk
(pre-patched source tree used to build available upon request)

lptools_static: Apache License 2.0
fec: Apache License 2.0
snapshotupdater_static: Apache License 2.0

Copyright their respective authors, (linked below).

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Source not required, however, respective sources are provided:
https://github.com/phhusson/vendor_lptools
https://android.googlesource.com/platform/system/extras/+/master/verity/fec/
https://github.com/capntrips/SnapshotUpdater

httools_static: MIT License

Copyright (c) 2022 capntrips

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Source not required, however, respective source is provided:
https://github.com/capntrips/HashtreePatcher


## Optional Binary Licenses:

mkbootfs, mkbootimg: Apache License 2.0
mkmtkhdr: Apache License 2.0, implied (AOSP mkbootimg derived)
boot_signer*.jar: Apache License 2.0

Copyright (c) 2008 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Source not required, however, respective sources are provided:
https://github.com/osm0sis/mkbootfs
https://github.com/osm0sis/mkbootimg
https://github.com/osm0sis/mkmtkhdr
https://android.googlesource.com/platform/system/extras/+/master/verity/

flash_erase, nanddump, nandwrite (mtd-utils): GPLv2
dumpimage, mkimage (U-Boot): GPLv2+
mboot: GPLv2 (Intel mboot.py derived)

Copyright their respective authors, (linked below).

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Per Section 3(b), self-compiled binaries from unmodified respective sources:
http://git.infradead.org/mtd-utils.git
https://gitlab.denx.de/u-boot/u-boot
https://github.com/osm0sis/mboot

futility: BSD 3-Clause License (Chromium OS)
unpackelf, elftool: BSD 3-Clause License, implied (Sony mkelf.py derived)

Copyright their respective authors, (linked below).

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Source not required, however, respective sources are provided:
https://github.com/osm0sis/futility
https://github.com/osm0sis/unpackelf
https://github.com/osm0sis/elftool
(https://github.com/sonyxperiadev/device-sony-lt26/tree/master/tools)

rkcrc: BSD 2-Clause License

Copyright (c) 2010, 2011 Fukaumi Naoki
Copyright (c) 2013 Ivo van Poorten
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Source not required, however, respective source is provided:
https://github.com/linux-rockchip/rkflashtool


## Additional Build Scripts for Listed Binaries (where used):

osm0sis' Odds and Ends Thread - Knowledge Base:
https://forum.xda-developers.com/t/tools-zips-scripts-osm0sis-odds-and-ends-multiple-devices-platforms.2239421/#post-53554719

Binary file removed META-INF/CERT.RSA
Binary file not shown.
Loading