soul-browser/sources/java/kotlin/jvm/internal
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00
..
markers Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
unsafe Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
AdaptedFunctionReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayBooleanIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayByteIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayCharIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayDoubleIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayFloatIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayIntIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayIteratorKt.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayIteratorsKt.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayLongIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ArrayShortIterator.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
BooleanCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
BooleanSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
BoxingConstructorMarker.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ByteCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ByteSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
CallableReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
CharCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
CharSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ClassBasedDeclarationContainer.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ClassReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
CollectionToArray.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
DefaultConstructorMarker.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
DoubleCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
DoubleSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
EnumCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FloatCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FloatSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunctionAdapter.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunctionBase.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunctionImpl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunctionReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunctionReferenceImpl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
FunInterfaceConstructorReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
InlineMarker.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
IntCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
Intrinsics.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
IntSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
KTypeBase.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
Lambda.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
LocalVariableReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
LocalVariableReferencesKt.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
LongCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
LongSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MagicApiIntrinsics.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutableLocalVariableReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference0.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference0Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference1.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference1Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference2.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
MutablePropertyReference2Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PackageReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PrimitiveSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference0.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference0Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference1.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference1Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference2.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
PropertyReference2Impl.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
Ref.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
Reflection.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ReflectionFactory.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
RepeatableContainer.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
SerializedIr.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ShortCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
ShortSpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
SourceDebugExtension.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
SpreadBuilder.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
StringCompanionObject.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
TypeIntrinsics.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
TypeParameterReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
TypeReference.java Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00