* 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>
185 lines
5.7 KiB
Java
185 lines
5.7 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzfs implements zzao {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public final String f7610a;
|
|
public final byte[] b;
|
|
|
|
/* renamed from: c, reason: collision with root package name */
|
|
public final int f7611c;
|
|
public final int d;
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost:
|
|
|
|
if (r8 != 78) goto L22;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x0037, code lost:
|
|
|
|
if (r6.length != 8) goto L21;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x0039, code lost:
|
|
|
|
r8 = 78;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:15:0x003d, code lost:
|
|
|
|
com.google.android.gms.internal.ads.zzgqa.a(r1);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x003b, code lost:
|
|
|
|
r8 = 78;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:17:0x003c, code lost:
|
|
|
|
r1 = false;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x002e, code lost:
|
|
|
|
if (r5.equals("auxiliary.tracks.length") != false) goto L16;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x0025, code lost:
|
|
|
|
if (r5.equals("auxiliary.tracks.offset") != false) goto L16;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public zzfs(java.lang.String r5, byte[] r6, int r7, int r8) {
|
|
/*
|
|
r4 = this;
|
|
r4.<init>()
|
|
int r0 = r5.hashCode()
|
|
r1 = 1
|
|
r2 = 0
|
|
switch(r0) {
|
|
case -1949883051: goto L5e;
|
|
case -269399509: goto L41;
|
|
case 1011693540: goto L28;
|
|
case 1098277265: goto L1f;
|
|
case 2002123038: goto Le;
|
|
default: goto Lc;
|
|
}
|
|
Lc:
|
|
goto L75
|
|
Le:
|
|
java.lang.String r0 = "auxiliary.tracks.map"
|
|
boolean r0 = r5.equals(r0)
|
|
if (r0 == 0) goto L75
|
|
if (r8 != 0) goto L19
|
|
goto L1a
|
|
L19:
|
|
r1 = r2
|
|
L1a:
|
|
com.google.android.gms.internal.ads.zzgqa.a(r1)
|
|
goto L75
|
|
L1f:
|
|
java.lang.String r0 = "auxiliary.tracks.offset"
|
|
boolean r0 = r5.equals(r0)
|
|
if (r0 == 0) goto L75
|
|
goto L30
|
|
L28:
|
|
java.lang.String r0 = "auxiliary.tracks.length"
|
|
boolean r0 = r5.equals(r0)
|
|
if (r0 == 0) goto L75
|
|
L30:
|
|
r0 = 78
|
|
if (r8 != r0) goto L3c
|
|
int r8 = r6.length
|
|
r3 = 8
|
|
if (r8 != r3) goto L3b
|
|
r8 = r0
|
|
goto L3d
|
|
L3b:
|
|
r8 = r0
|
|
L3c:
|
|
r1 = r2
|
|
L3d:
|
|
com.google.android.gms.internal.ads.zzgqa.a(r1)
|
|
goto L75
|
|
L41:
|
|
java.lang.String r0 = "auxiliary.tracks.interleaved"
|
|
boolean r0 = r5.equals(r0)
|
|
if (r0 == 0) goto L75
|
|
r0 = 75
|
|
if (r8 != r0) goto L59
|
|
int r8 = r6.length
|
|
if (r8 != r1) goto L58
|
|
r8 = r6[r2]
|
|
if (r8 == 0) goto L56
|
|
if (r8 != r1) goto L58
|
|
L56:
|
|
r8 = r0
|
|
goto L5a
|
|
L58:
|
|
r8 = r0
|
|
L59:
|
|
r1 = r2
|
|
L5a:
|
|
com.google.android.gms.internal.ads.zzgqa.a(r1)
|
|
goto L75
|
|
L5e:
|
|
java.lang.String r0 = "com.android.capture.fps"
|
|
boolean r0 = r5.equals(r0)
|
|
if (r0 == 0) goto L75
|
|
r0 = 23
|
|
if (r8 != r0) goto L71
|
|
int r8 = r6.length
|
|
r3 = 4
|
|
if (r8 != r3) goto L70
|
|
r8 = r0
|
|
goto L72
|
|
L70:
|
|
r8 = r0
|
|
L71:
|
|
r1 = r2
|
|
L72:
|
|
com.google.android.gms.internal.ads.zzgqa.a(r1)
|
|
L75:
|
|
r4.f7610a = r5
|
|
r4.b = r6
|
|
r4.f7611c = r7
|
|
r4.d = r8
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzfs.<init>(java.lang.String, byte[], int, int):void");
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzao
|
|
public final /* synthetic */ void a(zzam zzamVar) {
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj != null && zzfs.class == obj.getClass()) {
|
|
zzfs zzfsVar = (zzfs) obj;
|
|
if (this.f7610a.equals(zzfsVar.f7610a) && Arrays.equals(this.b, zzfsVar.b) && this.f7611c == zzfsVar.f7611c && this.d == zzfsVar.d) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return ((((Arrays.hashCode(this.b) + ((this.f7610a.hashCode() + 527) * 31)) * 31) + this.f7611c) * 31) + this.d;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:19:0x00f2 A[LOOP:0: B:17:0x00ef->B:19:0x00f2, LOOP_END] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.String toString() {
|
|
/*
|
|
Method dump skipped, instructions count: 307
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzfs.toString():java.lang.String");
|
|
}
|
|
}
|