* 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>
346 lines
6.7 KiB
Smali
346 lines
6.7 KiB
Smali
.class public Lorg/apache/commons/lang3/CharSet;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# static fields
|
|
.field public static final f:Ljava/util/Map;
|
|
|
|
|
|
# instance fields
|
|
.field public final c:Ljava/util/Set;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 11
|
|
|
|
.line 1
|
|
new-instance v0, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
filled-new-array {v1}, [Ljava/lang/String;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object v2
|
|
|
|
.line 8
|
|
invoke-direct {v0, v2}, Lorg/apache/commons/lang3/CharSet;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
new-instance v2, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 12
|
|
.line 13
|
|
const-string v3, "a-zA-Z"
|
|
|
|
.line 14
|
|
.line 15
|
|
filled-new-array {v3}, [Ljava/lang/String;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v4
|
|
|
|
.line 19
|
|
invoke-direct {v2, v4}, Lorg/apache/commons/lang3/CharSet;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
new-instance v4, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 23
|
|
.line 24
|
|
const-string v5, "a-z"
|
|
|
|
.line 25
|
|
.line 26
|
|
filled-new-array {v5}, [Ljava/lang/String;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v6
|
|
|
|
.line 30
|
|
invoke-direct {v4, v6}, Lorg/apache/commons/lang3/CharSet;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
new-instance v6, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 34
|
|
.line 35
|
|
const-string v7, "A-Z"
|
|
|
|
.line 36
|
|
.line 37
|
|
filled-new-array {v7}, [Ljava/lang/String;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object v8
|
|
|
|
.line 41
|
|
invoke-direct {v6, v8}, Lorg/apache/commons/lang3/CharSet;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
new-instance v8, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 45
|
|
.line 46
|
|
const-string v9, "0-9"
|
|
|
|
.line 47
|
|
.line 48
|
|
filled-new-array {v9}, [Ljava/lang/String;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object v10
|
|
|
|
.line 52
|
|
invoke-direct {v8, v10}, Lorg/apache/commons/lang3/CharSet;-><init>([Ljava/lang/String;)V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
new-instance v10, Ljava/util/HashMap;
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-direct {v10}, Ljava/util/HashMap;-><init>()V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
invoke-static {v10}, Lj$/util/DesugarCollections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result-object v10
|
|
|
|
.line 64
|
|
sput-object v10, Lorg/apache/commons/lang3/CharSet;->f:Ljava/util/Map;
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-interface {v10, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
const-string v1, ""
|
|
|
|
.line 70
|
|
.line 71
|
|
invoke-interface {v10, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 72
|
|
.line 73
|
|
.line 74
|
|
invoke-interface {v10, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 75
|
|
.line 76
|
|
.line 77
|
|
const-string v0, "A-Za-z"
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-interface {v10, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
invoke-interface {v10, v5, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
invoke-interface {v10, v7, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
invoke-interface {v10, v9, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
return-void
|
|
.end method
|
|
|
|
.method public varargs constructor <init>([Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
invoke-static {v0}, Lj$/util/DesugarCollections;->synchronizedSet(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v0
|
|
|
|
.line 13
|
|
iput-object v0, p0, Lorg/apache/commons/lang3/CharSet;->c:Ljava/util/Set;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {p1}, Lj$/util/stream/Stream$-CC;->of([Ljava/lang/Object;)Lj$/util/stream/Stream;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p1
|
|
|
|
.line 19
|
|
new-instance v0, Lorg/apache/commons/lang3/d;
|
|
|
|
.line 20
|
|
.line 21
|
|
const/4 v1, 0x0
|
|
|
|
.line 22
|
|
invoke-direct {v0, v1, p0}, Lorg/apache/commons/lang3/d;-><init>(ILjava/lang/Object;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-interface {p1, v0}, Lj$/util/stream/Stream;->forEach(Ljava/util/function/Consumer;)V
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 1
|
|
|
|
.line 1
|
|
if-ne p1, p0, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
return p1
|
|
|
|
.line 5
|
|
:cond_0
|
|
instance-of v0, p1, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 6
|
|
.line 7
|
|
if-nez v0, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
const/4 p1, 0x0
|
|
|
|
.line 10
|
|
return p1
|
|
|
|
.line 11
|
|
:cond_1
|
|
check-cast p1, Lorg/apache/commons/lang3/CharSet;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, p0, Lorg/apache/commons/lang3/CharSet;->c:Ljava/util/Set;
|
|
|
|
.line 14
|
|
.line 15
|
|
iget-object p1, p1, Lorg/apache/commons/lang3/CharSet;->c:Ljava/util/Set;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p1
|
|
|
|
.line 21
|
|
return p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lorg/apache/commons/lang3/CharSet;->c:Ljava/util/Set;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {v0}, Ljava/util/Set;->hashCode()I
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
add-int/lit8 v0, v0, 0x59
|
|
|
|
.line 8
|
|
.line 9
|
|
return v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lorg/apache/commons/lang3/CharSet;->c:Ljava/util/Set;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
return-object v0
|
|
.end method
|