Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bundle apk (apks & xapk) #39

Open
Surendrajat opened this issue Dec 7, 2020 · 6 comments
Open

Support bundle apk (apks & xapk) #39

Surendrajat opened this issue Dec 7, 2020 · 6 comments
Labels
feature New feature or request open-for-contribution

Comments

@Surendrajat
Copy link
Member

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
Support xapk and apks in APKLab.

Describe alternatives you've considered
Extract bundle and use single apk.

Additional context
none

@Surendrajat Surendrajat added the feature New feature or request label Dec 9, 2020
@shroudedcode
Copy link
Contributor

This might be helpful: https://github.com/shroudedcode/apk-mitm/blob/1cf310c5a8f94bf069aa061fb7995488988d7bff/src/patch-app-bundle.ts

@Surendrajat
Copy link
Member Author

Thanks. I got the idea while going through apk-mitm code :P

@satheshshiva
Copy link

@Surendrajat I use this bash script.

https://gist.github.com/satheshshiva/c894291c3c1f847e965c564f9fe85ca1

@Udhayarajan
Copy link
Contributor

Udhayarajan commented Apr 5, 2023

I have made a new methodology in which we have to place all apks from xapk(base.apk, split_config.arm64.apk etc)in same directory. While extracting base.apk we can choose, it has split config apks or not. It will create a new folder structure.

image

Let's say we have a xapk with 2 apps (base.apk, split_config.arm64.apk)

The structure follows:

.
├── ...
├── base                           (super folder/projectRootDir)
│   ├── base                       (base.apk's content)
│   ├── dist                       (apk from base/dist & split_config.arm64/dist will be moved here)
│   ├── split_config.arm64         (split_config.arm64.apk's content)
│   └── configs.yml                (similar to apktool.yml)
└── 

configs.yml contains details of split_config file(s) present with base.apk.

Place the same role as apktool.yml to build/install apks.

you can refer to the code from my branch multiapk-decode.

You can get vsix file for it from here

@fusebyte
Copy link

fusebyte commented Oct 3, 2023

Sorry but i can't figure out where do i find "has split-configs". Is this feature already included?

@Udhayarajan
Copy link
Contributor

Sorry but i can't figure out where do i find "has split-configs". Is this feature already included?

Nope, the feature is still under development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request open-for-contribution
Projects
None yet
Development

No branches or pull requests

5 participants