Sunday, 12 January 2014

How to Easy use (ADB sideload) on your Android device

Hi buddy I will try to share again. To penggun android maybe every power-Android users 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 command gives you additional control to the device and sometimes you can save your device from the brick (example: How to: copy the ROM zip file to the new device is removed). You can find some more information about ADB's basic here.

Since Android Jelly Bean has occurred the new ADB mode available in AOSP recovery, established by the Android developer community to custom recovery as well. It's called "ADB sideload" and most of you have probably heard about it already. This is an alternative method for one I wrote about here - How to: copy the ROM zip file to the new device is removed. The main difference is that it works only with ADB sideload recovery by Jelly Bean source or later. I believe that ADB sideload created to simplify the process of flashing / restore Android update.zip package.

Keep in mind that when using sideload ADB, ADB shell generally will not work. To be able to use sideload mode make sure you're running the 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 the stock Android recovery):

  • 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)
  • Make sure you have USB debugging enabled in Settings > Development on your device
  • Make sure your phone drivers are installed on the PC you're going to use
  • Boot your device in recovery mode (Android logo with a exclamation mark) and connect your device to PC
  • Hold down "power" button first, followed quickly by "volume up" button. You should now see the recovery menu
  • Use the volume up/down keys to select "apply update from ADB," then press power to select it
  • Open a command prompt on the PC (cmd.exe), type and confirm with ENTER:
  • 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”
  • adb sideload <filename>.zip (for example: adb sideload update.zip)
  • The zip package will begin installing. When it's done, select "reboot system now."
You do not have to manually create the folder structure right, push the file and then install if from the recovery menu. The results are basically the same, because sideload ADB also transfer the zip file into the internal memory of the device and then automatically start the installation procedure. However, it only works with recovery by source Android Jelly Bean.

No comments:

Post a Comment