* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
153 lines
7.1 KiB
Java
153 lines
7.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.util.HashMap;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzath implements zzatd {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final zzaun f4399a;
|
|
public boolean b;
|
|
|
|
/* JADX WARN: Type inference failed for: r3v0, types: [java.lang.Object, com.google.android.gms.internal.ads.zzatn] */
|
|
/* JADX WARN: Type inference failed for: r4v0, types: [java.lang.Object, com.google.android.gms.internal.ads.zzatk] */
|
|
public zzath() {
|
|
zzauj zzaujVar = new zzauj();
|
|
?? obj = new Object();
|
|
zzaub zzaubVar = new zzaub(zzatw.b, 0, new Object());
|
|
zzaubVar.d = obj;
|
|
this.f4399a = new zzaun(zzaujVar, zzaubVar);
|
|
this.b = false;
|
|
}
|
|
|
|
public final void a() {
|
|
boolean z = this.b;
|
|
String a2 = zzatu.a("BkCyvAwRMTm0TkOZyDYQMHRR/BfGWZQu16Q1Ljk3pdYDZK5S");
|
|
if (!z) {
|
|
try {
|
|
HashMap hashMap = zzaum.f4423a;
|
|
zzgtf zzgtfVar = new zzgtf(4);
|
|
zzgtfVar.a(zzatx.f4414c, zzaus.f(zzatq.s));
|
|
zzgtfVar.a(zzatx.f, zzats.a(0L));
|
|
zzgtfVar.a(zzatx.g, zzats.a(1L));
|
|
zzgtfVar.a(zzatx.h, zzats.a(2L));
|
|
zzgtfVar.a(zzatx.i, zzats.a(3L));
|
|
zzgtfVar.a(zzatx.j, zzats.a(4L));
|
|
zzgtfVar.a(zzatx.k, zzats.a(7L));
|
|
zzgtfVar.a(zzatx.l, zzats.a(-1L));
|
|
zzgtfVar.a(zzatx.m, zzats.a(-2L));
|
|
zzgtfVar.a(zzatx.n, zzaus.f(zzatp.b));
|
|
zzgtfVar.a(zzatx.o, zzaus.f(zzatp.d));
|
|
zzgtfVar.a(zzatx.p, zzaus.f(zzatp.j));
|
|
zzgtfVar.a(zzatx.q, zzaus.f(zzatp.k));
|
|
zzgtfVar.a(zzatx.r, zzaus.f(zzatp.n));
|
|
zzgtfVar.a(zzatx.s, zzaus.f(zzatq.n));
|
|
zzgtfVar.a(zzatx.t, zzaus.f(zzatp.f));
|
|
zzgtfVar.a(zzatx.u, zzaus.f(zzatp.g));
|
|
zzgtfVar.a(zzatx.v, zzaus.f(zzatp.h));
|
|
zzgtfVar.a(zzatx.w, zzaus.f(zzatp.i));
|
|
zzgtfVar.a(zzatx.x, zzaus.f(zzatq.h));
|
|
zzgtfVar.a(zzatx.y, zzaus.f(zzatq.j));
|
|
zzgtfVar.a(zzatx.A, zzaus.f(zzatp.o));
|
|
zzgtfVar.a(zzatx.B, zzaus.f(zzatp.p));
|
|
zzgtfVar.a(zzatx.C, zzaus.f(zzatp.s));
|
|
zzgtfVar.a(zzatx.D, zzaus.f(zzatp.t));
|
|
zzgtfVar.a(zzatx.E, zzaus.f(zzatp.u));
|
|
zzgtfVar.a(zzatx.F, zzaus.f(zzatp.v));
|
|
zzgtfVar.a(zzatx.G, zzaus.f(zzatq.b));
|
|
zzgtfVar.a(zzatx.H, zzaus.f(zzatq.d));
|
|
zzgtfVar.a(zzatx.I, zzaus.f(zzatq.e));
|
|
zzgtfVar.a(zzatx.J, zzaus.f(zzatq.f));
|
|
zzgtfVar.a(zzatx.K, zzaus.f(zzatq.k));
|
|
zzgtfVar.a(zzatx.L, zzaus.f(zzatq.l));
|
|
zzgtfVar.a(zzatx.M, zzaus.f(zzatq.p));
|
|
zzgtfVar.a(zzatx.N, zzaus.f(zzatq.q));
|
|
zzgtfVar.a(zzatx.O, zzaus.f(zzatq.u));
|
|
zzgtfVar.a(zzatx.P, zzaus.f(zzatq.v));
|
|
zzgtfVar.a(zzatx.Q, zzaus.f(zzatt.b));
|
|
zzgtfVar.a(zzatx.R, zzaus.f(zzatt.d));
|
|
zzgtfVar.a(zzatx.Y, zzaus.f(zzatt.e));
|
|
zzgtfVar.a(zzatx.S, zzaus.f(zzatt.j));
|
|
zzgtfVar.a(zzatx.T, zzaus.f(zzatt.k));
|
|
zzgtfVar.a(zzatx.U, zzaus.f(zzatt.n));
|
|
zzgtfVar.a(zzatx.V, zzaus.f(zzatt.q));
|
|
zzgtfVar.a(zzatx.W, zzaus.f(zzatp.q));
|
|
zzgtfVar.a(zzatx.X, zzaus.f(zzatt.l));
|
|
zzgtfVar.a(zzatx.Z, zzaus.f(zzatp.l));
|
|
zzgtfVar.a(zzatx.a0, zzaus.f(zzatt.g));
|
|
zzgtfVar.a(zzatx.b0, zzaus.f(zzatt.h));
|
|
zzgtfVar.a(zzatx.z, zzaus.f(zzatq.i));
|
|
zzgtfVar.a(zzatx.c0, zzaus.f(zzatt.p));
|
|
zzgtfVar.a(zzatx.d0, zzaus.f(zzatq.m));
|
|
zzgtfVar.a(zzatx.e0, zzaus.f(zzatt.o));
|
|
zzgtfVar.a(zzatx.f0, zzaus.f(zzatq.f4406c));
|
|
zzgtfVar.a(zzatx.g0, zzaus.f(zzatt.f4409c));
|
|
zzgtfVar.a(zzatx.h0, zzaus.f(zzatp.r));
|
|
zzgtfVar.a(zzatx.i0, zzaus.f(zzatt.m));
|
|
zzgtfVar.a(zzatx.j0, zzaus.f(zzatp.e));
|
|
zzgtfVar.a(zzatx.k0, zzaus.f(zzatt.f));
|
|
zzgtfVar.a(zzatx.l0, zzaus.f(zzatq.t));
|
|
zzgtfVar.a(zzatx.m0, zzaus.f(zzatp.f4404c));
|
|
zzgtfVar.a(zzatx.n0, zzaus.f(zzatt.i));
|
|
zzgtfVar.a(zzatx.o0, zzaus.f(zzatq.o));
|
|
zzgtfVar.a(zzatx.p0, zzaus.f(zzatp.m));
|
|
zzgtfVar.a(zzatx.q0, zzaus.f(zzatq.r));
|
|
zzgtfVar.a(zzatx.r0, zzaus.f(zzatq.g));
|
|
zzgtg d = zzgtfVar.d(true);
|
|
long j = -1;
|
|
while (true) {
|
|
zzaun zzaunVar = this.f4399a;
|
|
if (j >= -82) {
|
|
zzatx zzatxVar = (zzatx) hashMap.get(Long.valueOf(j));
|
|
if (zzatxVar != null) {
|
|
zzaunVar.f4424a.b((zzaus) d.get(zzatxVar));
|
|
j--;
|
|
} else {
|
|
StringBuilder sb = new StringBuilder(String.valueOf(j).length() + 36);
|
|
sb.append(a2);
|
|
sb.append(j);
|
|
throw new RuntimeException(sb.toString());
|
|
}
|
|
} else {
|
|
for (int i = 82; i < 1159; i++) {
|
|
zzaunVar.f4424a.b(zzaus.a(null));
|
|
}
|
|
this.b = true;
|
|
return;
|
|
}
|
|
}
|
|
} catch (zzaui e) {
|
|
throw new zzatf(zzate.f, e);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:66:0x0434 A[SYNTHETIC] */
|
|
/* JADX WARN: Removed duplicated region for block: B:98:0x03fb A[SYNTHETIC] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object b(j$.util.Optional r21) {
|
|
/*
|
|
Method dump skipped, instructions count: 1373
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzath.b(j$.util.Optional):java.lang.Object");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:49:0x010b A[SYNTHETIC] */
|
|
/* JADX WARN: Removed duplicated region for block: B:83:0x00d2 A[SYNTHETIC] */
|
|
/* JADX WARN: Type inference failed for: r6v1, types: [java.lang.Object, com.google.android.gms.internal.ads.zzatk] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object c(long r34, j$.util.Optional r36) {
|
|
/*
|
|
Method dump skipped, instructions count: 692
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzath.c(long, j$.util.Optional):java.lang.Object");
|
|
}
|
|
}
|