Skip to content

Commit 5d9a22b

Browse files
committed
Upload file
1 parent 85b0e72 commit 5d9a22b

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Tool-Tree](https://zenlua.github.io/Tool-Tree) ![GitHub Release](https://img.shields.io/github/v/release/Zenlua/Tool-Tree?label=)
22

3-
- Supports both root and non-root versions and is only for arm64-bit.
3+
- Supports both `root` and `non-root` versions and is only for `arm64-bit`
44

55
- Version history: **[See details](https://zenlua.github.io/Tool-Tree/Version.html)**
66

@@ -10,8 +10,8 @@
1010

1111
- Instruct: **[No-Root](https://zenlua.github.io/Tool-Tree/website/Guide.html)**
1212

13-
- If the application has root privileges, it will run faster; you can copy the path directly from the log to access it directly.
14-
13+
- If the application has root privileges, it will run faster you can copy the path directly from the log to access it directly.
14+
1515
- Report: **[Issues](https://github.com/Zenlua/Tool-Tree/issues)** or **[Telegram](https://t.me/tooltree)**
1616

1717
### Download add-ons:

pio/src/main/assets/home/bin/repack_img

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ echo -e "$build_text: ${INPUT##*/} ($partition) ➠ ($CONVER)...\n"
122122

123123
# patch fstab
124124
if [ "$AVBIMG" == 1 ];then
125+
rm -fr $INPUT/bin/install-recovery.sh $INPUT/etc/init/vendor_flash_recovery.rc $INPUT/recovery-from-boot.p $INPUT/verity_key
125126
listfab="$(find "$INPUT"/*ramdisk -type f -name "fstab.*" 2>/dev/null)"
126127
for fstab in $listfab; do
127128
if [ -f "$fstab" ];then
@@ -135,6 +136,7 @@ for fstab in $listfab; do
135136
if [[ -n $(cat "$fstab" | egrep -i "fileencryption|keydirectory") ]]; then
136137
sed -i 's/fileencryption=[^,]*,//' "$fstab"
137138
sed -i 's/keydirectory=[^,]*,//' "$fstab"
139+
sed -i 's/metadata_encryption=[^,]*,//' "$fstab"
138140
echo "Decrypted data: ${fstab##*/}"
139141
else
140142
echo "No data encryption found in: ${fstab##*/}"

pio/src/main/assets/home/bin/unpak_img

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ mkdir -p "$OUTPUT/${namepv##*/}" $OUTPUT/config
150150
echo "$(fsck.f2fs "$file_img" | grep 'superblock features' | grep -cm1 ro)" > "$OUTPUT/config/${namepv##*/}_f2fs_ro"
151151
elif [ "$dang_file" == 'erofs' ];then
152152
extract.erofs -T$threads -x -i "$file_img" -o "$OUTPUT" >$TMP/extract_erofs.log || killtree "\nextract.erofs error: ${namepv##*/}" "$OUTPUT/${namepv##*/}"
153+
[ -f $TMP/extract_erofs.log ] && sed -i 's/\x1b\[[^m]*m//g' $TMP/extract_erofs.log
153154
echo "$dang_file" > "$OUTPUT/config/${namepv##*/}_info"
154155
if [ -f $OUTPUT/config/exception.log ];then
155156
rm -fr "$OUTPUT/${namepv##*/}"

0 commit comments

Comments
 (0)