Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerTunnel v2.6 ~ 2.6.3 Force Close on Redmi 4A #147

Open
MicroBeast opened this issue May 11, 2023 · 4 comments
Open

PowerTunnel v2.6 ~ 2.6.3 Force Close on Redmi 4A #147

MicroBeast opened this issue May 11, 2023 · 4 comments
Labels
crash Application crashes not a bug It isn't a bug or isn't our bug.

Comments

@MicroBeast
Copy link

PowerTunnel:
v2.6 ~ 2.6.3

Devices:
Redmi 4A, Android 7.1.2, arm64

Issues:
Set up DNS with any true DNS/DoH (including from dropdown menu) will force close PowerTunnel.

PowerTunnel v1.9.1 up to v2.5 doesn't crash.

@krlvm
Copy link
Owner

krlvm commented May 11, 2023

Please, provide logs - they can be extracted using built-in functionality or with ADB

@MicroBeast
Copy link
Author

@krlvm
Copy link
Owner

krlvm commented May 12, 2023

Seems like a problem with firmware - the crash occurs during plugin loading - it is done with reflection:

W ReflectionUtils: 
W ReflectionUtils: java.lang.NoSuchMethodException: android.os.MessageQueue#enableMonitor()#bestmatch
W ReflectionUtils: 	at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:338)
W ReflectionUtils: 	at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:375)
W ReflectionUtils: 	at miui.util.ReflectionUtils.callMethod(ReflectionUtils.java:800)
W ReflectionUtils: 	at miui.util.ReflectionUtils.tryCallMethod(ReflectionUtils.java:818)
W ReflectionUtils: 	at android.os.BaseLooper.enableMonitor(BaseLooper.java:47)
W ReflectionUtils: 	at android.os.Looper.prepareMainLooper(Looper.java:112)
W ReflectionUtils: 	at android.app.ActivityThread.main(ActivityThread.java:6221)
W ReflectionUtils: 	at java.lang.reflect.Method.invoke(Native Method)
W ReflectionUtils: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)
W ReflectionUtils: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)

I works with MIUI on Android >= 9 at least though.

You can use the latest stable version released before plugin system introduction.

@krlvm krlvm added not a bug It isn't a bug or isn't our bug. crash Application crashes labels May 12, 2023
@MicroBeast
Copy link
Author

Yes, I'm using v1.9.1 on that device. As I also mentioned on OP, the last version that is not instantly force closed is v2.5.

No hurry, I was just reporting. I just still run my old devices as long they still work.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Application crashes not a bug It isn't a bug or isn't our bug.
Projects
None yet
Development

No branches or pull requests

2 participants