Quick Google Search

Android Flashing Guide for S-Off Devices

Android Flashing Guide for S-Off Devices

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 [1] 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
As of 2012 there is a documented (at http://unlockbootloader.sonymobile.com/instructions) option to unlock Sony/Sony Ericsson XPERIA devices
  1. Arc
  2. Arc S
  3. Active
  4. Ray

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 </path/to/your/RomFile.zip>
  5. Your phone will update and automatically reboot into the new ROM.

ROM update without SDcard

If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
  1. Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
  2. adb shell
  3. mount data
  4. Ctrl+C
  5. adb push D:\custom_rom.zip /data/
  6. Wait until the push finised, and restart your device to recovery again with "adb reboot-bootloader"
  7. mount data
  8. mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
  9. Locate the ROM .Zip file you wish to flash.
  10. Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
  11. If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
  12. With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
  13. Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip

No comments:

Popular Posts