feat: Support patching APKM bundles#40
Conversation
|
Will review and try this out very soon. And thanks for helping figure all this out 👍 |
|
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 |
# Conflicts: # gradle/libs.versions.toml
# Conflicts: # gradle/libs.versions.toml
This comment was marked as resolved.
This comment was marked as resolved.
|
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. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Will merge this tomorrow if there's no additional reviews or new discussion. |
Lets gooooo! |
# [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))
|
Can we patch YouTube apkm ?? |
|
YouTube apkm isn't appropriate to patch because most YT apkm releases are region specific and are missing many localized resources. |
# [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))
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.