I am using a porn blocker to protect my kids. But I got to know that there is a workaround to that by rebooting into safe mode. I also tested it and I was able to access everything.

Now my paid subscription to blocker seems useless. I am also worried about the kids.

So is there any way I can block safe mode in my device?

Like editing build.prop file or making any other change and safe mode blocker.

  • You can set a password for the primary account and set-up a secondary account for your kids. AFAIR after a reboot the password is required by Android so every time they reboot the device they need to come to you. I am not 100% sure but I would assume that this also applies to safe mode.
    – Robert
    Jun 25, 2021 at 6:24
  • No, this method cannot solve my problem. As sometimes I have to give the smartphone to them for longer times. I am looking for a way to totally disable this functionality. Jun 25, 2021 at 6:32
  • Do you have root access? You can write a Magisk module that sets persist.sys.safemode property to 0 before Android framework is loaded. Otherwise, you can't disable safe mode. Android doesn't offer a way out. Also, build.prop files cannot be changed without root access, so you should mention whether you have root access or not if you are thinking about solutions which depend upon root.
    – Firelord
    Jun 25, 2021 at 9:59
  • @ I don't have root access. Can you offer any other solution? Jun 25, 2021 at 10:00
  • Another solution is to disable Play Store, package installer app, and stock browser apps that came with the phone. Even if your kid manages to boot into safe mode, they need access to a market app to install apps, or package installer to sideload apps, or stock browser to download apk files. As such, the two ways an app can still be installed in a fully patched device is via adb. There is no solution for app installation through adb though.
    – Firelord
    Jun 25, 2021 at 10:05

1 Answer 1


When supervised with Google's own Family Link, safe mode option becomes disabled.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .