2372 Commits
Author SHA1 Message Date
Connor Tumbleson a0ab1882d7 build: move to baksmali/smali 3.0.10 (#4245) 2026-10-11 15:30:20 +03:00
Igor Eisberg f25af7895c refactor: migrate to NIO and modernize (#4244) 2026-10-11 14:23:29 +03:00
dependabot[bot] 0a1c54f7db build(deps): bump gradle/actions from 6.3.0 to 6.4.0 (#4242)
Bumps [gradle/actions](https://github.com/gradle/actions) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v6.3.0...v6.4.0)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 15:17:53 +00:00
dependabot[bot] 15495feca9 build(deps): bump com.google.guava:guava from 33.7.1-jre to 33.7.2-jre (#4241)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.7.1-jre to 33.7.2-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-version: 33.7.2-jre
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 17:54:43 +03:00
dependabot[bot] 52d1cbd62b build(deps): bump org.xmlunit:xmlunit-legacy from 2.13.0 to 2.14.0 (#4237)
Bumps [org.xmlunit:xmlunit-legacy](https://github.com/xmlunit/xmlunit) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/xmlunit/xmlunit/releases)
- [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/xmlunit/xmlunit/compare/v2.13.0...v2.14.0)

---
updated-dependencies:
- dependency-name: org.xmlunit:xmlunit-legacy
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-28 06:37:16 -04:00
Igor Eisberg 51e58e93ff fix: serializing whitespace and quoting priority (#4236)
* fix: serializing whitespace and quoting priority

* generalize util function names
2026-09-26 09:39:19 -04:00
Igor Eisberg 57690eee61 fix: yaml edge case (#4232) 2026-09-21 16:55:45 -04:00
Igor Eisberg 076ccc600b fix: hotfix for yaml + extra (#4231) 2026-09-19 10:09:15 -04:00
Igor Eisberg 4f89d67762 chore: new yaml parser/serializer (#4229) 2026-09-18 06:40:08 -04:00
Igor Eisberg baa603f353 chore: change gradle dist to gradle-bin (#4226) 2026-09-04 10:18:48 -04:00
Igor Eisberg ef24fe230e fix: extend support for r/w feature flags (#4220) 2026-09-04 09:31:43 -04:00
Connor Tumbleson 0240c9c6eb feat: Upgrade aapt2 to latest AOSP (Android 17) sources (#4223)
* feat: Upgrade aapt2 to latest AOSP (Android 17) sources (mac)

* feat: Upgrade aapt2 to latest AOSP (Android 17) sources (linux/win)
2026-09-04 16:01:13 +03:00
Connor Tumbleson 17254568ad Android 17 (API 37) - Cinnamon Bun Support (#4214)
* fix: add enum support for API 37 (cinnamon bun)

* feat: support for API 37.0 (CINNAMON_BUN)

* docs: cleanup android17 note
2026-08-31 23:00:35 +00:00
dependabot[bot] 03fac36b71 build(deps): bump actions/setup-java from 5 to 6 (#4221)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5 to 6.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-31 06:43:23 -04:00
dependabot[bot] 6234db24de build(deps): bump com.google.guava:guava from 33.6.0-jre to 33.7.1-jre (#4216)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.6.0-jre to 33.7.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-version: 33.7.1-jre
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-24 07:01:19 -04:00
dependabot[bot] cfe68a49c7 build(deps): bump gradle-wrapper from 9.7.0 to 9.7.1 (#4215)
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 9.7.0 to 9.7.1.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](https://github.com/gradle/gradle/compare/v9.7.0...v9.7.1)

---
updated-dependencies:
- dependency-name: gradle-wrapper
  dependency-version: 9.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-24 06:15:56 -04:00
iMiKE (Borizzz from XDA)andIgor Eisberg 897747cff2 Fix crash encoding empty raw resource strings (#4209)
* Fix empty raw string encoding

* Apply suggestions from code review

Co-authored-by: Igor Eisberg <[email protected]>
2026-08-22 16:51:41 +03:00
dependabot[bot] 79b63384d7 build(deps): bump gradle-wrapper from 9.6.1 to 9.7.0 (#4207)
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 9.6.1 to 9.7.0.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](https://github.com/gradle/gradle/compare/v9.6.1...v9.7.0)

---
updated-dependencies:
- dependency-name: gradle-wrapper
  dependency-version: 9.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-10 21:05:30 -04:00
dependabot[bot] da1709a554 build(deps): bump gradle/actions from 6.2.0 to 6.3.0 (#4206)
Bumps [gradle/actions](https://github.com/gradle/actions) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v6.2.0...v6.3.0)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-10 19:48:52 -04:00
dependabot[bot] 0914392f20 build(deps): bump org.xmlunit:xmlunit-legacy from 2.12.0 to 2.13.0 (#4205)
Bumps [org.xmlunit:xmlunit-legacy](https://github.com/xmlunit/xmlunit) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/xmlunit/xmlunit/releases)
- [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/xmlunit/xmlunit/compare/v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: org.xmlunit:xmlunit-legacy
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-10 06:46:46 -04:00
Igor EisbergandiTrooz c0886b270e feat: allow outputting to empty folder without -f (#4201)
* feat: allow outputting to empty folder without -f

* improve readability

Co-authored-by: iTrooz <[email protected]>
2026-08-05 19:22:48 -04:00
4b1905ccf8 Harden smali folder name validation during build to prevent path traversal (#4182)
* Harden smali folder during build to prevent path traversal (issue #4181)

* Improve error message to include both directory name and derived path

* cleanup

* handle IOException normally

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: Connor Tumbleson <[email protected]>
Co-authored-by: IgorEisberg <[email protected]>
2026-08-02 06:37:57 -04:00
Connor Tumbleson 55cd8ebae8 fix: remove apktool-cli from maven publishing (#4191) 2026-08-01 15:22:58 +03:00
dependabot[bot]andConnor Tumbleson ce59a80aa0 build(deps): bump gradle-wrapper from 8.14.4 to 9.6.1 (#4155)
* build(deps): bump gradle-wrapper from 8.14.4 to 9.6.1

Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 8.14.4 to 9.6.1.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](https://github.com/gradle/gradle/compare/v8.14.4...v9.6.1)

---
updated-dependencies:
- dependency-name: gradle-wrapper
  dependency-version: 9.6.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: handle 9.6 deprecations

* chore: slim testListener

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Tumbleson <[email protected]>
2026-07-27 15:23:29 +03:00
4433d41587 build: move required build to JDK 17, support Java 8. (#4175)
* feat: move to v0.37.0

* chore: maven publish is jdk 17+

* wip

* build: test on Java 25 as well

* chore: fix feedback from Copilot

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

* build: log test JVM path and version in doFirst to confirm toolchain selection

* build: add test summary and failed/skipped event logging to all Test tasks

* Some cleanup

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IgorEisberg <[email protected]>
2026-07-24 06:22:19 -04:00
8261a526e0 fix: force UTF8 on yaml parsing during test suite (#4178)
* fix: force UTF8 on yaml parsing

* fix JavaCompile task

---------

Co-authored-by: Igor Eisberg <[email protected]>
Co-authored-by: IgorEisberg <[email protected]>
2026-07-22 06:07:02 -04:00
Igor Eisberg a9e5a3c10e chore: correct typos and clean yaml classes (#4177) 2026-07-20 20:05:19 -04:00
Connor Tumbleson 11211c51e4 build: start new dev cycle (3.1.0-SNAPSHOT) 2026-07-20 19:08:02 -04:00
Connor Tumbleson 18b5e99cb5 build: version 3.0.3 tagged v3.0.3 2026-07-19 12:39:38 -04:00
dependabot[bot] d6ab7c3a3f build(deps): bump actions/checkout from 6 to 7 (#4151)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 06:58:18 -04:00
dependabot[bot] 1c0861203f build(deps): bump gradle/actions from 6.1.0 to 6.2.0 (#4149)
Bumps [gradle/actions](https://github.com/gradle/actions) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-15 06:25:42 -04:00
dependabot[bot] 6aee86b59a build(deps): bump org.xmlunit:xmlunit-legacy from 2.11.0 to 2.12.0 (#4146)
Bumps [org.xmlunit:xmlunit-legacy](https://github.com/xmlunit/xmlunit) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/xmlunit/xmlunit/releases)
- [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/xmlunit/xmlunit/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: org.xmlunit:xmlunit-legacy
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-15 06:15:14 -04:00
Igor Eisberg b4a8719101 chore: convert tests to xpath (#4141) 2026-05-14 07:42:04 -04:00
Igor Eisberg bdaee542d3 fix: support empty value for zero flags (#4140) 2026-05-13 19:49:35 -04:00
Justin Stas 4c91962051 Fix "android:* not found" errors (#4137)
* fix: always resolve 0x7f namespaces as NS_AUTO

* feat: add issue3533 test and original apk
2026-05-13 01:19:57 +00:00
Tornike KhintibidzeandIgor Eisberg 8dd606105c Optimize ResStringPool (#4138)
* Optimize ResStringPool

* Rename NULL_MARKER to MALFORMED_MARKER

* Revert UTF-16LE decoding logic

* Inline PackedValue helpers

* Use Long literals

* Style fixes

Co-authored-by: Igor Eisberg <[email protected]>

---------

Co-authored-by: Igor Eisberg <[email protected]>
2026-05-08 20:41:01 +03:00
Igor Eisberg 02a9d202f3 chore: sanity check yaml + getters for ResConfig (#4135) 2026-04-29 09:14:51 -04:00
dependabot[bot] a36b021744 build(deps): bump com.google.guava:guava from 33.5.0-jre to 33.6.0-jre (#4131)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.5.0-jre to 33.6.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-version: 33.6.0-jre
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 06:23:44 -04:00
dependabot[bot] bbca9f514c build(deps): bump commons-io:commons-io from 2.21.0 to 2.22.0 (#4133)
Bumps commons-io:commons-io from 2.21.0 to 2.22.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-version: 2.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 06:15:47 -04:00
Connor Tumbleson 4bdaeff356 build: start new dev cycle (3.0.3-SNAPSHOT) 2026-04-19 08:01:29 -04:00
Connor Tumbleson 1c1d15b070 build: version 3.0.2 tagged v3.0.2 2026-04-19 07:00:02 -04:00
Igor Eisberg 9a66e5bbf2 fix: support apk as library for split apks (#4128) 2026-04-15 06:26:39 -04:00
Connor TumblesonandIgorEisberg e9ed34f198 Update aapt2 binaries. (#4119)
* chore: update win/linux aapt2 binaries

* add test for issue #4096

* chore: update mac aapt2 binaries

* chore: use 64bit iteration of aapt2 for mac

---------

Co-authored-by: IgorEisberg <[email protected]>
2026-04-13 22:17:41 +03:00
Igor EisbergandX1nto 7308212a92 Fix entry lookup performance in ResPackage (#4124)
* Use a custom Pair implementation with better hashCode generation

* Get rid of Apache common lang3

* Implementation changes

* tweaks

* tweaks

* tweaks

---------

Co-authored-by: X1nto <[email protected]>
2026-04-11 21:44:01 -04:00
CopilotandiBotPeaches 059e8b5c90 Fix build output jar naming to use underscores (apktool_*.jar) (#4120)
* Initial plan

* Fix build to produce apktool_*.jar (underscore) matching wrapper script expectations

Agent-Logs-Url: https://github.com/iBotPeaches/Apktool/sessions/28737485-afd4-427f-87d0-9eb8bc2381bf

Co-authored-by: iBotPeaches <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: iBotPeaches <[email protected]>
2026-04-09 10:22:48 -04:00
Igor Eisberg 2bb3833d95 chore: internalize buffering (#4117) 2026-04-08 06:45:11 -04:00
dependabot[bot] 5f3fc79b55 build(deps): bump com.android.tools:r8 from 9.0.32 to 9.1.31 (#4109)
Bumps com.android.tools:r8 from 9.0.32 to 9.1.31.

---
updated-dependencies:
- dependency-name: com.android.tools:r8
  dependency-version: 9.1.31
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-06 12:24:03 +00:00
Igor Eisberg fe7d600178 fix: slow binary XML decoding (#4116) 2026-04-06 08:17:53 -04:00
dependabot[bot]andConnor Tumbleson 84823ed932 build(deps): bump gradle/actions from 5.0.2 to 6.1.0 (#4114)
* build(deps): bump gradle/actions from 5.0.2 to 6.1.0

Bumps [gradle/actions](https://github.com/gradle/actions) from 5.0.2 to 6.1.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v5.0.2...v6.1.0)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: mit cache library for gradle usage

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Tumbleson <[email protected]>
2026-04-06 11:47:44 +00:00
Tornike Khintibidze 74614dd15f fix: slow resources.arsc decoding (#4115) 2026-04-06 14:25:11 +03:00