2

I have found airplane mode apps where I can set a timer for when it comes on. However, I can't find anything that requires a password to turn it off. I need to set it up on my friend's phone for his son so that it forces the phone into airplane mode every night so his son goes to bed. I've tried various Parental control apps, and they suck. Also, it would be useful to have the option to manually turn the service off by sending an SMS from another phone.

Please, don't tell me that my friend needs to take away his son's phone at night. I agree. But it's not my kid so I can't do it myself.

0

You don't need a password for anything here, neither you've to worry much that the Airplane mode would get disabled by the kid. Of course, if the kid is smart then s/he would find a way to by-pass the restrictions imposed using the following solution.

For the solution, you need to use an automation app app like Tasker (paid but trial is available) or MacroDroid (free/Pro). I've demonstrated the solution using the latter because its free version does the job.

Note: Device needs to be rooted.

  1. We would create a macro which would make sure that if the kid disables Airplane mode by any means the Airplane mode would get turned on automatically as long as the time period remains true.

    1. Install and launch MacroDroid.
    2. Tap Add MacroAirplane Mode ChangedAirplane Mode DisabledOK.
    3. Under Add Actions, tap Airplane Mode On/OffAirplane Mode OnOK → (leave options unchecked) OK → proceed.
    4. Under Add Constraints, tap Time of Day → choose Start Time and Stop Time i.e. for the time period where you want Airplane mode to get enabled and remain active until another time is reached, such as 22:00 to 05:00 → OK → proceed.
    5. Name the macro as Persist Airplane ModeOK.

    Your macros would show up under Macros at the default page of app.

  2. Create a new macro to start the Airplane Mode for the time where you want the kid to sleep or go to bed:

    1. Tap Add MacroDay/Time Trigger → choose Days of the week and Time of Day, such as Saturday, 22:00 → OK.
    2. Under Add Actions, tap Airplane Mode On/OffAirplane Mode OnOK → (leave options unchecked) OK → proceed.
    3. Ignore Add Constraints and name the macro as Start Airplane Mode.
  3. The Airplane mode can be turned off easily after the device is rebooted and before MacroDroid is started from startup. MacroDroid wouldn't activate the Airplane mode automatically after reboot unless told to do so.

    To make sure that Airplane mode gets enabled automatically after reboot, make the following macro:

    1. Tap Add MacroDevice Boot.
    2. Under Add Actions, tap Airplane Mode On/OffAirplane Mode OnOK → (leave options unchecked) OK → proceed.
    3. Under Add Constraints, tap Time of Day → choose Start Time and Stop Time i.e. for the time period where you want Airplane mode to get enabled and remain active until another time is reached, such as 22:00 to 05:00 → OK → proceed.
    4. Name the macro as Activate On BootOK.
  4. Now, create a final macro which would disable the Airplane mode at a particular time:

    1. Tap Add MacroDay/Time Trigger → choose Days of the week and Time of Day, such as Saturday, 05:00 → OK.
    2. Under Add Actions, tap Airplane Mode On/OffAirplane Mode OffOK → (leave options unchecked) OK → proceed.
    3. Ignore Add Constraints and name the macro as Stop Airplane Mode.
  5. You also need to activate MacroDroid as Device Administrator so that it can't be force-stopped or uninstalled easily.

    • Go to Settings → Security → Device Administrators and choose MacroDroid in it.
    • Also, go to Settings → Apps → MacroDroid → uncheck Show notifications so that its icon and notification doesn't remain visible or persistent.

I've not tested the SMS feature in MacroDroid but I've no reason to believe that it wouldn't work. Give it a try.

  • The free version of MacroDroid limits to five macros. – Firelord Sep 12 '15 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.