Is it possible to boot up Android so flight mode is activated?

When I set airplane mode before rebooting or creating a nandroid backup the setting will stick.

Are there any files like init.d that are easy to modify where these kinds of boot options are stored?
Another alternative would be a modified Custom Recovery. But I haven't heard of one.

Use case:
Restore an old Nandroid Backup, but before the system fetches all the updates (messenger...) the user wants to restore certain app data so nothing gets lost.

That is only possible when in flight mode.

2 Answers 2


An indirect possibility would be using , which has the capability of performing actions "on device start" (amongst many others). So you could setup a profile that says: "on device start" → "set airplane mode on". Other apps like might have the same capability.

Note however that the action can of course only be executed as soon as the app (Tasker/ Llama) is started, so there might be a delay in which airplane mode is turned off (and a network connection available). If you need to safely rule that out: take out the SIM card, and delete the AP config for your WiFi. That way the device would still boot with airplane mode disabled – but had no chance to connect anywhere. Third option would be booting it while inside a Faraday cage (or a lead box) …

  • the idea isn't bad but not universal at all. you have to plan that plus have to live with the fact that EVERY reboot means flught mode. i'm looking for an 'emergancy' helper. something that works afterwards, you know? thank you. Commented Jun 3, 2015 at 18:52
  • 1
    Removing SIM works always. And in case of emergency, switch off the WiFi router. Alternatively: where do those data backups come from? In case of ADB: have you tried adb restore when in recovery mode? I haven't tried, so I can't tell if that would work.
    – Izzy
    Commented Jun 3, 2015 at 19:17
  • @Izzy: ADB only works in Android, the same way as fastboot only works in the bootloader.
    – user43185
    Commented Jun 4, 2015 at 7:06
  • 1
    @JoshHolland Not true, depends on your recovery. ADB does work in most custom recoveries (you can at least adb shell to them, and – sometimes after manual mounting – adb push and adb pull). I'm just not sure about adb backup and adb restore, as that involves the package manager as well which might not be available from recovery for some reason (especially with some partions possibly not mounted).
    – Izzy
    Commented Jun 4, 2015 at 10:04
  • @Izzy Ahh, hadn't tried with custom recovery.
    – user43185
    Commented Jun 4, 2015 at 18:28

Long press power button as normal. When animation starts press volume down and hold until safe mode is acknowledged.

Booting in safe mode enables airplane mode, if safe mode is unwanted simply reboot.

Tested on Android 12 on Nokia 3.4 and Android 13 on Fairphone 5.

You must log in to answer this question.

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