Skip to content

Commit 1089ef5

Browse files
committed
Update
1 parent c27638a commit 1089ef5

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

app/src/main/assets/home/bin/unpack_img

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ if [ "$NODECO" != 1 ] && [ -f "$file_img" ] && [ "$dang_file" != "unknow" ] && [
237237

238238
echo -e "$decompile_text: ${file_img##*/} ($dang_file)...\n"
239239
# xoá cũ
240-
[ -d "$in_name" ] && rm -fr "$in_name" "$info" "$file_contexts" "$fs_config" "$fs_options" "$info_size" "$OUTPUT/config/exception.log"
240+
rm -fr "$in_name" "$info" "$file_contexts" "$fs_config" "$fs_options" "$info_size" "$OUTPUT/config/exception.log"
241+
241242
# tạo thư mục
242243
mkdir -p "$in_name" $OUTPUT/config
243244

app/src/main/assets/module/ZADD/merge-system/index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo '<?xml version="1.0" encoding="UTF-8" ?><page>'
77
source $MPAT/language.sh
88

99
echo '<group>
10-
<action interruptible="false">
10+
<action>
1111
<title>'$name_text'</title>
1212
<set>
1313
slog silencekd "$silence"

app/src/main/assets/module/ZADD/patch_rom/patch-rom.bash

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,16 @@ elif [ "${vv##*/}" == "Settings.apk" ];then
375375
move-result-object v0
376376
return-object v0
377377
.end method' $oi/smali/classes*/com/android/settings/device/ParseMiShopDataUtils.smali
378-
Thaythe '</resources>' ' <string name="device_description_cpu" public="false">CPU</string>
379-
<string name="device_description_resolution" public="false">Resolution</string>
380-
<string name="device_description_screen" public="false">Display</string>
381-
</resources>' "$oi/resources/package_1/res/values/strings.xml"
378+
add_string=' <string name="device_description_cpu" >CPU</string>
379+
<string name="device_description_resolution" >Resolution</string>
380+
<string name="device_description_screen" >Display</string>'
381+
Thaythe '</resources>' "$add_string
382+
</resources>" "$oi/resources/package_1/res/values/strings.xml"
383+
stringidd="$(update_id.py "$oi/resources/package_1/res/values/public.xml" "$add_string")"
384+
for vcsk in $(echo "$stringidd" | grep "Added:" | cut -d: -f2); do
385+
Thaythe '# static fields' "# static fields
386+
.field public static final $(echo "$vcsk" | awk '{print $1}'):I = $(echo "$vcsk" | awk '{print $3}' | cut -d= -f2)" "$(find "$fd"/smali/classes*/com/android/settings -path "$oi/smali/classes/androidx/window" -prune -o -type f -name "R\$$(echo "$vcsk" | awk '{print $2}' | cut -d= -f2).smali" -exec grep -l ".field public static final" {} +; )"
387+
done
382388
fi
383389
fi
384390
fi

app/src/main/res/layout/kr_dialog_log.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
android:layout_width="match_parent"
9595
android:layout_height="8dp"
9696
android:layout_marginTop="34px"
97-
android:layout_gravity="center_horizontal"
9897
android:layout_marginStart="10dp"
9998
android:layout_marginEnd="10dp"
10099
android:indeterminate="true"

0 commit comments

Comments
 (0)