Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Releases: TechnoSparks/ts-binds

v1.1

18 Nov 22:12
Compare
Choose a tag to compare

Updgrade Notice

Please delete /data/ts-binds before updating.

Regressions

  • Magisk version <17 is no longer supported due to template change

Additions

  • New binding algorithm to support sdcardfs!
    • SDCardFS seems to rely on /mnt/runtime mountpoints. The key is to set the bind paths from there, but the binded mount needs to be remounted with proper gid=9997 and mask=6, thus making legacy /storage/emulated/0 play nice with the permission of the binded folder
    • It is assumed that as of Oreo, SDCardFS implementation is already mature. Hopefully this algorithm persists for long!
    • Binding algorithm will also mount other runtimes if Android do not do it automatically
  • New $obb variable to ease things in folderlist
    • OBB binding is dealt with the new algorithm
  • Detection algorithm if legacy mode (for FUSE) should be applied on your device
    • Behaviour can be altered by using the new mode parameter for tsbinds. Run tsbinds help in terminal for more info
  • ts-binds is now licensed with ... Unlicensed! Read LICENSE file for info

Modifications

  • Update minmagisk to version 17.0
  • Rename disable.txt to disable
  • No longer output to log file if ts-binds invoked from terminal. Parent process needs to manually pipe to a file
    • service.sh output is redirected to the original log file
    • This means that the log only represent the automated process of bind mounting when the system boots.
  • service.sh will finish if SD Card not found in 60 seconds.
    • Previously the script will infinitely loop
  • Code refactor

v1.0.9

14 Oct 21:07
e23b503
Compare
Choose a tag to compare

Additions

  • New mount parameter to output the system's mount entries. Command tsbinds mount is to execute in shell
  • New pairs parameter to output the pair names in the folderlist. Great to do quick revision. Command tsbinds pairs is to execute in shell

Fixes

  • Fix the mount namespace issue - now binds and unbinds take effect the way it should be!
    • All the commands are now passed through su -M -c to take effect on the global namespace.

Modifications

  • Change to use busybox
    • Uses hardcoded PATH towards the busybox folder /sbin/.core/busybox
  • Uses hardcoded path towards module directory /sbin/.core/img/ts-binds
    • Was /magisk/ts-binds but /magisk is a symbolic link towards above path
    • I know, hardcoding paths is not recommended by the Magisk documentation, but the module goes forward by Magisk's new version. The reason I had to do this is because there is no other easy alternative to find module's dir other than extreme measures of loopdevice mounting or looping through countless number of directories from root. So instead of taxing the shell during boot, I prefer not to do that instead.

v1.0.8-1

14 Oct 21:07
Compare
Choose a tag to compare

Minor corrections. Refer commit history for understanding

v1.0.8

14 Oct 21:05
8bffc71
Compare
Choose a tag to compare

Regressions

  • Not backwards-compatible for Magisk version <15 due to template change
    • If you cannot upgrade, you could always just back-copy the logic files, or use an older release on GitHub

Fixes

  • No longer relies on shebang /system/xbin/bash. In fact, it was stupid for me to do this back then :S
    • This will ensure greater support to different devices especially on stock ROM

Modifications

  • Updated help snippet

v1.0.7

14 Oct 21:05
Compare
Choose a tag to compare

Additions

  • Magisk v14 compliant

Regressions

  • Not backward compatible with previous Magisk versions

From 1.0.6

Additions

  • Disable sdcardfs by using prop entries

Fixes

  • Invalid path to log file in service.sh

Modifications

  • SD card name will not be cached anymore
  • Simpler greping of SD card name
  • File overwrite warning is added to tsbinds help for the tsbinds move feature
  • Readme.md now points to GitHub releases to show changelogs instead of commits as changelogs

v1.0.5

14 Oct 21:04
Compare
Choose a tag to compare

Additions

  • Print out log contents when tsbinds log is executed in terminal

Modifications

  • Get sdcard's name more reliably
  • Changed the description of the module
  • Modified README to reflect the new place of the repository

version 1.0.4

17 Jul 23:24
Compare
Choose a tag to compare

Additions

  • Added support to bind two different files!
  • folderlist now has a link to an in-depth tutorial

Fixes

  • Invalid path to log file in service.sh

Modifications

  • SD card name will not be cached anymore
  • Simpler greping of SD card name
  • File overwrite warning is added to tsbinds help for the tsbinds move feature
  • Readme.md now points to GitHub releases to show changelogs instead of commits as changelogs

version 1.0.2

11 Jul 14:10
Compare
Choose a tag to compare

Modifications

  • Integration of the v4 template changes

First release

28 Jun 23:34
Compare
Choose a tag to compare

First public release with everything should be ready to go!