Luсky+Рatcher v11.3.3版本的 MD5 值为:fcc08dfa98a57a21951c5463e292fdaf
以下内容为反编译后的 C1549.java 源代码,内容仅作参考
package javaroot.utils;
import java.io.File;
import java.io.FileNotFoundException;
import p037.C2500;
public class C1549 {
private static String f4923 = "/cache/dalvik-cache/data@app@zamenitetodelo-1.apk@classes.dex";
private static String f4924 = "/data/dalvik-cache/data@app@zamenitetodelo-1.apk@classes.dex";
public static String f4925 = "/data/app/";
public static boolean f4926 = false;
public static boolean f4927 = false;
public static String f4928 = "";
public static String f4929 = "";
class C1550 {
C1550() {
}
}
public static void main(String[] strArr) {
C2500.m7142(new C1550());
f4925 = strArr[1];
if (strArr[2].equals("not_system")) {
f4926 = false;
}
if (strArr[2].equals("system")) {
f4926 = true;
}
String str = strArr[3];
if (str != null) {
f4928 = str;
}
String str2 = strArr[4];
if (str2 != null) {
f4929 = str2;
}
C2500.m7053(strArr[0]);
C2500.m7078(f4925, "RW");
File file = new File(f4925);
File file2 = new File(C2500.m6965(f4925, f4929));
if (f4926 && file.exists() && file2.exists() && !C2500.m7173(file)) {
f4927 = true;
System.out.println("\nOdex Application.\nOnly ODEX patch is enabled.\n");
}
if (!f4927) {
String replace = f4924.replace("zamenitetodelo", strArr[0]);
try {
File file3 = new File(replace);
if (!file3.exists()) {
file3 = new File(replace.replace("-1", "-2"));
}
File file4 = new File(replace.replace("-1", ""));
if (!file3.exists()) {
file3 = file4;
}
String replace2 = replace.replace("data@app", "mnt@asec").replace(".apk@classes.dex", "@pkg.apk@classes.dex");
File file5 = new File(replace2);
if (file5.exists()) {
file3 = file5;
}
File file6 = new File(replace2.replace("-1", "-2"));
if (file6.exists()) {
file3 = file6;
}
File file7 = new File(replace2.replace("-1", ""));
if (file7.exists()) {
file3 = file7;
}
String replace3 = f4923.replace("zamenitetodelo", strArr[0]);
File file8 = new File(replace3);
if (!file8.exists()) {
file8 = new File(replace3.replace("-1", "-2"));
}
if (!file8.exists()) {
file8 = new File(replace3.replace("-1", ""));
}
if (file8.exists()) {
file3 = file8;
}
String replace4 = replace3.replace("data@app", "mnt@asec").replace(".apk@classes.dex", "@pkg.apk@classes.dex");
File file9 = new File(replace4);
if (file9.exists()) {
file3 = file9;
}
File file10 = new File(replace4.replace("-1", "-2"));
if (file10.exists()) {
file3 = file10;
}
File file11 = new File(replace4.replace("-1", ""));
if (file11.exists()) {
file3 = file11;
}
String replace5 = f4924.replace("zamenitetodelo", strArr[0]).replace("/data/", "/sd-ext/data/");
File file12 = new File(replace5);
if (!file12.exists()) {
file12 = new File(replace5.replace("-1", "-2"));
}
if (!file12.exists()) {
file12 = new File(replace5.replace("-1", ""));
}
if (file12.exists()) {
file3 = file12;
}
String replace6 = replace5.replace("data@app", "mnt@asec").replace(".apk@classes.dex", "@pkg.apk@classes.dex");
File file13 = new File(replace6);
if (file13.exists()) {
file3 = file13;
}
File file14 = new File(replace6.replace("-1", "-2"));
if (file14.exists()) {
file3 = file14;
}
File file15 = new File(replace6.replace("-1", ""));
if (file15.exists()) {
file3 = file15;
}
String replace7 = f4923.replace("zamenitetodelo", strArr[0]).replace("/cache/", "/sd-ext/data/cache/");
File file16 = new File(replace7);
if (!file16.exists()) {
file16 = new File(replace7.replace("-1", "-2"));
}
if (!file16.exists()) {
file16 = new File(replace7.replace("-1", ""));
}
if (file16.exists()) {
file3 = file16;
}
String replace8 = replace7.replace("data@app", "mnt@asec").replace(".apk@classes.dex", "@pkg.apk@classes.dex");
File file17 = new File(replace8);
if (file17.exists()) {
file3 = file17;
}
File file18 = new File(replace8.replace("-1", "-2"));
if (file18.exists()) {
file3 = file18;
}
File file19 = new File(replace8.replace("-1", ""));
if (file19.exists()) {
file3 = file19;
}
if (f4926) {
String replace9 = f4924.replace("zamenitetodelo-1.apk", new File(f4925).getName()).replace("data@app", "system@app");
File file20 = new File(replace9);
if (file20.exists()) {
file3 = file20;
}
File file21 = new File(replace9.replace("/data/dalvik-cache/", "/sd-ext/data/dalvik-cache/"));
if (file21.exists()) {
file3 = file21;
}
File file22 = new File(replace9.replace("/data/dalvik-cache/", "/sd-ext/data/cache/dalvik-cache/"));
if (file22.exists()) {
file3 = file22;
}
File file23 = new File(replace9.replace("/data/dalvik-cache/", "/cache/dalvik-cache/"));
if (file23.exists()) {
file3 = file23;
}
File file24 = new File(replace9.replace("/data/dalvik-cache/", "/data/dalvik-cache/arm/"));
if (file24.exists()) {
file3 = file24;
}
}
if (file3.exists()) {
String m6965 = C2500.m6965(strArr[1], f4929);
File file25 = new File(m6965);
if (file25.exists()) {
file25.delete();
}
File file26 = new File(m6965.replace("-2", "-1"));
if (file26.exists()) {
file26.delete();
}
File file27 = new File(m6965.replace("-1", "-2"));
if (file27.exists()) {
file27.delete();
}
File file28 = new File(m6965.replace("-2", ""));
if (file28.exists()) {
file28.delete();
}
File file29 = new File(m6965.replace("-1", ""));
if (file29.exists()) {
file29.delete();
}
File file30 = new File(m6965);
C2500.m6875(file3, file30);
if (file30.exists()) {
System.out.println("Changes Fix to: " + file30);
if (!f4926) {
C2500.m7094("chmod", "644" + file30.getAbsolutePath());
C2500.m7094("chown", "1000." + f4929, file30.getAbsolutePath());
C2500.m7094("chown", "1000:" + f4929, file30.getAbsolutePath());
} else {
C2500.m7094("chmod", "644" + file30.getAbsolutePath());
C2500.m7094("chown", "0.0", file30.getAbsolutePath());
C2500.m7094("chown", "0:0", file30.getAbsolutePath());
}
}
System.out.println("Dalvik-cache fixing!");
} else {
throw new FileNotFoundException();
}
} catch (FileNotFoundException unused) {
System.out.println("Error: Program files are not found!\n\nCheck the location dalvik-cache to solve problems!\n\nDefault: /data/dalvik-cache/*");
} catch (Exception e) {
System.out.println("Error: Exception e" + e.toString());
}
}
C2500.m6899();
}
}