[AT&T, Rogers HTC One X, Telstra One XL] Deleted member 3452239:
IF YOUR PARTITIONS NEVER APPEAR, THAT MEANS YOU WERE RUNNING THE 2.20 FIRMWARE AND FLASHED AN INCORRECT ROM AND BRICKED.. THERE IS NO FIX AT THIS TIME, PLEASE STOP ASKING ME HOW TO FIX IT.​

Reference threads​

Users on 2.20 flashing IceColdJelly (a ROM for the endeavoru) have been bricked. This ROM effectively writes over mmcblk0p4, mmcblk0p5*, mmcblk0p6*, mccblk0p7* and then attempts to write mmcblk0p12 (which is our hboot, but fails due to write protection) (according to beaups' post in this thread http://xdaforums.com/showthread.php?t=1960897, it overwrites mmcblk0p4, p5, p6 and p7)

http://xdaforums.com/showthread.php?t=1963088

http://xdaforums.com/showthread.php?t=1959497

http://xdaforums.com/showthread.php?t=1727075 (heres a good reason NOT to flash CWM. This occurs when flashing it through Rom Manager, use TWRP instead!)

http://xdaforums.com/showthread.php?t=1960022

As you can see. This clearly is an issue.

Enumerating your partitions​

Q: What does enumerate mean?

A:

enumerate - to specify one after another.
Synonym: list

Prerequisites: Ubuntu 12.04 or higher. 32/64 bit

unbrick package: http://dl.dropbox.com/u/40181085/unbrick_evita.zip

A null p4: included in the unbrick package.. you will need to hex edit your IMEI into this file. the offset is 0x21c, it's after 11111111, which is the SuperCID

1. Open up 3 terminal windows

2. On your first window, type

$ watch -n.1 lsusb

3. Now, hold power down on your phone for about 10 seconds, and let go, Then go to your second window and spam

$ ls /dev/sd*

You should go from seeing this..

to seeing this...

4. Make note of the following.

for me, my devices was listed as /dev/sdb, yours may be listed as /dev/sdc or even /dev/sdd.

make note of /dev/sd*4 and /dev/sd*12

5. Make sure Linux sees the phone

$ sudo dmesg | grep "qcserial"

You should see "Qualcomm USB modem converter detected" as the last line of the output. If not, you can unplug and replug the USB cable or run...

$ sudo modprobe qcserial

to reload the driver

6. Reset the driver

$ sudo modprobe -r qcserial

7. create the block device

$ sudo mknod /dev/ttyUSB0 c 188 0

8. Open a third Terminal window and navigate to where you stored the Downgrade_evita folder. I saved it to my desktop, so my code is

$ cd Desktop/unbrick_evita
$ chmod +x emmc_recover

9. Now we restore the hboot.. replace /sdc12 with your device location that we discovered in step 3 and 4

$ sudo ./emmc_recover -f ./hboot_1.12.0000_signedbyaa.nb0 -d /dev/sdc12 -c 24576

You can hit enter at all of the prompts here. If it stalls at "Waiting for /dev/sdc12, hold the power button down on your phone about 10 seconds, or until your see "Qualcomm. Inc. Gobi Wireless Modem (QDL mode) disappear from your terminal window, then release it. 10 seconds or less after you do this, emmc_recovery will see your phone and proceed. Flashing Hboot will take several minutes, as it has to load data in ~23K chunks followed by a reset after each.

or you can open a new terminal window and run

$ sudo ./emmc_recover -r

10. Once that is finished. We have to reset the qcserial driver again.

$ sudo modprobe -r qcserial

11. And then recreate the block device

$ sudo mknod /dev/ttyUSB0 c 188 0

12. Now we restore the original mmcblk0p4 that you should have saved as "bakp4"

$ sudo ./emmc_recover -f ./bakp4 -d /dev/sdc4 -c 24576

13. Again, if it hangs, hold your phone's power button for about 10 seconds, then release. This file will flash very quickly (it's only 1K) and once it completes, you'll immediately notice that your charging light turns back on. You should see "Qualcomm, Inc." or "Qualcomm, Inc. Gobi Wireless modem (QDL mode) disappear from your terminal screen.

14. Press the thanks button for yarrimapirate. These are his tools. If you do not, I will find you and flash ICJ on your phone.

special thanks to

beaups (for helping me understand how to enumerate the partitions)

18th.abn (for getting me the 1.09 hboot and also agreeing to help me)

and yarrimapirate (not only for the scripts which he made for the Evo 4G LTE, but also agreeing to help me in this project and buying a one x with his own money)