Wednesday, December 18, 2013

How to: Use "adb sideload" on your Android device


Probably every Android power-user at least once in his life used ADB - Android Debug Bridge. It is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. Using ADB shell commands gives you additional control over your device and sometimes it can save your device from being bricked (example: How to: copy ROM zip file to the freshly wiped device). You can find some more basic information about ADB here.

Since Android Jelly Bean there has been a new ADB mode available in the AOSP recovery, incorporated by the Android developer community into custom recoveries too. It is called "ADB sideload" and most of you probably have heard about it already. This is an alternate method to the one I wrote about here - How to: copy ROM zip file to the freshly wiped device. The main difference is that ADB sideload works only with recoveries based on Jelly Bean source or newer. I believe that ADB sideload was created to simplify the process of flashing/restoring Android update.zip packages.

Keep in mind that while using ADB sideload, the regular ADB shell won't work. To be able to use SIDELOAD mode make sure you're running latest ADB drivers from the Android SDK (Platform-tools). Here are the simple steps you need to follow to flash update.zip package using adb sideload mode (based on stock Android recovery):
  1. Place the ZIP package you want to install in the same location where you keep ADB drivers - adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll (usually it's SDK\platform-tools)
  2. Make sure you have USB debugging enabled in Settings > Development on your device
  3. Make sure your phone drivers are installed on the PC you're going to use
  4. Boot your device in recovery mode (Android logo with a exclamation mark) and connect your device to PC
  5. Hold down "power" button first, followed quickly by "volume up" button. You should now see the recovery menu
  6. Use the volume up/down keys to select "apply update from ADB," then press power to select it
  7. Open a command prompt on the PC (cmd.exe), type and confirm with ENTER:
  8. cd /d <adb.exe location> (for example: cd /d c:\SDK\platform-tools) or you can open your SDK/platform-tools folder, then press SHIFT button and the right-click mouse button and choose “Open command prompt here
  9. adb sideload <filename>.zip (for example: adb sideload update.zip)
  10. The zip package will begin installing. When it's done, select "reboot system now."
How is that different from the alternative method? You don't have to manually create the proper folders structure, push the file and later install if from inside the recovery menu. The result is basically the same, because ADB sideload is also transferring the zip file into the device internal memory and later it automatically begins the installation procedure. However, it works only with recoveries based on Android Jelly Bean source.

Have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!

43 comments:

  1. Well, adb sideload helped me for instants while playing around with new firmware or also by re-locking the device when the content of the virtual sd card is being wiped...

    ReplyDelete
  2. The problem with ADB Sideload is that if for some reason Aroma crashes or a similiar scenario, then you have to begin the sideload again. With 'adb push', the file remains on your device.

    ReplyDelete
  3. Jadwal Resmi Adu Ayam SV388 9 Maret 2019 di Situs Judi Sabung Ayam Online Melalui Agen Resmi Taruhan Sabung Ayam Live Asli Thailand.

    Situs Judi Sabung Ayam Online SV388 Merupakan Situs Judi Asal Thailand Yang Sangat Terkenal Dengan Permainan Sabung Ayam Yang Fair dan Menghibur Para Penonton Judi Sabung Ayam.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete
  4. Different router manufacturers use different IP addresses for accessing the router admin pages. 192.168.2.1 is a widely used IP address for accessing router admin pages.

    ReplyDelete
  5. At Advanced LED Lights, our authentic 3W and 10 W CREE LED lights deliver highly focused beams of light in the precise wavelengths plants need for optimal photosynthesis. In fact, research suggests high-quality LEDs produce more photons (light particles) than standard HID lights. We spend 30 percent more than the standard price in order to purchase the highest quality LEDs possible. Our investment means our LED lights will produce plant growth and garden yields than will surpass your highest expectations.

    ReplyDelete
  6. This blog is awesome. I find this blog to be very interesting and very resourceful. I would say your resource is so interesting and informative for me and this article explained everything in detail.

    Daftar Sbobet88
    Agen Bola Terpercaya
    Agen Sbobet88
    Daftar Akun Sbobet88
    Bandar Sbobet88
    Link Login Sbobet88 Terbaru
    Deposit Sbobet88 via Pulsa
    Deposit Sbobet88 via OVO
    Agen Bola Terpercaya Menang Pasti Bayar
    Cara Withdraw Sbobet88
    Link Alternatif Sbobet88 Terbaru

    ReplyDelete
  7. I hope you prosper a lot and please post good comments often. I come often.

    ReplyDelete
  8. The blog you have written is precise. For some reason

    ReplyDelete
  9. You have brought up a very fantastic points, thankyou for the post.

    ReplyDelete
  10. I need to to thank you for this great read!!

    ReplyDelete
  11. I have got you bookmarked to look at new stuff you post.

    ReplyDelete
  12. It is extremely nice to see the greatest details presented in an easy and understanding manner.

    ReplyDelete
  13. 1591FItzelCE94E4/14/24, 4:30 PM

    47563
    matadorbet
    ----
    ----
    ----
    ----
    ----
    ----
    ----
    ----

    ReplyDelete