What is ADB Sideload and how can I use it? - Asian Massive Crew Community 2002/2020
Home Control Panel Gallery Chat Room Arcade Eye Candy Projects Multimedia Networking Search Sign Up

Advertisements



★ ♥ ★ A Multicultural Community that unites people from all over the world ★ ♥ ★
Go Back   Asian Massive Crew Community 2002/2020 > Forum for Guests > Topics & Posts For Public Viewing
Forgotten Your Password? Register
User Tag List

Reply
 
Thread Tools

What is ADB Sideload and how can I use it?
  #1  
Old 03-03-2022
Danny's Avatar
Danny
Slippery Fingers
Danny is offline
 
Join Date: Apr 2008
Posts: 721
Danny is on a distinguished road
Country: Danny's Flag is: United States
My Mood:
Status:
has no status.

What is ADB Sideload and how can I use it?


What is ADB sideload?
ADB sideload is a new feature that was added to AOSP recovery in Jelly Bean. As of version 2.3, TWRP now supports ADB sideload mode. ADB sideload is a different ADB mode that you can use to push and install a zip using one command from your computer. Most likely ADB sideload won't be very useful for your average recovery user, but ADB sideload can be a huge time-saver for a ROM developer.

How do I use ADB sideload?
  1. Have a recovery installed on your device that supports ADB sideload like TWRP 2.3 or higher
  2. Have newer ADB binaries installed on your computer. If it's been a while since you installed ADB on your computer, you may need to get the latest ADB binaries in platform-tools from the Android SDK. You will need version 1.0.29 or higher (1.0.32 or higher is required for TWRP versions 2.8.2.0 and higher). You can find your current version by typing "adb version" at the command line.
  3. Set the device into ADB sideload mode. In TWRP you do this by going to Advanced then ADB Sideload.
  4. From the command line, type adb sideload /path/to/rom.zip

For TWRP versions lower than 2.8.2.0, the file will be copied to your device to whatever the current storage location is that you have selected in the mount page. It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device. As soon as the file is copied to your device, it will automatically be installed. When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.

TWRP versions 2.8.2.0 and higher will stream the zip from your PC without storing it on your device. If you wish to store the zip on your device for later, you should not use sideload and instead use adb push or some other method to copy the zip to the device.

Note that sideload mode is a separate ADB mode. While in sideload mode, regular ADB commands will not work. Once the zip has been copied to the device and the install starts (or if you hit the cancel button) regular ADB mode will resume.

Source: https://twrp.me/faq/ADBSideload.html


Reply With Quote

5 Lastest Threads by Danny
Thread Forum Last Poster Replies Views Last Post
mosleytech.com Topics & Posts For Public Viewing Danny 0 1 14-08-2024 14:31
Andre Fili Breaks Down First TKO Win Since July... Topics & Posts For Public Viewing Danny 0 1 25-10-2023 05:08
Meaning of G, E, 2G, 3G, H, 4G in Mobile Internet... Topics & Posts For Public Viewing Danny 0 1 16-07-2023 14:37
Stable Diffusion 2.1 Demo Topics & Posts For Public Viewing Danny 0 1 25-04-2023 15:22
UrlRoulette — 24 Hours on Hacker News Topics & Posts For Public Viewing Danny 0 1 25-04-2023 14:45

Reply


Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Bookmarks

 
New To Site? Need Help?

All times are GMT +1. The time now is 08:18.

www.Asian-Massive-Crew.co.uk  | www.Asian-Massive-Crew.com  | www.AsianMassiveCrew.com  |   www.AsianMassiveCrew.co.uk  

 Graphics, Design & Layout  by Web Designerz - The Power To Create..!

Copyright © 2002 Onwards  www.Kalki.co.uk  | Website Hosted by Reality Host

   

DISCLAIMER: Every reasonable effort has been made, to make this site a peaceful yet an entertaining venue. 
The creator nor it's staff shall have neither liability nor responsibility to any person, company or entity whatsoever, 
with respect to any loss, damages or misunderstandings arising from any information or speculation contained
in any of the topics and its updates. Each member is responsible for his/her own thoughts of action when expressed!