What is adb sideload?
Adb sideload is the method by which we can install (flash-ui) zip sites into the phone, the stock recovery or a custom recovery. It is an extremely useful method, especially as we do not always able to flash some files zip sites in your phone as often stock recovery sites do not allow this or simply wiped internal storage.
When using adb sideload
1. When we have an OTA update that does not install properly.
2. If I deleted internal storage and we have no card slot.
3. When we flash back to stock some files after recovery stock.
How I've used this method?
After I watch a few flash-roms, I had stopped in a final at CyanogenMod 14.1 (Android 7.1 Nougat), the remaining new ROM that comes with some minor bugs that do not mind very much. But it bothered me bug related VPNBug that did not allow to access my VPN server home, running on Asus RT-AC56U. When I decided to go back to stock I hit some problems, kind of soft brick, which were related to the fact that the CM did not get along well with 14.1 TWRP. The only way to turn me clean the stock was: 1. Flash stock recovery, 2. Block bootloader, 3. Flash rom stock by ADB sideload. After that everything returned to normal.
This tutorial is part of the series dedicated to the ins and outs Android, where we have:
1. Android Bootloader Unlock
2. Install TWRP Recovery on any Android
In the first tutorial in the series, the unlocking bootloader, you and ADB and tools Mini USB universal driver, which you will need throughout their operations, when you ABD or Fastboot commands.
Order to flash by ADB sideload
adb sideload "filename"
Video Tutorial - adb sideload, update or rum official installation on PC