* 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>
137 lines
2.9 KiB
Smali
137 lines
2.9 KiB
Smali
.class public final enum Lj$/util/stream/b7;
|
|
.super Ljava/lang/Enum;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final enum OP:Lj$/util/stream/b7;
|
|
|
|
.field public static final enum SPLITERATOR:Lj$/util/stream/b7;
|
|
|
|
.field public static final enum STREAM:Lj$/util/stream/b7;
|
|
|
|
.field public static final enum TERMINAL_OP:Lj$/util/stream/b7;
|
|
|
|
.field public static final enum UPSTREAM_TERMINAL_OP:Lj$/util/stream/b7;
|
|
|
|
.field public static final synthetic a:[Lj$/util/stream/b7;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 11
|
|
|
|
.line 344
|
|
new-instance v0, Lj$/util/stream/b7;
|
|
|
|
.line 340
|
|
const-string v1, "SPLITERATOR"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 344
|
|
sput-object v0, Lj$/util/stream/b7;->SPLITERATOR:Lj$/util/stream/b7;
|
|
|
|
.line 349
|
|
new-instance v1, Lj$/util/stream/b7;
|
|
|
|
.line 340
|
|
const-string v3, "STREAM"
|
|
|
|
const/4 v4, 0x1
|
|
|
|
invoke-direct {v1, v3, v4}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 349
|
|
sput-object v1, Lj$/util/stream/b7;->STREAM:Lj$/util/stream/b7;
|
|
|
|
.line 354
|
|
new-instance v3, Lj$/util/stream/b7;
|
|
|
|
.line 340
|
|
const-string v5, "OP"
|
|
|
|
const/4 v6, 0x2
|
|
|
|
invoke-direct {v3, v5, v6}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 354
|
|
sput-object v3, Lj$/util/stream/b7;->OP:Lj$/util/stream/b7;
|
|
|
|
.line 359
|
|
new-instance v5, Lj$/util/stream/b7;
|
|
|
|
.line 340
|
|
const-string v7, "TERMINAL_OP"
|
|
|
|
const/4 v8, 0x3
|
|
|
|
invoke-direct {v5, v7, v8}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 359
|
|
sput-object v5, Lj$/util/stream/b7;->TERMINAL_OP:Lj$/util/stream/b7;
|
|
|
|
.line 365
|
|
new-instance v7, Lj$/util/stream/b7;
|
|
|
|
.line 340
|
|
const-string v9, "UPSTREAM_TERMINAL_OP"
|
|
|
|
const/4 v10, 0x4
|
|
|
|
invoke-direct {v7, v9, v10}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 365
|
|
sput-object v7, Lj$/util/stream/b7;->UPSTREAM_TERMINAL_OP:Lj$/util/stream/b7;
|
|
|
|
const/4 v9, 0x5
|
|
|
|
.line 340
|
|
new-array v9, v9, [Lj$/util/stream/b7;
|
|
|
|
aput-object v0, v9, v2
|
|
|
|
aput-object v1, v9, v4
|
|
|
|
aput-object v3, v9, v6
|
|
|
|
aput-object v5, v9, v8
|
|
|
|
aput-object v7, v9, v10
|
|
|
|
sput-object v9, Lj$/util/stream/b7;->a:[Lj$/util/stream/b7;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lj$/util/stream/b7;
|
|
.locals 1
|
|
|
|
.line 340
|
|
const-class v0, Lj$/util/stream/b7;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lj$/util/stream/b7;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lj$/util/stream/b7;
|
|
.locals 1
|
|
|
|
.line 340
|
|
sget-object v0, Lj$/util/stream/b7;->a:[Lj$/util/stream/b7;
|
|
|
|
invoke-virtual {v0}, [Lj$/util/stream/b7;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lj$/util/stream/b7;
|
|
|
|
return-object v0
|
|
.end method
|