Home > TWRP

Fix TWRP No OS Installed Are you sure you wish to reboot?

In this guide, we will show you how to fix the issue when TWRP says: No OS Installed Are you sure you wish to reboot. When it comes to custom recovery, there’s not much to choose from, as Team Win Recovery Project has firmly established itself as the go-to choice. While there are a few other noteworthy names such as the Orange Fox Recovery Project, but they are based on TWRP itself. With that said, there are a few errors and issues that you might occasionally go through.

And the aforementioned error message is one of the most frightening ones for the end-users. Well, when a device states that it doesn’t have any operating system to boot from, what else could go wrong! Fortunately, the fix for the same is quite easy to execute. And in this guide, we will make you aware of just that. So without further ado, let’s get on with the guide to fix TWRP No OS Installed Are you sure you wish to reboot issue.



TWRP No OS Installed Are you sure you wish to reboot: What does it mean

fix TWRP No OS Installed Are you sure you wish to reboot

So let’s try and understand the root cause of this issue. This happens when a user ends up formatting the system partition of their device. But why would anyone do so? Well, it is needed when you are installing an altogether different Custom ROM. So apart from Dalvik, Cache, and Data, you also need to wipe the System partition so that the new system image could make its way.

However, after the wipe, sometimes users find out that they haven’t transferred the ROM to be flashed to their device. Other times, it comes out the data partition has been encrypted and users aren’t able to identify the file that they need to flash. Likewise, sometimes TWRP might also show the unable to mount data error. All these lead to the inability of the user to flash a new OS.

If at this stage, they try to boot their device to the OS, TWRP will warn them that there’s no operating system installed. Even if you proceed to boot, your device will either stuck in a bootloop, come back to TWRP Recovery or go directly to the Fastboot Mode. So this might have given you a perfect idea as to why this error happens in the first place. Let’s check out the various methods to fix TWRP No OS Installed Are you sure you wish to reboot issue.

How to Fix TWRP No OS Installed Are you sure you wish to reboot

Here are three different workarounds that are known to fix this issue. Make sure to try out each one of them until you achieve success. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

Fix 1: Switch to Active Slot

Most Android devices come with two partitions, one is the active one whereas the other is the inactive one. As far as flashing is concerned, you either have to flash the system.img to both the slots, or to the active one and a dummy system image file to the inactive one. However, if the slot to which you are currently booted does not have the system.img file installed, TWRP would straightaway show the No OS message. So how to fix this issue?

change slot twrp fix no os installed

  1. To begin with, head over to the Reboot section of TWRP.
  2. There you should see the Current Slot at the bottom of the screen.
  3. If it says A, then tap on the Slot B button (and vice versa).
  4. While the slot has been changed, but it hasn’t been put into practice. For that, you will have to reboot your device to TWRP.
  5. So go to Reboot and select Recovery.
  6. Once your device reboots to TWRP, the slot would have changed successfully. Now go to Reboot and select System.

If it doesn’t show any error message, then the issue has been rectified. On the other hand, if you are still getting the No OS Installed Are you sure you wish to reboot message, then move over to the below fixes.

Fix 2: Restore Nandroid Backup

Well, if you have a Nandroid Backup, then you shouldn’t look any further. This is a backup of all the partitions on your device and is the best way out to bring your device back to life. So if you have created a Nandroid backup, then now is probably the best time to restore it. Here’s how it could be done: (if you don’t have a backup, then leave this fix and move over to the next one).

restore nandroid backup fix TWRP No OS Installed Are you sure you wish to reboot

  1. Head over to the Restore section of TWRP.
  2. Then navigate to the back-up file and select all the partitions.
  3. Finally perform a right swipe to restore this backup.
  4. Once done, go to Reboot > System. This should have fixed the TWRP No OS Installed Are you sure you wish to reboot issue.

Fix 3: Flash a Custom ROM via TWRP

As is evident from its name, this section will instruct you to reflash a compatible ROM for your device. Since we are dealing in the custom recovery environment, you will have to flash a custom ROM only. While some OEMs might support flashing official stock firmware via TWRP, but they might turn out to be quite risky.

With that said, there is still a method to flash the stock ROM onto your device even when there is no OS installed, but that requires you to leave TWRP and take the help of Fastboot. This we have explained in the next section. Given here are the steps to flash custom ROM via TWRP and fix the No OS Installed Are you sure you wish to reboot issue.

So the first question arises: how could we transfer the Custom ROM.ZIP file to the device when there’s no OS installed. Well, there are three different methods through which you could carry out the said task. If you want detailed instructions, they could also refer to our comprehensive topic on 3 Methods To Transfer or Install Files via TWRP Recovery. Given below are the short instructions for the same:

Flash ROM via TWRP Mount MTP

  1. The easiest approach towards this is to connect your device to the PC via USB cable.
  2. Then go to Mount and tap on Enable MTP. Your device shall now be recognized by your PC.
    enable mtp twrp fix No OS Installed Are you sure you wish to reboot
  3. So transfer the ROM.ZIP file to your device.
  4. Then go to the Install section of TWRP, select the ROM file, and perform a right swipe to flash it.
  5. Once the ROM is installed, go to Reboot and select System.
  6. Verify if it was able to fix the TWRP No OS Installed Are you sure you wish to reboot issue.

Flash ROM by Mounting USB OTG/Pendrive in TWRP

The detailed instructions could be found here: How to use USB OTG or Pen Drive to Flash File via TWRP Recovery. Shorter instructions follow below:

  1. If you have an external USB OTG or Pendrive, then connect it to your PC and transfer the ROM file.
  2. Then connect the OTG to your device.
  3. Go to the Mount section of TWRP and enable USB OTG.
    mount usb otg fix No OS Installed Are you sure you wish to reboot
  4. After this, go to Install and tap on the Select Storage button situated at the bottom left.
  5. Choose USB OTG from the menu and hit OK.
    install zip usb otg twrp No OS Installed Are you sure you wish to reboot
  6. Finally, select the ROM.zip file and perform a right swipe to flash it.
  7. Once done, go to Reboot and System. See if it fixes the TWRP No OS Installed Are you sure you wish to reboot issue.

Flash ROM via TWRP ADB Sideload

Detailed instructions are given in this guide: Use ADB Sideload in Android [Stock and TWRP Recovery]. Shorter instructions are given below:

  1. First off, download and install the Android SDK Platform Tools on your PC.
  2. Then transfer the downloaded ROM to this folder itself. Rename it to rom.zip so that it gets easier while typing in CMD.
  3. Go to the Advanced section of TWRP and tap on the ADB Sideload button. Then perform a right swipe to start the sideload.
    adb sideload twrp fix No OS Installed Are you sure you wish to reboot
  4. Now connect your device to the PC via USB cable.
  5. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-adb
  6. Finally, type in the following command in the CMD window to flash the ROM via Sideload
    adb sideload rom.zip
  7. The ROM will now automatically be transferred and flashed to your device.
  8. Once done, go to Reboot and select System. This should have fixed the TWRP No OS Installed Are you sure you wish to reboot issue.

TWRP No OS Installed Fix 4: Flash Stock Firmware

flash stock firmware fix twrp No OS Installed Are you sure you wish to reboot

As mentioned before, flashing a stock firmware via TWRP is never a good idea, hence you should always stick with the Fastboot Commands to carry out this task. So from TWRP, go to Reboot and select Bootloader. Once booted, then you may refer to this guide on How to Flash Stock Firmware via Fastboot Commands.

So with this, we conclude the guide on how to fix the TWRP No OS Installed Are you sure you wish to reboot issue. We have shared three different methods for the same. Do let us know in the comments which one spelled out success in your case.

Share: