Doesn't work with MIUI12
See original GitHub issueHii there,
I’m trying to use this with MIUI12 (since I also use scrcpy I might as well right?), however, I can’t seem to get it to work (even after trying some things found in #5). The main issue is that I have very little information to go off:
Finlay@DESKTOP-UE7732P MINGW64 /j/Toolkit/srcrpy/bin/gnirehtet
$ ADB=../scrcpy/adb.exe ./gnirehtet.exe run
2021-03-21 21:47:42.966 INFO Main: Starting relay server on port 31416...
2021-03-21 21:47:42.966 INFO Main: Checking gnirehtet client...
2021-03-21 21:47:42.979 INFO Relay: Relay server started
2021-03-21 21:47:43.101 INFO Main: Starting client...
Starting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetActivity }
And it just sticks there, indefinitely.
No VPN pop-up, no permission errors, nothing.
I do have the USB debugging (Security settings)
enabled (since I also use scrcpy
, which also needs this).
So I wonder what there is that I can do now :\
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
10 Common MIUI 12.5 Problems & Their Solutions On Xiaomi
5. Google Assistant Does Not Work With Dark Mode. Google Assistant or Google Assistant has presented several problems on Xiaomi phones when the ......
Read more >MIUI 12.5 update bugs & issues tracker: Here's the current status
Xiaomi is rolling out the global MIUI 12.5 update to various devices and here, we keep track of all the bugs that have...
Read more >how to fix lag in xiaomi | fix miui 12 lag - YouTube
how to fix lag in redmi | how to fix miui 12 lag | fix ui lagging in xiaomi ... Fix Lag Issue...
Read more >Top MIUI 12 Bugs / Problems, And Why Xiaomi Won't Fix Them?
Can't Switch On / Off Mobile · Notification Panel Displaying Black Text · Random Reboots · Too Much Battery Consumption · Poor Sound...
Read more >MIUI 12 - Google Apps Problem | XDA Forums
After several hours of trying all the fixes mentioned here and elsewhere this si what worked for me. Delete everything Google. Redownload the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve found some more time to do some more digging. So I ran gnirehtet and used logcat to find the logs (this time, I managed to filter it by just the gnirehtet, which made it a lot easier).
Running gnirehtet
Logcat output
My thought flow
In the logcat, there were 2 specific lines that caught my interest (not because I know what I was looking at, but because I put an association in my head):
So the first line, indicated to me that it wanted to close a VPN (I don’t know what it actually does, but this was that came to my mind).
The second one told me it did try to request authorization (which never popped up).
This meant nothing to me really and only raised more questions.
A few moments later, I got a bunch of notifications from a variety of apps.
So I scrolled down to the “dismiss all” button and tapped it… It was at this moment that I noticed a very particular message stuck in my notifications:
“That surely can’t be… Can it?” So I went to the Android VPN settings for my OpenVPN, disabled “Always-on VPN”… Tried running Gnirehtet again and… “Crap… that actually worked…”
So in the end, it was all caused by the “Always-on VPN” setting that I use for when I’m out and about. This setting appears to conflict with Gnirehtet even when I’m not connected to the VPN. So for those coming by this issue later: Check if you have this setting on as well, and if so, disable it.
I used the modified release Casper send me (though I still had this on disk from when I opened this issue).