* 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>
233 lines
4.8 KiB
Smali
233 lines
4.8 KiB
Smali
.class public final synthetic Lcom/android/billingclient/api/zzcm;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/internal/play_billing/zzr;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lcom/android/billingclient/api/zzcv;
|
|
|
|
.field public final synthetic b:I
|
|
|
|
|
|
# direct methods
|
|
.method public synthetic constructor <init>(Lcom/android/billingclient/api/zzcv;I)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/android/billingclient/api/zzcm;->a:Lcom/android/billingclient/api/zzcv;
|
|
|
|
iput p2, p0, Lcom/android/billingclient/api/zzcm;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/google/android/gms/internal/play_billing/zzp;)Ljava/lang/String;
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/android/billingclient/api/zzcm;->a:Lcom/android/billingclient/api/zzcv;
|
|
|
|
.line 2
|
|
.line 3
|
|
iget v1, p0, Lcom/android/billingclient/api/zzcm;->b:I
|
|
|
|
.line 4
|
|
.line 5
|
|
:try_start_0
|
|
iget-object v2, v0, Lcom/android/billingclient/api/zzcv;->F:Lcom/google/android/gms/internal/play_billing/zzay;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-eqz v2, :cond_5
|
|
|
|
.line 8
|
|
.line 9
|
|
iget-object v2, v0, Lcom/android/billingclient/api/zzcv;->F:Lcom/google/android/gms/internal/play_billing/zzay;
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-object v3, v0, Lcom/android/billingclient/api/zzcv;->D:Landroid/content/Context;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v3
|
|
|
|
.line 17
|
|
const/4 v4, 0x2
|
|
|
|
.line 18
|
|
if-eq v1, v4, :cond_4
|
|
|
|
.line 19
|
|
.line 20
|
|
const/4 v4, 0x3
|
|
|
|
.line 21
|
|
if-eq v1, v4, :cond_3
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v4, 0x4
|
|
|
|
.line 24
|
|
if-eq v1, v4, :cond_2
|
|
|
|
.line 25
|
|
.line 26
|
|
const/4 v4, 0x5
|
|
|
|
.line 27
|
|
if-eq v1, v4, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
const/4 v4, 0x6
|
|
|
|
.line 30
|
|
if-eq v1, v4, :cond_0
|
|
|
|
.line 31
|
|
.line 32
|
|
const-string v1, "QUERY_PRODUCT_DETAILS_ASYNC"
|
|
|
|
.line 33
|
|
.line 34
|
|
goto :goto_0
|
|
|
|
.line 35
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
.line 36
|
|
goto :goto_1
|
|
|
|
.line 37
|
|
:cond_0
|
|
const-string v1, "START_CONNECTION"
|
|
|
|
.line 38
|
|
.line 39
|
|
goto :goto_0
|
|
|
|
.line 40
|
|
:cond_1
|
|
const-string v1, "IS_FEATURE_SUPPORTED"
|
|
|
|
.line 41
|
|
.line 42
|
|
goto :goto_0
|
|
|
|
.line 43
|
|
:cond_2
|
|
const-string v1, "CONSUME_ASYNC"
|
|
|
|
.line 44
|
|
.line 45
|
|
goto :goto_0
|
|
|
|
.line 46
|
|
:cond_3
|
|
const-string v1, "ACKNOWLEDGE_PURCHASE"
|
|
|
|
.line 47
|
|
.line 48
|
|
goto :goto_0
|
|
|
|
.line 49
|
|
:cond_4
|
|
const-string v1, "LAUNCH_BILLING_FLOW"
|
|
|
|
.line 50
|
|
.line 51
|
|
:goto_0
|
|
new-instance v4, Lcom/android/billingclient/api/zzcs;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-direct {v4, p1}, Lcom/android/billingclient/api/zzcs;-><init>(Lcom/google/android/gms/internal/play_billing/zzp;)V
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
invoke-interface {v2, v3, v1, v4}, Lcom/google/android/gms/internal/play_billing/zzay;->u0(Ljava/lang/String;Ljava/lang/String;Lcom/google/android/gms/internal/play_billing/zzba;)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
goto :goto_2
|
|
|
|
.line 60
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
.line 61
|
|
throw v1
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 62
|
|
:goto_1
|
|
sget-object v2, Lcom/google/android/gms/internal/play_billing/zzje;->V0:Lcom/google/android/gms/internal/play_billing/zzje;
|
|
|
|
.line 63
|
|
.line 64
|
|
const/16 v3, 0x1c
|
|
|
|
.line 65
|
|
.line 66
|
|
sget-object v4, Lcom/android/billingclient/api/zzdb;->r:Lcom/android/billingclient/api/BillingResult;
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-virtual {v0, v2, v3, v4}, Lcom/android/billingclient/api/zzcv;->N(Lcom/google/android/gms/internal/play_billing/zzje;ILcom/android/billingclient/api/BillingResult;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
const-string v0, "BillingClientTesting"
|
|
|
|
.line 72
|
|
.line 73
|
|
const-string v2, "An error occurred while retrieving billing override."
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-static {v0, v2, v1}, Lcom/google/android/gms/internal/play_billing/zzc;->j(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
const/4 v0, 0x0
|
|
|
|
.line 79
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object v0
|
|
|
|
.line 83
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/internal/play_billing/zzp;->a(Ljava/lang/Object;)V
|
|
|
|
.line 84
|
|
.line 85
|
|
.line 86
|
|
:goto_2
|
|
const-string p1, "billingOverrideService.getBillingOverride"
|
|
|
|
.line 87
|
|
.line 88
|
|
return-object p1
|
|
.end method
|