-
Notifications
You must be signed in to change notification settings - Fork 564
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
The Android client does not start #65
Comments
What is the result of:
? What if you |
|
I did not understand ( |
with adb is not installed. Installed manually. Perhaps that's why it does not start?
|
Sorry, I meant: what if you |
Probably the Chinese are paranoid. |
I think the reason is this |
is it possible to start the service from the phone? |
No. |
I have the same problem. I installed the APK manually by copying it over to the phone. It seems to be installed fine. This is the output of the dumpsys command: Shouldn't it be working this way too? When I run the START command the output is:
Does this mean it's running as it should? I still can't connect anywhere though. |
It should open a dialog asking permission for VPN. Did you try this command when the screen was on? |
Yes, with screen on. It never shows the VPN dialog, and it hasn't registered itself as a VPN in the Android settings either. Using the Java version on the computer btw, if that matters. |
Are there any relevant logs in the output of |
Seems this might be relevant:
|
Then see this issue. |
Thanks. I solved it through #40 by editing the APK file and removing the permission requirement. I did it this way because you cannot set elevated USB permissions on any new Xiaomi MIUI phone without requesting special permissions from Xiaomi. At least I was not able to do it on my phone. Works fine now :) Thanks for your help. |
@theprogrammer67 does it also solve your problem? |
I remove the android:permission="android.permission.WRITE_SECURE_SETTINGS" line from AndroidManifest.xml file. And now everything works on XIAOMI |
Happy New Year! )) |
I have removed the said permission. here's the apk for v2.3 for XIAOMI that I am using https://github.com/solokiran/hello-world/blob/master/gnirehtet2.apk |
For others who might stumble upon here, on XIOMI phones, I had similar problem. By using logcat, I was able to find out that I need to allow the app to autostart in Security Center, and then it worked perfectly :). Thank you @rom1v 👍 |
Thank you, worked on color os 5 too |
For Xiaomi devices you can enable |
The Android client does not start. No notifications on the phone screen
Android version - 6 and 7
Can I run it manually?
The text was updated successfully, but these errors were encountered: