soul-browser/sources/java/com/google/android/gms/internal/ads/zzgfb.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

22 lines
2.7 KiB
Java

package com.google.android.gms.internal.ads;
import android.app.Activity;
import android.content.Context;
import android.net.NetworkCapabilities;
import android.util.DisplayMetrics;
import android.view.MotionEvent;
import android.view.View;
/* loaded from: classes.dex */
public final class zzgfb implements zzijg {
public static zzgtn a() {
zzgtn r = zzgtn.r(new zzgez("ElEd4VcZAEfP2Wn07dNn4m5KzOJYeOBfSNpGODwEVMM987QtZ6G7lEZTIkvpOYy8", "f+lS1NLa9mNIIiIqU+oCtIwtOpjS/HcJD4HNhQ2VxXc=", Context.class), new zzgez("h5woWk+/MKVn7UnkX48AE9w6oDGEwBuxIHHk8xiY2yxVLqDnKQK67m10f2Y48g47", "b++yFG7IFEWrMfvlJtGPZ8QEQ4/8mF+A/OqSDvgH3mE=", new Class[0]), new zzgez("HfOLt/75P0inB1ACQtpmoZ+1+wQRBgHtknW9eFeTyv4KW5Suh8LSIOlyCgysGkTB", "H5oaXmgEE2ioSjZtswlhWck6Iz70pHSCwKmqgx59qOA=", NetworkCapabilities.class, Long.class, Long.class), new zzgez("wtGqMd/1WM/X8Iw+J3Ea8gTPTQ9qzD2C6TcptISwpBzFOHGXqr9Zam0BzMtLgKpz", "WnUwwSu4en0kDO+iGEQNK9IW8rLFfprwibt/HeKMJc4=", String.class), new zzgez("qRoTIX01TXm6ZXZVmOMKT4ZXdjMMLNGK2c/NbGGBLqG2cMg0IUL/T2oTGpQvSnC1", "ca4PDuMQK3q/+ALDD/ITco9AaE4C+BCyDm2ZesJa1q0=", View.class, Activity.class), new zzgez("tq9z0bsqyfYem1dUfogYnUtJjgIFA+joGg8QA4Yjc06GGolRKpj33I2byFl1ahrM", "t+27szabmNhDv89ZHseqqkrSfYo80HKd8ZuzbFtUHyo=", DisplayMetrics.class, View.class), new zzgez("PL1+PnLeilPUwoW2fO9HYIrx4Gg09J/+FJQHQ2Jxmj5/l/Syl1OYiCh2G/imF0wq", "lSzEOSnnLGs69ZQnPGdq+hn/fw2CPePS7EJBVgPn7n4=", Long[].class, Integer.class), new zzgez("YQgeP5fuv5ofse0QgFoH1jczidaqU/jtx1ciH6/QwxlFmpEApWLYJ3HQGFOytIWd", "OPkzLWS3TjLmGVFqnLDKV5LemMhH5Tq8oEAXZUf2/Ss=", new Class[0]), new zzgez("psdxhJQzj8JPGxUndFNRSuISrw/zf4LHyLEfW3r2aQ42o49HP5NqkxdFySNU3Xfl", "izTl1LmxrTMVVIqTN/Y0k7CnXfH3YKnExw0TgvQ6jLg=", Context.class, Integer.class), new zzgez("jTwehpFvggflbSQgZ6TF5ZqO2MGz4ZNlyaEKeNyxM2KkBYQA70h6S0RpRF1AFrD5", "26X1QwwnBSG6Ity/sCu7ijF3yvcDEyHR/EuBkm0iUZc=", Integer.class, Context.class, Boolean.class), new zzgez("7lU8u/acj3glwX97dsCp50xaNaDZf5AvZZ8CZCZNZxVmN9GtRvkGNhtjwrrwJvh7", "R2aDW6OJL1JMomVNIKoK9g6amqmi0+KEXVHpRQdnX+U=", Context.class), new zzgez("hzhbIB+AgGdYPFXbtYQQJVQ0myyvLQ035lSh6fryM+LYz5yD6wiuaRPJPr0GACLg", "8nQjwnciPBNothZ+NkFCxpR7DmL40cEAF/v8iM4vgFc=", Context.class), new zzgez("TVhQaRYX1XJdJjovebNLV6RZa+CHXoXNSDwsvD2M+2M/jcZaYqephUke/9lWGtpK", "6PtDO9Iljdiz/XZTZ5iBSB6rGbi6sfeQlXfzSke6Ktw=", MotionEvent.class, DisplayMetrics.class), new zzgez("o3UXVie8/suJOQmyOLMVpxbmPmxGzwCoQMAjB1gTC92yDn7FjyneAFFenBlXs1/s", "Pvu/YKY6AN7DXo4Zzc6oTKshDXcTgIHi2A4rOK2JeRs=", MotionEvent.class, DisplayMetrics.class));
zzijo.a(r);
return r;
}
@Override // com.google.android.gms.internal.ads.zzijv
public final /* synthetic */ Object zzb() {
return a();
}
}