Open cinit opened 8 months ago
the blocklauncher does not work not only on android 13, but on all its versions above the eighth for a variety of different problems, and obviously no one is going to fix it. if you need scripting functionality so much, then it's easier to write your own launcher from scratch using a relay system and android capabilities.
Blocklauncher is very outdated and it is not possible to use it now
Frankly, I'm not going to run Minecraft or load scripts. I'm just looking for an approach about dynamically switching ABI in my own app, and that is not much related with Minecraft. The only implementation I have ever seen is MCPELauncher and sadly the method it uses doesn't work on Android 13. I hadn't ever seen any other applications being able to archive this.
For your information, this is a bug fix for CVE-2023-21089. This bug fix may be backported to Android 11 and 12 so that older versions may be also affected.
ABI override with
IActivityManager.startInstrumentation(..., abiOverride = ...)
will no longer work since Android 13 because of the following check in ActivityManagerService.java.Attempts to call startInstrumentation will fail with the following exception.
This disables any attempt to run Instrumentation without a shell/system/root uid on a production device.
Any possible solutions/alternative for that?