This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Releases: TechnoSparks/ts-binds
Releases · TechnoSparks/ts-binds
v1.1
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 propergid=9997
andmask=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
- SDCardFS seems to rely on
- 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. Runtsbinds help
in terminal for more info
- Behaviour can be altered by using the new
- ts-binds is now licensed with ... Unlicensed! Read LICENSE file for info
Modifications
- Update minmagisk to version 17.0
- Rename
disable.txt
todisable
- 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
Additions
- New
mount
parameter to output the system's mount entries. Commandtsbinds mount
is to execute in shell - New
pairs
parameter to output the pair names in thefolderlist
. Great to do quick revision. Commandtsbinds 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.
- All the commands are now passed through
Modifications
- Change to use busybox
- Uses hardcoded PATH towards the busybox folder
/sbin/.core/busybox
- Uses hardcoded PATH towards the busybox folder
- 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.
- Was
v1.0.8-1
Minor corrections. Refer commit history for understanding
v1.0.8
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
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
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
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
grep
ing of SD card name - File overwrite warning is added to
tsbinds help
for thetsbinds move
feature - Readme.md now points to GitHub releases to show changelogs instead of commits as changelogs
version 1.0.2
Modifications
- Integration of the v4 template changes
First release
First public release with everything should be ready to go!