Skip to content

Conversation

@JingMatrix
Copy link
Owner

In Android 16 beta qpr2, the method performDexOptMode is removed. We now skip this method call when the method is not found to avoid daemon crash.

Once the source of AOSP is released publicly, we may start implementing a better solution.

@JingMatrix
Copy link
Owner Author

JingMatrix added a commit that referenced this pull request Nov 8, 2025
When upgrading to gradle 9 +, we remove several unused tasks for development to simplify the process.

Close #385, #441, #445, #448, #462 as merged.
JingMatrix added a commit that referenced this pull request Nov 8, 2025
When upgrading to gradle 9 +, we remove several unused tasks for development to simplify the process.

Close #385, #441, #445, #448, #462 as merged.
JingMatrix added a commit that referenced this pull request Nov 8, 2025
When upgrading to gradle 9 +, we remove several unused tasks for development to simplify the process.

Close #385, #441, #445, #448, #462 as merged.
@JingMatrix
Copy link
Owner Author

It seems impossible to the use stub API for dexopt via commit 863af35 .

We shall invoke shell command directly.

Starting with Android 14 (API level 34), the Android Runtime (ART) Service handles on-device Ahead-Of-Time (AOT) compilation, also known as `dexopt`.
As a result, in Android 16 beta qpr2, the method `performDexOptMode` is removed.

See https://source.android.com/docs/core/runtime/configure/package-manager for details.
@JingMatrix JingMatrix marked this pull request as ready for review November 8, 2025 14:58
@JingMatrix JingMatrix merged commit 31e1906 into master Nov 8, 2025
1 check passed
fatalcoder524 pushed a commit to fatalcoder524/ReLSPosed that referenced this pull request Nov 13, 2025
Starting with Android 14 (API level 34), the Android Runtime (ART) Service handles on-device Ahead-Of-Time (AOT) compilation, also known as `dexopt`.
As a result, in Android 16 beta qpr2, the method `performDexOptMode` is removed.

See https://source.android.com/docs/core/runtime/configure/package-manager for details.
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