* 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>
446 lines
8.3 KiB
Smali
446 lines
8.3 KiB
Smali
.class public final synthetic Lcom/google/common/net/a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/common/base/Function;
|
|
.implements Lcom/google/gson/internal/ObjectConstructor;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic c:I
|
|
|
|
|
|
# direct methods
|
|
.method public synthetic constructor <init>(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Lcom/google/common/net/a;->c:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static bridge synthetic a()Ljava/lang/Class;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-class v0, Ljava/nio/file/attribute/BasicFileAttributes;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic b()Ljava/nio/file/FileVisitOption;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/FileVisitOption;->FOLLOW_LINKS:Ljava/nio/file/FileVisitOption;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic d()Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/FileVisitResult;->SKIP_SUBTREE:Ljava/nio/file/FileVisitResult;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic e(Ljava/lang/Object;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
check-cast p0, Ljava/nio/file/FileVisitResult;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static bridge synthetic f()Ljava/nio/file/LinkOption;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/LinkOption;->NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic g()Ljava/nio/file/StandardCopyOption;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/StandardCopyOption;->REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic h(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
instance-of p0, p0, Landroid/graphics/drawable/AnimatedImageDrawable;
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static bridge synthetic i()Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/FileVisitResult;->TERMINATE:Ljava/nio/file/FileVisitResult;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic j()Ljava/nio/file/StandardOpenOption;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/StandardOpenOption;->APPEND:Ljava/nio/file/StandardOpenOption;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static bridge synthetic k()Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/nio/file/FileVisitResult;->CONTINUE:Ljava/nio/file/FileVisitResult;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 6
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/common/net/a;->c:I
|
|
|
|
.line 2
|
|
.line 3
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
check-cast p1, Ljava/util/Collection;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1}, Lcom/google/common/collect/ImmutableMultiset;->q(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMultiset;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p1
|
|
|
|
.line 12
|
|
return-object p1
|
|
|
|
.line 13
|
|
:pswitch_0
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
.line 14
|
|
.line 15
|
|
sget-object v0, Lcom/google/common/net/MediaType;->g:Lcom/google/common/base/CharMatcher;
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {v0, p1}, Lcom/google/common/base/CharMatcher;->n(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p1}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result v0
|
|
|
|
.line 27
|
|
if-nez v0, :cond_0
|
|
|
|
.line 28
|
|
.line 29
|
|
goto :goto_1
|
|
|
|
.line 30
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result v1
|
|
|
|
.line 36
|
|
add-int/lit8 v1, v1, 0x10
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
const/16 v1, 0x22
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
const/4 v2, 0x0
|
|
|
|
.line 47
|
|
:goto_0
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result v3
|
|
|
|
.line 51
|
|
if-ge v2, v3, :cond_3
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {p1, v2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result v3
|
|
|
|
.line 57
|
|
const/16 v4, 0xd
|
|
|
|
.line 58
|
|
.line 59
|
|
const/16 v5, 0x5c
|
|
|
|
.line 60
|
|
.line 61
|
|
if-eq v3, v4, :cond_1
|
|
|
|
.line 62
|
|
.line 63
|
|
if-eq v3, v5, :cond_1
|
|
|
|
.line 64
|
|
.line 65
|
|
if-ne v3, v1, :cond_2
|
|
|
|
.line 66
|
|
.line 67
|
|
:cond_1
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
:cond_2
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 74
|
|
.line 75
|
|
goto :goto_0
|
|
|
|
.line 76
|
|
:cond_3
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result-object p1
|
|
|
|
.line 83
|
|
:goto_1
|
|
return-object p1
|
|
|
|
.line 84
|
|
nop
|
|
|
|
.line 85
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public c()Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/common/net/a;->c:I
|
|
|
|
.line 2
|
|
.line 3
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v0, Ljava/util/ArrayDeque;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-object v0
|
|
|
|
.line 12
|
|
:pswitch_0
|
|
new-instance v0, Ljava/util/TreeSet;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-direct {v0}, Ljava/util/TreeSet;-><init>()V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
return-object v0
|
|
|
|
.line 18
|
|
:pswitch_1
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-object v0
|
|
|
|
.line 24
|
|
:pswitch_2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
return-object v0
|
|
|
|
.line 30
|
|
:pswitch_3
|
|
new-instance v0, Ljava/util/concurrent/ConcurrentSkipListMap;
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentSkipListMap;-><init>()V
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
return-object v0
|
|
|
|
.line 36
|
|
:pswitch_4
|
|
new-instance v0, Lj$/util/concurrent/ConcurrentHashMap;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-direct {v0}, Lj$/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
return-object v0
|
|
|
|
.line 42
|
|
:pswitch_5
|
|
new-instance v0, Ljava/util/TreeMap;
|
|
|
|
.line 43
|
|
.line 44
|
|
invoke-direct {v0}, Ljava/util/TreeMap;-><init>()V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
return-object v0
|
|
|
|
.line 48
|
|
:pswitch_6
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
return-object v0
|
|
|
|
.line 54
|
|
:pswitch_7
|
|
new-instance v0, Lcom/google/gson/internal/LinkedTreeMap;
|
|
|
|
.line 55
|
|
.line 56
|
|
const/4 v1, 0x1
|
|
|
|
.line 57
|
|
invoke-direct {v0, v1}, Lcom/google/gson/internal/LinkedTreeMap;-><init>(Z)V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
return-object v0
|
|
|
|
.line 61
|
|
:pswitch_data_0
|
|
.packed-switch 0x2
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|