summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-10Updated Install ScriptsHEADmasterrafa_99
2020-10-24Updated Scriptsrafa_99
2020-10-24Updated Scriptsrafa_99
2020-05-30AK3: allow hiding block display for zips with custom outputosm0sis
2020-05-24README: update boot_signer-dexed.jar namingosm0sis
2020-05-24LICENSE: update boot_signer-dexed.jar namingosm0sis
2020-05-24AK3: update for latest optional binariesosm0sis
- fix naming BootSignature_Android.jar -> boot_signer-dexed.jar for my own builds (see https://issuetracker.google.com/issues/143810860) - correct unpackbootimg/unpackelf suffixes which now correspond to their matching mkbootimg argument
2020-05-12Backend: add logical partition block mapper rw supportosm0sis
Thanks LuK1337 & erfanoabdi @ Lineage
2020-05-12Backend: try to preserve a working /etc/fstab on AOSP Q-based recoveryosm0sis
2020-04-23AK3: show final detected target slot/partitionosm0sis
2020-03-24tools: update magisk utils to v20.4(20400) betaosm0sis
2020-02-18Backend: don't do remounts for pushing modules in addon.d-v2osm0sis
2020-02-14AK3+Backend: fix truncated recovery.log with FlashAfterUpdateosm0sis
2020-02-14Backend: fixes for booted flashing and addon.d-v2osm0sis
- only do setup_env and restore_env when in recovery to prevent environment/mount issues post-install - use busybox [ for simple integer test to ensure known numerical operator behavior
2020-02-08Backend: simplify heredoc usageosm0sis
2020-02-04Backend: support for upcoming recovery addon.d-v2osm0sis
- for FlashAfterUpdate addon.d-v2 support while in recovery - recovery addon.d-v2 requires /system and /system_root stay mounted
2020-02-03Backend: add additional BOOTCLASSPATH entry for /apex mountsosm0sis
2020-02-03Backend: fix /system/bin/* execution on recoveries using LD_CONFIG_FILEosm0sis
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-31AK3+Backend: mount and output fixesosm0sis
- fix case where TWRP has /system_root mountpoint but ROM is non-SAR - fix regression in ui_print when final character is \
2020-01-29Backend: work around some Lineage 17 (AOSP Q) Recovery issuesosm0sis
- Lineage 17 Recovery has some problems currently: /system mountpoint in ramdisk, neither /system nor /system_root in fstab (it has / instead, which is useless), ANDROID_ROOT=/system, and no /system_root symlink - /etc is linked to /system/etc so once /system is mounted /etc/fstab is gone and no further simple mount commands will work so move other mounts before /system - /system/bin are the only utilities available on PATH with none at all in /sbin so we need /apex files mounted immediately or no non-busybox commands will work after mounting /system over the recovery's skeleton /system - not all devices have /dev/block/bootdevice symlinks, but at some point "broken recovery is broken" has to apply, so I don't intend to build out full system partition discovery for the SAR mount fallback
2020-01-27AK3+Backend: /postinstall and opposite slot awareness for FlashAfterUpdate ↵osm0sis
addon.d-v2 support - for A/B OTAs my FlashAfterUpdate addon.d script requires the zip to know about addon.d-v2 and act accordingly - signify support with #FLASHAFTERUPDATEV2 tag in updater-script to pass whitelist check since the majority of zips will not work correctly
2020-01-27Backend: fixes for mounting system on Lineage Recoveryosm0sis
- Lineage has a mindboggling: /system_root as mountpoint in ramdisk, neither /system nor /system_root in fstab (it has / instead, which is useless), ANDROID_ROOT=/system, and a possible symlink from /system to /system_root/system - this failure to have a sensible, working fstab triggers the fallback to mounting directly from /dev/block/bootdevice which should exist on all modern devices which would need this SAR fallback - add basic slot support for the fallback mount, since Lineage Recovery also doesn't make symlinks to the active slot partitions
2020-01-26Backend: put debugging down where it belongs tooosm0sis
2020-01-24Backend: work around ongoing TWRP SAR support fragmentationosm0sis
TWRP now has 3(!) different competing implementations of SAR currently in use by maintainers: 1) /system as mountpoint in ramdisk/fstab and ANDROID_ROOT=/system, and possible symlink from /system_root to /system 2) /system_root as mountpoint in ramdisk/fstab, ANDROID_ROOT=/system_root, and possible symlink from /system to /system_root/system 3) /system_root as mountpoint in ramdisk/fstab, ANDROID_ROOT=/system, and possible symlink from /system to /system_root/system Attempt to continue to accommodate this bullshit.
2020-01-24Backend: overdue clean up and refactorosm0sis
- move checks to functions to isolate single-use variables as local - signify globally available variables with capitalization - move setup and mount to functions to mirror umount_all and restore_env - cluster functions by use order (no call should preceed its function) - use short circuit return tests to reduce indentation now that we use functions
2020-01-21Backend: fix link restoration post-installosm0sis
2020-01-18README: document do.systemless, update and sync with XDA threadosm0sis
2020-01-18anykernel: add do.systemlessosm0sis
2020-01-18AK3+Backend: introduce systemless kernel modules supportosm0sis
- with do.systemless prop enabled in anykernel.sh, will push the contents of modules/ to create a simple "ak3-helper" Magisk module, where testing on devices thus far shows it loads early enough that even replacement kernel object .ko modules will get loaded - the ak3-helper module info is populated from the kernel.string and parsed kernel version from the kernel being flashed, and if at boot time a different kernel is detected the module automatically removes itself before being loaded to avoid conflicts - since logical partitions and ext4-dedup on Android 10 now prevent mounting /system or /vendor rw under any circumstances, this feature gives kernel developers back the freedom they had before all this to improve kernel .ko modules, .conf files, etc. with the added bonus of it cleaning up after itself
2020-01-16AK3: add stderr hints for signing debuggingosm0sis
2020-01-16AK3: clean up and simplify Magisk patch logicosm0sis
- only repatch when there is an Image* (i.e. don't attempt on ramdisk-only mods) - make sure new ramdisk is already copied before trying to detect Magisk patch state in case it changed - clean up Magisk patch state and exported variables immediately
2020-01-15Backend: fix dalvikvm execution in recovery on Android 10osm0sis
2020-01-15Backend: don't attempt to unmount /system_root when bootedosm0sis
- work around booted flashing apps like FKM/EXKM which make /system busy to keep it from being unmounted but can't do the same with /system_root which can lead to sketchy behavior
2020-01-15AK3: fix false positive Magisk detection after reset_akosm0sis
2020-01-13AK3: only attempt to dump .magisk config if patch foundosm0sis
2020-01-13AK3: auto kernel patch improvementsosm0sis
- also check patch status as part of repack_ramdisk() to avoid any issues if developer is forcing a compression format change - get full Magisk patch status value and extract Magisk config to export correct environment variables for dtb patching
2020-01-12AK3: only attempt fallback kernel decompression if format was identifiedosm0sis
2020-01-12AK3: fix AVBv1 signing on Android 10osm0sis
2020-01-12AK3: auto split Image.*-dtb to kernel/kernel_dtb + re-patch for Magiskosm0sis
2020-01-12Backend: APEX mounts support improvementsosm0sis
2020-01-09tools: update magisk utils to v20.3(20300) stableosm0sis
2020-01-04Should only run in recoveryZackptg5
2020-01-03Add apex mount/umount (#48)Zackptg5
Add apex mounting for android Q so dynamic linked binaries and libs will work during install * Add apex stuff * Fix minor type * Better minor type solution * Update update-binary
2020-01-02tools: update magisk utils to v20.2(20200) stableosm0sis
2019-11-03tools: update magisk utils to v20.1(20100) stableosm0sis
2019-11-03tools: update to latest busybox (1.31.1)osm0sis
Compiled from my own updated fork: https://github.com/osm0sis/android-busybox-ndk
2019-10-29Backend: further fixes for GSIsosm0sis
- ro.vendor.build.product (from #44) doesn't appear to actually exist in nature, so replace it with ro.product.vendor.device for API 28+ devices, per https://github.com/phhusson/vendor_hardware_overlay/issues/25 - no need to check so many props for getprop parsing fallback check, simply look for ro.build.type which all devices should have in antiquity
2019-10-16Backend: break early on getprop failure fallback when value foundosm0sis
2019-10-16Backend: fix getprop and devicecheck for GSIsosm0sis
- add additional prop locations to getprop failure fallback - add vendor props to devicecheck and getprop parsing fallback check to avoid false negatives on GSIs - mask errors from devicecheck getprops as not all of them may exist on GSIs or non-GSIs Thanks @lazerl0rd for the information and start on the changes Closes #44