Skip to content

Comments

feat: Support patching APKM bundles#40

Merged
LisoUseInAIKyrios merged 10 commits intoMorpheApp:devfrom
prateek-who:main
Feb 7, 2026
Merged

feat: Support patching APKM bundles#40
LisoUseInAIKyrios merged 10 commits intoMorpheApp:devfrom
prateek-who:main

Conversation

@prateek-who
Copy link
Contributor

Ok, I managed to just use APKEditor's merger class and their version of ARSCLib for our merging. It's that combo of theirs that seems to work. Tried to copy a bunch of their stuff and have the entire extraction and merging code in our CLI itself but kept failing at installing the apk. They seem to be doing something that I can't seem to replicate. So, just stuck with using their parts. However, we are not using their CLI, so no need to worry about console outputs. Please take a look and see if this looks good to you. Also, try the fitness app. That app seems to crash on my phone so couldn't get it to run after installation.

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title New split apk merging (please change this name, thank you) feat: Support APKM Feb 1, 2026
@LisoUseInAIKyrios
Copy link
Contributor

Will review and try this out very soon.

And thanks for helping figure all this out 👍

@prateek-who
Copy link
Contributor Author

Thank you to you too for the quick replies and helping me with stuff. Will try to lean out and entirely remove the dependency eventually. For now will try to see how I can integrate the GUI with the CLI so that both can work hand-in-hand

@LisoUseInAIKyrios

This comment was marked as resolved.

@LisoUseInAIKyrios
Copy link
Contributor

APKEditor is printing it's progress to the console, but I think that might be the right approach because if anything goes wrong during merging the console will show everything that happened with APKEditor.

@prateek-who

This comment was marked as resolved.

@LisoUseInAIKyrios

This comment was marked as resolved.

@prateek-who

This comment was marked as resolved.

@LisoUseInAIKyrios
Copy link
Contributor

Will merge this tomorrow if there's no additional reviews or new discussion.

@prateek-who
Copy link
Contributor Author

prateek-who commented Feb 6, 2026

Will merge this tomorrow if there's no additional reviews or new discussion.

Lets gooooo!

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat: Support APKM feat: Support patching APKM bundles Feb 7, 2026
@LisoUseInAIKyrios LisoUseInAIKyrios merged commit bfe43d0 into MorpheApp:dev Feb 7, 2026
2 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 7, 2026
# [1.4.0-dev.1](v1.3.0...v1.4.0-dev.1) (2026-02-07)

### Features

* Support patching APKM bundles ([#40](#40)) ([bfe43d0](bfe43d0))
@gigachaand
Copy link

Can we patch YouTube apkm ??

@LisoUseInAIKyrios
Copy link
Contributor

YouTube apkm isn't appropriate to patch because most YT apkm releases are region specific and are missing many localized resources.

github-actions bot pushed a commit that referenced this pull request Feb 21, 2026
# [1.4.0](v1.3.0...v1.4.0) (2026-02-21)

### Bug Fixes

* Allow enabling/disabling patches using case insensitive patch names ([#48](#48)) ([03a280a](03a280a))
* Do not log patch name more than once if disabled ([#49](#49)) ([b980bb8](b980bb8))

### Features

* Add `--continue-on-error` argument, return non zero exit code if patching fails ([#47](#47)) ([255646b](255646b))
* Add `--options-file` json patch/option configuration ([#53](#53)) ([44943da](44943da))
* Add `--striplibs` argument to strip unwanted architectures ([#46](#46)) ([7442d94](7442d94))
* Support patching APKM bundles ([#40](#40)) ([bfe43d0](bfe43d0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants