Stuck at HTC Bootscreen When Upgrading to CM10.1 on the HTC One XL (AT&T HTC One X)

If you own a newer HTC One X from AT&T (or just a newer HTC phone in general) chances are you have an HBOOT version that doesn’t like to flash boot.img when you switch ROMs (not update, switch). You’ll know if you are part of this group because after switching from a Sense based ROM to an AOSP based ROM you’ll find yourself stuck at the HTC Bootscreen. Thankfully fixing this problem is pretty easy so long as you even remotely know your way around the Android SDK.

The first thing you’ll want to do is download the android sdk if you don’t already have it.

Once you’ve got the SDK you’ll want to download the .zip of the latest ROM you are wishing to install, if it’s CM10.1 you can feel free to use the version I already stripped from the .zip file here.

If it’s not CM10.1 you’ll have to download the .zip file of the ROM you recently flashed, extract it and hunt for a file named boot.img. (It will be extremely easy to find) Once you find it put it somewhere easy on your computer, if you are using Mac/Linux just toss it in your home directory for the sake of this tutorial.

Once you’ve got the boot.img in your home directory fire up your Command Prompt (PC) or Terminal (Mac/Linux)

Navigate to your /android-sdk/platform-tools/ folder in terminal using the “cd” command. So if the androidsdk is in your home folder you’d want to type:

cd ~/androidsdk/platform-tools

If you’ve successfully found platform tools your command line will read that you are current inside of the folder.

Screen Shot 2013-01-09 at 8.21.34 PM

Now it’s finally time to fix the boot loop issue. Take your HTC One XL and power it down completely. Upon turning it on hold down the power button and the volume down button. Hold these down until you see a white screen appear that looks similar to the following image:

loadera5adad4bJPG

Now it’s time to plug your device into your computer. If done successfully you should see in red “FASTBOOT USB”, as shown above.

Now it’s time to flash. Type the following:

./fastboot flash boot /path/to/boot.img (~/boot.img if the file is in your home directory)

You’ll see a few output commands that say “sending”, “writing”, and “finished”.

Screen Shot 2013-01-09 at 8.25.15 PM

After you’ve reached the “finished” point type the following, final, command:

./fastboot reboot

annnnd that’s it! Give your phone a few moments to boot up and you should see yourself getting past the HTC Bootscreen.

Keep in mind you’ll need to do this every time you flash a new ROM, but not update it. Meaning if you are running CM10.1 you can freely use CMupdater to update to each nightly build. You won’t have to do this again until CM11/12/whatever comes out or unless you go back to a Sense-based ROM.

Enjoy your new ROM!