47 Commits (70461302b6fc3f7367fd78be5e25c5cc2c44e515)

Author SHA1 Message Date
FriendlyNeighborhoodShane 0e2f4a71ec update-binary: only mount /mnt/system with discovered block
If we mount over /system forcefully, recoveries may break.
2 years ago
FriendlyNeighborhoodShane f141f03f25 update-binary: fix syntax 2 years ago
FriendlyNeighborhoodShane 68cafb3df7 update-binary: mount all candidate mountpoints
Just like earlier behaviour. Also add logging.
2 years ago
FriendlyNeighborhoodShane 3c7ab51901 src: fix dynamic partition support 2 years ago
Tim Zimmermann 20f467c6b0 MinMicroG: Support lineage recovery and dynamic partitions devices
With the previous install script we'd try to mount /system
which is in fstab on lineage recovery, but on Q and up recoveries
recovery has it's own /system and all the executables are in
/system/bin rather than /sbin, resulting in tools like "chcon"
missing after mounting /system
Also on dynamic partitions devices /system is not in fstab
due to the block device being only created when logical
partitions are mapped, support that case as well

Most of the code is taken from
https://gitlab.com/MindTheGapps/vendor_gapps/-/blob/tau/build/meta/com/google/android/update-binary
2 years ago
FriendlyNeighborhoodShane feb0df733b file_getprop: fix regex 2 years ago
FriendlyNeighborhoodShane 87610579fd update-binary: use sysrootpart to properly handle partition-level tasks 2 years ago
FriendlyNeighborhoodShane d0db360aca update-binary: eliminate inconsistent usage of sysroot 2 years ago
FriendlyNeighborhoodShane adb99b5fde update-binary: use a list for cleanup unmounting 2 years ago
FriendlyNeighborhoodShane 7c40dd091c update-binary: refactor into cleanup() 2 years ago
FriendlyNeighborhoodShane 48e4d058f3 update-binary: make sizecheck_pack a function 2 years ago
FriendlyNeighborhoodShane 67cc86bfd5 update-binary: use tr to get lowercase basename 2 years ago
FriendlyNeighborhoodShane 96681acc03 update-binary: stop backing up debloated objects
In retrospect, this was a pretty stupid thing to do.
3 years ago
FriendlyNeighborhoodShane 346e77a188 *.md: reflow text to 80 cols 3 years ago
FriendlyNeighborhoodShane 2efc1d10b9 use `command -v` instead of `which` to determine tool availability.
It's POSIX and also considers builtins.
3 years ago
FriendlyNeighborhoodShane c826a347f0 Remove links to the NoGoolag Telegram group for support.
It is no longer a support channel as I am no longer a part of the community.
For now, there is no support channel through Telegram.
3 years ago
FriendlyNeighborhoodShane cfadfcf6d6 pre_install_actions: run after archive extraction 3 years ago
FriendlyNeighborhoodShane c33d7a7979 update-binary: format overlong constructs 4 years ago
FriendlyNeighborhoodShane 3811525c3f Add monospace markdown 4 years ago
FriendlyNeighborhoodShane 1ae8a9d81c Skip doing cp and chmod on conf files
It's not needed to do so with the dot command
4 years ago
FriendlyNeighborhoodShane f6f4e63f5b Remove service and addond features
They will be reimplemented as install hook functions
4 years ago
FriendlyNeighborhoodShane 9701259b5b src: remove unused postfs and sysprop features
They should be implemented with custom install hook functions instead
4 years ago
FriendlyNeighborhoodShane 316fdd2312 src: Add support for system mountpoint /mnt/system/system 4 years ago
FriendlyNeighborhoodShane 526abc7b7d Remove some deps from script 4 years ago
FriendlyNeighborhoodShane 0deb28e536 Better ui_print 4 years ago
FriendlyNeighborhoodShane ff726f832e Finally gave in to shellcheck after a couple sleepless nights 4 years ago
FriendlyNeighborhoodShane 8132afe973 Replace tests with grep -q invocations 4 years ago
FriendlyNeighborhoodShane 9f49c81f52 Some code style fixes 4 years ago
FriendlyNeighborhoodShane f3a1729558 Replace awk with homemade select_word shell function 4 years ago
FriendlyNeighborhoodShane d8f05a2835 Add proper shebangs using env 4 years ago
FriendlyNeighborhoodShane f1f5602b94 Debloat stuff_uninstall in Magisk installs 4 years ago
FriendlyNeighborhoodShane 9e5c0cfc2a Fix mounting for newer SAR systems
Somebody finally bothered to tell me where  they hide their build.prop
4 years ago
FriendlyNeighborhoodShane c51287d361 Fix directory debloating 4 years ago
FriendlyNeighborhoodShane ae54f36cbc Piggyback Magisk busybox if available 5 years ago
FriendlyNeighborhoodShane b74197e180 Mount system only from recovery 5 years ago
FriendlyNeighborhoodShane e972e1d246 Refactor logic to allow overwriting modname 5 years ago
FriendlyNeighborhoodShane 4c676e862d Fix some stuff about perming 5 years ago
FriendlyNeighborhoodShane 9037b3f37c Better compartmentalisation of variables 5 years ago
FriendlyNeighborhoodShane 96da9c66ff Properly Stallmanify 5 years ago
FriendlyNeighborhoodShane 246fb5bfdd Handle edge cases of early abort 5 years ago
ShaneTheAwesome 75433e78a7 Auto download zipsigner 5 years ago
ShaneTheAwesome b5fc852475 Quote correction 5 years ago
ShaneTheAwesome c40347be6a Improve src using shellcheck 5 years ago
ShaneTheAwesome 9e6659f555 Update docs and add dummy pack 5 years ago
FriendlyNeighborhoodShane ed3cc60d31 Better sysroot 5 years ago
FriendlyNeighborhoodShane dfae35e760 Remove unneccesary rm 5 years ago
ShaneTheAwesome 6cacd209a4 Init commit... Well that's not entirely true 5 years ago