-
Notifications
You must be signed in to change notification settings - Fork 596
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
Error: Requires permission android.permission.WRITE_SECURE_SETTINGS #5
Comments
Arf, it seems that your This requirement (a bit hacky) had been introduced by commit e7b8407 (the commit message provides some details). Does anyone have an idea to get the same "restriction" without the |
Have same issue with Xiaomi Redmi 3S Prime MIUI8 Android 6.0.1 When I try |
@CoderBuck @yashrajtalan Could you give the permissions of your Android shell, please? First, locate
Then pull it:
Finally, print its permissions:
( Maybe we could find a better permission which works also for your devices ;-) |
|
I am not familiar with this ;-0 |
@CoderBuck It seems you are using git bash on Windows: http://stackoverflow.com/questions/16344985/how-do-i-pass-an-absolute-path-to-the-adb-command-via-git-bash-for-windows Try with EDIT: or:
|
thanks ;-)
|
OK so it declares using Could you give the result of the following commands, please:
EDIT: in fact, these commands will not help. |
Ok.
|
To summarize:
One possibility is that |
Could you replace If it works, it suggests that the problem is related to |
error
|
So you have a shell with no permissions… Can you find a permission listed from |
What about:
? |
The result of this command may also be interesting:
|
@CoderBuck @yashrajtalan Could you please give the result of:
And also try these commands. Thank you :) |
The issue seems to be resolved by heading over to Developer Options on MIUI, and enabling the following: The first was already enabled, and I installed the apk file manually so I didn't need the second option. I'm guessing the issue can be pinned down to the last option, which allows granting the necessary permissions. @CoderBuck please confirm. Thank you @rom1v for this amazing app. This is a worthy free replacement for ReverseTethering NoRoot. |
@rom1v @yashrajtalan Sorry to replay late! @yashrajtalan you are right! thanks a lot! |
Great, thank you 👍 So I close the issue. |
@yashrajtalan Your procedure requires MI account in Xiaomi Redmi phones. You just remove |
@yashrajtalan, |
See #302 (comment) |
On my OnePlus Nord 2T 5G (Android 12, OxygenOS 12.1), I also had to tick P.S.: apologies for reviving this old issue. |
I had the same problem on OnePlus 8t, and the solution was to go to the Developer Settings on the phone and enable: |
turning on the install via usb option requires an internet connection and currently am unable to do that. Is there a way to do this without having to connect to the internet. Note: the option is turned on in the screenshot but it automatically switches off after a couple of seconds.. |
The same solution worked for Oppo. |
Also works on OnePlus Nord |
This solution worked for me. Thanks. |
This:
does not work on my device (RMX3241) a realme 8 (ColorOS) |
may be "Disable permission monitoring"? translated with google. you can find it next of "ShortcutManager" |
Any change to add this to the readme? It seems like a common issue with Xiaomi devices and would save a lot of people digging this information. Thanks for the solution by the way. |
XiaoMi4 Android 6.0 MIUI8
[Edit by @rom1v] Solution: #302 (comment)
The text was updated successfully, but these errors were encountered: