Wednesday, May 16, 2012

HTC One X : detailed instructions to install the "Ir1 1.29.401.7 - HTC One X (Tegra 3) Stock ROM DUO [Deodexed-Updated-Optimised]" step by step

As the 1.29.401.7 OTA failed due to custom recovery - failed to verify whole-file signature, I decided to install the Modaco custom stock ROM DUO Ir1 1.29.401.7 - HTC One X (Tegra 3) Stock ROM DUO [Deodexed-Updated-Optimised] (direct link on Modaco).

As usual, use it at your own risks as you may brick your device.


Prerequisites

This ROM is suitable only for the international HTC One X model (GSM - Tegra 3).

You also have to unlock the bootloader and install a custom recovery. (small lexicon)

Head to HTC One X (GSM) : detailed instructions to unlock bootloader, install custom recovery and root for detailed, step by step, instructions and follow the instructions for A - Unlock the bootloader and B - Install a custom recovery.


Preparation

1) Download the file Ir1-1.29.401.7-DUO-endeavor.zip on your computer from Ir1 1.29.401.7 - HTC One X (Tegra 3) Stock ROM DUO [Deodexed-Updated-Optimised]. Put the downloaded file in the folder droid/ along with the fastboot command.

2) Check the MD5 checksum of the Ir1-1.29.401.7-DUO-endeavor.zip file you've just downloaded by opening a command shell and entering the command

droid $ md5 Ir1-1.29.401.7-DUO-endeavor.zip
MD5 (Ir1-1.29.401.7-DUO-endeavor.zip) = cf763aedeb6699219f53e8cdbb58109d
droid $
Check the red part with the one provided in Ir1 1.29.401.7 - HTC One X (Tegra 3) Stock ROM DUO [Deodexed-Updated-Optimised] (MD5: cf763aedeb6699219f53e8cdbb58109d) .

3) Unzip the file Ir1-1.29.401.7-DUO-endeavor.zip in the folder Ir1-1.29.401.7-DUO-endeavor/ and move the file boot.img in the same folder as the Ir1-1.29.401.7-DUO-endeavor.zip. (Why should I manually flash the boot image ?)

4) Plug the HTC One X on the USB cable.

5) Push the Ir1-1.29.401.7-DUO-endeavor.zip file at the root of the SDcard (/mnt/sdcard/).
You can do it by mounting the HTC One X as a USB device, and use your computer's file manager to copy the .zip file to the HTC One X
OR
you can use the adb push command from the command shell :

droid $ adb push Ir1-1.29.401.7-DUO-endeavor.zip /mnt/sdcard/
1280 KB/s (579827689 bytes in 442.067s)
droid $

6) Wait for 15 seconds then power off the HTC One X


Make a backup of your existing ROM using the custom recovery

7) Unplug the HTC One X from the USB cable.

8) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

9) Choose the RECOVERY item (the 2nd one) using Volume-Down button. Then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

10) Touch the "backup and restore" item.
The "Nandroid" screen appears.
The "backup" item is highlighted in blue.

11) Touch the "backup" item
The screen changes and the backup begins : boot image, recovery image, system, data, .android-secure, cache, sd-ext.
A md5 sum is automatically generated.
A "backup complete" message appears and the menu reappears.

12) Touch the "reboot system now" item to reboot your HTC One X.


Flash the boot.img

13) Power off the HTC One X

14) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.

15) Select the FASTBOOT item (highlight using Volume-Up / Volume-Down button) then press the Power button.
FASTBOOT should now be highlighted in red.

16) Plug the HTC One X on the USB cable.
FASTBOOT should become FASTBOOT USB still highlighted in red.

17) Flash the boot.img (Why should I manually flash the boot image ?) from the command prompt used in step 5), by entering the command

droid $ fastboot flash boot boot.img
sending 'boot' (4292 KB)...
OKAY [ 0.670s]
writing 'boot'...
(bootloader) Format partition LNX done
OKAY [ 0.497s]
finished. total time: 1.167s
droid $

18) Power off the HTC One X using the Volume-Down button 3 times to select POWER DOWN. Then press the Power button.


Flash the ROM

19) Unplug the USB cable from the HTC One X

20) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.

21) Select RECOVERY using the Volume-Down button, then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

22) Touch the 2nd item "install zip from sdcard"
The screen "Apply update from .zip on SD card" appears with the item "choose zip from sdcard" highlighted in blue.

23) Touch the highlighted item "choose zip from sdcard"
The screen "Choose a zip to apply" appears with a list of files and directories.

24) Scroll through the files and directories (with your finger) until you see the file Ir1-1.29.401.7-DUO-endeavor.zip (at the end of the list). Then touch it.
A new list appears

25) A new list appears with a lot of "No" and the item "Yes - Install Ir1-1.29.401.7-DUO-endeavor.zip" in the middle. Touch the "Yes - Ir1-1.29.401.7-DUO-endeavor.zip" item.
The installation begins and a log is displayed at the bottom the screen.
When the installation ends, you're back on the screen "Apply update from .zip on SD card".

26) Touch the last item "++++Go Back++++"
You're now back on the screen "ClockworkMod Recovery v5.8.3.1"
The "Reboot system now" item is highlighted in blue.

27) Touch the "Reboot system now" item.
The HTC One X reboots.
A dialog box "Android is upgrading ..." appears with the message "Optimizing application nn of nn"

As the Ir1 1.29.401.7 is a stock ROM, it is not needed to parameter again all the applications, accounts, ... Everything is saved.

Enjoy :-)

3 comments:

Murtaza M. Javaid said...

Thanks man this worked perfect and clean.

Iain Stuchbery said...

This is the best post/advice I've read so far on flashing my One X. I tried multiple times using other methods, but no luck... Thanks so much for sharing the wisdom!

a2b said...

@Murtaza
Thanks for your feedback


@Ian
Happy to know it helps