farmerbb / SecondScreen

Better screen mirroring for Android devices
Apache License 2.0
304 stars 55 forks source link

Not clear instructions how to grant permission #101

Open davidacampos opened 1 year ago

davidacampos commented 1 year ago

This is an addition to the already closed https://github.com/farmerbb/SecondScreen/issues/44

With newer versions and/or variants, might be a good idea to mention that if the adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS fails with a message about the current user not having permissions to grant, that they might need to enable/disable another flag within the Developer Options section.

In the case of OnePlus phones it's called "Disable permission monitoring" but other brands might use other wording.

Rogerioi262 commented 6 months ago

pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS

erick775 commented 5 months ago

adb shell pm grant com.farmerbb.secondscreen.free android.permission.WRITE_SECURE_SETTINGS