Skip to content

Commit a615976

Browse files
committed
Update
1 parent 0a1f9ce commit a615976

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

app/src/main/assets/module/ZADD/patch_rom/addon.prop

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ google_text="Currently using google translate"
1414
# home
1515
project_text="Project"
1616
string_text_1="Input file at"
17+
string_text_2="Partition required"
1718
select_text="Options"
1819
network_text="Please connect to the internet !"
1920
addon_noti="A new version is available; press the three dots to update the add-on."
@@ -26,10 +27,8 @@ title_quick="Customize directly"
2627
desc_patch_prop="Modify ro.control_privapp_permissions"
2728
desc_patch_prop_long="enforce: may cause bootloop if permissions are missing, log: log errors without fixing, disable: automatically fix missing permissions"
2829
label_device_features="Disable Xiaomi OTA updates"
29-
label_rw_rom="Modify fstab to support RW-ROM"
30-
desc_rw_rom="Remove overlay entries in fstab, requires building to ext4 to complete RW"
31-
label_delete_gms="Remove Xiaomi CN GMS update"
32-
desc_delete_gms="Delete cn.google.services.xml file"
30+
label_rw_rom="Patch RW-EXT4"
31+
label_delete_gms="Delete file cn.google.services.xml"
3332
label_home_poco="Change POCO Launcher package name"
3433
desc_home_poco="Note: only change com.mi.android.globallauncher to com.miui.home in prop, APK must be modified manually"
3534
title_delete="Batch delete apps and files"

app/src/main/assets/module/ZADD/patch_rom/index.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ echo '<?xml version="1.0" encoding="UTF-8" ?>
99
<action title="'$title_quick'" auto-off="true">
1010
<summary>'"$project_text: $PTSH"'</summary>
1111
<param name="patch_prop" options-sh="echo -e '"'none\nenforce\nlog\ndisable'"'" title="'$desc_patch_prop'" desc="'$desc_patch_prop_long'" label="'$select_text'"/>
12-
<param name="device_features" label="'$label_device_features'" type="bool" />
13-
<param name="rw_rom" label="'$label_rw_rom'" desc="'$desc_rw_rom'" type="bool" />
14-
<param name="delete_gms" label="'$label_delete_gms'" desc="'$desc_delete_gms'" type="bool" />
15-
<param name="home_poco" label="'$label_home_poco'" desc="'$desc_home_poco'" type="bool" />
12+
<param name="device_features" label="'$label_device_features'" desc="'$string_text_2': product" type="bool" />
13+
<param name="rw_rom" label="'$label_rw_rom'" desc="'$string_text_2': vendor, mi_ext, system, system_ext, product, vendor_boot" type="bool" />
14+
<param name="delete_gms" label="'$label_delete_gms'" desc="'$string_text_2': product" type="bool" />
15+
<param name="home_poco" label="'$label_home_poco'" desc="'$desc_home_poco', system_ext, system" type="bool" />
1616
<set>'$pathsh' custom_patch</set>
17-
<param name="rezetprop_patch" label="'$label_reset_prop'" desc="'$desc_reset_prop'" type="bool" />
17+
<param name="rezetprop_patch" label="'$label_reset_prop'" desc="'$desc_reset_prop', system" type="bool" />
1818
<set>'$pathsh' rezetprop_patch</set>
1919
</action>
2020
</group>

app/src/main/assets/module/ZADD/patch_rom/language.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
if [ "$LANGUAGE-$COUNTRY" == "vi-VN" ];then
44
project_text="Dự án"
55
string_text_1="Tệp đầu vào ở"
6+
string_text_2="Yêu cầu phân vùng"
67
select_text="Lựa chọn"
78
network_text="Vui lòng kết nối mạng !"
89
addon_noti="Có phiên bản mới, ấn nút 3 chấm để cập nhật add-on"
@@ -15,10 +16,8 @@ title_quick="Tùy chỉnh trực tiếp"
1516
desc_patch_prop="Sửa lại ro.control_privapp_permissions"
1617
desc_patch_prop_long="enforce: nếu thiếu quyền có thể bị bootloop, log: ghi lỗi vào log không tự sửa lỗi, disable: tự sửa lỗi nếu thiếu quyền"
1718
label_device_features="Tắt cập nhật ota Xiaomi"
18-
label_rw_rom="Sửa lại fstab để hỗ trợ RW-ROM"
19-
desc_rw_rom="Xoá những dòng overlay trong fstab, cần build sang ext4 để hoàn thành RW"
20-
label_delete_gms="Xoá gms CN update Xiaomi"
21-
desc_delete_gms="Xoá tệp cn.google.services.xml"
19+
label_rw_rom="Bản vá RW-EXT4"
20+
label_delete_gms="Xoá tệp cn.google.services.xml"
2221
label_home_poco="Thay đổi tên gói Launch POCO"
2322
desc_home_poco="Lưu ý chỉ thay đổi: com.mi.android.globallauncher thành com.miui.home ở prop, apk cần thay đổi thủ công"
2423
title_delete="Xoá app, tệp hàng loạt"

0 commit comments

Comments
 (0)