diff --git a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/getapps/DeviceModify.java b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/getapps/DeviceModify.java index c0aec66593..b9f72765c6 100644 --- a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/getapps/DeviceModify.java +++ b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/getapps/DeviceModify.java @@ -32,10 +32,10 @@ public class DeviceModify extends BaseHook { @Override public void init() { - if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 105) { - // 15 - mDevice = "haotian"; - mModel = "24129PN74C"; + if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 106) { + // 15p + mDevice = "haotian"; //O2 + mModel = "24101PNB7C"; mManufacturer = "Xiaomi"; } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 104) { // 14u @@ -72,6 +72,11 @@ public void init() { mDevice = "avenger"; mModel = "MIX Alpha"; mManufacturer = "Xiaomi"; + } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 210) { + // pad7 + mDevice = "muyu"; //O81 + mModel = "240xxRPxCC"; + mManufacturer = "Xiaomi"; } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 209) { // pad6sp mDevice = "sheng"; @@ -82,6 +87,11 @@ public void init() { mDevice = "corot"; mModel = "23078RKD5C"; mManufacturer = "Redmi"; + } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 310) { + // k70u + mDevice = "rothko"; + mModel = "2407FRK8EC"; + mManufacturer = "Redmi"; } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 309) { // k70p mDevice = "manet"; @@ -93,7 +103,7 @@ public void init() { mModel = "23113RKC6C"; mManufacturer = "Redmi"; } else if (mPrefsMap.getStringAsInt("market_device_modify_new", 0) == 335) { - // t + // t3 mDevice = "peridot"; mModel = "24069PC21C"; mManufacturer = "Redmi"; diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 4c664a5200..89efda6fd8 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -679,7 +679,7 @@ @string/array_default - Xiaomi 15 + Xiaomi 15 Pro Xiaomi 14 Ultra Xiaomi 14 Pro Xiaomi CIVI 4 Pro @@ -688,16 +688,17 @@ Xiaomi MIX Fold 3 Xiaomi MIX Alpha Xiaomi Pad 6S Pro 12.4 - Redmi K60 Ultra + Redmi K70 Ultra Redmi K70 Pro Redmi K70E + Redmi K60 Ultra Redmi Turbo 3 Redmi 13C / Redmi 13R 0 - 105 + 106 104 102 155 @@ -706,9 +707,10 @@ 223 190 209 - 307 + 310 309 351 + 307 335 402