[Android Software/Hacking General [Developers Only]] osm0sis:
A thing or few!

Special thanks to [MENTION=528201]NLBeev[/MENTION] for testing out ADBsync v2.0! :highfive:

I work on these projects in my limited time off, so if you like the progress I'm making, or enjoy anything else I've done on xda, please do hit the donate link from my profile. Thanks for your support!

99-flashafterupdate.sh:

- set context u:object_r:media_rw_data_file:s0 when creating /sdcard/FlashAfterUpdate

ADBsync.sdcard.Backup.v2.0-Win32.zip:

- update to most recent adbsync build (November 28 2017)

- automatically detect outdated included ADB files and update from Google's platform-tools-latest repo

- connectIP may now be set at the top of adbsync.bat to use ADB over WiFi if your device is set up for this

- attempt to restart adbd with root priveleges in case it's available (i.e. booted)

- if not otherwise set at the top of adbsync.bat, mountPoint now defaults to /storage/emulated when booted to Android and not adb root shell, otherwise it is /data/media

- abort if mountPoint directory cannot be read (e.g. no permissions for unrooted use, or does not exist)

- if root is not detected (i.e. booted without adb root shell) and using defaults change mountPoint using detected current user # and uses this to put it as a subdirectory under the local sdcard backup folder so it may also be synchronized from recovery

- if root is not detected skip long filenames backup zip

- rename longfilenames-ignore-list.ini to longfilenames-zip-list.ini to more accurately reflect what it does

- add directory-ignore-list.ini to support more simply just directory skipping (automates pushing .noadbsync files)

UPDATE-Busybox.Installer.v1.29.3-ALL-signed.zip:

- update to latest busybox stable official source

- add "nolinks" zip name option to avoid symlink creation during installation

- add /data/.busybox-ndk file parsing to allow zip name options to be passed during a Magisk repo installation

See the related commits here: https://github.com/osm0sis/android-busybox-ndk

UPDATE-Fla****.Installer.v3.4-signed.zip:

- improve system-as-root, and Magisk Manager installs

- update busybox binary (1.29.3) with the latest patches and fixes from my repo

- add more partition naming variations to auto-detect (e.g. BOOT, android_boot, KERN-A, kernel, KERNEL)

- add Android Pie /dev/block/by-name location to partition search list

- stop partition search as soon as a verified match is found

- remove ANDROID! magic detection on boot/recovery image flashing to allow use on devices with pre-header signing or alternate formats

- let recovery type named images (e.g. *recovery*, twrp*, TWRP*) fall back to boot partition auto-detect when no recovery partition match exists (useful on system-as-root devices)

- add --exact-target option to fla****.sh to enable both precise partition naming and specify a different partition name than the filename of the image to be flashed

- allow .sh scripts to automatic select from of all .img files in current directory

UPDATE-nano.Terminal.Editor.v3.1-signed.zip:

- update to latest nano official source

My TWRP_A_B_Retention_Script-Magisk.zip also is a thing officially now and is added to the OP! Pushed an update with some more fixes earlier today, so Download again from the repo in Magisk Manager to obtain the new version.