Hot!
You are here: Home > Tips > Rooting & Flashing > Flashing The Boot.img On An Android Phone

Flashing The Boot.img On An Android Phone

Note: This procedure is meant for HTC One X but also works on other android phone and tablet devices.

The boot.img file is required to install a custom ROM on the HTC ONE X which is currently S-ON. S-OFF devices need not require the additional steps of flashing a boot.img file but as S-OFF is yet to be achieved on the HTC One X(at the time of article publication), it is highly recommended to use a ROM in combination with a boot image file or you may end up in boot loops.

Getting started with the boot.img file flashing procedure on android phone:

If you are coming from the rooting guide for ONE X, this process is totally compatible for your device.

  • Keep the working USB cable ready
  • Make sure you followed and installed adb & fastboot drivers on your computer.
  • You have made a full Nandroid backup via Recovery menu.

Steps to Flash boot.img file on HTC One X or any Android Phone:

  1. If are not already on Bootloader then, Hold both POWER and VOLUME DOWN for 10 seconds or until device reboots.
  2. You will get into the bootloader, if not keep holding the POWER and VOLUME DOWN.
  3. Now select Fastboot by pressing POWER button.
  4. Connect your device to computer via USB
  5. You will see the change to Fastboot USB being displayed in red on the screen.
  6. If you don’t have the fastboot kit already, download it here.
  7. Extract the folder in a easily accessible location.

Place the boot.img file that you downloaded from the ROM makers website in the same folder and replace any other boot.img file with the same name in the folder or delete it. Alternatively you can use the executable boot.bat file to avoid the next steps involved in flashing boot.img file(if provided by ROM maker).

  1. Open Command prompt or terminal and navigate to the folder where fastboot and adb files are stored.
  2. Type following commands: (if your boot image file has a different name, use it with the below command, just replace boot.img with whatever is the name of file).
 fastboot erase cache
 fastboot flash boot boot.img
 fastboot reboot
  1. You can see the progress in the command prompt/terminal and a success message.
  2. If you find any error or the flashing is stuck on some step, you either have not installed the drivers properly or device isn’t in the fastboot mode. Check the device connectivity by typing “fastboot devices”. If you see a any output name, a device ID like HT78698UGJHG, your device is connected properly and you just need to retry avoiding simple errors like typos or wrong file path.
  3. You have successfully flashed the boot.img and ready for the first boot of your brand new custom ROM.
  4. Only if this isn’t your first boot and you were flashing a custom kernel, reboot into recovery by pressing VOLUME DOWN to select recovery mode, then press POWER button and wait until device reboots. Now continue with STEP 2 (flashing modules of kernels)

Flashing the wrong boot.img is risky and you end up in bootloops, so avoid using this procedure unless you are very sure about what you are doing. If you unfortunately get stuck on the flash/start screen follow this guide to unbrick or restore your HTC One X.

See the full guide on Rooting HTC One X .


adb android android phones android rooting android tips boot.img bootloader FAQ fastboot flashing flashing custom rom guides How to HTC ONE X rooted phone rooting

About AndroidAppLog

Leave a Reply

Your email address will not be published. Required fields are marked *

*

CAPTCHA Image

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Scroll To Top
//Analytics start //End Analytics