Diagnose and Fix Random Android Reboots

11 min read Step‑by‑step guide to capture reboot logs with ADB, analyse common crash patterns, use Safe Mode and isolate offending apps to stop random Android restarts. September 27, 2026 10:00 How to Diagnose and Fix Random Android Reboots Using Logcat and Safe Mode

Before you start

Random reboots can be caused by a misbehaving app, a corrupted system cache, or a low‑level bug introduced by a recent update. The safest way to tackle the problem is to gather evidence first, then isolate the cause. Follow these preparations before you dive into the troubleshooting steps:

  • Charge the device to at least 50 % to avoid shutdowns during the process.
  • Back up important data (photos, messages, app data) using Google Backup or a manual copy to a PC.
  • Enable Developer Options – go to Settings > About phone > Build number and tap it seven times.
  • Turn on USB debugging – Settings > System > Developer options > USB debugging.
  • Install platform‑tools (ADB) on your computer.

All steps assume a Windows, macOS, or Linux PC with ADB in the system PATH.

Why Android might reboot randomly

Understanding the typical culprits helps you interpret the logs later. The most common reasons are:

  • Faulty third‑party app: A background service crashes the kernel or triggers a watchdog reset.
  • System cache corruption: Stale Dalvik/ART cache or residual files after an OTA update.
  • Incompatible firmware: Manufacturer‑specific bugs that appear after a security patch.
  • Hardware stress: Overheating or a failing battery can also trigger a watchdog reset, but the log will usually show a thermal event.

Step 1 – Capture the reboot log with ADB

  1. Connect the phone to the PC via USB. Verify the connection with adb devices. You should see your device listed as device.
  2. Open a command prompt (or terminal) and start a persistent log buffer that survives a reboot:
    adb logcat -b all -v threadtime -f /sdcard/reboot_log.txt
    This command writes every log entry to /sdcard/reboot_log.txt on the device.
  3. Leave the terminal open and trigger the reboot the way it normally happens (e.g., use the power button, wait for the spontaneous restart, or reproduce the condition that makes the device reboot).
  4. After the phone boots back up, pull the file to your computer:
    adb pull /sdcard/reboot_log.txt ./reboot_log.txt
  5. Open reboot_log.txt in any text editor. The last few hundred lines before the reboot timestamp are the most relevant.

Do not delete the log file on the phone before pulling it; the buffer is cleared on every reboot.

Step 2 – Analyse the log for common patterns

Logcat entries are timestamped, followed by the process ID, thread ID, log level, tag, and message. Look for these tell‑tale signs:

  • *** *** *** *** *** *** *** *** *** *** *** *** *** – a kernel panic marker.
  • Watchdog timeout – the system watchdog forced a reset because a core service stopped responding.
  • Repeated java.lang.RuntimeException from a specific package (e.g., com.example.badapp).
  • ANR in … (Application Not Responding) that occurs just before the timestamp of the reboot.

Example snippet:

04-12 14:23:45.123  1456  1456 W Watchdog: Watchdog timeout (5 seconds) for process com.example.badapp (pid 1456)

If you see a particular package repeatedly, that app is a prime suspect.

Step 3 – Verify the culprit in Safe Mode

Safe Mode boots Android with all third‑party apps disabled. If the device stays stable there, the problem is almost certainly an installed app.

  1. Press and hold the power button until the power menu appears.
  2. Long‑press the Power off option. On most devices a prompt will ask if you want to reboot into Safe Mode – confirm.
  3. The device will restart and display “Safe mode” in the corner of the screen.
  4. Use the phone normally for a while (or reproduce the condition that caused the reboot). If it no longer restarts, you have confirmed an app is at fault.

On some OEM skins (e.g., Samsung One UI) the path may be Power off > Safe mode after a long press.

Step 4 – Isolate and remove the offending app

When you have identified the suspect package from the log, follow these steps:

  1. Return to normal mode (restart the phone normally).
  2. Open Settings > Apps, locate the app, and tap Force stop.
  3. If you don’t need the app, tap Uninstall. If it’s a system app, you can only Disable it.
  4. Re‑enable the app only after a clean reboot and only if you’re sure it no longer causes a crash.

After removal, monitor the device for a few days. If reboots stop, the issue is resolved.

Step 5 – Clear the system cache partition

Even after removing the app, stale cache files can keep the system unstable. Clearing the cache partition does not erase personal data.

  1. Power off the device.
  2. Boot into recovery mode. The key combination varies:
    • Pixel: Power + Volume Down (hold Power, then press Volume Down).
    • Samsung: Power + Volume Up + Home (if a physical Home button exists).
    • Most others: Power + Volume Up.
  3. In the recovery menu, use the volume keys to navigate to Wipe cache partition and confirm with the power button.
  4. When the wipe finishes, select Reboot system now.

Step 6 – Update the OS and all apps

Manufacturers often release patches that fix watchdog bugs. Make sure you are on the latest stable build:

  1. Open Settings > System > Advanced > System update (or the OEM‑specific path).
  2. Install any available updates, then reboot.
  3. Open the Play Store, go to My apps & games > Updates, and update every app.

Keeping software current eliminates known incompatibilities.

Step 7 – Reset app preferences (optional)

If the reboot persists but you cannot locate a single offending app, resetting all app preferences can clear hidden permission or background‑process conflicts.

  1. Navigate to Settings > Apps > … (three‑dot menu) > Reset app preferences.
  2. Confirm the reset. This will re‑enable disabled apps, clear default app selections, and restore permission settings.
  3. Reboot and observe.

Step 8 – Factory reset as a last resort

If none of the above stops the random reboots, a clean slate may be required. This will erase all user data, so only proceed after a full backup.

  1. Open Settings > System > Reset options > Erase all data (factory reset).
  2. Read the warning, then tap Reset phone and confirm.
  3. The device will wipe and restart. Set it up as a new device (avoid restoring a backup that might re‑introduce the problematic app).

A factory reset removes everything on the internal storage. Ensure you have a current backup of photos, contacts, and any app data you cannot afford to lose.

Troubleshooting tips if Logcat didn’t capture the crash

  • Use a bug report: In Developer options enable Take bug report. Trigger a reboot, then pull the bug report from Settings > About phone > Bug report after the device is back up.
  • Enable persistent logging via adb shell setprop persist.logd.size 10M before reproducing the issue. This expands the circular log buffer.
  • Check the recovery log: After a reboot, boot into recovery and view recovery.log if the device provides it.

When hardware is the likely cause

If the logs show only generic watchdog messages without a specific app tag, and the device also gets hot or the battery drains unusually fast, consider hardware:

  • Test the battery with a third‑party app like AccuBattery to see if voltage drops sharply.
  • Remove any external accessories (OTG dongles, Bluetooth adapters) that might be drawing excess power.
  • If the problem persists, contact the manufacturer’s support or a service center.

Wrap‑up

Random Android reboots are frustrating, but with a systematic approach you can pinpoint the root cause. By capturing the log with ADB, analysing the output, testing in Safe Mode, and clearing the cache, most software‑related reboots are resolved without data loss. Only resort to a factory reset or hardware service when all software avenues have been exhausted.

User Comments (0)

Add Comment
We'll never share your email with anyone else.