Preparation
Before you can start with flashing, the following preparation work need to be done.0. !!! Backup your data !!!
Copy all your important data out of the phone.1. Find your the main version the software on your phone
You can find the number atSettings -> About -> Software information -> Software number
.In my case, the number is
2.24.708.1
.2. Find and download the right RUU for your main version
Normally the following two sites may help. If you can’t find a RUU that matches your main version, then you probably need someone else’s Nandroid Backup to restore your phone.http://forum.xda-developers.com/
http://www.htcdev.com/DevCenter/downloads/
NOTE: If you downloaded a RUU, please CHECK IT’S DIGITAL SIGNATURE, for security reason.In my case the RUU file is
RUU_PRIMO_U_ICS_40A_hTC_Asia_HK_2.24.708.1_Radio_20.76.30.0835U_3831.19.00.120_release_276653_signed.exe
3. Extract required images from the RUU.
We needboot_signed.img
and recovery_signed.img
image files. We can extract theme from the RUU by following the steps below.- Run the RUU program, but don’t click any button.
- Go to your
%temp%
folder, search for a file namedrom.zip
, which is usually several hundreds of mega bytes in size. - Open the
rom.zip
using 7-zip, and extract the two files out. - Exit the running RUU program.
4. Install HTC drivers
The simplest way to install HTC drivers is install HTC Sync Manager software.5. Get Fastboot executables
To find fastboot.exe, install Android SDK and look in \android-sdk-windows\tools.Note: fastboot.exe may be unavailable in the latest Windows Android Tools release. You can extract it from a previous release available here: android-sdk_r13-windows.zip You could find fastboot.exe in Android SDK.
Flashing ROM
To flash stock ROM, please follow the steps below.1. Think again, since it can potentially BRICK YOUR PHONE.
2. Make sure your phone is over half changed.
3. On the Settings -> Developer options
screen of your phone, enable USB debugging
.
4. Restart your phone with the “Volume Down” button hold down to boot to boot loader screen.
5. Use “Volume Up/Down” buttons to focus the “Fast boot” menu item and press the “Power” button.
6. Connect your phone to your PC via USB, make sure you can see “Fastboot USB” on your phone’s screen.
7. Run the following command on your PC to test if your phone has been detected.
fastboot devices
8. Run the following commands on your PC to flash the boot and recovery images.
fastboot flash boot boot_signed.img
fastboot flash recovery recovery_signed.img
9. Relock the bootloader
fastboot oem lock
No comments:
Post a Comment