File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,12 +169,15 @@ mkdir -p "$OUTPUT/${namepv##*/}" $OUTPUT/config
169169 iv=0
170170 fi
171171 save_num=" $number_kk "
172- [ " $iv " -ge 15 ] && break
172+ [ " $iv " -ge 10 ] && echo " Warning: Possible extraction error (erofs), check log: $TMP /extract_erofs.log " >&2 && break
173173 sleep 0.5
174174 done
175175 fi
176176 wait
177- [ -f $TMP /extract_erofs.log ] && sed -i ' s/\x1b\[[^m]*m//g' $TMP /extract_erofs.log
177+ if [ -f $TMP /extract_erofs.log ]; then
178+ sed -i ' s/\x1b\[[^m]*m//g' $TMP /extract_erofs.log
179+ sed ' /Extract: [.*.]/d' $TMP /extract_erofs.log
180+ fi
178181 echo " $dang_file " > " $OUTPUT /config/${namepv##*/ } _info"
179182 if [ -f $OUTPUT /config/exception.log ]; then
180183 rm -fr " $OUTPUT /${namepv##*/ } "
Original file line number Diff line number Diff line change 11# Add-on
2- id=online_features
2+ id=add_features
33name=ROM utility
44author=Kakathic
55description=Many small amenities
@@ -28,3 +28,5 @@ oat_text_6="Rebuild services oat"
2828oat_text_7="Features"
2929oat_text_8="Application"
3030oat_text_9="Enter the classpath for the application. Some applications require a classpath; you can check the old odex file to see the classpath"
31+ splitapp_desc_text="Extract images from UPDATE.APP"
32+ pac_desc_text="Extract files from a pac file"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 33
44# home
55home (){ xml_print '
6- <group title="' $trans_text ' "><action warn="' $oat_text_1 ' §§' $oat_text_2 ' ' $PTSH ' ">
6+ <group title="' $trans_text ' ">
7+ <action>
8+ <title>Unpack splitapp</title>
9+ <desc>' $splitapp_desc_text ' </desc>
10+ <param name="FILE" desc="' $input_text ' .APP, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.app *.APP" required="true"/>
11+ <set>
12+ if [ -f "$FILE" ];then
13+ splitapp.py -f "$FILE" -o $PTSD/out
14+ echo
15+ echo "' $save_text ' : $PTSD/out"
16+ else
17+ echo "' $error_text ' $FILE" >&2
18+ fi
19+ </set>
20+ </action>
21+
22+ <action>
23+ <title>Unpack pac</title>
24+ <desc>' $pac_desc_text ' </desc>
25+ <param name="FILE" desc="' $input_text ' .pac, ' $folder_text ' ' $PTSD ' " options-sh="cd $PTSD; ls *.pac" required="true"/>
26+ <set>
27+ if [ -f "$FILE" ];then
28+ unpac.py extract -d $PTSD/out "$FILE"
29+ echo
30+ echo "' $save_text ' : $PTSD/out"
31+ else
32+ echo "' $error_text ' $FILE" >&2
33+ fi
34+ </set>
35+ </action>
36+ </group>
37+
38+ <group><action warn="' $oat_text_1 ' §§' $oat_text_2 ' ' $PTSH ' ">
739<title>' $oat_text_3 ' </title>
840<desc>' $oat_text_4 ' </desc>
941<param name="framework_switch" value-sh="glog framework_switch 1" label="' $oat_text_5 ' " type="switch" />
File renamed without changes.
Original file line number Diff line number Diff line change 11# Add-on
2- id=online_utilities
2+ id=apk_features
33name=Utility
44author=Kakathic
55description=Many small amenities
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments