yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
HTC__332 is a pretty rare CID with little files available for it, so I don't recommend going back to that.

I would say, you have the following options:

1- flash a custom Sense ROM, then uninstall SuperSU using the "Full unroot"

2- flash a stock Sense ROM eg: http://xdaforums.com/showthread.php?t=2224752

3- fully convert your phone to international WWE edition

Do not go S-ON !!
[One (M7) Q&A, Help & Troubleshooting] ryski:
Hi nkk71,

Thanks for the fast response, I will not go back to HTC_332 if not necessary and will not go S-On, I just really want a Sense -Non Rooted phone to be able to use the mandatory Mobile Iron

For No. 1 I am not aware that I can Flash Custom Sense Rom without root, this is good news for me. Can you advise the best procedure or link to do this

For No. 2 Since there is no RUU for HTC_332, and since I have a SuperCID, what is the best RUU to use?

For No . 3- fully convert your phone to international WWE edition - Sorry for this question but Isnt being SuperCID almost the same as being International?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
The easiest way would be to flash a custom Sense ROM, then in the SuperSU app, select "full unroot"

(the alternative would be to edit the ROM.ZIP file and delete the supersu.apk file)

if you wanted to go back to full stock (including receiving OTAs), I would recommend changing MID to PN0710000 using this

and CID to one of the following:

HTC__001 --> HTC-WWE
HTC__016 --> VODA-Africa-South
HTC__032 --> HTC-EastEurope
HTC__102 --> HTC-GER
HTC__203 --> HTC-FRA
HTC__304 --> HTC-SPA
HTC__405 --> HTC-ITA
HTC__A07 --> HTC-Russia
HTC__E11 --> HTC-Dutch
HTC__J15 --> HTC-GCC
HTC__Y13 --> HTC-Norway

PN0710000 is the international unbranded version, which get's OTA updates fairly quickly (just after the US Dev Edition).

(it's for M7_UL, but it won't enable LTE, since your hardware doesn't have it, but the software is the same)

EDIT, then flashing the 1.28.401.7 ruu.zip

But I guess the first option would be the easiest, and you'd still have the optimizations of a custom ROM, excluding the ability to run rooted apps... if you reenter custom recovery, and it asks you if you want to re-root your device, you just say no.
[One (M7) Q&A, Help & Troubleshooting] :
Hello everyone, I know someone who works in the htc repair center from Spain and I would like to tell you few things.

1. With the imei they can see if you have Unlocked under the htcdev (even if it is locked again by S-OFF then turning it back to S-ON and locked instead of relocked) If you've obviously asked for the unlock they will know entering the imei

2. In different countries they have different policies, in the case of Spain, you can send the phone even with custom rom/tampered or whatever, if it is for the camera module they will change it
[One (M7) Q&A, Help & Troubleshooting] nkk71:
I totally agree on your second point, it's very different for every country / carrier / repair center ; even the technician that get's the phone. A hardware problem should be fixed even if you have unlocked bootloader, etc.

But personally, I don't agree with your first point.... just because someone requested and unlock code, does not mean they used it.... and I have yet to see someone saying they go rejected due to HTCdev unlock.
[One (M7) Q&A, Help & Troubleshooting] ryski:
HI, just tried the first one and my phone keeps rebooting every 30 minutes or so.(I used GPE RUU though)

Will try the 2nd/3rd option to convert it to International edition, can I just go ahead and install the RUU without changing the CID and MID, as i dont need full stock, just need the phone to be working properly.

Or Can i just proceed with with flashing RUU Sense ROM 1.28.401.7 ruu.zip directly?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Why did you use a RUU? I thought you wanted Sense Edition ROM?

The RUU_M7_UL_1.28.401.7 will only work for MID PN0710000, if you don't want to change MID then you'll need to use the one for PN0711000 RUU_M7_U_1.29.401.2

But remember this will downgrade you all the way back to Android 4.1.2, and you will only get OTA updates if you set CID to an appropriate one depending on which RUU you choose.
[One (M7) Q&A, Help & Troubleshooting] ryski:
HI, Tried the GPE RUU since it has a smaller file, got crappy internet connection here (middle east) and hoping it will fix the problem but it did not.

I will go on with your original suggestion and just download the 1.28. So correct me if Im wrong. The procedure will be.

1. Flash TWRP (since i am on stock)

2. Change MID thru TWRP to 710000 (based on the link you provided)

3. Boot to Fastboot

4. Change CID from 111111... to HTC_001

5. Flash 1.28 RUU (OEM reboot RUU....)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yes sounds good, there is a 4.19.401.9 RUU which would save some OTA updates, but it's very touchy and often just gives problems, so I'd say go with the 1.28.401.7 ruu at least that doesn't fail.

use a download manager and make sure MD5 checks out on all your downloads

to change CID:

fastboot oem writecid HTC__001 <- two underscores, CID is always 8 characters

fastboot reboot-bootloader

once the RUU is installed you can take OTAs all the way up to the latest Sense 6

remember to stay S-Off, and if you want to try a custom ROM without root you can always do that later.
[One (M7) Q&A, Help & Troubleshooting] ryski:
Appreciate your quick response.

Forgot to ask one question, after I change the CID, can I flash the RUU directly right after since I am already in fastboot or will it require a reboot?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
No need to reboot, just

fastboot oem rebootRUU

And flash twice

Example output is in post 8

Ps: you cannot use Win 8.1 as mentioned in the FAQs (post #2)
[One (M7) Q&A, Help & Troubleshooting] ryski:
Hi Again,

Done changing the MID but upon changing CID is is saying "Input CID is not super CID"

What should I do?

Edit: its ok now, I just rebooted the phone and now it is HTC_001. Will proceed with flashing
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Not a problem, perfectly normal since HTC__001 isn't SuperCID (11111111)

this it is not an error.
[One (M7) Q&A, Help & Troubleshooting] ryski:
All is well now software is updating. So far theres no force restart unlike before which usually happens every 5 mins.

Thanks a lot for the help:good:

Edit: after everything is installed, it prompted to install OTA, after downloading and installing, it is always showing the red exclamation mark with triangle and I need to restart the phone again. How can I fix this?
[One (M7) Q&A, Help & Troubleshooting] :
Hello there, maybe tomorrow I'm going to sell my htc one, and I want to leave a stock Rom AND a stock recovery (so when he uses factory reset from the menu in htc one) the phone goes back to new.

Actually I'm with S-ON, Unlocked, Slightly Rom V4 and elemental kernel + twrp 2.7.1.1 recovery!

When I use reset the rom from the htc sense it just pops up to the recovery.

I guess what I'm asking it is not so difficult, maybe just flash from fastboot the original recovery right?

Phone details

Model: HTC brightstarus_wwe

CID: 1501...
[One (M7) Q&A, Help & Troubleshooting] ryski:
Hi [MENTION=2605798]nkk71[/MENTION], I have installed the 1,28 RUU and working perfectly fine and it prompted me to update to 1.29 upon installing, system always aborted it (tried manual OTA installation thru stock recovery as well) and is showing "assert failed:apply patch_check("system/app/Books.odex". "xxxxxxxx.........." What do I need to do to resolve this issue? I tried it with an unlocked bootloader and I relocked my bootloader as well.

Can I do the OEM reboot again and use this zip? http://www.htc1guru.com/2014/03/android-ruu-europe/

Edit: Sorry for flooding your thread, I just did another OEM rebootRUU gain with the 1.28 and now the 1.29 OTA go thru.

Thanks for all the help.
[One (M7) Q&A, Help & Troubleshooting] thaf:
using ruu.zip method

MID: PN0714000

CID: HTC__044

S-OFF

1- fastboot flash recovery CWM.img

error: cannot load 'CWM.img'

2- using ruu.zip method is there a need to be do anything to downgrade to hboot 1.44. Or is this taken care of in the ruu.zip method already. Cause i need to
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Here's a mirror of the file you need: http://www.androidfilehost.com/?fid=23501681358544181

(it's the same as the one on HTC1Guru if you already have it, no need to download again)

FAQ: 6) Q: fastboot is giving me "cannot load"

A: the filename is wrong

EDIT: if you already have a custom recovery installed, you can use the existing one, no need to change it.

it's taken care of during the first flash

(first flash will change hboot, second flash will install the rest of the partitions)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
EDIT: ah good, cause that shouldn't happen... when you get "assert failed" it means something is not fully stock.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
can you post a "fastboot getvar all" (excluding IMEI and s/n)
[One (M7) Q&A, Help & Troubleshooting] ryski:
Hi nkk71, got a huge problem now, it started downloading and installing the OTA, I was downloading the 3.62 OTA earlier and my phone suddenly shut down :( and wont open, tried to open it on a bright light but it wont open
[One (M7) Q&A, Help & Troubleshooting] nkk71:
:confused: strange

did it overheat or run out of battery? does the charging LED come on when you plug it in the wall charger?
[One (M7) Q&A, Help & Troubleshooting] ryski:
It kinda get hot, battery was almost full, its downloading the software along with some update on the apps at the same time.. In the office right now and have no access for a wall charger just thru USB. But thru USB there is no LED
[One (M7) Q&A, Help & Troubleshooting] nkk71:
does it show anything in Device Manager (like QHSUSB_DLOAD? hopefully not)
[One (M7) Q&A, Help & Troubleshooting] ryski:
Nope nothing. My PC cannot detect it
[One (M7) Q&A, Help & Troubleshooting] nkk71:
ok, let it cool down and plug it into a wall charger later, then try the force reboot after letting it charge for a while:

B) Force reboot

Press and hold POWER + VOLDOWN (under a bright light, not kidding!!), after about 5 seconds or so buttons should start blinking, and after 30 seconds or so, the phone will reboot, let go of POWER, but keep holding VOLDOWN to get back to bootloader.

(you may need to try 2 or 3 times to get it right)​

if it shows up in device manager as QHSUSB_DLOAD, then you'll need to try this: http://xdaforums.com/showthread.php?t=2770684
[One (M7) Q&A, Help & Troubleshooting] juanshop:
Hey I just wanna say your guide is the best one out here and has saved me about 3 times because I've had to replace my phone. Anyhow. On my latest phone I got I have hboot 1.57 I was lucky enough my emmc allowed me to s off this puppy. Anyhow, if the time was to come again, would i have any problems downgrading my hboot to 1.44? Or my current hboot shouldn't matter and can downgrade And go back to stock no problem? Thanks in advance!
[One (M7) Q&A, Help & Troubleshooting] ryski:
My phone wont open at all, tried all optios, I decided to bring it to the service center earlier today, luckiliy have 2 more weeks left before my warranty expire. They told me wait for 1 week. Im not usre if they can detect if the phone was rooted before.(it was relocked though) since the phone will not open at all, might be hardware.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Sorry to hear that, but it does sound like a hardware problem.

hboot will be downgraded automatically when you flash the ruu.zip, so no need to worry about your current version... as long as you are s-off anything is possible.
[One (M7) Q&A, Help & Troubleshooting] burgess_boy:
I am returning my HTC one to repair the purple camera tint problem.

I have followed this guide before and subsequently changed my CID to that of my phone provider in order to fix a problem I had with not getting LTE/4G.

The problem now is that I remember the phone was originally locked to Vodafone but cannot remember the matching CID. Is this a problem or will relocking the phone change my CID back to the original.

The reason why I am wary of this is that whilst organising my repair the HTC advisor sent me this:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
CID won't be restored to original, it will stay whatever you set it to with: fastboot oem writecid XXXXXXXX

Vodafone UK would usually be CID=VODAP001 and 3UK would be CID=H3G__001

why not send it in as international unbranded HTC__001? Wouldn't that work?

if you really need to find out the original CID of the phone, you'd need to pull a certain partition and send that to me via PM.
[One (M7) Q&A, Help & Troubleshooting] burgess_boy:
Thank you very much for that.

I am going to change my CID to HTC__001 and then download the appropriate RUU that matches CID: HTC__001 and MID: PN0710000. I have come to realise that HTC support won't be interested in what carrier I am on.

I am on HBOOT 1.57 with S-OFF would it be best to downgrade to HBOOT 1.44 in order to avoid TAMPERED reappearing after a reboot?
[One (M7) Q&A, Help & Troubleshooting] anne5louise:
OK No problem well if anyone needs it i can upload the clean 4.3 backup, Im afraid my stock 4.2.2 for some reason fails MD5 check so I can no longer restore it.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
after setting cid to HTC__001, use the RUU.ZIP method using this: RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7

(it's the same file from HTC1Guru, but since that site is experiencing intermittent problems, i've mirrored it)
[One (M7) Q&A, Help & Troubleshooting] cesc:
Hey there, this intl version doesnt have ota problems? it will go on up to 4.4.2? i want sense back and the dev edition is not getting otas at the moment the only option is manually update.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
it should work fine.

i don't know why the dev edition is having ota problems, strange.
[One (M7) Q&A, Help & Troubleshooting] burgess_boy:
Worked perfect thanks, all updated and factory restored ready for delivery.
[One (M7) Q&A, Help & Troubleshooting] cesc:
well this is strange, i dont get any otas in dev edition and now i tried the europe version and again no otas. im back on google edition where i do get the otas.

mid and cid all correct for each version.

Any idea why ?
[One (M7) Q&A, Help & Troubleshooting] strecker1969:
I'm having issues trying to revert my converted Google Edition back to stock sense.

Using linux, I am having trouble flashing the CWM.img.

I'm S-Off, but my bootloader is locked(which is what I think the problem is). However, I can't figure out how to unlock it??
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
're-flash the unlock_code.bin you got from htcdev when you unlocked it originally. Unfortunately this will wipe your device but since your reverting I suppose your prepared for this.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Here's how to unlock with S-Off without using HTCdev:

Since you are S-Off, use a custom recovery masked in a firwmare package: you can use of these "firmware" packages (m7_u/ul only):

http://www.androidfilehost.com/?w=files&flid=13085

in bootloader/FASTBOOT USB:

fastboot oem rebootRUU

fastboot flash zip fw_m7ul_TWRP_2.6.3.3_1.26.401.33.zip

fastboot reboot-bootloader

-> enter RECOVERY (should be TWRP or CWM now)

and use scotty1223's commands in custom recovery http://xdaforums.com/showthread.php?t=2475914 to unlock bootloader

C:\ADB3>[B][COLOR="Blue"]adb devices[/COLOR][/B]
List of devices attached
HT34xxxxxxxx recovery [I]<- you need to be in custom recovery to
ensure [B]root[/B] privileges
i.e. an adb shell with [B]#[/B] as opposed to [B]$[/B][/I]

C:\ADB3>[B][COLOR="Blue"]adb shell[/COLOR][/B]

[SIZE="1"][I][U]Note[/U]
CWM shell prompt usually looks like [B]~#[/B]
TWRP shell prompt usually looks like [B]~ # ←[6n[/B]
it doesn't matter, you just type (or even better copy/paste) the commands in bold blue
[/I][/SIZE]

[I][SIZE="1"]Setting UNLOCKED[/SIZE][/I]
~ # [B][COLOR="Blue"]echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796[/COLOR][/B]
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
4+0 records in
4+0 records out
4 bytes (4B) copied, 0.007691 seconds, 520B/s

~ # [B][COLOR="Blue"]exit[/COLOR][/B]
exit

C:\ADB3>[B][COLOR="Blue"]adb reboot bootloader[/COLOR][/B]
^^ if this doesn't work in your particular version,
just select reboot to bootloader in TWRP.

ps: your version-main will now say 1.26.401.33 (reflecting the recovery version 2.6.3.3); it didn't actually change, but version-main always shows the last thing flashed in ruu mode.

.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
you tried the 1.28.401.7 ruu using PN0710000 and HTC__001 and didn't get any updates? that is very weird... no idea why that would/could happen.

it's just a wild guess (at best), but have you tried removing the SIM card... maybe your provider is interfering with the updates (though I really don't see how that's possible)
[One (M7) Q&A, Help & Troubleshooting] cesc:
Yes i use the ruu that you posted, changed the mid because the original mine was the 72 and the cid, nothing, at this point im thinking htc put me on some blacklist or something, i did tried using airplane mode just wifi and no updates.

If i use an att ruu, the updates come from htc or from att ? because i imagine dev edition and europe come from htc and google edition from google and the htc are the ones not working for me.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
HTC One M7_UL

modelid=PN0710000

cidlist=O2___001,O2___102

AndroidFileHost mirros:

For Windows 7: mini-sdk-1.0.31-windows.rar​

recovery-clockwork-touch-6.0.4.5-m7ul.img​

Guru_Bootloader_Reset_1.0.zip

^^ I prefer the more reliable adb commands by scotty1223, since they don't freeze​

RUU Zip M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed.zip
​

M7 CWM Nandroid Backup CID O2__102 1.27.206.1 2013-03-30.zip

ro.aa.modelid=PN0710000
ro.aa.cidlist=O2___001,O2___102
ro.aa.romver=1.27.206.1

once extracted it will give you a folder "2013-03-11.17.58.27"

so the adb push command will be:

adb push 2013-03-11.17.58.27 /data/media/clockworkmod/backup/2013-03-11.17.58.27​

one-1.28.401.7-preloaded-modaco-withoutmovie.zip​

stock recovery: recovery 1.29.206.11.img​
[One (M7) Q&A, Help & Troubleshooting] elpicard:
Hi [MENTION=2605798]nkk71[/MENTION],

I came from mike's post.

As you said, I need to lock again the phone in order to return it to Amaz*n Germany. I have TWRP and the following vers.

With 1.56 hboot which is the best bulletproof method and for noobs?

why did you recommend me that specific JB rom and not a KK?

Im on ARHD 71.1

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.56.0000

(bootloader) version-baseband: 4A.23.3263.28

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.19.401.9

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

(bootloader) serialno: x

(bootloader) imei: x

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__102

(bootloader) battery-status: good

(bootloader) battery-voltage: 4193mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-4dab9d12

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) Q&A, Help & Troubleshooting] nkk71:
to get it to say LOCKED (as opposed to RELOCKED) you need to s-off, there's no other way.

for hboot 1.56 you'll need to use firewater, if that gives the "whelp" message, you'll need to use sunshine (costs $25)

and i recommend the 1.xx RUUs because on hboot 1.55+ quite often, going from S-OFF to S-ON triggers a "tamper detected - rebooting" and TAMPERED being back in bootloader.

IF they accept a RELOCKED bootloader, then you can use the 4.19.401.9 RUU.EXE
[One (M7) Q&A, Help & Troubleshooting] elpicard:
Well, Im starting the process.

First error:

Its seems that firewater page is down, nevertheless, when I type SU, nothing happend. I have SuperSU in the phone and mike's ROM.

the second yes appears alone, after the internet connection, goes back to #
[One (M7) Q&A, Help & Troubleshooting] akshayy29:
F:\AKSHAY>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.27.3218.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: HTC__038

(bootloader) battery-status: good

(bootloader) battery-voltage: 3787mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-1f512bb6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

i HAVE TO TAKE MY MOBILE FOR WARRANTY!!

Im downloading this ruu : http://www.htc1guru.com/dld/ruu-zip...0-01_release_312087_signed_2_4_decrypted-zip/

Is nandroid process necessary for me?! or till s on will do for me?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
that is the correct ruu.zip:

modelid: PN0711000
cidnum: HTC__044
cidnum: HTC__038
mainver: 1.29.707.4

you need to use RUU.ZIP method (posts #1, #2, and #4)

all done

make sure to check MD5 of the downloads, as the website sometimes has problems.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
if you're using ARHD then, the su is actually not necessary, your adb shell already has # prompt meaning you are in su mode, but obviously firewater can't detect an active internet connection (which it needs), so make sure you're on WiFi or 3G and have no firewall enabled, on your router, that may be blocking it.
[One (M7) Q&A, Help & Troubleshooting] akshayy29:
OK im in CWM recovery but i adb commands are not working i mean my device isn't showing up after adb devices! should i boot up and enter adb commands
[One (M7) Q&A, Help & Troubleshooting] nkk71:
please see the FAQs in post #2
[One (M7) Q&A, Help & Troubleshooting] akshayy29:
Im using windows 8! i reached till installing ruu ... but pc wont detect my device in fastboot mode
[One (M7) Q&A, Help & Troubleshooting] nkk71:
you mean after the first flash:

C:\ADB3>[B][COLOR="Blue"]fastboot flash zip ruu.zip[/COLOR][/B]
sending 'zip' (1033216 KB)...
OKAY [ 41.559s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) start image[hboot] unzipping for pre-update check...
(bootloader) start image[hboot] flushing...
(bootloader) [RUU]WP,hboot,0
(bootloader) [RUU]WP,hboot,99
(bootloader) [RUU]WP,hboot,100
(bootloader) ...... Successful
[B][COLOR="Red"]FAILED (remote: 90 hboot pre-update! please flush image again immediately)[/COLOR][/B]
finished. total time: 43.118s

^^ as expected "flush again"

and then fastboot flash zip ruu.zip doesn't work?