Is there any way to make it work with Magisk Delta + Zygisk Next module?
directentis1 opened this issue · comments
I'm using ChromeXt (latest) on LSPosed 1.9.2, using Zygisk Next instead of Magisk Zygisk, and using Magisk Delta Canary as root solution.
But it seems, ChromeXt is not working, I don't notice any changes when opening Google Chrome.
However, I have found an alternative way (workaround) to patch Chrome's apk file according to your instructions, overinstalling Chrome system using LSPosed's Core patch Module (helps overinstall files with different original signatures).
But this method is really inconvenient because Chrome is often updated continuously,... and the Root + LSPosed based method will be more convenient, in the long run, and not only Google Chrome but most Chromium-based, like you instructed.
Can you show me how to debug?
Maybe Magisk Delta + Zygisk Next implemented something else (to hide the root more effectively) so it caused some LSPosed Modules, like ChromeXt, to not work (though others still work fine?)
As you have seen, the problem is more related to LSPosed or your root solution. In the ChromeXt part, I didn't make use of any features bounded to some specific implements of LSPosed or Magisk.
For you to debug, you may try
- Install the debug version of ChromeXt: ChromeXt-debug.zip
- Check logs from the LSPosed manager
- Use
adb logcat -s ChromeXt AndroidRunTime LSPosed
for more logs
You can paste your logs under this issue, I might be able to help with it.
@JingMatrix Here is my logs:
chromext-debug-adb.log
LSPosed_2023-11-02T01_29_39.138.zip
Thank you in advance!
The logs were not helpful, where only relevent info is:
11-02 01:30:35.233 5542 5542 I ChromeXt: Package: com.android.chrome, v118.0.5993.112
11-02 01:30:35.508 5542 5857 D LSPosed : LoadedApk#<init> starts: pkg=com.android.chrome, prc=com.android.chrome
11-02 01:30:35.509 5542 5857 D LSPosed : LoadedApk#<init> ends: /data/app/com.google.android.gms-BFpAIR9SZPCtRIDklU292Q==/base.apk: pkg=com.android.chrome, prc=com.android.chrome
11-02 01:30:39.987 6156 6156 D LSPosed : deoptimizing public android.app.Application android.app.Instrumentation.newApplication(java.lang.ClassLoader,java.lang.String,android.content.Context) throws java.lang.InstantiationException,java.lang.IllegalAccessException,java.lang.ClassNotFoundException: pkg=com.android.chrome, prc=com.android.chrome:privileged_process0
11-02 01:30:39.989 6156 6156 D LSPosed : deoptimizing public java.io.File android.app.ContextImpl.getSharedPreferencesPath(java.lang.String): pkg=com.android.chrome, prc=com.android.chrome:privileged_process0
11-02 01:30:39.989 6156 6156 D LSPosed : startBootstrapHook starts: isSystem = false
11-02 01:30:46.734 6927 6927 D LSPosed : deoptimizing public android.app.Application android.app.Instrumentation.newApplication(java.lang.ClassLoader,java.lang.String,android.content.Context) throws java.lang.InstantiationException,java.lang.IllegalAccessException,java.lang.ClassNotFoundException: pkg=com.google.android.webview, prc=com.google.android.webview:webview_service
Please disable all other modules, and try also other browsers such as edge
. Make sure that LSPosed is only used for ChromeXt
, and only the browser app is toggled on.
Hmm, seems like it's worked when I turnoff all another lsposed modules.
LSPosed_2023-11-02T02_08_56.860.zip
![](https://private-user-images.githubusercontent.com/128832114/279777356-a54e9ee1-3ca7-48c3-8ce4-9a9ffa25afce.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MDIxODAsIm5iZiI6MTcyNDYwMTg4MCwicGF0aCI6Ii8xMjg4MzIxMTQvMjc5Nzc3MzU2LWE1NGU5ZWUxLTNjYTctNDhjMy04Y2U0LTlhOWZmYTI1YWZjZS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNVQxNjA0NDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NTgxZWY3YWJmMWRhNmI1OGYzM2FmY2M3YzNjMmNhMzIzZDdhZGJhNDA4MzNmMjViOTY3NjhhZmE0M2E4MWQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.QhuqU7YVAPJHEixUEr69Jm4z16ZPmVWJJTbfumfpC_o)
Congrat! I close this issue now.
If you find out which modules are blocking the funtionality of ChromeXt, you may continue to share your discovery here!
Brave also working, I just tested it.
Thanks, maybe I'll need some trial-and-errors to find the problem ;)
I accidentally enabled https://github.com/5ec1cff/StethoX a while ago on some apps, and it caused a conflict with Chromext.
FYI.