farmerbb/SecondScreen

Not clear instructions how to grant permission

davidacampos opened this issue · 3 comments

This is an addition to the already closed #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.

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

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

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