Friday, April 22, 2011

Flashing Guide - Android - XDA-Developers

Flashing Guide - Android - XDA-Developers

Android Flashing Guide

Prerequisites

To Flash a ROM for your Android device you first need to meet the following prerequisites:

  1. An Android smartphone that has a custom recovery installed (Amon_RA, ClockworkMod, Etc.)
  2. A custom ROM that was developed or ported for your device.
  3. A MicroSD Card to hold the ROM file temporarily.

ROM Flashing

  1. Obtain a ROM of your choice, many can be found in your devices development forum on XDA Forums or a alternate android development site.
  2. Once you have downloaded the ROM File, mount your phones SD card and and copy over the .zip file.
  3. Power off the device and then boot up to recovery, it is different per device. If you are unsure how to boot up to your Android device's recovery menu then look it up in the forums or other tutorials on your device.
  4. In your phone's custom recovery bootloader, locate the menu options which allow you to wipe the phone. Whenever changing roms it is a good idea to make a Nandroid or BART backup first, then wipe Data/Factory and Dalvik-Cache before flashing the new rom.
  5. Once your phone has been wiped go back up to the root of the menu and select 'Flash Zip from SD Card' the text may be different per Recovery.
  6. Locate the ROM .Zip file you wish to flash.
  7. Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
  8. If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.

RUU Flashing

  1. Connect your Android device to your computer, Most RUU's are .exe files which will only run in Microsoft Windows natively or in Linux/Mac OS X via Wine
  2. Download the RUU for your device, some can be found here at PCD Phones
  3. Run the RUU with your phone plugged in to your computer via its USB cable.
  4. Follow the RUU's instructions for flashing.
  5. Unless errors arise your device is now flashed.

App Installs/ROM Feature Installs via Flashing

Some Roms have added features that are available to flash.

  1. To Flash the App/Rom Feature you must first download the .zip file.
  2. Mount your devices SD card and copy the .zip file over.
  3. Boot up to your devices custom recovery.
  4. Wipe your Dalvik-Cache in the Wipe Menu. And then go back to the recovery's main menu.
  5. This step may vary per device, there should be an option that says "Flash .zip from SD Card", select it.
  6. Select the .zip file you wish to flash.
  7. Confirm flashing of .zip file.
  8. Wait for the file to flash; and if successful, reboot.

Android Flashing Guide (with fastboot)

Prerequisites

To Flash a ROM for your Android device with fastboot you must have an unlocked bootloader or an engineering bootloader, these can be found across the internet. Supported devices are listed below:

  1. Android Dev Phone 1
  2. Google I/O Device
  3. Nexus One
  4. Nexus S

Unlocking your bootloader

The ADP1 and Google I/O Device do not require unlocking, however the new Nexus Devices do.

  1. Nexus One (cannot be relocked).
    1. fastboot oem unlock
    2. Accept/Decline warning on your devices screen.
  2. Nexus S (can be unlocked and relocked).
    1. fastboot oem unlock
    2. Accept/Decline warning on your devices screen.
    3. To relock the bootloader issue the following command:
    4. fastboot oem lock

ROM Flashing

  1. Obtain a ROM of your choice, and note the location on your computer.
  2. reboot your device into fastboot mode via one of the following options.
    1. adb reboot bootloader (requires USB debugging to be turned on).
    2. power off the device then back on with 'vol up' + power button.
  3. Wipe your device.
    1. fastboot -w
  4. Update your ROM.
    1. fastboot update
  5. Your phone will update and automatically reboot into the new ROM.

No comments:

Post a Comment