Home » Software » How To Bypass Security Screen Recording Prompt On Android. – Anydesk – TeamViewer

How To Bypass Security Screen Recording Prompt On Android. – Anydesk – TeamViewer

  1. Install adb on windows.
  2. Install AnyDesk on Android and required plugin for the device. In this case ad1.

Check for installed packages by opening cmd on windows and issuing the command:

adb shell pm list packages | findstr anydesk

If the correct adb packages are installed on the android device then this should return these confirming prompts:

package:com.anydesk.adcontrol.ad1
package:com.anydesk.anydeskandroid

If the above two returns as results adb is installed. Proceed:

adb shell appops set com.anydesk.anydeskandroid PROJECT_MEDIA allow
adb shell appops set com.anydesk.adcontrol.ad1 PROJECT_MEDIA allow

If no error messages are present then changes supposed to be successfull.

check for packages:

adb shell appops get com.anydesk.anydeskandroid PROJECT_MEDIA

if everything was correctly installed then the confirming prompt should be something similar:

PROJECT_MEDIA: allow; time=+4m37s333ms ago; rejectTime=+10m24s735ms ago

https://support.anydesk.com/docs/anydesk-for-android

Teamviewer

  1. Install adb on windows.
  2. Install TeamViewer host on the android device and required plugins.

Open cmd on windows and issuing the command:

adb shell appops set com.teamviewer.host.market PROJECT_MEDIA allow

Disable drag down menu

To disable the quick settings/notification pull-down menu via ADB

adb shell cmd statusbar send-disable-flag statusbar-expansion

Re-enable Swipe Down:

adb shell cmd statusbar send-disable-flag none

Unfortunately, this only works until next reboot so basically useless.

Parental Control Kroha has a built in feature that automatically closes the statusbar when dragged down. It’s not a foolproof method as the quick settings buttons can be manipulated but it’s better than nothing.

To block settings or any other app:

App lock pro:

https://play.google.com/store/apps/details?id=com.ibragunduz.applockpro&pcampaignid=web_share