@@ -115,9 +115,17 @@ xml_print '<group>
115115<title>' $utilities_text ' </title>
116116<desc>' $home_text_2 ' </desc>
117117<option type="default" id="v1" auto-off="true" reload="true" interruptible="false" >' $feature_hide_text ' </option>
118+ <option type="default" id="v2" auto-off="true" interruptible="false" >' $open_activity_text ' ROM</option>
119+ <option type="default" id="v3" auto-off="true" interruptible="false" >' $open_activity_text ' ROM (root-data)</option>
118120<handler>
119121if [ "$menu_id" == "v1" ];then
120122[ "$(glog hide_show)" == 1 ] && slog hide_show 0 || slog hide_show 1
123+ elif [ "$menu_id" == "v2" ];then
124+ [ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
125+ echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://' $PACKAGE_NAME ' .provider/external_files' ${PTSD# $SDCARD_PATH } ' ]"
126+ elif [ "$menu_id" == "v3" ];then
127+ [ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
128+ echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://' $PACKAGE_NAME ' .provider/root' $SDH ' /' $PTSH ' ]"
121129fi
122130</handler>
123131</page>
@@ -196,6 +204,8 @@ xml_print '<group>
196204<option type="default" id="v1" auto-off="true" reload="true" interruptible="false" >' $feature_hide_text ' </option>
197205<option type="file" id="v2" suffix="zip" auto-off="true">' $more_text_3 ' </option>
198206<option type="file" id="v3" suffix="jar" reload="true" auto-off="true">' $more_text_10 ' apkeditor.jar</option>
207+ <option type="default" id="v4" auto-off="true" interruptible="false" >' $open_activity_text ' APK</option>
208+ <option type="default" id="v5" auto-off="true" interruptible="false" >' $open_activity_text ' APK (root-data)</option>
199209<handler>
200210if [ "$menu_id" == "v1" ];then
201211[ "$(glog hide_show2)" == 1 ] && slog hide_show2 0 || slog hide_show2 1
@@ -209,6 +219,12 @@ elif [ "$menu_id" == "v3" ];then
209219echo "' $more_text_4 ' $file"
210220echo
211221cp -rf "$file" $ETC/apkeditor.jar || killtree "File copy error"
222+ elif [ "$menu_id" == "v4" ];then
223+ [ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
224+ echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://' $PACKAGE_NAME ' .provider/external_files' ${PTAD# $SDCARD_PATH } ' ]"
225+ elif [ "$menu_id" == "v5" ];then
226+ [ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
227+ echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://' $PACKAGE_NAME ' .provider/root' $APK ' /' $PTAH ' ]"
212228fi
213229</handler>
214230</page>
0 commit comments