yashsingh1/xdaforums huggingface dataset:
[One (M7) General] geek-baba:
It takes atleast 20-30 mins for entire process, not sure whats wrong, post you getvar and will review.
[One (M7) General] alaskan84:
Thanks once again for your responses Shwetkprabhat, really appreciate getting a hand here.

requested getvar:

C:\tools>

C:\tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: U3.14.3509.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.21.1402.5

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: xxxxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7cdug

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0771000

(bootloader) cidnum: HTCCN703

(bootloader) battery-status: good

(bootloader) battery-voltage: 3722mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-f6d46eca

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.047s
[One (M7) General] geek-baba:
How did you get to 4.21.1402.5? And since you are s-on, you can not apply the 4.21.1402.3 ruu because downgrade is not possible.
[One (M7) General] alaskan84:
It either came with that version, or it was applied as I went through all of the available OTA updates before I started messing with the phone.

Does that mean I have essentially a fastboot mode only brick?
[One (M7) General] geek-baba:
Looks like yes, unless you get s-off with firewater or a newer ruu is released. Try using a custom rom like Maximus and that may work.
[One (M7) General] alaskan84:
I downloaded the maximus rom and flashed via TWRP with success! No longer fast boot bricked! Thanks for the suggestion Shwet!

With that said, am i pretty much gonna need to stick with the maximus rom for awhile now, or can i proceed with trying to get the stock european RUU?

Since i have a working rom now, it might be possible to get s off?

Basically the phone is not for me, it was purchased for a friend of the family who will be traveling to south america and various other places soon. I wanted to get the phone as close to a non chinese version as i could. Maybe its best that i leave it as is now with the maximus rom for her? Thoughts anyone?
[One (M7) General] geek-baba:
Get s-off first, then we will decide next steps, and I would say to get this phone to stock, as it's always more dependable.
[One (M7) General] alaskan84:
Firewater and RumRunner are the only two standard ways to get S-Off, right?

I tried RumRunner and it simply gets in the pouring, pouring, pouring loop and then says pray, restart and try again...no amount of prayer seems to let it be successful with s off.

I ran Firewater twice, the first time it glugged 3 bottles and then left me at the cmd prompt with no exit confirmation at all. The second time it only glugged 2 bottles and then left me at the same cmd prompt.

I'd be open to trying a different method if it existed....

Regardless, im happy that I have at least a booting ROM on the phone now
[One (M7) General] geek-baba:
Since you are on 2.49, only firewater will work
[One (M7) General] vuquan:
I would like to say more clearly that, the wifi issue happen when connect to WPA with security only (Input correct password, then Saved and Disabled). The WPA with un-security is ok.
[One (M7) General] awalysis:
Plz I need help every time I try to flash the RUU through the bootloader I have this error 'system failUZ' I dunno wat else to do bt every other thing was able to install except the system then its says image unzipping fail! Update fail!
[One (M7) General] awalysis:
Pls someone need to ans me ma phone refuses to boot. The sytem image kept saying Fail-UZ pls
[One (M7) General] geek-baba:
Please post your getvar and hboot screenshot.
[One (M7) General] adrenalize_:
Partition Tables

Hi, I wonder if someone with an 802w running stock WWE European (x.x.401.x) firmware and familiar with adb would be so kind as to post their partition tables?

After running adb shell please run the following two commands:

cat /proc/emmc

cat proc/partitions

The reason I ask is because when changing and trying a few ROMs I think I flashed the 4.21.402.x Nordic firmware. (OK I know big mistake!) I can change back to my backup of 4.21.401.x wwe (or a 4.2.2 rom) using my TWRP backups - however the big problem is that my SIM2 signal is often poor or not working at all - I think because it will only work on 1800MHz and not 900MHz as well. I think it worked before!

I haven't managed to go back to any other stock ROMs - all firmwares (that include QSC) or RUUs fail on the QSC partition update (either RUU mode or hboot flash) so I guess that the 402 Nordic firmware has updated something that doesn't work without the whole 402 Nordic RUU - which of course does not seem to be available anywhere! I guess the QSC 100 bit that it fails on is because of either a different partition size or because the QSC version is too high and hboot or RUU mode will not downgrade. (QSC on hboot is E1237.29.35.0108) Anyone know which partition is updated by QSC in a firmware/ruu/ota?

So I'm a little stuck and would like to first see if the block counts for the partitions are the same as a starting point. I have read all the posts where people have the same QSC 100 partition update fail and none of the solutions work for me. I have a few more RUUs to try and see if they flash - but failing that I guess its either to try warranty or to get down and dirty with dd and partitions and try and dump the partitions off a working phone. (I can dd mmc paritions in TWRP terminal.command prompt - it works well).
[One (M7) General] geek-baba:
Just flash this and you should be golden - modified_wwe_firmware_2.41.401.1_apply_to_x.xx.402.x_version.7z - 40.39 MB
[One (M7) General] adrenalize_:
Thanks, I will give it another go, although I've already tried it - the modified firmware flashes OK as it doesn't contain a QSC image, however when applying RUUs or OTA firmwares they either won't flash or fail at QSC 100 then usually the phone won't boot other than into a black screen, HTC logo and 4 warning triangles in the corner.

I may have not been doing everything in the right order as I guess I need modified firmware > firmware from 2.19.401.1 OTA > 2.19.401.1 RUU - I think I've tried that order but will check again and make a good note of the results this time.

I'm guessing the x.xx.402.x ROM has something quite different - and I've currently got a mix of different versions' partitions hence the SIM2 problem and problems flashing other versions of QSC. I was trying to see from the partition lists if the partition sizes are different, my partition layout/sizes are the same as here: http://xdaforums.com/showthread.php?t=2658242.

I'm assuming QSC is for the second SIM radio (Qualcomm Single Chip) but I don't know if QSC images in firmwares and RUUs are just a simple image of an mmc partition - and which partition that is. I don't know how hboot or RUU mode know where to put an image containing in a flashable zip - I assume it's hard coded in the bootloader or the zip has a config file but I need to go away and decrypt one to find out. Maybe they also don't want to downgrade the radio QSC version or that is not possible. (I guess the QSC radio chip may actually contain the code not just a partition in mmc and hence not downgradable) In which case I guess my only hope is a 402 RUU becoming available (probably unlikely) or trying to restore actual working partitions with the dd command in TWRP, and probably a 402 ROM (I know,

very

dangerous and important to avoid several partitions that have the serial no, imei, mac etc.) I have now backed up all my mmc partitions at least with dd - I did a standard TWRP backup before messing, but this doesn't do all the partitions and obviously not the ones I assume I've messed up!

Failing that I may have to try warranty, but I need to ship it off to China etc etc etc.
[One (M7) General] geek-baba:
you need to post you fastboot getvar all values and the steps you are taking in sequence to find out what are you trying to do.
[One (M7) General] dlshad:
i downloaded many ROMs one there:

http://xdaforums.com/show....php?t=2617159

Unlocked ship s-on

hboot 2.27.0000

os-2.25.1403.1

CID HTCCN704

MID PN0780000

Shown me this msg

error in /external_sd 802t.zip (status 6)

With Some other ROMs shown me :

cant open /external_sd/pno7img_m7c_dtu_jb_50_s1_htccn_chs_cmcc_.......... .........zip (bad)

The MD5 is Correct

Tried With Fastboot Stoping With This :-

Failed (remote) 32 header error

can you Please help me ? thank you in advance
[One (M7) General] adrenalize_:
So what I am ultimately trying to do is get SIM2 working again properly, assuming it is a software not hardware issue. I believe the issue is that I have some partitions with x.xx.402.x and some with x.xx.401.x. I had hoped that I could apply a 401 RUU - but with everything I've tried QSC fails to flash. My QSC version is E1237.29.35.0108 and because the QSC update always fails it doesn't get downgraded.

My steps so far are:

getvar all (to start with):

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: U3.14.3509.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.21.402.5

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: HC36XW******

(bootloader) imei: 355868054******

(bootloader) meid: 00000000000000

(bootloader) product: m7cdug

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0771000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4125mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-f6d46eca

(bootloader) hbootpreupdate: 11

Although this doesn't show the whole story as it doesn't show QSC version - see 1st picture - hboot screen with 402 firmware.

Flash modified_wwe_firmware_2.41.401.1_apply_to_x.xx.402 .x_version in hboot - See 2nd & 3rd pictures - flashes OK

I then changed the CID to HTC__A07 and flashed the firmware.zip from OTA 2.19.401.1 See pictures 4 & 5 - Note QSC Fail

I then flashed the 2.19.401.1 RUU in hboot - see picture 6 - note QSC fail.

At this point the phone will boot OK into 2.19.401.1 - but note in picture 7 that the QSC version has not been downgraded and I still have the problem with SIM2.

If I flash the RUU in RUU mode I get the same error becase at QSC, 100 it fails:

(bootloader) ...... Successful

FAILED (remote: 51 partition update fail)

finished. total time: 313.455s

but then the phone won't boot and you get the black screen htc and 4 triangles in the corner.

I have tried with the Chinese firmware also but also get QSC partition update fails.

So I don't think it is possible to downgrade QSC - I'm note sure what is stopping it - partition size, flash security, actually held in QSC memory etc and hence why I was looking at individual mmc partitions and asked for the partition table.
[One (M7) General] criszz:
in picture no.4 all looks good for me, from that try to flash only firmware via bootloader from PC
[One (M7) General] adrenalize_:
Picture 5 shows the result of flashing just firmware in hboot as PN07IMG.zip - QSC Fail - you say flash via bootloader from PC - do you mean fastboot flash zip etc? If I try that i get the following error:

sending 'zip' (45163 KB)...

OKAY [ 3.455s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 3.490s

or in RUU mode i get the following error:

(bootloader) [RUU]UZ,qsc,84

(bootloader) [RUU]UZ,qsc,94

(bootloader) [RUU]UZ,qsc,100

(bootloader) ...... Failed

(bootloader) start image[recovery] unzipping & flushing..

(bootloader) [RUU]UZ,recovery,0

(bootloader) [RUU]UZ,recovery,7

(bootloader) [RUU]UZ,recovery,13

(bootloader) [RUU]UZ,recovery,18

(bootloader) [RUU]UZ,recovery,23

(bootloader) [RUU]UZ,recovery,28

(bootloader) [RUU]UZ,recovery,38

(bootloader) [RUU]UZ,recovery,45

(bootloader) [RUU]UZ,recovery,54

(bootloader) [RUU]UZ,recovery,61

(bootloader) [RUU]UZ,recovery,68

(bootloader) [RUU]UZ,recovery,73

(bootloader) [RUU]UZ,recovery,83

(bootloader) [RUU]UZ,recovery,89

(bootloader) [RUU]UZ,recovery,95

(bootloader) [RUU]UZ,recovery,100

(bootloader) [RUU]WP,recovery,0

(bootloader) [RUU]WP,recovery,99

(bootloader) [RUU]WP,recovery,100

(bootloader) ...... Successful

(bootloader) start image[tp] unzipping & flushing...

(bootloader) [RUU]UZ,tp,0

(bootloader) [RUU]UZ,tp,100

(bootloader) ...... Successful

(bootloader) start image[wcnss] unzipping & flushing...

(bootloader) [RUU]UZ,wcnss,0

(bootloader) [RUU]UZ,wcnss,20

(bootloader) [RUU]UZ,wcnss,40

(bootloader) [RUU]UZ,wcnss,100

(bootloader) [RUU]WP,wcnss,0

(bootloader) [RUU]WP,wcnss,100

(bootloader) ...... Successful

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]UZ,radio,0

(bootloader) [RUU]UZ,radio,8

(bootloader) [RUU]UZ,radio,17

(bootloader) [RUU]UZ,radio,25

(bootloader) [RUU]UZ,radio,30

(bootloader) [RUU]UZ,radio,38

(bootloader) [RUU]UZ,radio,43

(bootloader) [RUU]UZ,radio,51

(bootloader) [RUU]UZ,radio,60

(bootloader) [RUU]UZ,radio,68

(bootloader) [RUU]UZ,radio,73

(bootloader) [RUU]UZ,radio,81

(bootloader) [RUU]UZ,radio,86

(bootloader) [RUU]UZ,radio,94

(bootloader) [RUU]UZ,radio,99

(bootloader) [RUU]UZ,radio,100

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,34

(bootloader) [RUU]WP,radio,68

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

FAILED (remote: 51 partition update fail)

finished. total time: 68.765s

So basically the same error with writing the "WP" Write Partition for QSC.
[One (M7) General] geek-baba:
Follow the steps in sequence:

1. Flash modified_wwe_firmware_2.41.401.1_apply_to_x.xx.402 .x_version in hboot

2. Follow this - [Guide] HTC Dual Sim 802w (China Unicom), apply WWE European RUU - from STEP No. 2.

3. You dont need to flash 2.19 firmware to apply the 2.19 ruu.
[One (M7) General] jamaljmys:
Hello Guys

Flash CWM or TWRP without unlocking bootloader: PN07IMG.zip

is this compatible with the new 4.4.2 OTA rom?

thanks
[One (M7) General] geek-baba:
If you are s-off
[One (M7) General] jamaljmys:
Not s-off . my device still vergin :). I need to get it rooted only. Any guide please?

Thanks for your effort
[One (M7) General] adrenalize_:
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.
[One (M7) General] flipper66:
Excuse me a question, but this stock rom has the Italian language and google store ?.

Since I'm in China I'm considering to buy it.

Thanks for any answers.
[One (M7) General] Faisal0000:
If ur buying from china the stock rom does have google play but u cant run any google app such as google+ well about italian language i dont know bcoz i installed the european rom on it after rooting

Sent from my SM-G7102
[One (M7) General] flipper66:
I know that in China only English and Chinese, and no qoogle apps, I meant the European Rom from post 1.

thanks
[One (M7) General] Faisal0000:
The european rom has italian lang and google apps

Sent from my SM-G7102
[One (M7) General] dicomar:
Ciao.

Non non ha nessuna delle due cose (è brandizzato China Unicom) devi fare il root e poi installare More Locale e Gapps oppure fare l' S-off e installare ra RUU Europea.
[One (M7) General] SpineSurgery:
Guys

My 802W:

1. European RUU

2. HTC DEV Unlocked Bootloader

3. Superuser

4. S-OFF via Rumrunner

I have successfully went back to S-ON.

I am having troubles in:

1. Relocking bootloader (I need to get rid of "TAMPERED" and "UNLOCKED")

2. Removing superuser (can't delete files from the phone, automatic superuser removal wont work)

Please help

EDIT:

I am back to S-OFF as I can see this is mandatory to RELOCK bootloader. I've tried some relocking guide from the forum, but not working :/
[One (M7) General] geek-baba:
You should get rid of tempered, unlocked when you were s-off.
[One (M7) General] SpineSurgery:
I went back to S-OFF

I relocked bootloeader (LOCKED status), removed tampered, went back to S-ON again.

Now final step - how to remove superuser?

I can't do it manually (by deleting files from System) or automatically ("FULL UNROOT" option).

I remove the files, but everytime I restart phone, SUPERUSER is back :/
[One (M7) General] SpineSurgery:
I am trying to get back to original chinese software:

RUU (Android 4.1.2):

PN07IMG_M7C_DUG_JB_50_HTCCN_CHS_CU_1.12.1402.1_Rad io_1237.17.18.0423_release_318980.zip - 846.28 MB

My phone is:

1. S-OFF

2. Unlocked bootloader

3. With superuser

4. Hboot 2.44

I changed CID to chinese (HTCCN703) and I try to apply the RUU, but I get following error:

(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
[U][B]FAILED (status read failed (Too many links))[/B][/U]
finished. total time: 51.115s

Same error I receive when I try to apply European RUU.

I need to send my phone to service center, so I must make it 100% stock (not even with original european RUU, so I need to get back to Chinese).

Any advice why I can't flash?

I tried flashing usign "PN07IMG.zip", but no success.
[One (M7) General] ascot17:
You need to have a locked bootloader to flash the RUU.

See this guide

Where are you and where are you returning the phone to?

I have a Chinese phone but have successfully returned it to a UK service centre for repair. It may not be necessary for you to go back to Chinese. (My phone was S-OFF, unlocked with WWE ROM).
[One (M7) General] dicomar:
HI man. After many attempts i think that the reason why I cannot upgrade to kk is why I haven't the "pure " stock recovery because I have installed by flashing the European blinkfeed. Zip file. Is there a way to modify this without doing all the process again? Thx

Inviato dal mio HTC One dual sim utilizzando Tapatalk
[One (M7) General] geek-baba:
outline detailed steps of how are you trying to upgrade, blinkfeed patch should not be an issue.
[One (M7) General] dicomar:
Thank you very much but forgive me:

i'm already on S-OFF, my H BOOT is 2.49.0000 and sw version is 2.41.401.1.

I flash the European RUU twice following the guides but every time i couldn't update with OTA.zip to KitKat.

The problem is that when i reboot in HBOOT and then in RECOVERY mode i don't see the Android symbol (little robot) but what you can see in the attached file.

So if i push vol up and power the virtual buttons (back and home) on the bottom of the phone begin to blink, the screen becomes black and the phone reboot in a normal way.

P.S.: my One was originally branded China Unicom and i've flashed the HBOOT 2.49 + 4.4.2 Stock Recovery.7z - 14.27 MB

:confused::confused:
[One (M7) General] geek-baba:
First hold volume up, then (with volume up held down) press power button to enter the main recovery menu.
[One (M7) General] dicomar:
I resolved. I had to change the CID and then the recovery starts

Inviato dal mio HTC One dual sim utilizzando Tapatalk
[One (M7) General] lichang422:
Good news

it's good for me!!

Thx!
[One (M7) General] hom2lombre:
Hi guys

After spending many many hours in this question, i need your help to apply WWE EU RRU.

My HTC 802w is a china UNICOM one. It comes with 4.4.2 chinese firmware.

boot loader is unlocked, hboot 2.49, s-off, root SU, recovery_802w_6_0_4_7(15.03.2014).img

I try all methods explained i the first post and it does'nt work (fastboot and with external SD card)

for all methods i change before my former CID HTCCN703 into HTC__A07

With fastboot :

target reported max download size of 1542111232 bytes

sending 'zip' (1012931 KB)...

OKAY [ 50.841s]

writing 'zip'...

(bootloader) rom parsing start ...

(bootloader) rom parsing finish ...

FAILED (remote: not allowed)

finished. total time: 55.963s

and when using sd card : i have a bar on the right side then it asks me to reboot phone, then nothing.

Thanks a lot for your precious help
[One (M7) General] Pistonhead:
Hi, Im a noob, with no experience of rooting android handsets. Do you think I should try carrying out the steps that youve stated below or do you have some youtube demo perhaps? I own a Chinese HTC One M7 dual sim handset and have the same issues - limited blinkfeed access, unable to update software, etc.

Ive thanked you in Advance or sharing your knowledge with everyone.
[One (M7) General] ascot17:
This is not a matter of whether someone else thinks you should do it. What matters is whether YOU want to do it and think you have gained enough knowledge to do it correctly.

Before you do anything, you MUST read these forums [all the 802w thread in 'General'] until you are comfortable that you know what you need to do and what steps you need to take. You particularly need to read about fastboot commands and know what is meant by Hboot, bootloader, adb, fastboot, flashing, recovery, nandroid backup, TWRP [or CWM] etc.

Don't rush into anything - spend at least a couple of weeks reading these forums and than make your own decision. Everything you need to know can be found here and there are people who will be willing to help, but take your time!
[One (M7) General] geek-baba:
You decide yourself - So You Want to Root and Mod Your HTC One
[One (M7) General] criszz:
i played with my phone and now i'm in the same boat as you was, but i don't have a second phone :)), can you share your partitions? and there is another way to bypass that QSc ?
[One (M7) General] adrenalize_:
Yes, give me a day or two and I'll get them uploaded somewhere. Do you need brief notes/instructions?

There may be another way, but I don't know it! You probably only need one or a few partitions, but I don't know which and didn't have the time to find out which. The procedure doesn't take too long overall, probably only 1-2 hours to do a full partition backup of your current phone (just be be safe!), lay down the new partitions and then apply the whole RUU.
[One (M7) General] criszz:
i know what to do, i just need partition's . Thank's
[One (M7) General] geek-baba:
I know you know ;)
[One (M7) General] criszz:
what is that error on fastboot flash european ruu zip ?

target reported max download size of 1542111232 bytes

sending 'zip' (1012931 KB)...

OKAY [ 41.200s]

writing 'zip'...

(bootloader) rom parsing start ...

(bootloader) rom parsing finish ...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) Read zipped android_info fail

FAILED (status read failed (Too many links))

finished. total time: 49.078s

i have HTC__A07 cid

edit : i can not open ruu zip , is that normal ?? i always used only custom rom;s :))) i think i miss something but don't know what .
[One (M7) General] ascot17:
Did you relock the bootloader before trying to flash the RUU....? See steps 1a, 1b, 1c here