Skip to content

Commit

Permalink
Version bump & miscellaneous fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
VR-25 committed Jul 22, 2024
1 parent 2d27aaa commit 115dfcd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
15 changes: 7 additions & 8 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v2024.7.22 202407220
- Improve module support for all available frameworks
- Make build script work on BSD and MacOS
- Support Android 12+ SSAID backup/restore
- Support root environments without su (e.g., rooted adb)
- Update help text

v2023.10.22 202310220
- Fix -u; add curl bins
- Fix APK checksum logic
Expand All @@ -9,11 +16,3 @@ v2023.10.16 202310150
- Handle failed binary downloads (build.sh)
- Updated bundled binaries
- Use less instead of more for displaying the help text

v2023.7.25 202307250
- 347305d Extract binaries with gzip -d, instead of -dc
- d3ee489 Print a blank line after GMS backup restore
- 3fcb12d Backup tarb itself only if BKPDIR is unset
- db3f3e8 Hide password from log
- fcc9f36 Support app data isolation via /mnt/data
- cb781d6 Update module installer
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
---
Backup/restore apps and respective data, SSAIDs, runtime permissions, system settings, Magisk modules, and more.

All required binaries/executables are included: busybox for general tools, openssl for encryption, tar for archiving, and zstd for compression.
All required binaries/executables are included: busybox for general tools, curl for updates, openssl for encryption, tar for archiving, and zstd for compression.

**Works in recovery mode as well.**

Expand All @@ -30,7 +30,7 @@ Refer to the sources below for more information:

e.g., `# sh /sdcard/tarb-arm64`

The -m option installs Tarb as a Magisk module -- to be available system-wide, as `tarb` and `/data/t` (for recovery).
The `-m` option installs Tarb as a Magisk/KernelSU module -- to be available system-wide, as `tarb` and `/data/t` (for recovery).


---
Expand Down
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Limit backups by size
Split backups larger than 3.9GB
Wizard
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ offline=false

ver="$(head -n1 CHANGELOG)"
echo "$ver" | cut -d ' ' -f 2 > build/VERSION
sed -i "/^VERSION=/s/=.*/=\"$ver\"/" tarb.sh
sed -i"" "/^VERSION=/s/=.*/=\"$ver\"/" tarb.sh

mkdir -p $TMPDIR
[ -n "${1-}" ] || set -- arm arm64 x86 x64
Expand All @@ -41,7 +41,7 @@ for i in $*; do
done
sed "s/BINLINENO/$BIN_LINE/" tarb.sh > $TMPDIR/tarb-$i
tar -cf - -C $TMPDIR/$i . | gzip -9 | base64 >> $TMPDIR/tarb-$i
sed -i "/^ABI=/s/=.*/=$i/" $TMPDIR/tarb-$i
sed -i"" "/^ABI=/s/=.*/=$i/" $TMPDIR/tarb-$i
rm -rf $TMPDIR/$i
echo
done
Expand Down
7 changes: 4 additions & 3 deletions tarb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -992,9 +992,9 @@ CUST_EXEC=/data/adb/vr25/bin
PASSF=$TMPDIR/.pass

AUTHOR="VR-25 @ GitHub"
COPYRIGHT_YEAR=2022-2023
DESCRIPTION="Backup/restore apps and respective data, SSAIDs, runtime permissions, generic system settings, Magisk modules, and more."
VERSION="v2023.10.22 202310220"
COPYRIGHT_YEAR=2022-2024
DESCRIPTION="Backup/restore apps and respective data, SSAIDs, runtime permissions, generic system settings, Magisk/KernelSU modules, and more."
VERSION="v2024.7.22 202407220"

[ -z "${LINENO-}" ] || export PS4='$LINENO: '
mkdir -p ${BKP_DIR##* } $BIN_DIR
Expand Down Expand Up @@ -1141,6 +1141,7 @@ name=Tarb
version=${VERSION% *}
versionCode=${VERSION#* }
EOF
echo ""
;;

-o) optimize;;
Expand Down

0 comments on commit 115dfcd

Please sign in to comment.