yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] jkbarberjr:
Solved

HTC One

Help for rom flashers- I flashed a 4.2 rom by mistake on my HTC one m7wls sprint.

Then tried to correct the mistake by flashing ruu big mistake, it wiped everything and got stuck in bootloader! What you have to do is

1.) unlock bootloader

2.) flash your stock recovery.

3.) now flash your recovery of choice (twrp) is mine

4.) this is the step you can't forget you have to format data because 4.2 changes file structure

6.)sideload a rom of choice (Viperone 1.1) my choice

7.) then use recovery to flash your rom

Now you should be good!

Now if you want to run ruu you can after locking bootloader again

SOLVED
[Sprint HTC One (M7)] smc333:
HELP!

HELP! I tried this method thinking it would work going from 1.31 custom rom back to 1.29 ruu stock. I relocked and ran the ruu using the setup as administrater and am getting error 140 that the bootloaders don't match and my phone is wiped with no recovery and no rom to boot up. Phone is already relocked. What do I do!?!?
[Sprint HTC One (M7)] michael miq:
O.M.J,

just want to make sure, currently i am in 1.31 firmware with S-off but i experienced bootloop in my device. so i can just RUU this 1.29 firmware? or should i do anything first?

Thanks,
[Sprint HTC One (M7)] EPayne123:
Yes, as long as you are S-Off you will be all set to run the RUU and run back to stock. If you want to go back to bone stock with BL saying S-On alongside it saying "Locked" and not "Relocked" or "Tampered"you will need to run the RUU, unlocked BL again if BL isn't still unlocked, root, put revone back onto device, use that to "-t -l" to remove tampered from BL and relock BL automatically without it showing "Relocked". then boot back into BL and run "fastboot oem writesecureflag 3" to S-On and then rerun RUU again
[Sprint HTC One (M7)] michael miq:
thanks Epayne123! no, i just want to fix my one from bootloop. So i don't need the status to be s-on again.

So i just need to lock my bootloader, and flash RUU stock rom, and unlock my bootloader again.
[Sprint HTC One (M7)] EPayne123:
Locking the bootloader will probably be a safer bet and wont be anything hard to do alongside unlocking it but i dont believe you will need to to be honest. If you appreciate my help i wont complain about seeing a thanks from ya on my posting. Thank you.
[Sprint HTC One (M7)] jmsdahutt:
I've already locked bootloader and flashed ruu and it says relocked. I got a replacement ordered through sprint but will they trip on it saying relocked? I don't want to get my friend in trouble who is a tech [MENTION=218907]sprint[/MENTION] for the swap!
[Sprint HTC One (M7)] OMJ:
I doubt they'll even know, I wouldn't worry about it
[Sprint HTC One (M7)] Stellarex:
I bricked my HTC One and my buddy who works at sprint just gave me a new one. They dont worry about it.
[Sprint HTC One (M7)] rotatorkuf:
any reponse to this?
[Sprint HTC One (M7)] Super Tommy:
So, just to confirm. I'm running a 1.31 custom rom, I have an unlocked bootloader, my recovery is TWRP 2.6.3.0 and I have S-Off achieved through Revone. Since I have S-Off, can I follow your directions verbatim? Is S-Off all I needed to make the return to stock this painless? I don't care about deactivating the S-Off tag. My intent is to OTA to 4.3 the official way. I don't see S-Off getting in the way of that.

Edit: Well I tried it, the answer is yes. I just followed the instructions and everything went fine. Updated from 1.29 to most recent (4.3) using stock OTA.
[Sprint HTC One (M7)] treIII:
Is there a mod pack yet? What about an eta yet for android 4.4 yet? Just kidding omj. Nice Rom. Thanks for your work

Sent from my HTCONE using Xparent Blue Tapatalk 2
[Sprint HTC One (M7)] benny3:
Ha! wrong thread...lol
[Sprint HTC One (M7)] treIII:
What's up Benny? ;) Deodex right now adding mods from the intl one forum. Thanks

Sent from my HTCONE using Xparent Blue Tapatalk 2
[Sprint HTC One (M7)] jlaholton:
i'm wanting to try this to get my phone/touchscreen to work again etc, but when i got into it, my numbers didnt match. where/how do i get the right one?
[Sprint HTC One (M7)] I2izzo:
I have this same issue... my assumption is hboot is 1.55..... anyone know of a workaround for this?
[Sprint HTC One (M7)] twistedamnion:
im having the same problem, i got twrp to boot but cant do anything. i was told i have to wait for the the new 1.3 ruu. if you found a solution lease let me know
[Sprint HTC One (M7)] olorolo:
If you got twrp you should be able to sideload a Rom as long as your drivers are reconized and flex has firmware packages for s-on and s-off in his OP
[Sprint HTC One (M7)] twistedamnion:
fastbook works but not adb. adb cant find the device

can i flash flex's firmware for soff in fastboot?!
[Sprint HTC One (M7)] olorolo:
yes but how can you flash anything in hboot if your drivers arent reconized? try fastboot getvar all to see if its really connected or not
[Sprint HTC One (M7)] twistedamnion:
getvar all worked i have no problem using fastboot. adb cant recognize my device on both windows 8 and 7 computers. the adb files are in the same folder as the fastboot files
[Sprint HTC One (M7)] olorolo:
if getvar worked then you can flash, it cant getvar if your not connected
[Sprint HTC One (M7)] ssiefman:
Is it possible to RUU from 1.31 to 1.29 with out s off? I dropped my old phone in the toilet and the new one came with 1.31
[Sprint HTC One (M7)] Sloth:
Yes :thumbup:

Sent from my ??? :p
[Sprint HTC One (M7)] ssiefman:
So I just do it like the op says?
[Sprint HTC One (M7)] Sloth:
Look here

http://xdaforums.com/showthread.php?p=44243635

Sent from my ??? :p
[Sprint HTC One (M7)] blakers28:
Hello,

Has anyone been able to find ruu for version 1.31.651.2, im currently unable to update my rom since the lastest i can find it 1.29.651.10.

Thanks
[Sprint HTC One (M7)] retiredtrebor:
I read on one forum or another, somewhere, that there is NO ruu for version 1.31.651.2. The reasoning stated in the thread was HTC probably got tired of us (meaning Devs) taking it apart. It's probably going to be the 1.29.651.10 or nothing.
[Sprint HTC One (M7)] blakers28:
Well, thats unfortunate. I guess the stock rooted rom will be the best i can get. Unfortunately every time i try to apply an update, it takes me back to the bootbloader. Im assuming this means i cant update past the current version im running?

---------- Post added at 10:14 PM ---------- Previous post was at 10:08 PM ----------

wait a sec, just found this:

http://xdaforums.com/showthread.php?t=2368907
[Sprint HTC One (M7)] retiredtrebor:
I find it amazing how much one can find on these forums. Unfortunately, it sometimes takes a lot of searching and reading, and following links. Hope what you found works for you.
[Sprint HTC One (M7)] blakers28:
Hello again,

You are definitely right about that.

Unfortunately the processed i used was to first go S-OFF, then downgrade from the version i had back down to 1.29.651.10. Unrooting was successful at this point. From here ill just do an OTA update to the newest version. Im wondering though, will it be ok to just leave S-Off?
[Sprint HTC One (M7)] retiredtrebor:
I am not a dev, so I can't give you all the pros and cons. The way I understand it, the S stand for security. The security is for some extremely critical "files" on the phone. When S-on, those file can't easily be changed/overwritten. S-Off means you want to change it, go for it. So, long story short, no absolute reason to not leave S-Off (had my HTC EVO 4G Shift S-off for last 8 or 9 months prior to upgrade, and my ONE is currently S-Off). Just be very careful and aware of what you are doing. If you don't know, ask or research before making the change/writing any files.
[Sprint HTC One (M7)] blakers28:
Ok thanks for the advice, ill definitely keep that in mind.
[Sprint HTC One (M7)] PAinguINx:
Ok, I need to "unroot" my phone and go back to stock in order to hopefully resolve an issue with sms. Is there a stock Rom that isn't rooted and I can just root later on? Also, does anyone suggest that I install the latest OTA after going back to stock? Oh, you can't flash the OTA while rooted. That's why I need to indoor, go back to stock and start over.

I assume, as usual, the factory reset option in the boot loader is useless once rooted right? And I am S-On as of right now. I can S-Off if need be.

I just need to go back, no root, no customs recovery. (I'll be using Philz from now on btw). Not that TWRP is bad, I've just heard philz has a more CWM feel to it and an actual Android backup option as opposed to backing up all of your partitions.

So, for matters of redundancy, to get back to stock, unrooted, which steps should I follow? The download links for the roms here are for devs unencrypted or stock rooted. Well, stock doesn't include do it, so I need the original factory image for the Sprint HTC One.

Do I start with the Ruu because I'm on the latest. 1.3x.x rather than 1.29.1.x.x or whatever.

Apologies if I'm asking questions that have been asked. But I can't properly use my phone now. It's laggy and I can't do anything cool with just a rooted phone. You have yo flash a custom Rom/kernel for that.

Thanks in advance!
[Sprint HTC One (M7)] PAinguINx:
I've checked some of the links in this massive thread. Most of the methods seem outdated or are just so completely different than the one posted here.

I mean, what works and what doesn't? I need to go back to stock, remove root and all. I need to start completely from scratch. I would like to install the new OTA update but cannot with a custom recovery and now my SMS is all f'd up.

The only stock image download I can find that isn't rooted has RUU 1.31.651.2. That's what I'm running now, but this thread states that you must go back to 1.29.x or whatever, relock your bootloader, get S-OFF or keep S-ON. I'm not a n00b but even I'm having a hard time deciding where and how to start.

And, of course, the HTC One "All in One" Toolkit has been removed from the forums and I can't find it anywhere else online...yet.

C'mon, someone please tell me what I need to do to go back to the original, factory version of my phone right out of the box. No root, no custom recovery, none of that crap. Also, do I or do I not need S-OFF or is S-ON fine? There are so many questions and so many different responses from people that there is simply no way to know how/where to start without screwing things up royally.

I downloaded Sprint HTC One 1.31.651.2 stock.zip. But, running 1.31.651 is not going to be stock... Geez, what do I have to do for christ's sake?!?!?!

Someone please help me with this. Steps, I need specific steps without jumping around from link to link and post to post. Is it really that hard just to go back to stock again? What happens if I do a Factory reset rooted? Anything? Bricked? Nothing?

*sigh* :crying:
[Sprint HTC One (M7)] tonyrance:
Hey, are you up and running yet??
[Sprint HTC One (M7)] PAinguINx:
Yup, BigDaddy is helping me out! Thanks for checking in on me though! :)
[Sprint HTC One (M7)] tonyrance:
Bigdaddy619 has it going on!! Great!
[Sprint HTC One (M7)] adamdl97vo:
hboot1.55

so i used wwjoshdews method for bootloader unlocking and flashing a recovery, as well as flashing viper rom. i flashed viper rom and it made my screen un responsive. so rather than deal with that anymore i opted to RUU following your method. im on hboot 1.55. ive relocked my phone and tried the setup.exe several times and get error code 140. ive searched through here and havent seen anything to help with this. any help at all would be greatly appreciated cause now im out a phone until i can get this fixed.
[Sprint HTC One (M7)] OMJ:
you need to be s-off to flash a older RUU....it sounds like u have the latest firmware for 4.3 which will cause your screen to be unresponsive if you flash a 4.1.2 ROM
[Sprint HTC One (M7)] adamdl97vo:
thanks man. yeah bigdaddy walked me through getting it fixed
[Sprint HTC One (M7)] cvnntg:
--- EDIT ---

For those that had the problem above like I did, here is what I did:

I flashed the ROM at this link using TWRP.

Then I used this method to obtain S OFF.

Then I flashed the RUU using the instructions on the current thread's OP.

Using the aforementioned revone S OFF method, I went S ON.

Unroot the phone.

I haven't tried the OTA update because I'm in class, but I'm sure it'll work now. Good luck to you all.
[Sprint HTC One (M7)] tonyrance:
I understand you wanted to go back to stock, did you say(mean to say) you used revone to s-on??
[Sprint HTC One (M7)] cvnntg:
I meant to S OFF. You need to S OFF to flash the RUU and then S ON.
[Sprint HTC One (M7)] tonyrance:
Right, I realize you have to s-off to run the RUU, I guess i was just wondering why you switched it back to s-on, if I'm not misunderstanding.

Unless you were returning the phone. Just trying to learn as much as I can:)
[Sprint HTC One (M7)] cvnntg:
Ah. No, I did not return the phone. I was giving the instructions for people who were hoping to take the phone back to the state they unboxed it in.

Sorry for the confusion. >.<
[Sprint HTC One (M7)] tonyrance:
Oh-ok, got it. Thanks for clarifying. :D
[Sprint HTC One (M7)] hellot1M:
if the device is on 4.3 will flashing the ruu for 4.1.2 mess anything up? i know on most devices you cant easily go back a version.
[Sprint HTC One (M7)] tonyrance:
S-on will not allow you to flash a downgraded RUU. S-off will allow you to flash that same RUU.
[Sprint HTC One (M7)] hellot1M:
Is there a ruu for 4.3? Sorry I have not rooted my phone yet lol don't feel like I need to yet. But I have a customer come in who's back camera isnt working after updating to 4.3. I've downloaded several other camera apps but only the front camera works. I tried resetting the phone but that didn't work so I'm thinking maybe redownloading the ota and flashing it will fix the issue. It's worked flawlessly with other devices but I'm still new to HTC
[Sprint HTC One (M7)] tonyrance:
No 4.3 RUU available.
[Sprint HTC One (M7)] hellot1M:
Damn... So what would suggest? Is there an easy route I can take to fixing this. I just can't believe it would be a hardware issue. it was working fine before the update
[Sprint HTC One (M7)] tonyrance:
The only way to return to an older version, is to RUU. I haven't experienced any issues with my camera-so I can't direct you on that issue. Keep searching, I'm sure it has came up.
[Sprint HTC One (M7)] 1lazysheep:
this procedure no longer works if you're on the newest 4.3 ROM (3.04.651.2). the RUU gave me some sort of bootloader error and said the ROM update couldn't be completed.

someone made a flashable stock ROM/Recovery. gonna try this

http://xdaforums.com/showthread.php?t=2470569
[Sprint HTC One (M7)] tonyrance:
Are you s-off? If so, you have to lock your bootloader before you can flash the RUU. That's what the error is about.
[Sprint HTC One (M7)] 1lazysheep:
no, s-on. and i did relock the bootloader ("fastboot oem lock").
[Sprint HTC One (M7)] tonyrance:
Check PM
[Sprint HTC One (M7)] 1lazysheep:
got it, thanks.
[Sprint HTC One (M7)] kalapa:
An oldie but goodie. I used this to restore 1.29.651.10 on my phone so I could s-off with Moonshine. I was previously s-off with Revone but I wanted the Moonshine hboot. Worked great :)
[Sprint HTC One (M7)] shanusmarty:
want to downgrade from 4.3 to 4.1

hi all,

i want to downgrade from android version 4.3 to 4.1 basically for the purpose to UNLOCK the GSM capabilities, i m a noob for htc, so basically RUU does that ? or do i need to do something else ?

currently i m on stock, not rooted, BL NOT unlocked,kindly help!

thanks in advance
[Sprint HTC One (M7)] retiredtrebor:
I am not a Dev so can't answer all questions. However, I do know that you must unlock bootloader first. There are several very good guides on the forums, just do a search. Try looking for the All In One Tools for HTC. Make sure you get the tool for your phone, ie Sprint, or AT&T, etc and model of phone. Hasoon2000 worked great for me with my HTC One M7.

As for going back to 4.1, I don't have the links any more, but I know there is at least one guide for that on the forum. Once again, make sure you have the guide for your phone and carrier.

To my knowledge, if you have a CDMA phone, unlocking the GSM capabilities won't do you any good here in the states. The phone isn't "recognized" by the GSM carriers so isn't allowed on the GSM system. That may not be correct, but it is my understanding from reading numerous threads on the forums.

I have been there, done that on my Sprint One. Just be careful, read ALL of the instructions first. If you don't understand something, research it before starting. That's what I did in order to go back to 4.1.

Good luck.
[Sprint HTC One (M7)] mocoyombiflash:
hello what if i'm on hboot 1.55 s-off can i do any RUU or it has to be just one in specif thanks ..

---------- Post added at 05:47 PM ---------- Previous post was at 05:45 PM ----------

can i be on hboot 1.55 s-off via rumrunner and use this ruu will accept it or it has to be one in specif? Thanks
[Sprint HTC One (M7)] benny3:
Yes with s-off you can use any RUU made for your model
[Sprint HTC One (M7)] mocoyombiflash:
Got it boss thanks also got superCID
[Sprint HTC One (M7)] Sloth:
Just an FYI having SuperCID on an HTC One from Spirit serves no purpose.

Sent from my ElipticNexus7 :p
[Sprint HTC One (M7)] benny3:
A new look ?
[Sprint HTC One (M7)] benny3:
Aren't you bigdaddy?
[Sprint HTC One (M7)] Sloth:
Lol not anymore :D
[Sprint HTC One (M7)] Magnum_Enforcer:
Told you, you should've went with BigD619:D

Sent from my HTC EVO 4G LTE
[Sprint HTC One (M7)] benny3:
Little BD?...lol J/K
[Sprint HTC One (M7)] Littleazn248:
I'm very confused and have absolutely no clue which RUU I should be running.

I ran an RUU once and it was the 1.29.651.10 RUU. Since then I have ran the Nocturnal GE Rom which is a JB Rom. I have also updated the radio to the latest version. I have checked my Hboot and I'm version 1.4.

Any help is greatly appreciated!

I also wanted to add that I am not S-off. I being S-off would technically let me use any RUU but, I'm worried that I'll brick my phone.
[Sprint HTC One (M7)] benny3:
Yes you can use any RUU that is made for a Sprint version of the ONE with s-off.

Why are you RUU'ing ?
[Sprint HTC One (M7)] Littleazn248:
Well I'm actually not S-OFF b/c I'm scared I will brick my device trying to gain S-Off. I am trying to RUU b/c I think I messed something up. For some reason I have been getting low quadrant scores (8-9k). I know that the scores are nothing but a number but, I will usually run em just to make sure I broke nothing.

I'm very confused people keep on saying update firmware, what does this mean? Did Sprint change something other than the Rom on the last update? Also confused if I can run this version of the RUU b/c I changed the Radio(AKA Baseband?)

Thanks Benny!
[Sprint HTC One (M7)] JoJoLanny:
Links Down?

It says "searching for mirrors".... and doesn't let me click on the download link. This is for the Sprint RUU.... Thanks.:good:
[Sprint HTC One (M7)] benny3:
Go into About phone and what software version are you on? If you have taken any OTA and aren't on 1.29.651.x then this wont work for you unless you are s-off
[Sprint HTC One (M7)] Littleazn248:
I don't see anything on software version. I can take a screen shot if you like.

I've never taken any ota updates in regards to firmware updates. I have updated the prl and profile though. After the last 1.29 ruu I have flashed a 4.3 GE nocturnal Rom and I have also flashed the latest radio via recovery. Other than that nothing else roms alone don't change the ruu version I use right?
[Sprint HTC One (M7)] benny3:
You should be good to go then. No a rom wont change your mainver. and thats what will prevent the RUU from working
[Sprint HTC One (M7)] chetansaraf:
... i too have the same problem. i wanna roll back to 4.1 so as to GSM Unlock my device. the problem is when i am runnin Sprint_HTC_One_m7wls_1.29.651.10_RUU its givin me 'Bootloader version error'. dont know what to do.

please somebody help. Device runnin on Stock 4.3, s-on, hboot 1.55.0000 ...
[Sprint HTC One (M7)] benny3:
You need to be s-off to RUU backwards. Here is a guide to trick the RUU into thinking you have a earlier mainver. When you run the echo command change the software version to the one for the RUU you want to use. Try it , if it doesn't work then follow the guide and go s-off its easy to do.

echo "1.29.651.10" | dd of=/dev/block/mmcblk0p19 bs=1 seek=160

http://xdaforums.com/showthread.php?t=2618524
[Sprint HTC One (M7)] Sloth:
FYI [MENTION=4366089]benny3[/MENTION] I was told the hboot had to match the RUU you are trying to use in order for the echo command to work.
[Sprint HTC One (M7)] benny3:
I didnt know that, Thanks. Yeah it would be to simple to be able to echo any version...lol
[Sprint HTC One (M7)] chetansaraf:
... so i am still confused what needs to be done ...
[Sprint HTC One (M7)] Sloth:
Follow the guide benny3 linked to it will work. Any questions feel free to PM me :D

Once you get S-OFF you can use the 1.29 RUU to get sim unlocked
[Sprint HTC One (M7)] benny3:
You dont need to be on 1.29.651.10 to sim unlock. We have a mod in myHUB on BadBoyZ sense 5.5 rom and its based off the INTL base
[Sprint HTC One (M7)] vpa123:
HTC One Sprint Mobile

Dear All,

I have updated my sprint model phone but unfortunately it stuck at the installation. Can someone help me to this?

One month back I have update my mobile with latest update.

I have attached my bootloader screen shot, pls help me!!
[Sprint HTC One (M7)] skyrkt:
Maybe try and run the latest RUU again? Don't flash this one.
[Sprint HTC One (M7)] jayjay7411:
Hi O.M.J I have a huge favor to ask! Is there any chance you have the firmware zip to this RUU that I can fastboot flash? I am trying to go back and run this ROM in order to use the unlock tool however I'm running that latest firmware pushed out and when I flash this ROM my touch screen is unresponsive... assuming it has to do with the firmware. I am S-OFF'D so if you have the firmware zip or wouldn't mind building one for this RUU I would greatly greatly appreciate it sir! Thank you in advance!!!
[Sprint HTC One (M7)] OMJ:
here ya go...it's a modified firmware version (no hboot, boot or recovery), if u need the full version, let me know

http://www.androidfilehost.com/?fid=23329332407575672
[Sprint HTC One (M7)] jayjay7411:
Awesome thank you!!!
[Sprint HTC One (M7)] Menardo:
can i use the previous setup.exe and use it on the current ruu.zip?
[Sprint HTC One (M7)] benny3:
Only if you are s-off can you use a older version of a RUU then what you are currently on.
[Sprint HTC One (M7)] SOU55:
it says that i need to install the correct ROM version ;(
[Sprint HTC One (M7)] minhajlk:
Will this method work on OTA update version 3.05.651.6?
[Sprint HTC One (M7)] Jokester_wild:
So I have a bit of a problem with my Sprint m8.

I am S-off and relocked as per instructions but as soon as the phone reboots to install it just fails and sits at the silver HTC lettered screen?

Trying to do this to obtain sim unlock. any help would be appreciated!
[Sprint HTC One (M7)] StormyNight:
This is the Sprint HTC One M7 forum. Please go to the Sprint HTC One forum instead.
[Sprint HTC One (M7)] TrAnCeiK:
Is the 1.29.651.10 the radio number? Cause mines is 1.01.20.0515 and I want to make sure I can install it.
[Sprint HTC One (M7)] MFOsaka:
It's the firmware number. This is one of the very first RUUs for the device. Going by your radio, you're looking for the 5.03 RUU. Should be in Android Development. Just have to scan a page or two back.
[Sprint HTC One (M7)] apitnauli:
hi. i need full firmware 1.29.651.7 and 1.29.651.10

i want to downgrade to that firmware becouse i want to s-off my Sprint M7. Thanks
[Sprint HTC One (M7)] Sloth:
You cannot downgrade unless you are s-off.

Give your hboot found in bootloader and we can point you in the right direction for an s-off method.
[Sprint HTC One (M7)] apitnauli:
this my hboot

[IMG="hboot"][/IMG]

whats s-off methode boss?
[Sprint HTC One (M7)] Sloth:
You can try Firewater or Sunshine.

Most likely Firewater won't work HTC has patched the exploit. :( but give it a try just in case.
[Sprint HTC One (M7)] apitnauli:
firewater method. works like a charm... thanks brother.

[IMG="works"][/IMG]
[Sprint HTC One (M7)] Sloth:
Nice congrats :D