Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Changelog

Zackptg5 edited this page Dec 30, 2019 · 16 revisions

v5.0 - 12.20.2019

  • Added apex mounting fix for Q+ in TWRP
  • Updated Unity-Addons
  • Complete restructuring for latest magisk module template: magisk < 19 deprecated - only compatible with magisk 19+ now
  • sepolicy.sh renamed to sepolicy.rule - new syntax - see wiki
  • Behaves like normal magisk module if flashed in mag manager - always overwrites old install
  • Removed MODULEROOT variable - use MODPATH now instead - everything got much simpler due to above
  • Removed MOUNTPATH variable in boot scripts - use MODPATH instead
  • Removed NVBASE variable support for boot scripts - it's always /data/adb so just use the hard path
  • Improved device_check function
  • Misc fixes/improvements
  • Put magisk permissions settings back in control of module dev
  • Got rid of SYSOVER

v4.4 - 8.10.2019

  • Removed AK3 addon - no more ramdisk patching addons - just use AK3 straight up

v4.3 - 8.2.2019

  • Went back to old debug log paths
  • Changed paths for AK3 addon, removed Ramdisk-Patcher paths

v4.2 - 5.16.2019

  • Fix MOUNTEDROOT variable bug
  • Added back addon.d support (v1 and v2)
  • Added direct sepolicy patch option
  • Added addon.d support for ramdisk patching too - if no addon.d support, old logic is used (removal of mod)
  • SYSOVER bug fix
  • check_api function fix
  • Fix $ORIGVEN variable for system as root devices
  • Have abort properly unmount magisk img

v4.1 - 5.3.2019

  • Bug fix in uninstall.sh
  • Bug fix for LOS Su detection
  • Update scripting and tools to magisk 19.1

v4.0 - 3.28.2019

  • Fix addon main.sh error
  • Allow addons to run: before everything, preinstall only, install only, uninstall only, postuninstall only
  • Removed addon.d support - no real purpose for it plus v2 is out now
  • Move upgrade logic to separate file
  • Cleaned up code
  • Use recommended magisk method for uninstall in bootmode - create remove file (same as if you removed in magisk manager)
  • Overhauled debug log
  • Fixed props for system installs
  • Removed bash - couldn't use it with new magisk template
  • Added dynamic xbin like with priv-app
  • Renamed DYNAMICOREO to DYNAMICLIB
  • Fixed out of space issues with magisk 18.1 and older when using compression in zip
  • Updated to new magisk template - MOUNTPATH renamed to MODULEROOT, INSTALLER renamed to TMPDIR, config.sh renamed to install.sh, not compatible with magisk versions older than 18 (Please read revised instructions on homepage)
  • Renamed install and uninstall files to unity_install.sh and unity_uninstall.sh resepctively in common

v3.3 - 2.5.2019

  • Update bash to v5.0 - compiled for api of 17
  • Minapi now 17 - inline with new magisk minapi
  • Fix var insertion into boot scripts

v3.2 - 1.15.2019

  • Have device_check check vendor build props too, make case insensitive
  • Have unity detect if files are populated to install them (remove unecessary vars) - delete files for custom logic rather than setting vars to false from now on (make sure you change your config.sh and script accordingly)
  • Further cleanup (if using install_script function, shebang and MODPATH are now automatically added so remove them from your script)

v3.1 - 1.10.2019

  • Actually enforce minapi of 21
  • Bring util_functions more in line with magisk util_functions
  • Change debug paths - follow /sdcard symlink in bootmode and, same directory zip was in for twrp
  • Overhauled cp_ch - added capability for folder copying with cp_ch - see support thread for new usage
  • Fixed boot script patching bug

v3.0 - 1.7.2019

  • Bug fixes with variables - fix install path issues
  • Other bug fixes (mainly for system installs)
  • Create addons feature - move all non-essentials to addons (like ramdisk)
  • Add unity_upgrade function in config.sh - only for specific/unlikely situation in which something must run during an upgrade - such as backing up app data
  • Temporary fix/workaround for cat: write error (magisk bug)
  • Renamed $ZIP to $ZIPFILE so zip binary will function properly

v2.2 - 12.23.2018

  • Change unityfiles from xz to gz for newer recoveries that use toybox tar rather than busybox tar

v2.1 - 12.21.2018

  • Fix UNITY variable in boot scripts
  • Add ORIGVEN variable since that stuff is super confusing - saving you all lots of headache here
  • Fixed debug in bootmode

v2.0 - 12.18.2018

  • Added back backwards compatibility to magisk 15.3 like before
  • Fix script install paths
  • Made sepolicy more dynamic - supports quoted or unquoted statements now
  • Entire installer now runs in bash shell - no more workarounds for shitty shell
  • Cleaned up code

v1.8.2 - 12.10.2018

  • Fixed boot img mounting but on uninstall

v1.8.1 - 12.9.2018

  • Got rid of sepolicy-inject support (init.d injector uses magiskpolicy now)
  • Above means that all sepolicy statements should be crafted like the typical magisk/superu one - see support thread for usage

v1.8 - 12.8.2018

  • Fixed bugs, reorganized some stuff
  • Updated ramdisk logic for newer magiskboot
  • Added new option: sepolicy. It's now separate from the boot scripts and syntax is different (and easier). See support thread for usage
  • Added option to patch sepolicy in ramdisk directly with systems that lack magisk/supersu boot script support
  • Updated for magisk v18, removed backwards compatibilities
  • Fixed limitation in zipname triggers - you can use spaces in the zipname now and trigger is case insensitive

v1.7.2 - 10.23.2018

  • Fix dynamicoreo for lib64
  • Update magisk binaries to 17.3 for pixel 3 support
  • Fix bug with ramdisk uninstall

v1.7.1 - 9.20.2018

  • Fix bug with ramdisk file copying

v1.7 - 9.2.2018

  • Updated to new magisk module template - only compatible with magisk 17 and newer now
  • Fix old BOOTMODE bug - rework busybox logic
  • Fix bug in install_scripts function with bootmode

v1.6.1 - 8.30.2018

  • Fix/improve cp_ch functions. Combine cp_ch, cp_ch_nb, and check_bak into cp_ch function - see OP on xda for how it works
  • Improve how unity handles ramdisk stuff
  • Modify install_script function so it can be used by devs - see OP on xda for details
  • Need busybox for ramdisk stuff - note that since busybox is now bundled into unity, you can use it with any of your mods (it replaces sbin in path like magisk does so you can call it like any binary)
  • Compress unity tools to save space (cut size in ~half)
  • Fix debug in magisk manager
  • Misc bug fixes and improvements

v1.6 - 8.24.2018

  • Added debug flag (set debug to true in config.sh or add debug to zipname)
  • Added ramdisk patching capability - limited usage, most people won't need this

v1.5.5 - 7.17.2018

  • Fix propfile removal on system uninstalls
  • Update functions with magisk 16.6 stuff
  • Use local variables in some unity functions

v1.5.4 - 5.7.2018

  • Added support for init.d injector late_start and post-fs-data method

v1.5.3 - 4.26.2018

  • Fixed/overhauled SYSOVERRIDE
  • Fixes/improvements with system installs

v1.5.2 - 4.16.2018

  • Removed ALWAYSRW

v1.5.1 - 4.12.2018

  • Fixes for file copying

v1.5 - 4.12.2018

  • Add DYNAMICAPP option
  • Add SYSOVERRIDE option
  • Add ALWAYSRW option
  • Rework some of the copy logic

v1.4.1 - 3.29.2018

  • Don't use dynamic oreo for system kernel modules
  • Fix prop file permissions for system installs

v1.4 - 3.18.2018

  • Remove redundant code
  • Don't use install binary anymore since it's weird on some devices
  • Install apps to priv-app if /vendor/app folder doesn't exist
  • Misc improvements

v1.3 - 2.25.2018

  • Fix seg faults on system installs

v1.2 - 2.16.2018

  • Fine tune prop logic
  • Update util_functions with magisk 15.4 stuff

v1.1 - 2.7.2018

  • Bootmode fixes

v1.0 - 2.5.2018

  • Initial release