yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Fastboot is the only way to update firmware. And no you don't need s-off to update firmware. S-off is only required for downgrading and using customized firmware.

But because your s-on you will need to lock your bootloader and unlocking it again will wipe your phone so backup anything important to your pc first. You can download the firmware here.

http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC/HTC_One/401/

You need both the 5.xx.401.x and the 6.xx.401.x and flash them in that order. Download then and rename them firmware1.zip and firmware2.zip and put them in your fastboot folder.

Reboot the phone into the bootloader and connect fastbootusb.

In the fastboot command line type.

fastboot erase cache

fastboot oem lock

fastboot reboot-bootloader

You phone will reboot to the bootloader which should now show relocked.

fastboot oem rebootRUU

case sensitive

Your phone will reboot to a black screen with silver HTC logo. This is ruu mode we can now flash the firmware.

fastboot flash zip firmware1.zip

The first flash is just a pre-update. The screen will go off and then return to ruu mode. Flash the zip again immediately.

fastboot flash zip firmware1.zip

The second flash will flash the firmware, the progress bar on the screen will not reach 100% this is normal ;) as long as the command line has finished it's output it's done.

fastboot reboot-bootloader

Now repeat the process to for firmware2.zip after you flashed both firmware zips unlock your bootloader and check for improvement before flashing your custom recovery.
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Thanks! I have done all those steps, but now my phone won't boot into the ROM anymore (red exclamation mark). I guess I have to install a custom recovery and flash a ROM?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
You will need to flash a custom recovery , as flashing firmware restores the stock recovery, (the red exclamation) that is stock recovery and normal to see that red exclamation so no worries there. However your Rom should still be intact and booting.

Did you remember to unlock your bootloader?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Yes, I have unlocked it again. I have just flashed TWRP 2.8.0.2, and ARHD 81.0. I have now rebooted the system, and it seems to be stuck on the white HTC logo & powered by android screen for more than 5 minutes now. It always takes a long time to boot after flashin a ROM but I have never had to wait this long. I have tried a hard reboot, but that didn't work. There is no cable connected. The HTC logo screen is on but the phone isn't really getting hotter either so I don't think the cpu is really doing something.

Edit: TRWP also said I didn't have SU installed and offered to install it. I don't know if this worked out okay because after I tried to install ARHD for a second time it said it needed to install it again, but it failed again. I'll now try to install the Maximus ROM.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
5 mins on the HTC logo screen really isn't that long after a complete clean install. It can easily take 15mins+ to pass the logo screen.

Maybe there is something more going on but to be sure you need to give it a bit longer on first boot. Thing is although you have installed the Rom it need to rebuild the file system. This is what it's doing when it sat on the logo screen. Give it a bit more time see what happens
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Maximus succeeded, so it is working again. Unfortunately, it still doesn't charge when booted up :( well, I only have a USB cable to the computer here, but it should show the charging battery in the ROM anyway. When I switch off the phone, it showed the charging battery animation, first the horizontal battery with no animation, which switched to the horizontal battery with a charging animation, and now it shows a red connector icon with the text: "the connected charger will take longer to charge, to charge faster..." etc etc.

So something has definitely changed! But not there yet...

Do you think there is something left to try or was this it?
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
Well good news after hours of messing around and removing drivers and registry issues, enough reboots and drivers are fixed, adb is working and I can finally get out of this mess

Should I firmware first seeing as I am going to be using custom roms? Then flash over rom and boot.img ....I have almost spun in circles the past week only because I cant keep my head straight, Just wanna be sure I take the right steps coming up, I thought I had them nailed after doing so many but somehow I have gotten them all confused and not even sure where to start,

c:\Fastboot>adb devices

List of devices attached

HT34RW914843 unauthorized

Still have tampered on hboot but unlocked, still s-on no bootloop now just black screen where I can access adb again, I can boot into bootloader, I can boot into recovery, so thats where I am at, Thank you everyone for so much help as it has been frustrating

....

So I adb and see that unauthorized ....Im curious but let it go, I try to push my rom over to the phone to start getting files ready and on device and i get this string ....

error: device unauthorized. Please check the confirmation dialog on your device.

my screen is black, what confiormation, I'm in adb... I think I'm go back to my desk with the D i have been given for this test lol

So at this point I'm still lost, and have buderened yal so much with all of this I'm afraid to even keep posting, so thank you very much for any and all assistence
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well it sounds like your in a good place right now :) all you need to do as far as I can tell from your last post is push a Rom.

So go find a Rom, make sure you read the Rom thread before flashing. Check your Device and recovery are both compatible with your chosen Rom then download it. Rename the Rom file to "rom.zip" and drop it in your adb/fastboot folder. Boot your phone to recovery and connect usb, Then in your command line type

adb devices
adb push rom.zip /sdcard

The push will take several minutes, the command prompt will appear unresponsive until the push completes. When it's done use your recovery to install the Rom :)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
To be honest this is starting to look more like hardware every post :(

We tried a different recovery - no change. A different Rom - no change. And updated firmware - no real change

There is not much else you can do from a software point of view, other than running a full ruu but that would be a long shot at best and because your s-on I'm not sure we'd find one that will work with your phone. I'm sorry, I don't know what else to suggest.
[One (M7) Q&A, Help & Troubleshooting] codeblue315:
Hi there. I have an AT&T m7 that I've had for around a year now. I currently run Paranoid Android 4.6 Beta 3 with a 6.09.401.5 firmware. Today I was playing music from my headphone jack when all of a sudden the music stopped and the phone became unresponsive. The button lights are staying on permanently, but does not respond when connected to my PC or to the charger. I've tried holding power+vol up, power+vol down, power+both vol, and all of the above under a bright light for 30 sec to 5 minutes. Nothing. Not sure what to do here, thinking I may be out of luck, but figured I'd give this a shot first. Anything?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Hey don't worry man, I'm really grateful you helped me, I learned a lot along the way! Time to write this one off I guess ;)
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Danny, do you think I could bring it back to stock? I just found out I have a 24 month guarantee period, so I could return it right?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
You would need the device to be s-off to return 100% to stock and reinstate the warranty.

Have you tried to s-off before?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Not yet! But I guess I could try?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
You need to be a-off it's the only way to set your bootloader to ***LOCKED*** instead of ***RELOCKED*** which is a huge giveaway that the phone was tampered with.

Try with fire water first.

On a different note, a work colleague approached me today with her M8 because guess what it wouldn't charge when it was switched on.

I noticed she was using a HTC plug with a blackberry usb lead. So I connected it with my HTC branded usb lead and it charged normally. Don't suppose your using a non HTC branded lead by any chance?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
I have tried all sorts of cables unfortunatly, including the original.

I have tried firewater, rumrunner and revrunner, all don't seem to work, because they need to be in a booted android to execute. I tried to be smart and used a wireless adb server, but that doesn't work either for both s-off methods, I guess they really need the USB cable to be there to work, instead of a wifi adb connection.

There is no way to get s-off without booting into android I guess?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
:( I thought you were able to boot maximushd?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Yes, I'm able to boot just fine, it's just that the phone won't charge when on, and, as a side effect, this also means no usb connection when it's on.

Should I download a RUU?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The only way I know to s-off without a usb connection is Sunshine app, it's definitely the easiest method but unfortunately costs $25.

Just install the app and run it. It will do some tests to make sure it will work. If all is good it will ask you to pay with credit card or PayPal. Once paid the phone will reboot and should be s-off. (it may seem to bootloop It's normal I think although the phone I used it on was damaged so that could be why worth mentioning though ;)

If you can get it fixed under warranty $25 is cheap I suppose lol

You could try an ruu, won't cost you anything so maybe worth ago. But it needs to be for a higher version of your current firmware since its only possible to upgrade with s-on. Downgrade requires s-off. I'll see what I can find.
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Thanks man, I'm now S-OFF thanks to Sunshine. 25 dollar is indeed worth it if I can send it in this way. Now...what to do for a return to untampered stock?

Edit: I guess this is a good guide? http://www.htc1guru.com/guides/return-stock-guide/
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
http://xdaforums.com/showthread.php?p=47794190

Use this one, don't be afraid to ask in the thread for help [MENTION=2605798]nkk71[/MENTION] is a real nice guy. And he knows back to stock better than anyone ;)

Oh and as a sidenote when you get it back repaired, you won't have to pay for sunshine to s-off again. You only have to pay once per device ;)
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Thanks for your endless patience man - I'm so close! Unfortunately, I had to downgrade my firmware (hboot 1.44 now) for a RUU flash, and now my bootloader won't react to fastboot commands anymore. It just says <waiting for device>. In the bootloader it changes from the red highlighted text 'fastboot' notification to 'fastboot usb' only when I go 1 option down to reboot, and then I get the sound in windows that it finds the device. But still no feedback whatsoever.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Windows 8.1?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Yes, trying MacOS now, seems to work! It is now flashing the RUU! It's gonna take a long time it seems, I'm off to sleep. Thank you so much, it looks like this was it man :D

Edit: well it looks like I have been a retard and didn't lock it before flashing the RUU :(
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok sweet I was gonna recommend Linux but if you got a Mac and its working happy days. :good:

Windows 8.1 doesn't like hboot 1.44. ;) after your back to stock and upgrade haboot it will work in Windows 8 again.

Good night and good luck man :)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Did you complete the rest of the guide locking happens after you flash the first ruu?

Where are you at with the process?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Doesn't sound to good, what's the error when you try to unlock with Unlock_code.bin? Can you paste the out put for that here Please?

Don't think you'll find a ruu that will work while your s-on with your current firmware version.
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Hi Danny,

I was following the RUU.zip guide, kept TWRP though since I presume it doesn't really matter which recovery you run in this case. While the zip was downloading (it took a long, long while), I was testing the Guru Bootloader Reset 1.0 tool, foolishly relocking and unlocking the bootloader with it and removing the 'tampered' text. I thought it was just removing text, not really doing anything...so stupid of me. After that I flashed the RUU.zip and now I have a stock rom, but with the *UNLOCKED* text above it.

What's the best way to approach this, re-flash TWRP again?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Your still s-off?
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Just checked it, yes, I'm still s-off.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
No problem then ;) just start the guide from the beginning again :) there's no ristrictions with s-off you can do what ever you want downgrade upgrade whenever ;). You will need to go back to s-on for warranty that's all explained in the guide.

But incase you missed my post edit earlier. When you get it back repaired. You won't have to pay for sunshine again you only have to pay once per device ;)
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
YES! it worked! OTA's working and all, currently downloading multiple OTA's. I'll update it to the latest and leave it like that, and return it to the store tomorrow probably. The bootloader should read *locked* and s-on, right?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yep sound like your all good. Make sure if your not already to go back to s-on before installing the ota's though and that's it. Well done m8

I assume the charging issue still remains after all of that? If so its definitely a hardware problem. :D

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] coendeurloo:
Yes the charging problem still remains. After all the beating my phone got with all this flashing, updating, rebooting, erasing cache & resetting we can safely say this is a hardware problem indeed!

Again, thank you so much for your fast and patient support Danny, it looks like I can bring back my phone now, otherwise I'd have lost the whole phone! :good::good::good::good::good:
[One (M7) Q&A, Help & Troubleshooting] Zerotta:
It does not report any error.

I get that*, but there are no actions on my device, even if I choose yes.

*image
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
htc one s-on unlocked recovery and fastboot only unsure of how to bring to life

Good Evening, I just wantd top update and see where I am at, I have had many issues since we last spoke

So, still no boot, and it loops. Unlocked, Tampered, S-on...I can access fast boot and have twrp with 2.6....I can access both.

tried custom flashing a updated recovery, said successful;, still running 2.6 something at this point I would think to flash an ruu and restart entire process...but somehow I am s-on, and I have read and tried rumrunner and revone but I cant access android and the other just never works.

i have the 4a.17 radio

hboot 1.55

cws_001

and did download I thought the correct ruu for my phone. I do not know what to do to ensure my phone finally working again, its killing me with no contact ability, kids, games, system support for work, and lovely features I have come to rely on from my phone, I'm dying lol please help if you can, thank you so much for your time

just tried squabbis one toolkit, found out I apprently am now unrooted, having somehow i guess rerooted it when the s-on thing happened.... So that explains a few things, So....

have access to adb and fastboot now, reflashed custom recovery, which granted new options, like htc dumblock and I can now flash to my sd card partition, yippie..... should I just continue flashing pacman and boot.img then rebooting?, still have s-on and tampered, am I assume and hope, if it completed properly this time, am rooted now, not sure how to check from this angle, any thoughts or posts I might have missed or could read so to not bother yall? thanks again
[One (M7) Q&A, Help & Troubleshooting] majmoz:
Well it looks like your phone is at least talking to your PC. I would download this RUU 4.18.502.7 and this stock firmware 4.18.502.7. You will need to move your personal data off of the phone and any files you want to keep. You will want to run the firmware first then the RUU.

Once that is finished, now you want to run the RUU.
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
THANK YOU THANK YOU!! majmoz!! 3 cheers and a beer, my phone was gone, and now it is here, and happier days i wish will appear, with no more tears or jaunty leers but saying thank you by giving you guys 3 cheers and a beer...

so now I am back to bootlooping, takes about 2 mins and reboot, so tried factory reset, reboot, whats funny is as Im waiting for it too boot, i can get to the power options, changes ringtone loudness, but its still never gets to the os then reboot, I let this go on for about 20 mins,, finally back to boot loader

i was about to start rooting it, and s-off again, would a custom rom remove the boot loop? I would think not connected since stock locked htc now, no recovery apparently, just black screen .I haven't done anything yet, while the rom worked and spent its 10 minutes, other than loosing recovery, unlockled, and tampered, nothing has changed... could it be the wrong radio possibly? I'll look around and read, thank you so much, its been a hassle

:)
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
ok well, recovery gone, I was able to unlock bootloader again, still s-on unfortunately, and when I try to flash recovery, the updated sup.zip you mentioned downloading I get remote not allowed, now I am getting cannot read file, i checked the spellings, even renamed files to easier things, still there. so no recovery and bootloader access unlocked....
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I said flash it in recovery. As in boot to recovery and flash the zip.

Flash twrp then use twrp to flash the su zip

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
it will not flash, adb/fastboot or within a toolkit or anything, I tried windroid toolkit and htc one toolkit neither would flash twrp....although one of them did unlock the thing

so windroid said it flashed twrp, but it didnt, tried to load recovery and got a black screen, followed by a picture of droid and a red exclamation point inside a triangle, rebooted bootloader, erased cache with fastboot and tried system boot for fun, after htc screen got black screen, so rebooted to bootloader

there were no errors during ruu flash and firmware, although radio changed i noticed... and lost recovery of course.....it removed tampered, I unlocked again, still s-on, which I would love to deal with, I'm just lost, I know I am missing something but I cannot pin point it, thanks so much for putting up with all of this, you guys are kinda my last hope
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The picture of the phone with exclimation again is stock recovery. When you see the picture of the phone hold Volume up and press power to reveal the recovery menu.

The options are very limited but you can try to factory reset then try flash twrp again.

You will see 5 errors for can't mount sd card in stock recovery don't worry about that everyone's stock recovery show it. It's also why you see the red exclamation.

If you found my posts helpful, Please click thanks :good:
[One (M7) Q&A, Help & Troubleshooting] clsA:
Product: QHSUSB_DLOAD

This is your only hope >> http://xdaforums.com/showthread.php?t=2770684
[One (M7) Q&A, Help & Troubleshooting] hallaj:
Oh. I failed to notice that bit. I'm currently downloading it. Thank you :)

[Edit] I tried and it couldn't detect my phone. Looked at revive.sh and it was trying to look for USB storage where mine's detected as USB modem. Oh well :(
[One (M7) Q&A, Help & Troubleshooting] Dakuwann:
Danny, thank you, I was able to figure out it needed a certain twrp version 2.6.3.3, I was able to flash it via fastboot finally and it accepted it, so I have my recovery back and unlocked, now the tampered is back and still s-on....which is where I was before I ruu which went smooth. kitkat pacman doesnt seem to wanna install, I might try cm 11 and try to flash boot.img but..... at this point I dont wanna make another blunder and send my phone back 4 days, which is like 7 years to a phone, lol

so I'm rooted,

cws_0011

hboot was 1.55

stock rom will not boot although I do have the att world coming on after the initial htc boot but then back to black screen and reboot, so bootloop.... any suggestions, I apoloigize for a weekend question and thank you so much for everything!! ;)
[One (M7) Q&A, Help & Troubleshooting] SirRufio:
Unable to unlock relock ?!

Here's the background. Unlocked booloader via HTCDEV, all went well, flashed TWRP recovery & now the phone gets stuck in 'entering recovery'. Having a look around various forums (inc xda) the idea was to get it back to stock, so relocked bootloader via fastboot oem lock. Now trying to unlock it again via HTCDEV it gets completely stuck at 'entering recovery' and the 'relock' tag is still showing once rebooted :confused::confused:

At a total loss now ?! Here is my getvar info if needed.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.11.841.7

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

(bootloader) serialno: HT34VW912240

(bootloader) imei: not required here removed ;)

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0714000

(bootloader) cidnum: TELST001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4321mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.042s

Any help getting this back to stock or at least unlocked again would be greatly appreciated !!
[One (M7) Q&A, Help & Troubleshooting] defroster:
Can you help me out? I don't think I'm doing anything wrong.

Thread here: http://xdaforums.com/htc-one/help/past-white-htc-logo-screen-stock-rom-t2887978