File tree Expand file tree Collapse file tree
pio/src/main/assets/home/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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:
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ echo -e "$build_text: ${INPUT##*/} ($partition) ➠ ($CONVER)...\n"
122122
123123# patch fstab
124124if [ " $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
125126listfab=" $( find " $INPUT " /* ramdisk -type f -name " fstab.*" 2> /dev/null) "
126127for 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##*/ } "
Original file line number Diff line number Diff 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##*/ } "
You can’t perform that action at this time.
0 commit comments