Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].

HTC One X

From XDA-Developers
Jump to: navigation, search
HTC One X
One X
HTC One X.jpg
Specification
Manufacturer: HTC HTC-icon.png
Release Date: Apr. 2012
Operating System: Android Android-icon.jpg
Dimensions: 69.9 x 134.36 x 8.9 mm
Weight: 130 g
Chipset: Nvidia Tegra 350-AP33H
Display: 4.7" 720p 720x1280 SLCD2
Networks:
GSM Models:
All Models: GSM850, GSM900, GSM1800, GSM1900,
S720e: UMTS850, UMTS900, UMTS1900, UMTS2100
TD-SCDMA Models:
All Models: GSM900, GSM1800, GSM1900
S720t: SCDMA1900, SCDMA2000
Wifi: 802.11 b/g/n 2.4 GHz
Bluetooth: 4.0
NFC: Yes
GPS: Yes
Video out: MHL
Camera: 8 MP
Secondary Camera: 1.3 MP
Internal Memory: 1 GB RAM, 32 GB NAND
Memory Card: No
Battery: 1800 mAh
Additional Features:


Introduction

Codenames:
  • S720e: HTC Endeavor
  • S720t: HTC Evita

Specification

  • Processor: 1500 MHz NVIDIA Tegra 3 AP33H
  • Operating System: Google Android 4.0.3 (ICS) with HTC Sense 4.0
  • Memory:
    • 32GB internal
    • 1024 MB RAM
  • Graphics: Nvidia ULP GeForce 520 MHz
  • Dimensions: 2.8 x 5.3 x 0.4 inches
  • Weight: 130g
  • Display:
    • Type: S-LCD 2 capacitive touchscreen, 16M colors
    • Size: 720x1280 pixels, 4.7 inches
    • Gorilla glass screen
    • Multi-touch input method
  • Connectivity:
    • Bluetooth® 4.0 with EDR,A2DP,AVRCP
    • Wi-Fi®: IEEE 802.11 b/g/n
    • Near-Field Communication
    • Micro USB Port
    • TV-out (via MHL A/V link, 1080p)
  • Camera: 8 megapixel color with autofocus, LED flash, 1080p recording, ImageSense Chip
  • Battery: Standard battery, Lithium Polymer 1800 mAh
  • Network:
    • GSM850, GSM900, GSM1800, GSM1900, UMTS850 (B5), UMTS900 (B8), UMTS1900 (B2), UMTS2100 (B1)
    • Data: GPRS, EDGE, UMTS, HSDPA, HSUPA, HSPA+
  • HTC One X has a Snapdragon-based LTE variant called One XL / One X LTE sold by AT&T, Telstra and Rogers.

Frequently Asked Questions

  • I have a carrier branded phone, can I use the stock OTA update?: No, you must wait until your carrier releases their version of the update. The same goes for stock RUUs.
  • Can I remove the carrier branding?: This will only be possible if S-Off is achieved. You can remove some branding if you have rooted your phone, but not, for example, the initial boot screen.
  • Is S-Off achieved?: (As of the 13th of May 2012) No. If you think you can help please join the effort at #htc-one-x on Freenode IRC.
But we have HTC Dev, why do we need S-Off?: HTC Dev allows access to /system, /boot, and /recovery. We are not allowed access to hboot, radio, or CID, which means we can not de-brand (change version-main), unlock (allow any SIM to be accepted), or update the low-level mobile network firmware.

Rooting the HTC One X

Introduction and WARNINGS

  • (Information correct 26th April 2012): The only currently confirmed method of rooting the HTC One X is to use the HTC Dev unlock process found here. Currently there is NO S-OFF METHOD.
The HTC Dev process allows access to the following partitions: /boot (but only using fastboot flash boot.img), /system, and /recovery.
You are unable to edit the hboot or radio partitions.
This is not an error, and will not be "fixed" until an S-Off method is discovered.
If you would like to contribute or ask any questions about S-Off, rooting, or anything else related to the phone, please join #htc-one-x on the Freenode IRC server.
WARNING: Be aware that by following these instructions you are messing with your phone with potential for screwing things up. Do so at your own risk. The many authors of this guide assume no responsibility for any damage to your phone, health, general well-being, or anything else untoward with respect to these instructions or you following them.
Please also bear in mind that you may invalidate part or all of your warranty.
There is currently no method of returning to an entirely locked state. You can use fastboot to lock the bootloader, but it will always read Re-Locked, rather than locked. Don't say you weren't warned.
(Updated 26th April 2012)Finally and most importantly, there is currently no ADB / USB access in recovery. As of ClockworkMod 5.8.3.1 charging is possible from recovery. If something goes wrong you will need to follow the disaster recovery section further down, and to do this you must have over 30% battery. Therefore, it is wise not to perform anything recovery related without AT LEAST 50% battery. Also, ensure you have all required files on your phone's storage before beginning any process.

S-OFF [IN PROGRESS]

Currently, S-OFF is only available to users who have devices which came S-OFF. S-OFF cannot (yet) be achieved by end users.

The following avenues are being looked into to supply S-OFF:

  1. Accessing Tegra 3 download mode (APX/NVFlash mode).
  • There has been no success with a proposed "disconnect and reconnect the battery and try various volume+power button combinations"
  • The primary hurdle to this method is: ???
  1. Using Pogo Pins. (Has shown limited possibilities so far.) [Thread]
  2. Using a "White Card". [Thread]. There are a few hurdles:
  • What to put on the white card.
  • How to get USB to work with the device as a host. This may be possible using a powered USB device (sd card reader or harddrive) as shown [here]. It may be necessary to have a powered usb device as used for [this USB host mod for another phone].

HTC Dev

USING HTCDEV WILL VOID YOUR WARRANTY!
The first step in the process is to use HTC Dev to unlock the bootloader. The instructions are well-written and easy to follow, and don't need repeating here.
Please ensure that you have read and understand the terms and conditions, and fully understand the instructions before carrying them out.
HTC Dev
Once you have completed the process, you have two options. The more complete (and easier) method is to install a custom recovery. If you would like to retain the stock recovery for some reason, Paul O'Brien has provided a an alternative method.

Installing a custom recovery

Download the latest SuperSU binary and place the CWM-SuperSU-*.zip onto the root of your phone's storage (/sdcard).
Download the latest ClockworkMod Recovery for the HTC One X onto your Windows machine. As of 27th June 2012 this is:
Clockworkmod Touch Recovery 5.8.4.0
MD5: 147b081a8fd9216fa62244031e44df88
Place the downloaded file in the platform-tools folder of the Android SDK (you will have downloaded this when completing the HTC Dev process).
Open a command prompt in the platform-tools folder (ctrl+shift+right click -> open command window here)
Use the following command:
fastboot flash recovery recovery-clockwork-touch-5.8.4.0-endeavoru.img
Now, unplug the USB cord from the phone and use the volume-keys to navigate to "hboot", then press the power button to select.
Use the volume keys to navigate to "recovery" and press the power button to select. This should boot the freshly installed recovery.
From within recovery, use the touchscreen to select:
(It is very advisable to use Clockworkmod recovery to make a backup at this stage, if anything goes wrong. Use the "backup" menu to do this first)
  • Install zip from sdcard
  • choose zip from sdcard
  • CWN-SuperSU-*.zip
Once the installation has completed, go back to the first screen of recovery and reboot your phone.
Congratulations, you have rooted your HTC One X!
The only currently available alternative to the Clockworkmod recovery is Teamwin's custom touch recovery
Please note, to re-enter recovery, switch off your phone (having disabled "fastboot" in settings), and hold the volume-down key whilst pressing power.

Alternative method - Insecure boot & root (taken directly from Paul O'Brien's thread here)

This zip file contains an insecure boot image to flash to your device and a script which will then push the root (SuperSU) files to your device. This is only tested on 1.27.401.2 / 1.27.401.7. USE AT YOUR OWN RISK!
InsecureBootAndRoot - DOWNLOAD MD5: a16bff582cb0e25fd3b422652d753ca7
  • Download the InsecureBootAndRoot zip file above and extract to a directory
  • Put your device in bootloader mode - Turn off the phone then turn on with the 'volume down' button pressed to enter the bootloader, then press the power button again to enter fastboot.
  • WINDOWS - double click 'install-insecure-windows.bat'
  • MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-insecure-mac.sh' followed by './install-insecure-mac.sh'
  • LINUX - Open a terminal window to the directory containing the files, and type 'chmod +x install-insecure-linux.sh' followed by './install-insecure-linux.sh'
The device will now flash the new boot image and reboot. Keep the device attached to USB and when it has rebooted, ensure USB debugging is enabled - the SuperSU files will then be installed.

Disaster Recovery - what to do in the event of a bad flash

Introduction and Credits

The following was collated by XDA member Setsuna666, and the original can be found here. All credit to him, leejames55, torxx, wolfraim, ckpv5 and all others who contributed.
The version last updated on 21st April 2012 is posted here for your benefit:
This is for people who have the following problem:
  • Cannot boot into ROM (e.g Stuck at the HTC Logo)
  • Boot Loop
  • Re-locked bootloader while having a non-working ROM
  • Cannot flash RUU because battery is below 30%

Try this first

The most common problem is being stuck at the HTC Logo after flashing a ROM, try clearing the fastboot cache with these steps:
  • Power off your phone and hold the power button + volume down
  • Choose fastboot from bootloader
  • Connect the phone to your computer
  • In command prompt window opened in your platform-tools folder type:
fastboot erase cache
  • Choose "Reboot" in fastboot menu
If this doesn't work, try the rest of the guide

A perfectly working solution: Download http://www.mediafire.com/?d41k2x8sm9gesup all in one solution kit. boot into fastboot reflash kernel.

If you can't access fastboot or RUU because of low battery

As of 26th April 2012 and the latest ClockworkMod recovery version (5.8.3.1+), charging the phone is now possible in recovery. The below methods of charging will be left on the wiki for people stuck in bootloop with older versions of Clockworkmod, for anybody else, you can simply leave the phone plugged into charger in recovery and the phone will charge. For any people who has not the 5.8.3.1 ClockworkMod recovery, simple leave the phone in "HTC QUIETLY BRILLIANT" screen and connect it to charger. You do not going to see any notification lights but the phone is charging.

If you re-locked the bootloader

Unlock with the same Unlock_code.bin file provided by HTC and follow this link
   fastboot flash unlocktoken Unlock_code.bin

it is not loading

If you have stock recovery

Download a Custom Recovery
Then flash it with the command:
fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru.img
Now you can flash a new ROM or nandroid backup

If you have Custom ROM on or nandroid backup internal SD card

Reboot in recovery (If your still in fastboot, choose "Reboot Bootloader" and then go into recovery)
Restore a Nandroid Backup or flash Custom ROM
Reboot and go into fastboot and use the command
fastboot clean cache


Total recovery - flashing a RUU to completely restore your phone

If all else fails, this is your last resort.
This process will erase all your data, INCLUDING potentially your /sdcard partition (phone storage). But hey, beats having a dead phone, right?
First, ensure you have enough battery (more than 30%) to run an RUU.
Next, boot your phone into fastboot bootloader and open a command prompt window on your computer in the platform-tools folder.
Use the command:
fastboot getvar version-main
You now need to find the RUU that corresponds to this version. Start here. If you have problems visit #htc-one-x on freenode.
Now you must re-lock the bootloader using:
fastboot oem lock
It won't hurt to use the clear cache command as well
 fastboot erase cache
Finally, while in fastboot, run the RUU.exe that you have downloaded (must be used in Windows, and requires HTC drivers (from HTC Sync), which will have been installed whilst using HTCDev to unlock your phone).
This will write the /recovery, /boot, and /system to stock. You will need to start from scratch to unlock.

Extracting RUU if you have errors with the above method - Originally by torxx

Please note that this method isn't 100% reliable and should be considered a last resort; there have been various reports of this not working due to system.img file being to large.
Many people have issues with flashing RUU's etc. having a bootlop.
  • Download a RUU (make sure you get the correct RUU, please see above)
  • Now open the .exe and make sure that it fully started.
  • Don't click anything, just go to windows icon and search for %temp%.
  • You will now find some folders, just search through these folders for the ROM.zip.
  • If you found it, you can copy it to your desktop or somewhere else.
  • Extract it with WinRar,7-zip or something like that and take the boot_signed.img and system.img.
  • Now copy the two files into the folder where the fastboot.exe is placed (if you have installed the Android SDK, it should be in platform-tools)
  • Plug in your One X, go into the bootloader and go into fastboot mode.
  • Navigate with the cmd in the folder with the fasboot.exe and the two .img's.
  • Now type in that:
fastboot flash boot boot_signed.img
fastboot flash system system.img
If everything worked, just reboot:
adb reboot

Conclusion

Hopefully by this stage your phone has been returned to a working state.
If not, please head on over to #htc-one-x on Freenode to discuss.

Links