Android related PC or Mac (or any other computer OS) software. Movie encoders, synchronization, development, etc.
May 29th, 2020, 11:10 am
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.

Image

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

INFO:
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.

VERSION:
Split APKs Packer v6.7.0
Designed and coded by Kirlif'
Compiled on 28/May/2020

REQUIREMENTS:
The two fonts provided must be installed.
JRE/OpenJDK 1.8 or above ; Java binaries folder must be present in the system PATH.

USAGE:
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.

FEATURES:
« Select » button allows to customize the project by selecting the wanted split packages:
- multi-selection and selection of several ranges of items are possible with CTRL key and mouse.

http://images.mobilism.org/?di=6NPLN6DK

« 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.

http://images.mobilism.org/?di=4WMJ

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.

MANUAL MODE:
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.

CREDITS:
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

NOTE:
Feel free to manually import the « config » file from your previous version.

What's New:
- Updated Apktool to v2.4.2-a04b9c-SNAPSHOT
- Added detections and fixes about malformed layout files:
constraint, tabGravity, titleGravity, collapseMode, scrollFlags.

This app has no advertisements

More Info:
Code: Select allsap_dev@tuta.io

Download Instructions:
Linux:
https://www.uploadship.com/332adc83b76de4bb

Mirrors:
https://up-load.io/asfj6cecmi6l
https://dropgalaxy.in/blkmhlrj86of
https://mega4up.com/idxaacvnckrc

Windows:
https://www.uploadship.com/139e74703806aa6e

Mirrors:
https://up-load.io/nftz740tigwp
https://dropgalaxy.in/7bxktf4zq330
https://mega4up.com/qzjxvq3qf4sz

Windows 7 (this version should fix a crash issue for some W7 users):
https://www.uploadship.com/5cd8f0e31322e146

Mirrors:
https://up-load.io/ccye1q3ub8ch
https://dropgalaxy.in/iyumqb50v8pl
https://mega4up.com/ncc47sjpekyg
May 29th, 2020, 11:10 am
Last edited by KirIif' on May 31st, 2020, 3:20 pm, edited 1 time in total.

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!
May 29th, 2020, 3:59 pm
Can I use your program to open "*[SAP].apk" files, e.g. to remove single split files to get a smaller installation program?
May 29th, 2020, 3:59 pm
May 29th, 2020, 7:41 pm
Get this error when i try with youtube vanced
Building... W: brut_util_Jar_41274307691330187117187474660859272391.tmp F 05-29 20:39:56 3296 4324 ResourceParser.cpp:342] Check failed: node_stack.size() == 1u

Same error with manuel mode.
May 29th, 2020, 7:41 pm
May 30th, 2020, 2:20 am
Children let's be polite to each other. No foul language please.
May 30th, 2020, 2:20 am

Image
I'm re-uploading links for one reason. To help the members and nothing else.
If you wanted me to takedown the link, please don't hesitate to PM. cheers!
May 30th, 2020, 4:22 pm
DjangoOne wrote:Can I use your program to open "*[SAP].apk" files, e.g. to remove single split files to get a smaller installation program?

It's not possible yet with this public release as your [SAP].apk file will be rebuilt automatically.
The feature you need is in my To Do list but I don't know when I will start to work on it.
In my own version I have an option to not build. May be I could make it there in a next release.

@gewowek121
Vanced bundles have some few abnormalities that needs few manual corrections.
My own Vanced standalone packages work fine.
May 30th, 2020, 4:22 pm

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!
May 31st, 2020, 12:51 pm
KirIif' wrote:
DjangoOne wrote:Can I use your program to open "*[SAP].apk" files, e.g. to remove single split files to get a smaller installation program?

It's not possible yet with this public release as your [SAP].apk file will be rebuilt automatically.
The feature you need is in my To Do list but I don't know when I will start to work on it.
In my own version I have an option to not build. May be I could make it there in a next release.

Thanks for your answer. I will gladly wait for the appropriate version.
May 31st, 2020, 12:51 pm
May 31st, 2020, 3:04 pm
KirIif this format of your topic cannot be accepted.
Please fix it and stay to template.
May 31st, 2020, 3:04 pm

Before make a new topic please:
- Read our Site Rules.
- Use Search Bar for avoid double posts.
- Support developers!
- Enjoy Mobilism!
...and remember: don't take life too seriously...
ImageImage
May 31st, 2020, 3:23 pm
Hey Jimking!
Please check my changes and tell me.
May 31st, 2020, 3:23 pm

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!
May 31st, 2020, 6:34 pm
Would it be possible to have an option like allow.mismatching.packages=true?
May 31st, 2020, 6:34 pm
May 31st, 2020, 6:46 pm
TheBigOne wrote:Would it be possible to have an option like allow.mismatching.packages=true?

It fact, it exists for a long time but for some reasons it is removed from the public releases.

What interest do you see in such an option?
May 31st, 2020, 6:46 pm

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!
May 31st, 2020, 8:54 pm
Very nice! Would you consider making this open source?
May 31st, 2020, 8:54 pm
May 31st, 2020, 10:47 pm
KirIif' wrote:
TheBigOne wrote:Would it be possible to have an option like allow.mismatching.packages=true?

It fact, it exists for a long time but for some reasons it is removed from the public releases.

What interest do you see in such an option?


Sometimes the resources with each new version don't change, and very often I have different resolutions which came packaged as apks from a previous version or got them from foreign markets. Also I might have more and different languages to add. As an example Raiplay from Italy.
May 31st, 2020, 10:47 pm
Jun 1st, 2020, 6:12 pm
KirIif' wrote:Hey Jimking!
Please check my changes and tell me.

KirIif' I edited some parts for you:
- Secondary images in the description after the main one, are not allowed so I replaced the links with the direct ones.
- Edited the download section removing the empty line between the commands and replacing the dots with bold.
Check and keep this form for your next release/s.

PM: Please fix the other topic too according this one
viewtopic.php?f=399&t=3669014&hilit=SAP+Split+APKs+Packer
Jun 1st, 2020, 6:12 pm

Before make a new topic please:
- Read our Site Rules.
- Use Search Bar for avoid double posts.
- Support developers!
- Enjoy Mobilism!
...and remember: don't take life too seriously...
ImageImage
Jun 1st, 2020, 7:22 pm
@Jimking,

KirIif' I edited some parts for you:
- Secondary images in the description after the main one, are not allowed so I replaced the links with the direct ones.
Sorry, I missed this info. Where is it?

- Edited the download section removing the empty line between the commands and replacing the dots with bold.
That's okay for the dots only. What commands are you talking about?

PM: Please fix the other topic too according this one
viewtopic.php?f=399&t=3669014&hilit=SAP+Split+APKs+Packer
Please check what I did because I'm really not sure.

Thanks.
Jun 1st, 2020, 7:22 pm

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!
Jun 1st, 2020, 7:42 pm
TheBigOne wrote:Sometimes the resources with each new version don't change, and very often I have different resolutions which came packaged as apks from a previous version or got them from foreign markets. Also I might have more and different languages to add. As an example Raiplay from Italy.

Sadly It works for sure with split packages that offer natives only.
About the others, even if the resources files are exactly the same, the resource table of the split packages that contain them may change with the version code. Working on such files can't give a proper result.
That's one of the reasons (the main) why this option is not available in this release.
Jun 1st, 2020, 7:42 pm

Image

Don't forget to thank and support the devs and their projects! If you like it, buy it!