Skip to content

Disable dex obfuscation for debug builds#670

Merged
JingMatrix merged 1 commit intomasterfrom
dex
Apr 21, 2026
Merged

Disable dex obfuscation for debug builds#670
JingMatrix merged 1 commit intomasterfrom
dex

Conversation

@JingMatrix
Copy link
Copy Markdown
Owner

Modules such as io.github.mhmrdd.libxposed.ps.passit PlayStrong call methods with libxposed API signatures via JNI during its initialization, which is bounded to fail if dex obfuscation is always enabled.

Vector has removed the user configuration of Xposed API Protection (toggling the dex obfuscation option) during its daemon refactoring in #597, for the reason that this option is too technical for most users.

Ideally, module developers should extend their module compatibility with dex obfuscation mode, by for example, inheriting Xposed APIs. In any case, we now disable dex obfuscation for debug builds, so that Vector users could test out these modules.

P.S.: strong integrity is obtained on my local test with community shared RKA token.

Modules such as `io.github.mhmrdd.libxposed.ps.passit` [PlayStrong](https://t.me/meetstrong/125) call methods with `libxposed` API signatures via JNI during its initialization, which is bounded to fail if dex obfuscation is always enabled.

Vector has removed the user configuration of `Xposed API Protection` (toggling the dex obfuscation option) during its daemon refactoring in #597, for the reason that this option is too technical for most users.
Ideally, module developers should extend their module compatibility with dex obfuscation mode, by for example, inheriting Xposed APIs.

In any case, we now disable dex obfuscation for debug builds, so that Vector users could test out these modules.
P.S.: strong integrity is obtained on my local test with community shared RKA token.
@JingMatrix JingMatrix merged commit b71c33d into master Apr 21, 2026
1 check passed
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.

2 participants