[Guide] HTC Dual Sim 802w (China Unicom), apply WWE European RUU, OTA & CWM or TWRP

Search This thread

Andre.VV

New member
Apr 24, 2018
2
0
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:
    1. modelid: PN0771000
    2. modelid: PN0772000
    3. cidnum: HTC__001
    4. cidnum: HTC__A07
    5. cidnum: HTC__A48
    6. cidnum: HTC__Y13
    7. cidnum: HTC__J15
    8. cidnum: HTC__032
    9. 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):
Code:
fastboot oem writecid HTC__A07

4. Lock the device:
Code:
fastboot oem lock

5. Now run the following commands in sequence:
Code:
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):
HTML:
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
you will need to run "ONLY" the following command again:

Code:
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:
Code:
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:
  1. 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
  2. Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER
  3. You will be asked if you want to flash it and you can press volume up button to select yes.
  4. You will be flashed with the european stock RUU.

Manual OTA update:
  1. 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.
  2. Make sure you have the stock (original) recovery flashed on your device
  3. 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)
  4. Make sure you have a reasonable amount of battery charge remaining
  5. 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)
  6. Copy the ota.zip package to your device (internal storage preferred)
  7. Turn OFF the device (make sure fastboot mode is disabled in settings)
  8. Hold your volume down and power keys until the bootloader starts up
  9. Using the volume keys, navigate down to RECOVERY and press power
  10. 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
  11. First hold volume up, then (with volume up held down) press power button to enter the main recovery menu.
  12. Navigate down to "apply from phone storage" text and press power to confirm
  13. Navigate to the location where you copied the ota.zip package and press power to confirm
  14. Wait (sometimes you might need to follow further instructions on the screen) until the update process is finished
  15. 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
  1. 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
  2. Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER
  3. You will be asked if you want to flash it and you can press volume up button to select yes.
  4. 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
  1. 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
  2. Follow same steps as above
  3. You will be flashed with the Stock recovery.

Thanks friend, but it seems that I have a problem, previously attempt to change the rom and the root, and the only way to recover my device is a backup that helped me a lot, but I remain in version os: 4.21. 402.5 (Nordica) and HBOOT-2.49.0000 - I currently have S-ON ... is there a way to move from the Nordic version to China unicom to make your process and leave it in European? ...

thank you ... I'm attentive ...

my cidnum: HTC__J15 and modelid: PN0771000

The current full information is

M7CDUG PVT SHIP S-ON RL
HBOOT-2.49.0000
RADIO-U3.14.3509.14
OpenDSP-v32.120.274.0909
QSC-E1237.29.35.0108
OS-4.21.402.5
eMMC-boot 2048MB
Feb 19 2014, 00: 33: 01.0

I previously had other information when I changed back to this, but the equipment works badly ... could I do something?

more information:

C:\Android sdk\platform-tools>fastboot getvar all
< waiting for any device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.49.0000
(bootloader) version-baseband: U3.19.3509.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT49GW900422
(bootloader) imei: ***************
(bootloader) meid: 00000000000000
(bootloader) product: m7cdug
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0771000
(bootloader) cidnum: HTC__J15
(bootloader) battery-status: good
(bootloader) battery-voltage: 3896mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d0e3b226
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.309s
 

Andre.VV

New member
Apr 24, 2018
2
0
Relocking the bootloader isn't necessary when the phone is S-OFF. Afaik the QSC won't be flashed if the version present on your phone is higher than the version in the RUU. I remember someone manually flashing the QSC partition with dd commands and then reflashed the whole RUU and everything was working fine after. Do you still have fastboot connectivity? If yes use "fastboot reboot-bootloader" to get back in the bootloader menu and you should be able to see your qsc version listed there, compare it to the qsc version of the RUU (1237.28.35.0516). If the version of your phone is newer than that, the RUU won't flash.

There are also newer RUU than 6.13.401.3 like 7.xx.401.5 for the DUG, might want to try that one since its using qsc radio 1237.29.35.0903.

Was your phone converted to a different version before, like maybe the .402 version?

Hi, I need help, I tried to root my phone before, but in the attempt it seems that I deleted my internal system and the android system, the only way I had to recover it was to install backup that I found Russian ...

and that happened to me, it became a Nordic version .402

this is the current configuration of my phone

M7CDUG PVT SHIP S-ON RL
HBOOT-2.49.0000
RADIO-U3.14.3509.14
OpenDSP-v32.120.274.0909
QSC-E1237.29.35.0108
OS-4.21.402.5
eMMC-boot 2048MB
Feb 19 2014, 00: 33: 01.0

I do not remember how it was before, but I'm sure it was completely different, I'm from Colombia and my phone says made in taiwan I do not know if this serves any purpose ...

More information on my phone:

<waiting for any device>
(bootloader) version: 0.5
(bootloader) version-bootloader: 2.49.0000
(bootloader) version-baseband: U3.19.3509.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT49GW900422
(bootloader) imei: ***************
(bootloader) meid: 00000000000000
(bootloader) product: m7cdug
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0771000
(bootloader) cidnum: HTC__J15
(bootloader) battery-status: good
(bootloader) battery-voltage: 3896mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d0e3b226
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Donate!
finished Total time: 0.309s

I would like to recover to factory state completely as I was before, because the equipment is currently malfunctioning ....

I hope you can help me, I am grateful ...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 71
    [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:
      1. modelid: PN0771000
      2. modelid: PN0772000
      3. cidnum: HTC__001
      4. cidnum: HTC__A07
      5. cidnum: HTC__A48
      6. cidnum: HTC__Y13
      7. cidnum: HTC__J15
      8. cidnum: HTC__032
      9. 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):
    Code:
    fastboot oem writecid HTC__A07

    4. Lock the device:
    Code:
    fastboot oem lock

    5. Now run the following commands in sequence:
    Code:
    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):
    HTML:
    FAILED (remote: 90 hboot pre-update! please flush image again immediately)
    you will need to run "ONLY" the following command again:

    Code:
    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:
    Code:
    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:
    1. 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
    2. Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER
    3. You will be asked if you want to flash it and you can press volume up button to select yes.
    4. You will be flashed with the european stock RUU.

    Manual OTA update:
    1. 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.
    2. Make sure you have the stock (original) recovery flashed on your device
    3. 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)
    4. Make sure you have a reasonable amount of battery charge remaining
    5. 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)
    6. Copy the ota.zip package to your device (internal storage preferred)
    7. Turn OFF the device (make sure fastboot mode is disabled in settings)
    8. Hold your volume down and power keys until the bootloader starts up
    9. Using the volume keys, navigate down to RECOVERY and press power
    10. 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
    11. First hold volume up, then (with volume up held down) press power button to enter the main recovery menu.
    12. Navigate down to "apply from phone storage" text and press power to confirm
    13. Navigate to the location where you copied the ota.zip package and press power to confirm
    14. Wait (sometimes you might need to follow further instructions on the screen) until the update process is finished
    15. 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
    1. 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
    2. Copy PN07IMG.zip onto External SD Card root folder and reboot to BOOTLOADER
    3. You will be asked if you want to flash it and you can press volume up button to select yes.
    4. 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
    1. 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
    2. Follow same steps as above
    3. You will be flashed with the Stock recovery.
    8
    802w WWE European Edition KitKat (4.4.2) manual update

    I'm trying to apply the European 4.21.401.5 OTA update manually as my phone hasn't received the update automatically but must be doing something daft as I can't get it to work.

    Am I correct in thinking I should rename the .zip to PN07IMG.zip and put it on the external SD, then enter bootloader? I've also tried extracting firmware.zip and renaming it first too. When I enter bootloader without doing anything it checks for PN07IMG.zip and says loading for a while then parsing, then shortly after it says "Press power to reboot". Or do I need to do it in recovery?

    I am on 2.41.401.1, S-OFF and I've checked the MD5 of the download and the one on the external card. I know, I know probably doing something daft, or I can't see for looking in the forums!

    To update to kitkat, you need to do the following:

    1. Flash the HBOOT 2.49 + 4.4.2 Stock Recovery.7z - 14.27 MB first.
    • Download and and extract the PN07IMG.zip from HBOOT 2.49 + 4.4.2 Stock Recovery.7z
    • 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 updated with the latest stock recovery and hboot 2.49.
    2. Once you have flashed the latest hboot and recovery, download OTA_M7C_DUG_K44_SENSE55_MR_HTC_Europe_4.21.401.5-2.41.401.1_release_355886.zip - 867.93 MB and rename it to ota.zip.
    3. Now follow the manual update process:
    • Make sure you have the stock (original) recovery flashed on your device (which you just did in first step)
    • 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.
    5
    I installed the stock European rom after wiping the Chinese rooted version so I am on stock rom but couldn't get updates as mentioned in post#120 so I I'm trying to flash the available OTA, I flashed the stock rom 3 times but no updates so I am trying to do it manually but I failed

    Sent from my HTC One dual sim using XDA Premium 4 mobile app

    Ok - thanks for providing more details, since you are on stock recovery, follow the steps below:

    1. Make sure you are on stock recovery.
    2. Make sure you're running 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)
    3. Copy the OTA update.zip package to your device (internal storage preferred)
    4. Turn OFF the device (make sure fastboot mode is disabled in settings)
    5. Hold your volume down and power keys until the bootloader starts up
    6. Using the volume keys, navigate down to RECOVERY and press power
    7. You are now in stock recovery mode. Wait for a few seconds
    8. First hold volume up, then (with volume up held down) press power button to enter the main recovery menu.
    9. Navigate down to "apply from phone storage" text and press power to confirm
    10. Navigate to the location where you copied the OTA update.zip package and press power to confirm
    11. Wait (sometimes you might need to follow further instructions on the screen) until the update process is finished
    12. Once system is booted you should see a confirmation about the successfully flashed update
    5
    [SOLVED] QSC Write Partition Error

    Thanks, but this is the procedure I have been doing even without flashing the 2.19 firmware and I get the QSC write partition error (as in post #501) - so it looks like the higher version of QSC that the x.x.402.x firmware I unfortunately flashed is causing an issue, and hence why I was asking if someone could post their partition list to see if the sizes are the same etc - or maybe it is the bootloader that won't downgrade the QSC version.

    OK, so I managed to get a partition table and dd images of every partition (well I didn't bother with mmcblkp40 the internal "SD" card) and the MBR from a very kind person who lent me their 802w for an hour or so and have managed to fix my phone:cool:

    NOTE: This is for advanced users and you could easily completely brick your handset - do anything at your own risk)

    As this isn't a common problem I'll try and be brief, but I have seen a few people with issues at the point QSC is written in either a "firmware.zip" flash or full RUU flash.

    So I foolishly/stupidly:silly: flashed the x.xx.402.x KitKat firmware onto my 802w that was running x.xx.401.x happily and working. I also restored a TWRP backup of x.xx.402.x as it was purported to have slightly better network support and is ROM on the UK supplied One dual sims. However SIM2 lost 900MHz support so didn't work with several carriers in the UK - but 1800MHz still worked. Not ideal!!

    So no bother I thought I'd just simply reapply the x.xx.401.x RUU as per that instruction in post #1 as I had done several times previously. However when the QSC part of the RUU was unzipped it would not write to the partition. I noted that the 402 firmware QSC version was E1237.29.35.0108 a much higher version than any other ROM I had seen and can only assume that there is some sort of version check that the bootloader does and would not write this partition effectively downgrading this. A newer version probably would not have been the problem had all the other partitions been flashed with an x.xx.402.x RUU, but as we know there is no x.xx.402.x RUU.

    A lot of people suggested the partition sizes were incorrect. I don't believe this to be the case as all the partition entries on both the working and non-working phones were the same. The only partition difference was that /proc/emmc lists an additional named partition: mmcblk0p26: 00004000 00000200 "control" that was not present on the working 401 phone (well the partition was there but not listed in /proc/emmc). However the starting block, number of blocks etc was the same for mmcblk0p26 on both.

    A few partitions contained reference to the QSC number and I tried editing them to a lower version, writing the partition back and flashing, but to no avail, still QSC WP error. Note at this point the bootloader screen always showed the higher 402 QSC version.

    So I backed up all partitions of the good phone with dd using TWRP terminal prompt to SD and wrote them back to the faulty phone with the the exception of partitions 4,5,6,37 and 40 which either contained board info/serial number/IMEI, or recovery partition and the "SD card" partition. Now the bootloader shows the older version of QSC, the phone boots but SIM2 still no 900MHz. Interestingly in the info about versions menu the QSC version shows as the higher 402 version. Hmmm.

    So I tried to flash the x.xx.401.x RUU again and holding my breath for ages the QSC partition writes successfully and the now 900MHz works on SIM2.

    So I think that the bootloader prevents downgrading the QSC version, but can be made to think it has an older version and will then write it. In this case it is not that the partition sizes/layout is different - but mmcblk0p26 now being listed as "control" probably also is part of it.

    It is clear that I had an unusual situation where some partitions were from one firmware and others from a different firmware. This may also be the case for others with QSC WP errors as I assume that OTAs and firmware.zip contents assume certain partitions pre-exist and don't need updating so aren't included and there is some version control of the QSC partition. I'm not entirely sure which mmcblk0p* partition QSC gets flashed to - I have a feeling it may have a holding mmc partition but is then flashed direct to the QSC chip which I believe is the Qualcom Single Chip used for the second SIM. (Mainly from observing that different partitions write at different speeds).

    So if you can boot to bootloader / HBOOT and flash TWRP but your phone doesn't work and you get errors flashing RUUs then you can probably recover most phones if you have images of the good mmcblk0p*s. I may be able to assist if you have an 802w and need images of x.xx.401.x mmcblk0p*s;)
    4
    this my screen now

    and i dont know what can i do

    fastboot getvar all
    (bootloader) version: 0.5
    (bootloader) version-bootloader: 2.26.0000
    (bootloader) version-baseband: U2.07.3501.27
    (bootloader) version-cpld: None
    (bootloader) version-microp: None
    (bootloader) version-main: 2.41.402.3
    (bootloader) version-misc: PVT SHIP S-OFF
    (bootloader) serialno: HC3CEW900868
    (bootloader) imei: 351523062065533
    (bootloader) meid: 00000000000000
    (bootloader) product: m7cdug
    (bootloader) platform: HBOOT-8064
    (bootloader) modelid: PN0771000
    (bootloader) cidnum: HTC__A07
    (bootloader) battery-status: good
    (bootloader) battery-voltage: 4287mV
    (bootloader) partition-layout: Generic
    (bootloader) security: off
    (bootloader) build-mode: SHIP
    (bootloader) boot-mode: RUU
    (bootloader) commitno-bootloader: dirty-d16dc66985
    (bootloader) hbootpreupdate: 11
    (bootloader) gencheckpt: 0
    all: Done!
    finished. total time: 0.081s

    Looks like your HBOOT flash is working from external sdcard, try to flash this - modified_wwe_firmware_2.41.401.1_apply_to_x.xx.402.x_version.7z - 40.39 MB

    The basic problem is that you have an european version of HTC One 802w which was on HBOOT: 2.26.0000 and Software Version: 2.41.402.3 and thats causing issue.

    The best way is to find the RUU for you original CID and flash it, however I have modified the firmware for HBOOT 2.27 and lets see if that works.