[One (M7) General] geek-baba:
[Guide] HTC Dual Sim 802w (China Unicom), apply WWE European RUU, OTA & CWM or TWRP

I have been playing around with China Unicom 802w model for a while, I ordered it on Amazon (via merimobiles) in US. Since I received the handset, have been trying several guides and methods to get rid of Chinese stuff and get english blinkfeed, facebook, twitter, google services etc. Also tried 2 Rom mod's out there - MaximusHD (by llabtoofer now end of life no more updates released the kitkat update with limited support) and Soul Rom (Chinese Unauthorized Kang version based of Viper Rom) , it was always a challenge to keep following Chinese and Russian forums to get the new releases, then flash it etc.

The goal of this guide is to use Stock Rom with default english region content and able to receive official OTA updates without manually checking for it. Note I am assuming that you have some knowledge and experience in rooting android phones, using ADB, fastboot etc, and you have the usb drivers installed, as well as set up your phone to allow USB debugging etc. This guide started for China Unicom Model however, this will be helpful if:

Your MID and CID is combination of the following:

modelid: PN0771000

modelid: PN0772000

cidnum: HTC__001

cidnum: HTC__A07

cidnum: HTC__A48

cidnum: HTC__Y13

cidnum: HTC__J15

cidnum: HTC__032

cidnum: HTCCN703

Now over to the Guide!

WARNING: I see several users are on HBOOT 2.26 and/or are on x.xx.402.x version (Nordic, East Europe, UAE(Arabic Keyboard Support)) are having issue applying the RUU or not able to get the OTA automatically. Please be careful while trying this guide and as always first backup your phone before trying anything.

KitKat WARNING: Please note that KitKat RUU cannot be flashed with old versions of bootloaders (hboot) and cannot be decrypted by ruuveal tool. HTC changed encryption with no backward compatibilty for KitKat update. So in order to flash KitKat RUU you must flash latest KitKat hboot version 2.49 or higher. To downgrade to JellyBean later you will need old hboot from previous versions.

I am including the old and the new HBOOT PN07IMG images if you are already on Kitkat and want to apply european ruu:

1. HBOOT 2.27 + 4.2.2 Stock Recovery.7z - 12.62 MB

2. HBOOT 2.49 + 4.4.2 Stock Recovery.7z - 14.27 MB

How to update:

Download the HBOOT what you need and extract the PN07IMG.zip from

Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER

You will be asked if you want to flash it and you can press volume up button to select yes.

You will be flashed with the HBOOT of your choice.

1. The first step is to get S-OFF

1.1 use moonshine for HBOOT 2.23: [Guide] Moonshine S-Off (802w model)

1.2 use rumrunner for HBOOT 2.26/2.27: [Instructions] Rumrunner S-Off

1.3 use firewater for HBOOT 2.49: [Instructions] Firewater S-Off
​

2. Download the European version RUU - PN07IMG_M7C_DUG_JB_50_S1_HTC_Europe_2.19.401.1_Radio_1237.21.28.0627_release_326125.zip - 989.19 MB

3. Now you need to change the CID to HTC__A07 (you can also use the Super CID, not preferred for new users):

fastboot oem writecid HTC__A07

4. Lock the device:

fastboot oem lock

5. Now run the following commands in sequence:

fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip PN07IMG_M7C_DUG_JB_50_S1_HTC_Europe_2.19.401.1_Rad io_1237.21.28.0627_release_326125.zip

5.1 If you get the error (this happens whenever HBOOT version changes):

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

you will need to run "ONLY" the following command again:

fastboot flash zip PN07IMG_M7C_DUG_JB_50_S1_HTC_Europe_2.19.401.1_Rad io_1237.21.28.0627_release_326125.zip

Once you see "success" run:

fastboot reboot

6. You are now on WWE European Version RUU and will receive OTA!

Now you don't have to apply any patches for boot animation, blinkfeed, google services, remove bloatware or worry about chinese apps or spyware and best part you have a Factory Locked Stock phone, which just works.

Alternate Method: PN07IMG.zip and flash through HBOOT

Prerequisite:

The Phone must be s-off.

The BOOTLOADER must be locked.

The Ext SD card formatted with FAT32.

The CID must be HTC__001 or HTC__A07 or HTC__A48

Update Steps:

Download and Rename PN07IMG_M7C_DUG_JB_50_S1_HTC_Europe_2.19.401.1_Radio_1237.21.28.0627_release_326125.zip - 989.19 MB to PN07IMG.zip

Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER

You will be asked if you want to flash it and you can press volume up button to select yes.

You will be flashed with the european stock RUU.

Manual OTA update:

Download OTA_M7C_DUG_JB_50_S1_HTC_Europe_2.41.401.1-2.19.401.1_release_3398289.zip - 131.61 MB and rename it to ota.zip.

Make sure you have the stock (original) recovery flashed on your device

Make sure you're running a completely unmodified operating system. Additional files like Superuser.apk or su binary are allowed, you just can't have any system files changed or removed (due to the MD5 check)

Make sure you have a reasonable amount of battery charge remaining

Make sure the OTA update you're about to install matches the software version on your device (read HTC Over The Air (OTA) Update facts you need to know for detailed info)

Copy the ota.zip package to your device (internal storage preferred)

Turn OFF the device (make sure fastboot mode is disabled in settings)

Hold your volume down and power keys until the bootloader starts up

Using the volume keys, navigate down to RECOVERY and press power

You are now in stock recovery mode. You should see nothing more than a (sometimes spinning) Android with the red exclamation mark above it (an empty black screen is also possible). Wait for a few seconds

First hold

volume up

, then (with volume up held down)

press power button

to enter the main recovery menu.

Navigate down to "apply from phone storage" text and press power to confirm

Navigate to the location where you copied the ota.zip package and press power to confirm

Wait (sometimes you might need to follow further instructions on the screen) until the update process is finished

Once system is booted you should see a confirmation about the successfully flashed update.

KitKat Update: Most users are not able to recieve the kitkat OTA and have to apply it manually, to do that you need to flash the HBOOT 2.49 + 4.4.2 Stock Recovery.7z - 14.27 MB, before you can apply the OTA manually.

​

Flash CWM or TWRP without unlocking bootloader: PN07IMG.zip and flash through HBOOT

Download any of the following recovery depending on what you like and extract the PN07IMG.zip from

1.1 HTC_802w_CWM_recovery_6.0.3.3_PhilZ_Touch_5.7z - 8.50 MB

1.2 HTC_802w_CWM_recovery_6.0.3.6.7z - 7.46 MB

1.3 HTC_802w_CWM_recovery_6.0.4.7.7z - 8.56 MB

1.4 HTC_802w_CWM_recovery_6.0.4.8.7z - 8.40 MB

1.5 HTC_802w_TWRP_recovery_2.6.0.0.7z - 7.93 MB

1.6 HTC_802w_TWRP_recovery_2.6.3.4.7z - 9.22 MB

1.7 HTC_802w_TWRP_recovery_2.7.0.0.7z - 9.84 MB

Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER

You will be asked if you want to flash it and you can press volume up button to select yes.

You will be flashed with the custom recovery of your choice.

Go back to Stock recovery without unlocking bootloader: PN07IMG.zip and flash through HBOOT

Download and extract the PN07IMG.zip from

1.1 HTC_802w_Stock_recovery_2.41.401.1.7z - 12.10 MB

1.2 HTC_802w_Stock_recovery_4.21.401.5.7z - 13.72 MB

Follow same steps as above

You will be flashed with the Stock recovery.