GrapheneOS Auto Reboot: Why a Locked Phone Restarts Itself
The short version
- A phone that has been unlocked once since it booted keeps the keys to your data in memory, even while the screen is locked.
- After a reboot, those keys are gone until you type your PIN. Your data is back at rest.
- GrapheneOS reboots a locked phone automatically, 18 hours after it was locked by default, adjustable from 10 minutes to 72 hours.
- It protects the data on the phone. It does not hide the phone from the cellular network.
The Two Kinds of Locked
A locked screen looks the same whether you unlocked the phone ten minutes ago or never since you switched it on. Underneath, they are very different states.
| Before First Unlock | Unlocked since boot, now locked | |
|---|---|---|
| How you get there | Turn the phone on, or reboot it | Type your PIN once, then lock |
| Keys for your data | Not loaded | In memory |
| Your files and app data | Encrypted, at rest | Decryptable by the running system |
| Apps running | Very few | All of them, as normal |
| What an attacker needs | Your PIN, or to break the encryption | A flaw in software that is already running with your keys loaded |
Encryption only protects data whose key is not sitting in memory. A phone that has been unlocked once since boot is running with its keys loaded so that your apps can work in the background. That is convenient, and it is the state anyone holding a seized or stolen phone wants it to stay in: the hard part, the key, is already done.
A reboot throws the keys away. Until someone enters the PIN, the data is back to being ciphertext.
How GrapheneOS Auto Reboot Works
GrapheneOS “provides an auto-reboot feature which reboots locked devices after a set period of time to put data at rest.” The mechanics, from its feature page:
- “A countdown timer is started each time the device is locked, and the device will reboot if a successful unlock doesn't occur before the timer reaches zero.”
- “Unlocking any profile cancels the timer, not just the Owner profile.”
- “The timer is set to 18 hours by default, but can be set to values between 10 minutes and 72 hours, or turned off.”
- It “doesn't apply when the device is in ‘Before First Unlock’ state, meaning that it will not lead to the device continuously rebooting, as data is already at rest.”
In daily use you never notice it: you unlock your phone far more often than every 18 hours. It only fires when the phone sits locked and untouched, which is exactly the case it is built for: lost, confiscated, left in a bag or a hotel safe.
Not to be confused with the opt-in Automatic reboot under System update, which only lets the updater restart the phone after an update once it has been idle. Different feature, different purpose.
Choosing a Timer
18 hours, the default
Long enough that a phone on the nightstand overnight does not restart before you pick it up. Short enough that a phone taken from you is back at rest within a day. A sensible setting for most people.
Shorter, if the phone may be taken from you
Crossing a border, going to a protest, or any day where the phone might leave your hands: a timer of an hour or less means it is back at rest soon after it is out of reach. The cost is that you type your PIN after every long gap, and messages wait until you do.
Off, only with a reason
Turning it off is supported, but it gives up the protection completely. If the phone runs unattended for days, for example as a hotspot, consider a long timer instead.
The setting sits with the other security settings in Settings > Security & privacy.
What Goes With It
- USB-C port control. GrapheneOS defaults to “Charging-only when locked, which significantly reduces attack surface when the device is locked.” The setting is in Settings > Security > Exploit protection. Together with auto reboot, a locked phone exposes little through the port and soon returns to rest.
- Ending a profile session. Secondary profiles can be put back at rest without a reboot: ending a session from the user switcher purges that profile's keys from memory.
- Duress PIN. A second PIN that “will irreversibly wipe the device (along with any installed eSIMs)” when entered. A different tool for a different moment: auto reboot protects a phone you are not holding, the duress PIN one you are being made to unlock.
- A strong PIN. At rest, the data is only as safe as the PIN that unlocks it. A short PIN undoes much of the benefit.
What It Does Not Protect
Auto reboot protects the data stored on the phone. It does not change what leaves the phone.
- The cellular network still sees the phone. A rebooted phone reconnects to the network before anyone unlocks it, which is why calls can still ring. The modem identifies the line and the phone to the network either way. GrapheneOS's own advice is that airplane mode is the only way to stop the network tracking the device.
- Your accounts and backups. Anything already synced to a server is wherever the server is.
- A phone you unlock. If someone makes you enter the PIN, the data is no longer at rest.
The network side is set by the line, not the OS. A data eSIM bought with no account, no email and no ID means the phone the network keeps seeing is not tied to your name. More in what GrapheneOS can't fix.
A line with no name on it
Data eSIMs in 190+ countries. No account, no email, no ID. Installs with the built-in GrapheneOS SIM manager, no Google Play needed.
FAQ
Why does my GrapheneOS phone restart on its own?
That is the auto reboot feature. GrapheneOS starts a countdown each time the phone is locked and reboots it if nobody unlocks it before the timer runs out. The default is 18 hours. It exists to put your data back at rest.
Can I change or turn off the auto reboot timer?
Yes. GrapheneOS lets you set it anywhere between 10 minutes and 72 hours, or turn it off. Shorter is safer for a phone that might be taken from you. Turning it off gives up the protection entirely.
Will my phone keep rebooting over and over?
No. GrapheneOS says the feature does not apply in the Before First Unlock state, because data is already at rest. After one reboot, the phone waits for you.
Will I miss messages after an auto reboot?
Possibly, until you unlock. Before the first unlock your apps' data is still encrypted, so most apps cannot run and messages wait on the server. Calls on the cellular line can still ring, because the phone still connects to the network.
Does auto reboot hide my phone from the cellular network?
No. A rebooted phone reconnects to the network before you ever unlock it. Auto reboot protects the data on the device. Only airplane mode stops the network from seeing the phone.
Do iPhones and stock Android do this too?
Something similar. Security researchers found that iOS 18.1 restarts an iPhone after 72 hours locked; Apple has not documented it and there is no setting. Google announced a three-day restart for Android through a Google Play services update in 2025. GrapheneOS documents its feature, defaults to 18 hours and lets you pick the timer.
Sources
- GrapheneOS features: auto reboot, USB-C port control, duress PIN: grapheneos.org/features
- GrapheneOS usage guide (update settings, USB-C port setting): grapheneos.org/usage
- GrapheneOS FAQ (cellular tracking and airplane mode): grapheneos.org/faq
- iOS 18.1 inactivity reboot, as confirmed by researchers: TechCrunch
- Android three-day restart announced via Google Play services: GSMArena