HTC One X
|HTC One X|
|Model Number: See Page|
- 1 Introduction
- 2 Specification
- 3 Frequently Asked Questions
- 4 Rooting the HTC One X
- 5 Disaster Recovery - what to do in the event of a bad flash
- 5.1 Introduction and Credits
- 5.2 Try this first
- 5.3 If you can't access fastboot or RUU because of low battery
- 5.4 If you re-locked the bootloader
- 5.5 If you have stock recovery
- 5.6 If you have Custom ROM on or nandroid backup internal SD card
- 5.7 Total recovery - flashing a RUU to completely restore your phone
- 5.8 Extracting RUU if you have errors with the above method - Originally by torxx
- 5.9 Conclusion
- 6 Links
- S720e: HTC Endeavor
- S720t: HTC Evita
- Processor: 1500 MHz NVIDIA Tegra 3 AP33H
- Operating System: Google Android 4.0.3 (ICS) with HTC Sense 4.0
- 32GB internal
- 1024 MB RAM
- Graphics: Nvidia ULP GeForce 520 MHz
- Dimensions: 2.8 x 5.3 x 0.4 inches
- Weight: 130g
- Type: S-LCD 2 capacitive touchscreen, 16M colors
- Size: 720x1280 pixels, 4.7 inches
- Gorilla glass screen
- Multi-touch input method
- 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
- 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 22.214.171.124 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:
- 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: ???
- Using Pogo Pins. (Has shown limited possibilities so far.) [Thread]
- Using a "White Card". [Thread]. There are a few hurdles:
- 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.
- 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 126.96.36.199
- 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-188.8.131.52-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
- 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 (184.108.40.206+), 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 220.127.116.11 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-18.104.22.168-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:
- 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.