yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] ascendotuum:
First off let me start by saying that I am a tech person by trade but know very little about android/Linux in general. Just enough to get in trouble apparently...

I have an AT&T HTC One. So at one point I was rooted, unlocked, s-off. Everything. I m running Android 4.3 with Sense 5.5 - CWRM. I'm trying to return to a point where I can receive OTA updates, so I'm trying to follow this guide. Hoping you can help. I started with another guide and got stuck or did something in the wrong order...

Somehow I am here:

***TAMPERED***

***UNLOCKED***

M7_UL PVT SHIP S-ON RH

HBOOT-1.44.0000

RADIO-4A.14.3250.13

OpenDSP-v26.120.274.0202

eMMC-boot

Mar 18 2013,18:29:18:-1

----------------------------------------------------------------------------------------------------------

C:\Android\sdk\platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.13

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.26.502.10

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

(bootloader) serialno: HTxxxxxxxxxx

(bootloader) imei: 354xxxxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4029mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

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

finished. total time: 0.031s

Any help you could give me would be appreciated. I tried the revone method to go back to s-off (since I have hboot 1.44) but the -P command failed, and -s 0 -u said successful but after a reboot it still said s-on.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
You have multiple options to choose from:

With S-Off

Getting S-Off

1- install this ROM and revone will/should work http://xdaforums.com/showpost.php?p=48955645&postcount=250

2- you can also use rumrunner and/or firewater, they also work with hboot 1.44​

and then the sky's the limit :)

Without / with S-Off

If you check here: http://www.htc1guru.com/downloads/ruu-file-downloads/

you'll find RUUs for your phone

* 1.26.502.12

* 1.26.502.15

* 3.17.502.3

These are all official RUUs and will work for your phone (since you are on 1.26.502.10, upgrading will work fine), but if you are S-On, then you will need to lock your bootloader for them to work.

The tampered should go away after installing them, but your phone will say RELOCKED not LOCKED (that's only possible with S-Off)

So it really depends how far you want to go, and more importantly why? you are doing this. (I always find the

why

part is important, it can help identify alternatives in particular situations)

Let me know
[One (M7) Q&A, Help & Troubleshooting] ascendotuum:
Well the whole reason I rooted, s-off, etc... in the first place was back when HTC was way behind releasing updates and I wanted to have the latest version, and also the techie in me wanted to play I guess... Now, they seem better and I just like the idea of having a stock phone the way it should be from the factory. I don't really need custom roms and all that jazz. So I'm trying to revert what I did months ago.

I'm trying the rumrunner method now for s-off. Will post back here with the results. I appreciate your help.

---------- Post added at 11:41 AM ---------- Previous post was at 11:30 AM ----------

Yay! It seems like the rumrunner method for S-Off worked for me. So from this point I can just follow your directions in the first post correct?

***TAMPERED***

***UNLOCKED***

M7_UL PVT SHIP S-OFF RH

CID-CWS__001

HBOOT-1.44.0000

RADIO-4A.14.3250.13

OpenDSP-v26.120.274.0202

eMMC-boot

Mar 18 2013,18:29:18-1

--------------------------------------------------------------------------

C:\Android\sdk\platform-tools>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.13

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.26.502.10

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

(bootloader) serialno: HTxxxxxxxxxxxx

(bootloader) imei: 35xxxxxxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4122mV

(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.062s
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Congrats :)

yes you can now continue with ruu.zip method (preferred over RUU.EXE, because of more visual feedback), using this: http://www.htc1guru.com/dld/ruu-zip-m7_ul_jb_50_cingular-1-26-502-12-zip/

This will take you all the way back to 1.26 ROM (Android 4.1.2) but you'll start receiving OTAs

if you need to go S-On please make sure you do it before any update to 3.xx (Android 4.3)!!!

Good Luck, let me know if you have any questions

PS: this will wipe internal storage, so backup your stuff first to PC
[One (M7) Q&A, Help & Troubleshooting] ascendotuum:
You sir, are the man.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
I take it all went well :laugh:

PS: only side effect of S-Off, is that Error Reporting is always set on, I couldn't care less personally, but if you do, you will need to go S-On (remember to do this before OTA to 3.xx), otherwise it's likely a "tamper detected - rebooting" and TAMPERED is back... and you'll have to start all over again.
[One (M7) Q&A, Help & Troubleshooting] ascendotuum:
That doesn't bother me either. I'm fine with S-Off, as long as I can get OTA updates in the future. Currently I'm on post #3 and the Guru Bootloader Reset is freezing... tried erasing the cache with fastboot erase cache and also from inside CWM. I'm just going to do the ADB method and continue.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
with S-Off you can even leave bootloader unlocked, OTAs will be fine :)

and strange that people are having more and more problems with Guru Bootloader Reset, I use it (quite a few times) and works just fine ... only one time it froze, and after forcing a reboot went through just fine,

anyway, adb commands don't have that problem, go for it :good:
[One (M7) Q&A, Help & Troubleshooting] juanshop:
i love you! i was shown this thread from another really nice user, and well, your thread saved me :D finally i was able to go back to 100% stock thanks to your awesome, well explained, detailed thread :D

can't thank you enough.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
:cowboy: Glad everything worked out :cool:

if you want to thank me, you can always hit the thanks button on the first post, and rate the thread ;)
[One (M7) Q&A, Help & Troubleshooting] AndrewM3:
Help

Ok so I'm sending my phone to htc for purple camera. I was hboot 1.55 so I downgraded to 1.44 now none of my fastboot commands don't work, I'm on windows 8.1. I know its in the faq but I have no other choice. Is there anyway to fix this? Can I upgrade my hboot to 1.55 then I will be able to run ruu.zip. I will return phone back with s off as this does not void warranty only tampered and unlocked void warranty and I got rid of those. Will this be possible to upgrade hboot and run ruu.zip using fastboot?

Ok I decided to figure a way to dual boot into unbuntu or linux going to search around and figure it out then I will try in linux. would I have to reinstall anything in linux or it will be same just run command prompt like in windows and it should work?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Just use "TRY UBUNTU" option as mentioned in the FAQ #5, no need to install/dual boot/or anything, then you use the method appropriate to you (obviously not RUU.EXE).

in linux, adb works just fine, but for fastboot commands, you need to start the command with sudo

sudo fastboot etc
[One (M7) Q&A, Help & Troubleshooting] AndrewM3:
Ok i will check the official ubuntu website for that option thanks
[One (M7) Q&A, Help & Troubleshooting] AndrewM3:
Unbuntu help

Hey I load ubuntu like you said and its working. But then I put command sudo fastboot flash zip ruu.zip but it says it cannot find that file or directory. My question is are my files from windows accesible on ubuntu and if they are where in ubuntu do I put the ruu.zip? Thanks for your help!

Scratch that I found the ruu.zip from windows but where in ubuntu do I put it?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Anywhere you like, you could use Downloads, for example

nkk71@ubuntu:~$ [B][COLOR="Blue"]ls -l[/COLOR][/B]
total 44
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 10 14:55 Desktop
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Documents
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 10 14:57 Downloads
-rw-r--r-- 1 nkk71 nkk71 8445 Mar 3 14:30 examples.desktop
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Music
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Pictures
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Public
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Templates
drwxr-xr-x 2 nkk71 nkk71 4096 Mar 3 12:33 Videos

nkk71@ubuntu:~$ [B][COLOR="Blue"]cd Downloads[/COLOR][/B]

nkk71@ubuntu:~/Downloads$ [B][COLOR="Blue"]ls -l[/COLOR][/B]
total 1335856
-rwxrw-rw- 1 nkk71 nkk71 8955904 Nov 14 07:12 CWM.img
-rwxrw-rw- 1 nkk71 nkk71 3645591 Nov 14 20:54 Guru_Bootloader_Reset_1.0.zip
-rwxrw-rw- 1 nkk71 nkk71 297289697 Nov 19 15:13 one-1.28.401.7-preloaded-modaco-withoutmovie.zip
-rwxrw-rw- 1 nkk71 nkk71 1058013184 Oct 15 06:34 ruu.zip

nkk71@ubuntu:~/Downloads$ [B][COLOR="Blue"]adb version[/COLOR][/B]
Android Debug Bridge version 1.0.31

nkk71@ubuntu:~/Downloads$

Remember unix is

case-sensitive

so "Downloads" is different than "downloads", and "ruu.zip" is different that "RUU.zip".
[One (M7) Q&A, Help & Troubleshooting] AndrewM3:
help

Can I send my phone with s-off to at&t they are sending me a replacement phone? I ran the ruu and when I boot into bootloader it says locked got rid of tampered and everything is fine, just s-off is still there. My hboot is upgraded to 1.55 through ruu and I'm on 3.10.502.2 so I'm afraid that if I s-on the tampered will come back on.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Like i said, if you try to go S-Off to S-On on hboot 1.55+ there is a high chance that it will trigger a TAMPERED, i cannot say this with 100% accuracy, but it has happened more than once or twice (hence the "restrictions" in the guide).

I can't say about whether AT&T care about S-Off or S-On.... maybe someone can share info on that.

(some phones do actually ship S-Off by mistake, it's very rare, but it does happen)
[One (M7) Q&A, Help & Troubleshooting] djmeex:
Not Receiving OTA - wrong RUU?

Hi guys, I was on ARHD 51 rom with unlocked bootloader, rooted, s-off...

yesterday I did full backing to stock using this guide and everything works perfect (Locked, S-On, removed tamperer...) except thing that I not receiving any OTA.

I checked my getvar all and saw that my hboot is 1.43.

Here is mu getvar all:

C:\adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.43.0000

(bootloader) version-baseband: 4A.13.3227.06

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.20.401.1

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

(bootloader) serialno: FA********

(bootloader) imei: 35************

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__032

(bootloader) battery-status: good

(bootloader) battery-voltage: 4311mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

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

finished. total time: 0.048s

I have 2 questions: Can I upgrade hboot (1.43) to 1.44 and run correct RUU with Locked Bootloader and S-on or I have to unlock bootloader again, root phone get s-off...?

And if i need to do all of this again, can you provide me the easiest way (links)?

I need to get back my Htc ONE to RMA (camera issue)..

Thanks!!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
As mentioned in the OP: "---------> Note: M7_UL .401. users don't use 1.20.401.1, use 1.28.401.7 instead"

Since you're already S-On and LOCKED, you can use RUU.EXE: http://www.htc1guru.com/dld/ruu_m7_...1-27_10-31-1131-05_release_310878_signed-exe/

no need to unlock or s-off again, as this is an official signed RUU.EXE upgrade, and should work fine... just download and run it on Windows. nothing else needs to be done.
[One (M7) Q&A, Help & Troubleshooting] djmeex:
Thanks man!!

I will try soon and post here results..

EDIT: Thanks again, for the great guide and for very fast reply!

It worked like a charm! :)
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hi nkk71, so I tried installing the RUU Zip M7_UL_JB43_SENSE50_MR_TMOUS_3.24.531.3_Radio_4A.21.3263.03_10.38m.1157.04_release_336982_signed_2_decrypted on the converted GPE phone. And it is stuck at HTC boot screen.

As I said earlier I have unlocked bootloader and S-OFF with supercid. The installation of RUU was success. How long does it take for the boot? I waited around 4 mins.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
First boot can take up to 15 minutes... the way I personally check if it's stuck or just booting, is after 3 to 4 minutes (or so) you should notice the screen brightness change.

Also remember to stay unlocked and

especially S-Off

, using that ruu (probably has hboot 1.55), i would usually start with the lowest version, and go through the OTAs:

http://www.htc1guru.com/dld/ruu-zip...0-20-10-40-1150-04-release-324846-signed-zip/
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Understood. But for the OTA I have to go bootloader LOCKED status no?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
no UNLOCKED + S-OFF is just fine with OTAs

but it's strange the other ruu didnt boot up...
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hey nkk71 your advise worked. I installed the lowest firmware and it booted like charm. I will now go OTA route.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
:good: Good luck, and enjoy
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Sorry nkk71 encountered a problem when I download the OTA i get an error cannot proceed installation because of modified firmware. Is it because of my cid? I am in a fix because my cid is supercid and secondly I have installed TMOUS version of the firmware. I don't find Wind Mobile (Canada) firmware anywhere.
[One (M7) Q&A, Help & Troubleshooting] alray:
What is your MID?

Both MID/CID must match the ruu version you have flashed...
[One (M7) Q&A, Help & Troubleshooting] harshdev:
0713000
[One (M7) Q&A, Help & Troubleshooting] alray:
try with t-mobile cid T-MOB010
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Its installing. Thank you.

---------- Post added at 11:59 PM ---------- Previous post was at 11:39 PM ----------

Hey I guess I bricked my device. Its not booting and its not even going in the bootloader mode.

---------- Post added at 11:59 PM ---------- Previous post was at 11:59 PM ----------
[One (M7) Q&A, Help & Troubleshooting] alray:
How? What were you doing with the phone before it powered off?
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hey so I waited around 10-12 minutes but it was not going past HTC logo. The screen brightness too did not dim. Therefore I thought that it bricked and I was trying to enter fastboot mode but it was not getting into that mode. Finally managed to get into fastboot then restored google 4.4.2 ruu and am back up.

What I am unsure is how long does it take for booting 4.3? 4.1.2 booted like in a flash. The same problem happened when I directly flash 4.3 RUU. It just sits there showing me HTC logo. nkk71 advised that it takes around 15 mins for first boot but the screen should dim after 3-4 mins. I don't go past HTC screen and neither it dims. So not sure what I am doing wrong.

Currently I am back to GE rom. Don't know how to go back to Stock ROM. nkk71 also advised to flash firmware 4.19.401.x directly over the GPE rom.but not sure if this will work.

I am SOFF/UNLOCKED and SUPERCID.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
1- It's only the first bootup that will take a long time (I think mine took about 15 minutes), after the first boot, any reboot will be quick.

2- So everything is working on the GPE ROM? can you check Settings -> About -> Phone identity ==> all good there IMEI, SV, IMSI

because a full ruu flash would reset your phone 100% (nothing would stay from previous ROM or firmware)

3- is the flash going through properly? look at post #7 on what kind of output to expect (the two "fastboot flash zip ruu.zip" commands)
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hey Thanks, yes everything went properly. In fact when I installed Sense 4.1.2 even that went properly. OTA flashed ok. So I was wondering why the hell that HTC screen doesn't blink/dim. Now I will wait full 20 mins before calling it a brick.

Infact i could flash the twrp recovery and restore my nandroid of GPE successfully. So the first boot is going to take long.....hmm. Ok I will try installing today . Hopefully the screen dim should work and it should boot.

The IMEI/IMSI/SV all are ok. I am back at 1.54 / S-OFF and UNLOCKED bootloader.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
The screen dim, could happen, it could also not happen, it's not a 100% "check"... I would assume it would depend on the ambient lighting conditions.

But you just said Sense 4.1.2 worked, which one isn't?
[One (M7) Q&A, Help & Troubleshooting] harshdev:
The link that you gave me earlier for TMobile 4.1.2 worked. Then I changed my cid from super to Tmobile. So the OTA worked. It installed however it was taking way too much time 10-12 mins and the screen was not dimming, wasn't going past splash HTC screen. Normally afaik first is the HTC splash and then it bumps to HTC with beats audio splash, the latter doesn't show up even after 10-12 mins. This worried me.

Similarly when I flash 4.3 directly. Everything installs no failures while flashing however boot takes so long and doesn't go past first HTC splash screen as I described.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
That does sound strange indeed, I usually prefer lower ruu's, but if the flashing was successful, there's no reason for it to hang. I've never really timed it, and different versions can take different amount of time; i always say 10 to 15 minutes should be enough, but maybe it takes longer on your version (possibly due to T-Mobile apps & stuff)?

would recommend you flash the ruu.zip again, then while still in bootloader "fastboot erase cache" (though the ruu should do that already):

modelid: PN0713000
cidnum: T-MOB010
mainver: 1.27.531.11
btype:1
aareport:1
[B]DelCache:1[/B]
hbootpreupdate:3

reboot, and just wait longer :o
[One (M7) Q&A, Help & Troubleshooting] harshdev:
OK so reinstalled 4.1.2 and recd ota for 4.3. It installed properly and this time I waited for 30 mins. Doesn't go past htc spash screen.

Is it something to do with OTA being installed on locked boot loader only? Someone mentioned that for OTA boot loader has to be locked.

May be this guy and me are having same problem --> http://xdaforums.com/showthread.php?t=2496074&page=5 post #46
[One (M7) Q&A, Help & Troubleshooting] nkk71:
locked/unlocked shouldn't matter with s-off.

Can't understand why the ota isn't working / freezing after updating... Are you getting an update directly from 1.xx to 3.xx without any 2.xx in between?
[One (M7) Q&A, Help & Troubleshooting] harshdev:
That is correct. The update notification I receive is of 4.3 no 4.2.x
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hi nkk1, I have been thinking. Should I lock the bootloader and try OTA?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Hi [MENTION=2408859]harshdev[/MENTION], it's really weird it's not working properly, but I did see a few posts having issues with the update, and HTC then released the RUU.EXE as an alternative.

Maybe try the signed RUU.EXE

http://dl3.htc.com/application/RUU_...10.38m.1157.04_release_336982_signed_2(2).exe

Hopefully that will work
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Thank you for all the help nkk71. Yep I downloaded the exe. One question before I flash this. I am on 1.54 S-OFF Bootloader UNLOCKED and SuperCID. The firmware ver 3.62.1700.1 which is google firmware. Do i still need to downgrade bootloader to 1.44?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
no need to downgrade, as the RUU is an upgrade. firmware and everything else (including a wiped internal storage) will be updated after the RUU.

With S-Off, bootloader unlocked isn't a problem, and SuperCID should work also, though it's not specified in the android-info.txt

modelid: PN0713000
cidnum: T-MOB010
mainver: 3.24.531.3
btype:1
aareport:1
DelCache:1
hbootpreupdate:3

If it fails just change CID back to T-MOB010, that's easy enough :)
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hmm fails with error code 155. Its not CID related. I guess needs bootloader locked.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
oh i missed the 3.62.1700 part, you probably need to downgrade hboot first
[One (M7) Q&A, Help & Troubleshooting] harshdev:
Hey nkk71 so the story is not ending I guess. This is what I did. I installed 4.1.2.RUU.zip from here htc1guru. It took me to bootloader 1.44. Booted perfectly fine.

So now i have bootloader 1.44 | S-Off | Unlocked. I then flash 4.3 RUU EXE that I downloaded directly from HTC. And it is stuck at HTC boot screen. So conclusion - I have not tried just one option which is Locking bootloader. I don't intend to do that......atleast for now because I am not selling my phone. But I thought of thanking you..because you helped me alot.

Appreciate all your help. If I want sense I guess I will have to live with Android HD Rev 52. Its just I was thinking that having sense based rom without sense firmware would definitely affect the performance of the ROM and that was the whole point of flashing sense based RUU.

Anyways seems to be a hard luck for me....atleast for now.