In this article, we will tell you how you can use ADB Sideload to sideload TWRP, sideload ROM zip file, etc. Learn how you can easily use ADB Sideload with ADB Sideload commands.
If you are an Android enthusiast who likes to root your device, install a custom recovery such as TWRP, or flash custom ROMs on your Android device, then you would have definitely heard of the term ‘adb sideload‘.
Pretty much any guide you find on the internet that involves complex stuff such as the ones mentioned earlier will have these terms used everywhere. And if you are new to the Android rooting universe, it could all get confusing.
In this guide, we will tell you what exactly is adb sideload and how to use it to sideload TWRP, ROM Zip files, and Mods.
In this guide, you will learn
- How to ADB Sideload TWRP Recovery?
- How to ADB Sideload OTA Update Zip Files?
- How to ADB Sideload Custom ROM Zip Files?
- How to ADB Sideload Mods?
What is ADB Sideload?
ADB sideload was a new feature which was added to the stock Android recovery (AOSP Recovery) in Android Jelly Bean. ADB sideload is a different variant of the ADB mode which you can use to push and install a zip file on your Android device, using one command from your computer.
You would even see this option in your stock Android recovery if you try to update your device with the latest OTA Zip file. While this particular ADB Sideload option is not very useful for normal users, it’s a blessing for the advanced users and ROM Developers.
Simply put, with ADB Sideload option, you can simply PUSH any compatible .zip file to your Android device from a computer and install the same one to your device.
How To Use ADB Sideload?
With ADB Sideload, you can achieve a variety of solutions. Some of them are flashing custom ROM Zip files and Mods. Most of the manufacturers even have an option to sideload the OTA Update zip file via Stock Android recovery too. Follow the below guide to ADB Sideload zip files.
Getting Started
- Make sure you have a decent amount of battery left on your device to survive the process.
- Make sure you have the latest USB Drivers installed on your computer.
- Make sure you have enabled USB Debugging on your Android device.
- Make sure you have installed the latest ADB and Fastboot Platform Tools on your computer.
How to Sideload Zip file using ADB Sideload?
Make sure you have the latest ADB and Fastboot files installed on your device.
On your computer, go to the folder where you have installed the ADB and Fastboot installed.
Open a command window from inside this folder. To do this: Press and Hold Shift Key + Right Click on the empty space inside the folder > Select ‘Open command window here‘ or ‘Open power shell window here’.
Reboot your Android device into Recovery Mode:
Enable Developer Options: Go to Settings > About Phone > Tap on ‘Build number‘ for 5 or 6 times until you see a message ‘You are now a developer‘.
Go back to Settings > Developer options > Tap on Enable USB Debugging. Tap ‘OK‘.
After enabling USB Debugging, connect your Android device to a PC using USB Cable.
Now, execute the below command in the command prompt:
adb devices
If this is the first time connecting your device to PC, you might get a prompt on your phone which asks ‘Allow USB Debugging?’. Tap on the checkbox which says ‘Always allow from this computer‘ and tap OK.
Now execute the below command in the command prompt/power shell window to reboot your device into bootloader mode:
adb reboot recovery
Once you are in recovery > Select an option which says something similar to ‘adb sideload’.
Next, connect your device to your PC via USB Cable.
On your computer, in the command window/PowerShell window, execute the below command:
adb sideload <filename.Zip>
For exmaple, if you want to sideload a zip file which is named as ‘Custom-Mod.zip’, you can use the following command:
adb sideload Custom-Mod.zip
Once you have executed the above command, you will see a progress bar on your Command Window or PowerShell Window (whichever you are using).
Once the sideload completes, simply reboot your device.
How to ADB Sideload using TWRP Recovery?
- Download the necessary OTA Zip file to your computer.
- On your computer, go to the folder where you have installed the ADB and Fastboot installed.
- Open a command window from inside this folder. To do this: Press and Hold Shift Key + Right Click on the empty space inside the folder > Select ‘Open command window here‘ or ‘Open power shell window here’.
- Reboot your device into TWRP Recovery.
- Once you are in TWRP Recovery, go to Advanced > ADB Sideload.
- Next, connect your device to your PC via USB Cable.
- On your computer, in the command window/PowerShell window, run the below command:
adb sideload <filename.Zip>
- Once you have executed the above command, you will see a progress bar on your Command Window or PowerShell Window.
- Once the sideload completes, simply reboot your device.
How to ADB Sideload Zip OTA Zip Files?
Download the necessary OTA Zip file to your computer.
On your computer, go to the folder where you have installed the ADB and Fastboot installed.
Open a command window from inside this folder. To do this: Press and Hold Shift Key + Right Click on the empty space inside the folder > Select ‘Open command window here‘ or ‘Open power shell window here’.
Reboot your Android device into Recovery Mode:
Enable Developer Options: Go to Settings > About Phone > Tap on ‘Build number‘ 5 or 6 times until you see a message ‘You are now a developer‘.
Go back to Settings > Developer options > Tap on Enable USB Debugging. Tap ‘OK’.
After enabling USB Debugging, connect your Android device to a PC using USB Cable.
Now, execute the below command in the command prompt:
adb devices
If this is the first time connecting your device to PC, you might get a prompt on your phone which asks ‘Allow USB Debugging?’. Tap on the checkbox which says ‘Always allow from this computer‘ and tap OK.
Now execute the below command in the command prompt/power shell window to reboot your device into bootloader mode:
adb reboot recovery
Once you are in recovery > Select an option which says something similar to ‘adb sideload’ or ‘apply update from adb’.
Next, connect your device to your PC via USB Cable.
On your computer, in the command window/PowerShell window, execute the command below:
adb sideload <OTA-filename. Zip>
Once you have executed the above command, you will see a progress bar on your Command Window or PowerShell Window (whichever you are using).
Once the sideload completes, simply reboot your device.
As illustrated in the detailed manner above, ADB Sideload is a very simple option yet very powerful. It comes in handy if you want to flash huge zip files on to your Android device without having to copy them to your device first.
Very clear guide, thank you for this. I got the tools installed on Ubuntu, working fine. But I cannot place the image that I want to sideload into the folder where ADB is installed, due to admin permissions. Changing the permissions to that particular folder can seriously mess up my system. Is it necessary to sideload the img file from this location?
An alternative would be keep the entire ABB folder somewhere where you have full permissions.
As I m enter to twrp sideload but , I’m not able to type | that word to show pm list packages.
Can u help me out to solve it