soul-browser/sources/java/com/google/android/gms/internal/ads/zzbl.java
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

123 lines
4.5 KiB
Java

package com.google.android.gms.internal.ads;
/* loaded from: classes.dex */
public class zzbl {
/* renamed from: a, reason: collision with root package name */
public final int f4753a;
public final int b;
/* renamed from: c, reason: collision with root package name */
public final int f4754c;
public final int d;
public final int e;
public final int f;
public final boolean g;
public final boolean h;
public final zzgtd i;
public final zzgtd j;
public final zzgtd k;
public final zzgtd l;
public final zzgtd m;
public final int n;
public final int o;
public final zzgtd p;
public final zzbj q;
public final zzgtd r;
public final zzgtd s;
public final boolean t;
public final zzgtg u;
public final zzgtn v;
static {
new zzbl(new zzbk());
String str = zzfj.f7405a;
Integer.toString(1, 36);
Integer.toString(2, 36);
Integer.toString(3, 36);
Integer.toString(4, 36);
Integer.toString(5, 36);
Integer.toString(6, 36);
Integer.toString(7, 36);
Integer.toString(8, 36);
Integer.toString(9, 36);
Integer.toString(10, 36);
Integer.toString(11, 36);
Integer.toString(12, 36);
Integer.toString(13, 36);
Integer.toString(14, 36);
Integer.toString(15, 36);
Integer.toString(16, 36);
Integer.toString(17, 36);
Integer.toString(18, 36);
Integer.toString(19, 36);
Integer.toString(20, 36);
Integer.toString(21, 36);
Integer.toString(22, 36);
Integer.toString(23, 36);
Integer.toString(24, 36);
Integer.toString(25, 36);
Integer.toString(26, 36);
Integer.toString(27, 36);
Integer.toString(28, 36);
Integer.toString(29, 36);
Integer.toString(30, 36);
Integer.toString(31, 36);
Integer.toString(32, 36);
Integer.toString(33, 36);
Integer.toString(34, 36);
Integer.toString(35, 36);
Integer.toString(36, 36);
Integer.toString(37, 36);
Integer.toString(38, 36);
}
public zzbl(zzbk zzbkVar) {
this.f4753a = zzbkVar.f4748a;
this.b = zzbkVar.b;
this.f4754c = zzbkVar.f4749c;
this.d = zzbkVar.d;
this.e = zzbkVar.e;
this.f = zzbkVar.f;
this.g = zzbkVar.g;
this.h = zzbkVar.h;
this.i = zzbkVar.i;
this.j = zzbkVar.j;
this.k = zzbkVar.k;
this.l = zzbkVar.l;
this.n = zzbkVar.n;
this.m = zzbkVar.m;
this.o = zzbkVar.o;
this.p = zzbkVar.p;
this.q = zzbkVar.q;
this.r = zzbkVar.r;
this.t = zzbkVar.s;
this.s = zzbkVar.t;
this.u = zzgtg.a(zzbkVar.u);
this.v = zzgtn.t(zzbkVar.v);
}
public boolean equals(Object obj) {
if (this != obj) {
if (obj != null && getClass() == obj.getClass()) {
zzbl zzblVar = (zzbl) obj;
if (this.f4753a == zzblVar.f4753a && this.b == zzblVar.b && this.f4754c == zzblVar.f4754c && this.d == zzblVar.d && this.h == zzblVar.h && this.e == zzblVar.e && this.f == zzblVar.f && this.g == zzblVar.g && this.i.equals(zzblVar.i) && this.j.equals(zzblVar.j) && this.k.equals(zzblVar.k) && this.l.equals(zzblVar.l) && this.n == zzblVar.n && this.m.equals(zzblVar.m) && this.o == zzblVar.o && this.p.equals(zzblVar.p) && this.q.equals(zzblVar.q) && this.s.equals(zzblVar.s) && this.r.equals(zzblVar.r) && this.t == zzblVar.t) {
zzgtg zzgtgVar = zzblVar.u;
zzgtg zzgtgVar2 = this.u;
zzgtgVar2.getClass();
if (zzguk.a(zzgtgVar2, zzgtgVar) && this.v.equals(zzblVar.v)) {
return true;
}
return false;
}
return false;
}
return false;
}
return true;
}
public int hashCode() {
return this.v.hashCode() + ((this.u.hashCode() + ((this.s.hashCode() + ((((this.r.hashCode() + ((((this.p.hashCode() + ((((this.m.hashCode() + ((((this.l.hashCode() + ((this.k.hashCode() + ((this.j.hashCode() + ((this.i.hashCode() + ((((((((((((((((this.f4753a + 31) * 31) + this.b) * 31) + this.f4754c) * 31) + this.d) * 28629151) + (this.h ? 1 : 0)) * 31) + this.e) * 31) + this.f) * 31) + (this.g ? 1 : 0)) * 31)) * 31)) * 31)) * 961)) * 961) + this.n) * 31)) * 31) + this.o) * 31)) * 31) + 29791) * 961)) * 961) + (this.t ? 1 : 0)) * 31)) * 887503681)) * 31);
}
}