SAP (Split APKs Packer) v6.7.0
Requirements: JRE/OpenJDK 1.8 or above
Overview: A simple and fast tool to transform Android App Bundles into single Android Packages.
HOW IT WORKS
SAP uses Apktool to decode the resources of the files included in the bundle to be processed.
Then it merges all these files into the base package folder before adjusting and correcting them.
Apktool is used to build the single package, Uber-APK-Signer for zipAlign/sign processes.
SAP doesn’t work on dynamic features but configuration modules only
SAP is a portable application ; all files present in its folder are necessary.
For better overall compatibility sap is a 32-bit compiled binary
Two versions are available:
– for Windows OS ; tested working fine with Wine.
– for Linux based OS.
Split APKs Packer v6.7.0
Designed and coded by Kirlif’
Compiled on 28/May/2020
The two fonts provided must be installed.
JRE/OpenJDK 1.8 or above ; Java binaries folder must be present in the system PATH.
Two ways to create a project:
– with « Directory » button to choose the folder that contains the split packages to merge.
SAP will work inside.
– with « Archive » button to choose a ZIP archive (.apks, .xapk, .zip).
SAP will extract its content in a new folder next to it (archive_name_SAP_Project) and work inside.
SAP check the validity of the bundle then « Select » and « Start » buttons are enabled.
If build succeeded the resulting APK will be found in the « build » folder inside the project directory with the log file.
« Workers » spinner defines the number of concurrent threads to be created for decodings:
– the maximum number is defined by the number of CPUs.
« Sign » checkbox allows the resulting APK to be zip-aligned and signed:
– a debug key is used by default. A custom key can be imported thanks to « Keystore » button.
An obfuscated config file is created that contains the parent directory of the last project and the few settings used:
– it is updated when a custom keystore is imported and when the app is exited.
A log file is created inside the project folder:
– it is moved into « build » folder at the end of the successful process.
« Start » button will launch the process:
– split packages decoding.
During decoding « Start » button is changed to « Cancel » that allows to abandon the project.
– SAP works on decoded files
– finally it try to build a single package.
SAP tool allows to merge new split packages with an already SAP repacked APK.
If build failed, SAP switch to « Manual Mode »:
– the « Start » button is changed to « Build » and allows to retry after manual changes.
– Most of fails are due to not well-formed xml files. Apktool warnings in the log file will help to create fix(es).
The failed project can be abandoned and reopened later.
Connor Tumbleson & Ryszard Wisniewski for Apktool: https://github.com/iBotPeaches/Apktool
Patrick Favre-Bulle for Uber Apk Signer: https://github.com/patrickfav/uber-apk-signer
Kay Hayen and Nuitka Organization for Nuitka: https://github.com/Nuitka/Nuitka
Markus Oberhumer, Laszlo Molnar & John Reiser for UPX: https://github.com/upx/upx
Feel free to manually import the « config » file from your previous version.
– Updated Apktool to v2.4.2-a04b9c-SNAPSHOT
– Added detections and fixes about malformed layout files:
constraint, tabGravity, titleGravity, collapseMode, scrollFlags.