yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
sorry for the delay, but should pretty straight forward now that you're s-off.

First you're going to change your CID to European unbranded, the list of unbranded are as follows:

*[B]HTC-WWE HTC__001[/B]
*VODA-Africa-South HTC__016
*HTC-EastEurope HTC__032
*HTC-GER HTC__102
*HTC-FRA HTC__203
*HTC-SPA HTC__304
*HTC-ITA HTC__405
*HTC-Russia HTC__A07
*HTC-Dutch HTC__E11
*HTC-GCC HTC__J15
*HTC-Nor HTC__Y13

info from [URL]http://xdaforums.com/showthread.php?t=2445289[/URL]

unless you have a particular preference, we'll just use the first one.

so boot into bootloader/FASTBOOT USB, then:

fastboot oem writecid HTC__001 (two underscores)

fastboot reboot-bootloader

--> confirm your CID is now HTC__001

now download this RUU (for later): http://www.htc1guru.com/dld/ruu_m7_...1-27_10-31-1131-05_release_310878_signed-exe/

then proceed to my first post and downgrade hboot to 1.44, then proceed to my second post "RUU.EXE" method:

* and follow step 1

* then, step 2 with the above mentioned RUU

I would highly recommend you skip step 3, and remain S-Off, if at any point in the future you want to change something, S-Off is your "get out of jail" card.

S-Off will not affect anything on your phone, including OTA upgrades. and as per HTC, it does not void your warranty: https://twitter.com/htc/status/377422743626842112

(The only difference you will see with S-Off, is in HTC Error Reporting is always enabled, but who cares)

After running the RUU, you should start receiving OTAs all the way up to 4.3; at the moment 4.4 is not out yet for European unbranded, but should be coming soon. (please note, that if you have the intention of going s-on, which i don't recommend, you

have to do it before

the OTAs)

Let me know if you need any further help or have any questions about the procedure.
[One (M7) Q&A, Help & Troubleshooting] nokevin:
Thanks, Im going to clear out ALL that Ive downloaded and start again so I dont get confused and use a wrong file\s, Im downloading now so very soon I should be good to go, Im sure there will be more questions from me very shortly

Thanks Again
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
[QUOTEand if you intend on going from S-Off to S-On, I personally wouldn't do it on hboot 1.55+ (so that rules out the 4.19 ruu you mentioned)

the hboot downgrade is only necessary for the RUU.EXE method.[/QUOTE]

Ok, so if I downgrade hboot to 1.44 and run the ruu that you recommend, will the hboot upgrade after ruu, or still will be 1.44?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
hboot will change with the RUU or any OTA you receive, so

1.xx ruu/ota -> hboot 1.44

2.xx ruu/ota -> hboot 1.54

3.xx ruu/ota -> hboot 1.55

4.xx ruu/ota -> hboot 1.56 (for some 1.57)

5.xx ruu/ota -> hboot 1.57

no need to worry about hboots, but i highly recommend you don't try going S-Off to S-On on hboot 1.55+
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
Ok, I will downgrade to 1.44, then run 1.xx ruu, everything will be reset to stock, hboot still will be 1.44, then will go to s-on. After repair, it will be easy to s-off, and I will not change hboot version, because it is not necessary for custom roms. Thanks for suggestions :highfive:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
they will probably update the software during repair

Good Luck
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
Yes, that's true, hope they will be lazy. Thanks!
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
Another question: you sad that the order of doing things is:

1. Get rid of tampered ad lock bootloader

2. Then flash ruu.zip

In THIS thread by Crushalot sad that first you have to flash ruu.zip THEN get rid of tampered and lock bootloader. What is the right order, or that is irrelevant?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
if you are following my RUU.EXE or RUU.ZIP method, then you need to 1st remove tampered and set locked.

why? because once you flash the ruu.zip, it will overwrite custom recovery (needed for the adb commands / bootloader reset tool) with the stock recovery, which doesn't allow adb commands or bootloader reset tool.

after a successful ruu flash, everything will be 100% stock.

to double check, bootup once to make sure the phone is booting OK, and everything was wiped,

but

, if you intend on going S-ON do

not take OTAs

, go back to bootloader and S-ON (as always, I do not recommend it)
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
Ok, understood :)

I have to go s-on because of warranty, will never do that if I don't have to. After successfully reverting to stock, will activate airplane mode so no ota will arrive. Thanks again.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yes I understand, actually don't activate airplane mode, you should receive a notification that there is an update available (that's a good sign :)) but you just decline to take it.

then go S-On, and if you want to take the updates after you are S-ON, LOCKED, and no tampered, you can if you want.... but during repair they'll probably update it for you anyway.
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
Ok, thanks again.
[One (M7) Q&A, Help & Troubleshooting] Jens Christensen:
Okay, so I'm gonna post my getvar info as well in the hope that someone has a RUU.exe or something like that will revert my M7 to stock. I've tried to do it myself but I run into this problem every time.

(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: 5.11.401.10

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

(bootloader) serialno: <snip>

(bootloader) imei: <snip>

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__Y13

(bootloader) battery-status: good

(bootloader) battery-voltage: 4113mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-e47fb74b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Can anyone point me to a file that will revert my phone to stock and give me working OTA updates? Thanks in advance.
[One (M7) Q&A, Help & Troubleshooting] snebojsa:
[MENTION=2605798]nkk71[/MENTION]

Everything went good, revert back to stock, hboot 1.44, locked, s-on. Gave phone today to repair center, guy from there sad that they probably will give me a new phone, but have to wait a least 2 weeks. Probably won't be able to s-off, but new phone is new phone :) Thanks for suggestions.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
[MENTION=2605798]nkk71[/MENTION] Great easy to follow guide thanks :) Completed this process last night. Only snag I ran into was pushing the one-1.28.401.7-preloaded-modaco-withoutmovie.zip for some reason after adb push clockwork mod could no longer see my storage so I was unable to install the .zip then after reboot it was not there? Although the Linux terminal reported successful push

So I copied it to a usb stick and installed it with my otg device. Now No Tampered and locked, no red text and first OTA install and back to s-on. I still seem to be missing the Three stock apps I'm hopeing the next OTA will fix that. It's downloading now will report back after its installed but so far so good. Can't thank you enough.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
3.62.771.3 OTA installed and it's all golden :D all stock apps present and correct all that's left is to get it repaired or replaced :highfive:

Sent from my 100% returned to stock HTC One M7 thanks [MENTION=2605798]nkk71[/MENTION]
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Without S-OFF, you can't follow my guide.

Use this ROM instead: http://www.androidfilehost.com/?fid=23501681358543706

:good: :good: :cowboy:

Nice signature [MENTION=5116541]Danny201281[/MENTION] :p
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
All OTAs now installed spoke with three support earlier today phone will be collected for repair on Monday. I was kinda hoping they would replace it but at least I should be able to s-off again when it comes back unless they replace the motherboard I guess.

Thanks again for your helpful advice and guide, and about the signature, would you get a mention notification every time I post. I'm sure that will get old very quick will change if need be :p

Sent from my 100% returned to stock HTC One M7 thanks [MENTION=2605798]nkk71[/MENTION]
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Seems I do get a notification when you post... i'm assuming this is tapatalk signature, cause the xda signatures should not cause a notification afaik

Good luck with repair
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I've removed the "@" from my signature to save you the annoyance :s I'll let you know how it goes with repair ;)

Sent from my 100% returned to stock HTC One M7 thanks nkk71
[One (M7) Q&A, Help & Troubleshooting] Jens Christensen:
I have to admit I saw that before I posted but I was desperate :( Custom roms are nice but damn, I miss the Sense Camera and Beats Audio! Thanks for replying, I'll let you know how it goes.
[One (M7) Q&A, Help & Troubleshooting] Jens Christensen:
nkk71, just flashed the ROM you linked and it looks like it works. Thanks so much for your help!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Glad to hear it :)

But you can try with custom ROMs too, if you want Sense Camera and Bears Audio, just use one which is Sense 5 / 5.5 / or 6 based, you can find them here: http://xdaforums.com/htc-one/development
[One (M7) Q&A, Help & Troubleshooting] Jens Christensen:
Yeah, but since I could'nt get S-off and turn my phone into a GPE, I just wanted the stock ROM. And now I have thanks to you :)
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hey [MENTION=2605798]nkk71[/MENTION]! I successfully completed converting from tmobile to stock developer edition using your guide. however, it is not showing ota updates. In the sense I installed the lowest currency and when i keep checking for ota it shows no update available system up to date. Do I need to mess around with some config file or it will just pop up on its own?
[One (M7) Q&A, Help & Troubleshooting] alray:
Post the output of "fastboot getvar all" except imei and serialno so I can help you update your dev edition
[One (M7) Q&A, Help & Troubleshooting] harshdev:
[MENTION=4654136]alray[/MENTION] fastboot getvar all output | just because if was not updating I tried flashing RUU 4.3 for US BS_US001 directly.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.55.0000

(bootloader) version-baseband: 4A.20.3263.16

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.22.1540.1

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

(bootloader) serialno: xxx

(bootloader) imei: xxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: BS_US001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3963mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-fe1214a4f2

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M7) Q&A, Help & Troubleshooting] alray:
since your phone is s-off you could flash each ota updates manually. We already helped some ppl to do it in the dev edition update thread in the general section of this forum. There is a post explaining how to proceed and all download links for each ota from 3.22.1540.1 to 6.07.1540.1. Just read the Last few pages and youll find it

edit:

post 1136.

last update (6.07.1540.1) is an encrypted file so you must install it the "normal" way: settings --> phone info --> software update --> check for update. You can't install this ota manually like for previous one. If you don't get notified for the last update, you can flash the 6.07.1540.1 nandroid backup and if you are comfortable with this, flash the 6.07.1541.1 firmware, both uploaded in the same thread.
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
Ok, so I'm not trying to get back to 100% stock but I am needing to get to a point that I can get the OTA to 4.4.2 Sense 6.0. The method a friend of mine told me to do is to simply move to the stock recovery and then push the RUU from htcguru ruu-zip-m7_ul_jb43_sense50_mr_cingular_us_3-17-502-3-decrypted-zip (sorry, new members can't post links. I have flashed the stock recovery and now when I try fastboot flash zip ruu.zip

it returns the following error BOTH times that I try to flash the RUU:

target reported max download size of 1514139648 bytes

sending 'zip' (1158208 KB)...

OKAY [ 45.354s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) Read zipped android_info fail

FAILED (remote: 99 unknown fail)

finished. total time: 45.603s

for lack of a better term: what do?
[One (M7) Q&A, Help & Troubleshooting] alray:
this is a decrypted ruu so it require s-off to be flashed.Also make sure your CID is CWS__001 and your MID is PN0712000 and that this also match the info in the android-info.txt file inside the ruu package.

If you are s-on, you'll need a signed ruu (not decrypted) same or higher version of the phone(not with s-off). And with s-on, bootloader must be locked or relocked to use a ruu (not with s-off)

better to post the output of fastboot getvar all so we can determine what ruu you need to use and how. (dont post imei and serial #s)

btw, no need to flash stock recovery before the ruu, stock recovery is included in the RUU.
[One (M7) Q&A, Help & Troubleshooting] thaf:
1 - i checked through the nandriod backups with respect to the MID PN0714000 and CID HTC__044 and i had to download this : M7 TWRP Nandroid Backup CID HTC__044 _ 4.20.707.6 Asia WWE.zip. After download an error message : windows cant open the folder .........M7 TWRP Nandroid Backup CID HTC__044 _ 4.20.707.6 Asia WWE.zip is invalid. Should i proceed to

adb push M7 TWRP Nandroid Backup CID HTC__044 _ 4.20.707.6 Asia WWE /data/media/clockworkmod/backup/M7 TWRP Nandroid Backup CID HTC__044 _ 4.20.707.6 Asia WWE.

Or what should i do

2- What does this mean ;

First off, placeholders in the below guide:

CID: H3G__001 should be substituted with your CID, I’m using H3G__001 just as an example

nandroid backup: “2013-mm-dd.hh.mm.ss” has to be replaced by the real name of the nandroid backup folder

i thought you are supposed to find a nandriod backup that is compatible with you CID. Now there is no need for me to change my CID to HTC__044 as it is already HTC__044.

Thank you
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
That makes sense, I think perhaps my friend misunderstood some of the information I gave them. So I don't know really where to go from here, tbh. The last time I posted in this thread, I needed to be stock to ship back to HTC for a broken screen but this time, I'm simply having issues with my current setup and I need to fix it somehow. I've been running a stock image and the only thing I did was freeze all of the bloatware from AT&T and that's really all I want. I saw yesterday that U/Wonders_Never_Cease has the new 4.4.2 Sense 6.0 debloated and that's what I want to have on my phone. My issue presently is that something isn't playing well with others and I have to reload an image from TWRP and that image will last anywhere from a few hours and to few days but will inevitably start going in to a partial boot loop wherein the OS will launch and be functional for all of 1-2 mins. and reboot itself. I just want that to stop and we were thinking that reverting back to stock in order to let the most recent updates apply would be the way to go but now that's not working either :crying: so I have a phone that doesn't quite do much of anything right now. getvar all:

version: 0.5

version-bootloader: 1.56.0000

version-baseband: 4T.24.3218.09

version-cpld: None

version-microp: None

version-main: 4.18.502.7

version-misc: PVT SHIP S-ON

meid: 00000000000000

product: m7_ul

platform: HBOOT-8064

modelid: PN0712000

cidnum: CWS__001

battery-status: good

battery-voltage: 3959mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-c6bbb6d4

hbootpreupdate: 11

gencheckpt: 0

I think also my confusion at this point is whether or not I need to be stock or if I am missing the point of being able to flash a new image on to the phone...I'm just looking for something stable.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
If you have:

MID: PN0714000

CID: HTC__044

S-OFF

then you use RUU.ZIP method (posts #1, #2, and #4), using this ruu.zip:

http://www.htc1guru.com/dld/ruu-zip...0-13_10-33-1150-01_release_311678_signed-zip/

AFH Mirror: http://www.androidfilehost.com/?fid=23501681358544181
[One (M7) Q&A, Help & Troubleshooting] alray:
I'm using 4.4.3 dev edition rom (dont known for Wonders_Never_Cease), but if you want to use this ruu you will 1st need to s-off your phone in order to change CID and run de dev edition ruu.

Thats also what I am thinking.

There is a 4.18.502.7 RUU here.

Another possibility is to s-off the phone and flash any .502 ruu or do the conversion to a dev edtition (.1540)

There is also a guru reset rom of 5.12.502.2 here
[One (M7) Q&A, Help & Troubleshooting] nkk71:
I'm not sure I really understood your problem, but with S-ON you are a bit limited... if you want to run a RUU, you'll need to relock bootloader

and run this ruu:

http://www.htc1guru.com/2014/03/att-ruu/

http://androidruu.com/getdownload.p...09_10.26.1718.01L_release_356565_signed_2.exe
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Thanks [MENTION=4654136]alray[/MENTION] for helping out :good: :highfive:
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
So here is my problem:

Back in March I unlocked bootloader, rooted the phone, and just kept the stock image on there with no issues for about 3 months.

Jump ahead to June and all of a sudden I'm having issues where the phone will work fine but spiral in to a kind of boot loop, characterized by the phone rebooting itself however loading as normal but then rebooting itself every 1-2 mins. I received no system errors before the phone would reboot itself, it simply shut down and reboot.

I've been able to wipe and reload various image backups from TWRP and the phone will be stable for anywhere from a few hours to a few days but will inevitably go back in to it's "boot loop".

So now I'm at a point where I'm simply trying to find the best route to get a stable image on the phone and I don't know how. I'm looking in to this option since I like Sense and I'm not looking to do anything crazy with a new image right now, I just want to be able to remove all of the AT&T bloatware from the phone however I still want to keep my options open for future options in new ROMs. Does any of that make sense? I really don't know if I'm completely off base here, since I'm so new to Android and rooting.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
that sounds like the infamous missing IMEI and baseband in Settings->About

I would say, relock bootloader (fastboot oem lock) and run the above mentioned RUU (it's the same version as you are on at the moment), don't take any OTA and see if the phone "holds" for a few days

if yes, then you can think of changing back to custom/debloated ROM (and possibly S-OFF), otherwise it could be a hardware problem.
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
Okay, so just to make sure I've got this process down:

fastboot oem lock

fastboot oem rebootRUU

fastboot flash zip ruu.zip

fastboot flash zip ruu.zip

fastboot reboot-bootloader

???

profit?

Oh, and I just confirmed that IMEI and baseband are visible in about and match the getvar output.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
it's a Windows executable, so you can just run the application just like any windows program, so just

fastboot oem lock

and run the ruu.exe
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
Yeah I just noticed that once I started downloading it. I will run this and update you guys, hopefully in about 45 minutes. Thanks again for all your help so far.
[One (M7) Q&A, Help & Troubleshooting] light_pollution:
And done. It looks like I am now on Android 4.4.2 with Sense 5.5, relocked bootloader, no root access. I'll use my phone like this for a while to make sure, like nkk71 recommended, that there's no hardware issues and that the device works as it is and then make the decision on how I want to proceed with unlocking again and such. Thanks for all of the great help guys and expect me to pester you again with more questions when it comes to unlocking again and getting things figured out! :laugh:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Good luck, hopefully it's not a hardware problem and the ruu fixed the affected partitions / naughty program / settings.

Don't take any OTAs, because the chances of getting S-OFF (if you ever decide to), will narrow as you upgrade.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
[MENTION=2605798]nkk71[/MENTION] :D just received my HTC one back from repair center all fixed. Definitely repaired just the camera, everything else still the same already checked emmc cid still starts with 4501 so s-off should still be possible :highfive:

Thanks again nkk71 for a great guide :good:
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Good to hear :) :highfive:
[One (M7) Q&A, Help & Troubleshooting] ryski:
hi, I posted the below message in QA but I might get answer here as well :)

So I converted my HTC One Send to GPE rooted and was working perfectly fine, until my company require us to use Mobile Iron in which will not work with a rooted phone, I have unrooted it but now it has too many issues, several FCs, freezing, restarting etc. Did several factory reset as well but problem is still recurring, So i am already taking the route back to factory state-Sense, read several posts but cant decide which one to use,

just seems too complicated for me.

Any step by step tutorial is greatly appreciated. I dont need to return back fully to original state (no need to relock, change CID, downgrade HBoot etc if not necessary) . I just need it to be back on Sense, Non Rooted

This is my phone detail on its original state

C:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.15.3250.22

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.36.599.1

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

bootloader) product: m7_u

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: HTC__332

(bootloader) battery-status: good

(bootloader) battery-voltage: 4195mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

getvar:all FAILED (status read failed (Too many links))

finished. total time: 0.065s

This is the present state

C:\adb>fastboot getvar all

(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.8

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) meid: 00000000000000

(bootloader) product: m7_u

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0711000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 3851mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-bee46337

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0