The operating system Android is famous for its flexibility, but sometimes even the most stable smartphone requires a reboot to reset accumulated errors and free up RAM. A manual reboot is a common action, however, in scenarios where the device is used as a kiosk, server, or in the presence of hardware glitches, automation of this process is required.

Automatic reboot allows the device to spontaneously turn off and on at a given time, which is especially useful for preventing system freezes without user intervention. Unfortunately, โ€œpureโ€ Android does not have a built-in โ€œReboot every dayโ€ button, so we will have to resort to third-party solutions or engineering methods.

In this article we will examine in detail three main methods: using specialized applications, using ADB commands for advanced users and setting up through the engineering menu. Each method has its own restrictions and requirements for the level of access (root access), which must be taken into account before setting up.

Why do you need to automatically reboot the device

The main reason why users are looking for a way to configure auto-reboot is to combat memory leaks. Applications running in the background sometimes release resources incorrectly, which over time leads to a slower interface and stuttering animations.

Regularly restarting the system clears the process cache and resets temporary files that could cause a conflict between services. This is especially true for low-cost smartphone models with small capacity RAM, where free memory is critical for performance.

โš ๏ธ Attention: Frequent automatic reboots (several times a day) can shorten the life of the deviceโ€™s flash memory due to intensive recording of system logs at each start.

Another area of application is remote administration. If your smartphone is used as a data collection terminal or media player on the sales floor, a scheduled reboot at night ensures that in the morning the device will work in a โ€œcleanโ€ state without frozen applications.

๐Ÿ“Š How often do you manually reboot your smartphone?
Daily
Once a week
Only when it freezes
I never reboot

Method No. 1: Using third-party applications (without Root)

The most accessible method for the average user is installing specialized software from Google Play. Such utilities use the built-in accessibility features or device administrator rights to emulate pressing the shutdown buttons.

One โ€‹โ€‹of the popular solutions is an application Auto Reboot or its analogues. The principle of their operation is simple: you set a schedule, and at the appointed time the app locks the screen, emulates a long press of the power button and confirms the reboot.

However, this method is not ideal. On modern versions Android 10, 11, 12 and higher the security system strictly limits the ability of third-party applications to manage power. You will have to grant the app advanced permissions.

  • ๐Ÿ“ฑ Requires granting rights Accessibility Service (Accessibility) in the settings.
  • ๐Ÿ”‹ The application must be excluded from battery optimization in order not to be "killed" by the system until the timer is triggered.
  • ๐Ÿ”“ On some shells (for example, MIUI or OneUI) it may be necessary to fix the application in memory.

The setup process usually takes no more than five minutes. After installation, you create a new profile, select the "Reboot" action and specify the time. It is important to check that the phone is not in silent mode if the application uses sound signals to confirm actions, although most modern utilities work visually.

๐Ÿ’ก

Before installing applications for auto-reboot, disable the Find My Device function, as it can block the smartphone from turning off without entering the Google account password.

Method No. 2: Setup via ADB (for advanced users)

A more reliable method that does not require installing โ€œjunkโ€ applications on the device itself is to use debugging via ADB (Android Debug Bridge). This method allows you to send commands directly to the system, but requires a computer.

The essence of the method is that the computer acts as a timer. You set up a task on your PC (via Windows Task Scheduler or cron on Linux/Mac) that sends a command to the phone at the right time.

adb shell reboot

This command instantly reboots the connected device. However, for this to work automatically, the phone must be constantly connected to the PC via USB or be on the same Wi-Fi network (when setting up adb connect).

For the wireless method, first connect the phone with a cable and enter the command to enter network debugging mode:

adb tcpip 5555

After that, disconnect the cable and connect via IP address: adb connect 192.168.1.XX:5555. Now into the scheduler tasks on the computer, you can add a script that will execute a reboot command on a schedule.

Parameter Value / Command Note
Debugging mode adb tcpip 5555 Only when connected USB
Wi-Fi connection adb connect IP:5555 IP must be static
Reboot command adb shell reboot Instant restart
Shutdown (without restart) adb shell reboot -p Complete power off

โš ๏ธ Attention: When using wireless ADB, make sure that your router does not change the IP address of the smartphone when reconnecting. Use address reservation (DHCP Reservation) in the router settings.

The main disadvantage of this approach is the dependence on the computer. If the PC is turned off or sleeping, the command. will not be sent. Therefore, this method is ideal for office scenarios where the desktop is on 24/7.

โ˜‘๏ธ Preparing to configure ADB

Done: 0 / 4

Method No. 3: Built-in functions and engineering menus

Some manufacturers build an automatic reboot function directly into the shell. This is the most stable option, since it works at the system kernel level. and does not require third-party software.

Owners of smartphones Xiaomi, Redmi and Poco can find this option in the settings menu. The path usually looks like this: Settings โ†’ About phone โ†’ Kernel version (multiple press opens the engineering menu) or through a hidden code in the "dialer".

However, a safer and more official way for MIUI: go to the "Security" application (green icon with a lightning bolt), then to the "Battery" section. In some firmware versions there is a "Scheduled tasks" item there. "Automatic on/off".

For devices Samsung the situation is similar. The function is called "Automatic reboot" and is located along the path Settings โ†’ Device maintenance. โ†’ AutomationHere you can set the time and days of the week.

Secret codes for the engineering menu

On some devices, entering the code ##7780## or ##3646633## in the phone application opens the engineering menu, where you can find the power settings. Be careful: changing unknown parameters may lead to inoperability. phone!

If you have a "clean" Android (for example, Pixel or Moto), such settings may not be available. In this case, you should check the section System โ†’ For developers. Sometimes there is an item "Enable automatic reboot", but it more often refers to rebooting after system updates, and not after. schedule.

๐Ÿ’ก

Built-in functions from the manufacturer always take precedence over third-party applications, since they consume less resources and guarantee the correct shutdown of all system processes.

Problems with access rights and blocking

When setting up automatic actions you will inevitably encounter protective mechanisms. AndroidThe system aggressively saves battery power by โ€œfreezingโ€ background processes, which prevents timers from working on time.

For the reboot application to work, it must be added to the list of power saving exceptions. Without this step, the system will kill the process a minute before the scheduled time, and the phone will remain locked. condition.

  • ๐Ÿ”‹ Go to Settings โ†’ Applications โ†’ [Your application] โ†’ Battery.
  • ๐Ÿšซ Select the "No restrictions" or "Do not optimize" mode.
  • ๐Ÿ”’ Allow autostart, if such an option is in the phone settings (relevant for Huawei, Honor, Xiaomi).

Another problem is the lock screen. If your phone has a complex pattern or a long password, the application may be unable to confirm the reboot action if it requires you to press the "OK" button on the confirmation screen.

โš ๏ธ Attention: On devices with data encryption, a full reboot may require you to enter a password at the first start to decrypt the data section. Make sure there are no people nearby at this time, or use a simplified unlocking method if it is safe to do so.

It is also worth considering that after a reboot, all applications will close. If you use your phone as a navigator in a taxi or a terminal, make sure that the desired app is in startup or has the โ€œResume on bootโ€ function.

Frequent errors and ways to solve them

Users often complain that the phone does not reboot at the specified time. The most common reason is that the phone is being used at the moment. Many applications cannot initiate a restart if the screen is active or a full-screen application (game, video) is running.

Another error is choosing the time when the phone is turned off. It is logical that a switched-off smartphone cannot turn itself on, unless the โ€œAuto-Power Onโ€ function is configured (which is not available in all models). Make sure that the interval between turning off and turning on is sufficient to completely de-energize the capacitors.

A situation may arise when the phone reboots in an endless loop (bootloop). This is rarely associated with setting up a schedule, but if you used scripts with errors or a modified Recovery, there is a risk.

To cancel the automatic reboot, simply delete the profile in the application or disable the task in the scheduler. If the phone is already in a reboot cycle, hold down the buttons Volume Down + Power for 10-15 seconds to force a stop.

What to do if the phone freezes after trying to reboot?

If the screen is black and reactions to There is no button, connect the phone to the charger and leave it for 30 minutes. Then try the key combination to enter Recovery Mode (usually Volume Up + Power) and select Wipe Cache Partition. This will not delete your data, but will clear the system cache.

FAQ: Questions and Answers

Is it safe to use auto-reboot apps?

Yes, if you download them from the official store Google Play with a high rating. Avoid applications that require suspicious permissions, such as access to contacts or SMS, as this is not necessary for a reboot.

Do you need root access to set up a schedule?

Not always. Modern applications use Accessibility services to emulate clicks, which works without Root. However, having superuser rights gives a 100% guarantee that the command will be executed at any time, ignoring system locks.

Are alarms reset during an automatic reboot?

On most modern smartphones, alarms are saved and go off even after a reboot, since a separate low-level chip is responsible for them. But it is better to check the settings of a specific alarm clock application.

Is it possible to set a reboot only on weekends?

Yes, almost all scheduler applications and built-in functions allow you to select the days of the week. You can configure the profile so that the phone reboots only on Saturday and Sunday nights.

Does frequent rebooting affect battery wear?

The reboot process itself consumes energy, but not significantly. Deep discharge has a much greater effect on wear. If the phone reboots with a charge of 10-20%, this may be more harmful than the fact of restarting the system.