* 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>
362 lines
6.9 KiB
Smali
362 lines
6.9 KiB
Smali
.class public final enum Lokhttp3/Protocol;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/Protocol$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lokhttp3/Protocol;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\u0008\u0002\u0008\u0086\u0081\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0002\u00a8\u0006\u0003"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/Protocol;",
|
|
"",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final f:Lokhttp3/Protocol$Companion;
|
|
|
|
.field public static final enum g:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum h:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum i:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum j:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum k:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum l:Lokhttp3/Protocol;
|
|
|
|
.field public static final enum m:Lokhttp3/Protocol;
|
|
|
|
.field public static final synthetic n:[Lokhttp3/Protocol;
|
|
|
|
.field public static final synthetic o:Lkotlin/enums/EnumEntries;
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 16
|
|
|
|
.line 1
|
|
new-instance v0, Lokhttp3/Protocol;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "http/1.0"
|
|
|
|
.line 4
|
|
.line 5
|
|
const-string v2, "HTTP_1_0"
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 v3, 0x0
|
|
|
|
.line 8
|
|
invoke-direct {v0, v2, v3, v1}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
sput-object v0, Lokhttp3/Protocol;->g:Lokhttp3/Protocol;
|
|
|
|
.line 12
|
|
.line 13
|
|
new-instance v1, Lokhttp3/Protocol;
|
|
|
|
.line 14
|
|
.line 15
|
|
const-string v2, "http/1.1"
|
|
|
|
.line 16
|
|
.line 17
|
|
const-string v4, "HTTP_1_1"
|
|
|
|
.line 18
|
|
.line 19
|
|
const/4 v5, 0x1
|
|
|
|
.line 20
|
|
invoke-direct {v1, v4, v5, v2}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
sput-object v1, Lokhttp3/Protocol;->h:Lokhttp3/Protocol;
|
|
|
|
.line 24
|
|
.line 25
|
|
new-instance v2, Lokhttp3/Protocol;
|
|
|
|
.line 26
|
|
.line 27
|
|
const-string v4, "spdy/3.1"
|
|
|
|
.line 28
|
|
.line 29
|
|
const-string v6, "SPDY_3"
|
|
|
|
.line 30
|
|
.line 31
|
|
const/4 v7, 0x2
|
|
|
|
.line 32
|
|
invoke-direct {v2, v6, v7, v4}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
sput-object v2, Lokhttp3/Protocol;->i:Lokhttp3/Protocol;
|
|
|
|
.line 36
|
|
.line 37
|
|
new-instance v4, Lokhttp3/Protocol;
|
|
|
|
.line 38
|
|
.line 39
|
|
const-string v6, "h2"
|
|
|
|
.line 40
|
|
.line 41
|
|
const-string v8, "HTTP_2"
|
|
|
|
.line 42
|
|
.line 43
|
|
const/4 v9, 0x3
|
|
|
|
.line 44
|
|
invoke-direct {v4, v8, v9, v6}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
sput-object v4, Lokhttp3/Protocol;->j:Lokhttp3/Protocol;
|
|
|
|
.line 48
|
|
.line 49
|
|
new-instance v6, Lokhttp3/Protocol;
|
|
|
|
.line 50
|
|
.line 51
|
|
const-string v8, "h2_prior_knowledge"
|
|
|
|
.line 52
|
|
.line 53
|
|
const-string v10, "H2_PRIOR_KNOWLEDGE"
|
|
|
|
.line 54
|
|
.line 55
|
|
const/4 v11, 0x4
|
|
|
|
.line 56
|
|
invoke-direct {v6, v10, v11, v8}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
sput-object v6, Lokhttp3/Protocol;->k:Lokhttp3/Protocol;
|
|
|
|
.line 60
|
|
.line 61
|
|
new-instance v8, Lokhttp3/Protocol;
|
|
|
|
.line 62
|
|
.line 63
|
|
const-string v10, "quic"
|
|
|
|
.line 64
|
|
.line 65
|
|
const-string v12, "QUIC"
|
|
|
|
.line 66
|
|
.line 67
|
|
const/4 v13, 0x5
|
|
|
|
.line 68
|
|
invoke-direct {v8, v12, v13, v10}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
sput-object v8, Lokhttp3/Protocol;->l:Lokhttp3/Protocol;
|
|
|
|
.line 72
|
|
.line 73
|
|
new-instance v10, Lokhttp3/Protocol;
|
|
|
|
.line 74
|
|
.line 75
|
|
const-string v12, "h3"
|
|
|
|
.line 76
|
|
.line 77
|
|
const-string v14, "HTTP_3"
|
|
|
|
.line 78
|
|
.line 79
|
|
const/4 v15, 0x6
|
|
|
|
.line 80
|
|
invoke-direct {v10, v14, v15, v12}, Lokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
sput-object v10, Lokhttp3/Protocol;->m:Lokhttp3/Protocol;
|
|
|
|
.line 84
|
|
.line 85
|
|
const/4 v12, 0x7
|
|
|
|
.line 86
|
|
new-array v12, v12, [Lokhttp3/Protocol;
|
|
|
|
.line 87
|
|
.line 88
|
|
aput-object v0, v12, v3
|
|
|
|
.line 89
|
|
.line 90
|
|
aput-object v1, v12, v5
|
|
|
|
.line 91
|
|
.line 92
|
|
aput-object v2, v12, v7
|
|
|
|
.line 93
|
|
.line 94
|
|
aput-object v4, v12, v9
|
|
|
|
.line 95
|
|
.line 96
|
|
aput-object v6, v12, v11
|
|
|
|
.line 97
|
|
.line 98
|
|
aput-object v8, v12, v13
|
|
|
|
.line 99
|
|
.line 100
|
|
aput-object v10, v12, v15
|
|
|
|
.line 101
|
|
.line 102
|
|
sput-object v12, Lokhttp3/Protocol;->n:[Lokhttp3/Protocol;
|
|
|
|
.line 103
|
|
.line 104
|
|
invoke-static {v12}, Lkotlin/enums/EnumEntriesKt;->enumEntries([Ljava/lang/Enum;)Lkotlin/enums/EnumEntries;
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
move-result-object v0
|
|
|
|
.line 108
|
|
sput-object v0, Lokhttp3/Protocol;->o:Lkotlin/enums/EnumEntries;
|
|
|
|
.line 109
|
|
.line 110
|
|
new-instance v0, Lokhttp3/Protocol$Companion;
|
|
|
|
.line 111
|
|
.line 112
|
|
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 113
|
|
.line 114
|
|
.line 115
|
|
sput-object v0, Lokhttp3/Protocol;->f:Lokhttp3/Protocol$Companion;
|
|
|
|
.line 116
|
|
.line 117
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iput-object p3, p0, Lokhttp3/Protocol;->c:Ljava/lang/String;
|
|
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lokhttp3/Protocol;
|
|
.locals 1
|
|
|
|
const-class v0, Lokhttp3/Protocol;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lokhttp3/Protocol;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lokhttp3/Protocol;
|
|
.locals 1
|
|
|
|
sget-object v0, Lokhttp3/Protocol;->n:[Lokhttp3/Protocol;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lokhttp3/Protocol;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/Protocol;->c:Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|