Monday, December 14, 2015

Flash Resurrection Remix (Lollipop) on HTC One X (endeavoru)

The phone was in this state before the flashing:
The 5.1 (Lollipop) is using a new layout for the storage and the CWM recovery 6.0.4.8 wouldn't flash those lollipop custom rom. So the first thing to do is to install a recovery that support the new layout.

Followed the instructions from here, with a couple of adjustment:


1. Backup everything in your phone that you want to keep. This will WIPE ALL.
2. Boot to fastboot and Install a recovery made for the New Layout. twrp2811.BiG.img will do for a start.

Used here: twrp2853-BiG.img (src: https://www.androidfilehost.com/?fid=95916177934550246)

2.1) Boot into bootloader using whatever method
2.2) When in bootloader, check the fastboot access

sudo fastboot devices
SH23JWxxxxxx fastboot

2.3) Flash the recovery

sudo fastboot flash recovery twrp2853-BiG.img

Now with the new recovery, the next step is to reformat the storage with the new layout (THIS WILL WIPE OUT EVERYTHING ON THE DEVICE)

3. Disconnect the phone from PC (current recovery will fail the format process if you skip this step).

Didn't disconnect phone here (actually forgot), doesn't seems to cause problem.

4. Format Data. This will reformat your SD Card to be used for both app-data and user storage (new SD Card).
5. Clean out all other partitions.

Figured that this mean using the "Wipe" - "Advanced Wipe" and select everything, and did so.

6. Restart recovery and wait for two new drives to pop up on your PC.

The drives didn't show up by itself, so did this: Disconnect, reconnect USB, go to mount, Disable MTP, Enable MTP
Now "One" shown up in PC with both storage area (2G) and 25G


7. Copy a ROM with the New Layout to the Internal SD Card or the new 2GB Extra Data.

Used:
  • Resurrection-Remix-LP-v5.5.6-20150928-endeavoru.zip
  • gapps-lp-20150314.zip


8. Flash the ROM (and gapps) and reboot.

Before reboot, need to flash the boot.img. 
On the PC, extract boot.img from the ROM's zip into a folder
Then, do "sudo fastboot flash boot boot.img"

Done. Reboot system.


No comments: