PowerTunnel-Android icon indicating copy to clipboard operation
PowerTunnel-Android copied to clipboard

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

Open MicroBeast opened this issue 1 year ago • 4 comments

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.

MicroBeast avatar May 11 '23 15:05 MicroBeast

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

krlvm avatar May 11 '23 15:05 krlvm

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 avatar May 12 '23 16:05 krlvm

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.

MicroBeast avatar May 13 '23 12:05 MicroBeast