With each new iteration of Android, Google is making it easier to handle new Android updates. With the introduction of Project Treble and A/B partition devices, things have drastically changed for good. In the case of A/B devices, the update gets installed to the inactive partition in the background, while you can continue working in the active slot. You can easily sideload the OTA update Zip using the ADB sideload command and Android stock recovery.

All users don’t receive OTA updates at the same time because most Android OEMs push them in phases. However, if you get hold of an OTA update zip package, you can flash it via ADB with the help of this tutorial.

Table of Content

Sideload OTA Update Zip via ADB

Some manufacturers make it easy for users to try the OTA packages. They usually host this update file as a zip on their respective sites. Or sometimes, even the few users who are lucky enough to get the updates, capture the OTA URL or share the entire OTA zip files for others to download. So if you come across these OTA zip files that you want to sideload onto your devices, this guide will come in handy.

In this tutorial, we will explain the steps to manually install the OTA update packages via ADB Sideload and Stock Recovery. Go through both the methods described below but, before you do that, you have to make some preparations.

Don’t Miss: Unlock Pattern and PIN on Android Phones via ADB

Prerequisites

  • Before sideloading the OTA package, make sure you are using the stock firmware without any system modifications. That is, make sure apps like Magisk, Xposed Framework, and even TWRP recovery aren’t there on your devices.
  • Although installing official stock firmware doesn’t usually lead to data loss, it is still recommended to be on the safer side. So please make a complete backup of your Android device before proceeding ahead.
  • Enable USB Debugging: To do so head over to Settings > System > Advanced > Tap on Build Number 7 (on some devices 5 times) > Go back to System > Developer Options > Enable the USB Debugging toggle. usb debugging android
  • Download and install Android SDK Platform-tools on your PC.
  • Moreover, you should also install the proper Android USB driver from your device OEM.

These were the important prerequisites to keep in mind. Now let’s proceed further to sideload OTA update Zip via ADB sideload.

Booting Device to Stock Recovery

It doesn’t matter which method you end up choosing, booting to stock recovery is needed in both these cases. There are two ways of doing so. You could use hardware key combinations or the ADB commands for the purpose. Regarding the hardware keys, each device follows a different combination. So please do a Google search for that. Or if you wish, you can also try the below ADB Command to boot to recovery and install the OTA file.

How to Install Apps from Unknown Publishers on Windows 10/11

Using ADB command to boot to Stock Recovery

  1. Open the platform-tools folder, type cmd in the address bar, and click the Enter key. This will launch the Command Prompt.launch command window
  2. Now connect your device to your PC via a USB cable. Make sure USB Debugging is enabled.
  3. Type the following command in the Command Prompt:
    adb reboot recovery

    adb reboot recovery

  4. On some devices, this command will directly boot your device to recovery, while others might boot to a No Command screen. If you encounter this issue, press and hold both the Volume Up and Power key and release the Power button as soon as the device turns off. This will boot your device to the stock recovery mode.
  5. Please note that when you execute an ADB command, you will see an RSA key prompt on your device’s screen asking you to Allow USB debugging. Tap OK to allow it.allow usb debugging

Now that you have learned how to boot the device to recovery, let us check out the steps to install OTA updates via ADB Sideload.

Steps to Sideload OTA Update Zip using ADB Command

  1. First off, transfer the downloaded OTA update.zip file to the platform-tools folder.
  2. Now boot your device to stock recovery and connect it to your PC via a USB Cable.
  3. Inside stock recovery, use the Volume keys to highlight the ‘Apply Update from ADB‘ option and press the Power key to confirm this selection.
  4. Next up, type in the below command in the CMD window and hit Enter. Make sure to replace ‘OTA.zip’ with the actual name of the file that you have downloaded.
    adb sideload ota.zip

    adb sideload ota zip

  5. Now, wait for the update to get installed onto your device. Once the installation is successful, you can reboot your device from the recovery itself (use the ‘Reboot system now‘ option for the same).

That’s it. You have installed the desired OTA package via the ADB Sideload method. Let us see how this could be done via the Android stock recovery. We have compiled a huge list of ADB Shell commands and Fastboot commands with detailed explanations and examples. You should check them out to make the most out of your Android device.

Install OTA Update via Stock Recovery

This method of installing OTA doesn’t require a PC. You could directly install the OTA update from the recovery itself. Here is how it could be done.

  1. Transfer the downloaded OTA file to your device’s internal or external storage. Don’t put it inside any folder as the system won’t be able to find it.
  2. Next, boot your device to recovery by the method already described above.android recovery menu samsung
  3. From recovery, navigate to the Apply Update from SD Card option using Volume Keys. Press the Power key to confirm your selection.
  4. Similarly, use the Volume keys to highlight the OTA.zip file and the Power key to install it. Once the process finishes, you could use the Reboot system now option to boot your device back to OS.

With that, we conclude this guide on installing OTA update packages via ADB Sideload and Stock Recovery methods. Both of them do their job pretty well, it’s entirely up to you which method you ultimately end up choosing. However, if you are facing any issues executing the above steps, kindly let us know in the comments section.

Was this Article helpful?
YesNo