yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] Sneakyghost:
Well i tried to raise that issue on their IRC chan today but got slapped with a "No ETA or plans questions" topic right away so i moved out again and thought to myself i am S-OFF already and i am not liking unfriendly houses, so i am going to party somewhere else.

It taught me to treat newbies to a subject with a little more fairness. I am usually quite a troll but the IRC today was like What the *** so i think i learned my lesson...

Maybe someone else wants to go there and tell them there might be an issue. Although i am pretty sure they are aware.
[One (M7) Original Android Development] gee2012:
Well if you`re still on Hboot 1.54.000 there is nothing you can do atm, you`ll have to wait till there is a exploit available for the new Hboot bro. If you flashed a 4.1.2 rom with a 1.44.000 Hboot you can get S-Off , unlock and change whatever you want.
[One (M7) Original Android Development] LorD ClockaN:
I'm glad that they are looking into it LOLOL :D
[One (M7) Original Android Development] gee2012:
Thats nothing, i got banned because i didn`t have a unlock key from htcdev and couldn`t answer a question he asked related to a htc unlock key because i never used it ever. They are not people people`s :D
[One (M7) Original Android Development] Rex2369:
Lucky I made the right decision to downgrade from 2.24.401.1 to 1.28.401.7 ( using the RUU) before I locked the bootloader and have S-ON.
[One (M7) Original Android Development] steljwaxd:
Done, output:

revone failed (error code = -6)

No joy
[One (M7) Original Android Development] gee2012:
Yup, suspected that would happen. Thanks for the trouble bro. Was this after ./revone -P?
[One (M7) Original Android Development] cc999:
Please clarify

SO I understand this correctly before I jump in on the S-off

This on a Developer Edition Phone - UNLOCKED

After I S-OFF and flash say the pure Google rom, which changes the hboot from 1.44 to 1.54,

I can only flash (go back to Sense Stock Rom) via an RUU when the phone is in the unlocked state.

Once I lock the phone you cannot go back to a firmware that has the hboot at 1.44. You will be

locked at hboot 1.54 until this is sorted out?

If this is true, how do you flash back the original ruu? When I flashed the HTC SENCE RUU it would not

flash unless I locked the device. So it seem you are screwed. Am I understanding this correctly?

CC
[One (M7) Original Android Development] gee2012:
Do you even need S-Off with this phone? Not familiar with it tbh.

Quote: Partly correct.. But the main advantage is S-OFF and Super CID. :)

Scource http://www.gsmarena.com/htc_one_developer_edition_for_the_usa_announced-news-5688.php.

So the phone is S-Off and has superCID.
[One (M7) Original Android Development] cc999:
yes

Yes you need S-off to change CID and flash the FULL (including bootloader and recovery) Google Edition.

This changes the hboot to 1.54.

Some people did an S-off, changed CID, put S-on then wanted to go back to

the stock sense rom and they were stuck, no s-off on the hboot 1.54.

CC

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

The Developer Edition does NOT come S-off.

CC
[One (M7) Original Android Development] gee2012:
Well if you lock the phone and go S-On on on Hboot 1.54.000 you`re stuck atm. If you stay S-Off and unlocked you can flash the original rom again after changing the CID i guess. Once you have S-Off don`t ever go S-On.
[One (M7) Original Android Development] cc999:
ok

ok so back to my original question, how do you flash a stock RUU without locking?

CC
[One (M7) Original Android Development] raptir:
Well, I went through the process and am now S-OFF, unlocked and rooted. After rooting (booting into a custom recovery and flashing SuperSU) I received a message saying that my phone had encountered an abnormal reboot. any reason to be concerned about that if it does not continue occurring?

EDIT: I guess this is actually off-topic for this thread, I'll take it to Q&A.
[One (M7) Original Android Development] tiho5:
Don't worry about it. :)
[One (M7) Original Android Development] gee2012:
You can`t flash a RUU with an unlocked bootloader.
[One (M7) Original Android Development] steljwaxd:
No problem, glad I could help after my change of underwear moment earlier today...

Yes, that was the -P option.

Btw, is it true that I can not use any RUU anymore now wit 4.1.2 in it, because of the touch drivers?
[One (M7) Original Android Development] gee2012:
LOL :laugh::laugh::laugh::laugh:

---------- Post added at 12:15 AM ---------- Previous post was at 12:09 AM ----------

Not afaik, If you`re S-Off and unlocked and change the CID you can downgrade Hboot with a 4.1.2 rom and get updates, either WWE or European. But not 100 % sure so better check it yourself also.
[One (M7) Original Android Development] steljwaxd:
I was just looking into changing the CID, I didn't ever attempted to do that. After my first unlock with the old hboot, my phone was not giving any TAMPERED message, so I also didn't have to use the revone -t option. After today, I also got rid of all the red lines on my first boot screen.

My phone is now diplaying ***UNLOCKED**** / S-OFF and my CID is HTC_E11.

I don't get the advantage of changing my CID, I also did not get it why my phone was not displaying the TAMPERED message, and on top of that, my red lines in the bootscreen are also gone.

My procedures where not that different from the the FP, except I didn't ever use the -t option.

Edit:

My red warning lines are gone because the firmware.zip had included a modified hboot, I think it's a bad idea to include modified hboots in packages... but thats just my opinion.

use of CID is still unclear for me.
[One (M7) Original Android Development] TubeShaped:
But why can't I downgrade to 1.x with a complete RUU package? Is it because I'm still SuperCID? It says something like "error wrong bootloader"
[One (M7) Original Android Development] leon sprouse:
waiting

I have decided after reading all I could find and installing adb on my computer ( probably did this wrong and it may not work) that this is over my head and I may get it to work or just as easy brick my phone. With this in mind I will wait and hope the Revolutionary team will make a version that is easier to use. Until I got this phone (HTC ONE) all I have done is flash different roms after doing (if I remember right) a very easy root over three years or so ago.
[One (M7) Original Android Development] Sneakyghost:
Thats why i strongly discourage people to post handmade firmware packages. I got a selection of firmware packages i can give to people when in need via PM support to make things easier, dealing with one client at a time, but posting a handmade firmware zip into the wild leads to stuff like that. People downloading it and not fully understanding what they do. This is just Sh.it and should be banned from XDA. Nothing ever wrong with doing your own zips but posting them, partly with wildly off stuff in it, well, i dunno.... responsible members? Hmmm.

---------- Post added at 01:29 AM ---------- Previous post was at 01:19 AM ----------

The CID refers to Customer ID and designates what customer the Software on the phone was made for. So, each HTC Customer ( in terms of reseller company) can have their own ID. HTC Local branches act like resellers, so they also get their own CID's.

Now, Updates are usually rolled out to batches of customers or just single customers only. With the HTC generic updates, usually the skandinavian countries get them first as they are small in userbase and serve as field testing crowd. If anything runs the wrong way, HTC leaves the update with scandinavia and doesnt serve the rest of world until another update that fixes stuff. On the Ville i have seen like 2 or 3 updates that never reached everyone but stayed with the scandinavian CID's

Knowing this system, we can play with it. We can make our phones unbranded from a branded one, we can change our carrier bloatware package, we can make it generic. We can actually switch to a CID that has been known to get updates early. We can also go to something called a "SuperCID" which is just the Customer ID the developing and testing people at HTC use. It tells the Firmware "hey i am a developers phone and that dude might want to mess with anything - so allow him to flash any package".

While Security (S-ON / S-OFF) actually controls some of the nand partitions being writeable or not, the CID is more in control of what software package you get.

So, for maximal flashing freedom, a combination of S-OFF and SuperCID is desireable, yet very often not really needed.

CID can also be fooled by manipulating your phone's CID into the "android-info.txt" file inside your firmware zip or RUU. You don't necessarily need to be SuperCID, but it makes your flashaholics life a LOT easier.

Clear now?
[One (M7) Original Android Development] Spartn:
I assume u have security on(s on), so that's why you' re not allowed to downgrade even with RUU, well its possible to downgrade with custom rom, but then touchscreen it's not working, i've got same problem, let's hope someone is working to get s-off on 4.2.2(hboot 1.54..)again, it would be really great, but i just checked the revone code and it's quite too long, so i'm afraid it will take a while or too long to get it done again if even done again

but let's keep finger crossed
[One (M7) Original Android Development] steljwaxd:
Perfectly clear! Thanks.

I noticed the android-info.txt and the possibility to add your own CID. What I find interesting is what part of the mechanism on the phone is matching the <coded> CID with the ones in the textfile.

On your custom hboot firmware answer I agree mostly, but you have to know I downloaded from the official thread here (http://xdaforums.com/showthread.php?t=2182823), and I noticed that the FP is not displaying any hboot versions. A similar thread in the HTC One-X forum is diplaying the included hboot version.

Now that everything is clear for me, I think I have to remember to not go back to S-ON, which will brick my device....

A RUU can be applied anytime, also in my situation.

The thing with the HTC One is, that you have alot more flashable areas, and a lot more dependencies.... but still possible to flash for example, the hboot or radio on your own, as long you are S-Off, and that has never changed with HTC.

It is getting a bit of a mess here, back in the days, with my htc desire I had no firmware packaged, but flashed any partition straight from fastboot or CWM, hboot/radio/rom, not a problem.

Maybe it is a good idea to make a list of dependecies, like the touch driver problem, another issue for some users trying to downgrade.

---------- Post added at 11:49 PM ---------- Previous post was at 11:42 PM ----------

a official RUU should work, even with S-ON :confused:
[One (M7) Original Android Development] Sieze:
From my understanding, wont this add *tampered* text in bootloader? I want to temp root my one to give some ROM's a spin but i dont want to have to worry about not being able to having the phone Exactly how it was before. proposterious of a demmand yes xD but i dont doubt theres a way. Just wanna get all the info I can to decide weather to root or just wait for next OTA
[One (M7) Original Android Development] c5satellite2:
Just take the plunge. The stock Rom and OTA game will always be months behind custom roms. Once you flash a custom ROM you won't miss the stock one. Plenty of stock rooted roms are available if you decide you do want to go back(you wont).
[One (M7) Original Android Development] Sneakyghost:
I think its fastboot when in RUUmode actually. Don't think its the phone. But i am only guessing here...

I wonder if the dude really put in a modified hboot. Doesn't make sense to me, honestly, as those modified hboots are really only flashable with s-off and he is guiding people through it who are still s-on. You sure you got a modified one in the package? did a binary compare to the one you can get off my thread? Actually, i got my stock hboots from the packages which that dude hosted. So i don't think you got a modified one.

Link me to that package you downloaded via PM and i will check it out.
[One (M7) Original Android Development] jwtrockz1998:
Hey guys this is not working for me, Im on Android Revloution HD 12.0 rom running Android 4.2.2, its says successful but my bootloader still thinks that I have S-On
[One (M7) Original Android Development] AlbertoSONIC:
Which hboot number do you have?
[One (M7) Original Android Development] mikbe:
Did you update OTA to 4.2.2 before unlocking bootloader and flashing ARHD? If so, revone doesn't work.
[One (M7) Original Android Development] AlbertoSONIC:
Due to 1.54 hboot...
[One (M7) Original Android Development] robt772000:
Just in case anyone is interested I s-offd my 1.44 and then flashed the 1.54ge bootloader and it's still s-off.
[One (M7) Original Android Development] AlbertoSONIC:
Revone doesn't work on 1.54 hbook, but if you s-offed on 1.44 hbook, updating hboot to 1.54 will keep s-off...
[One (M7) Original Android Development] gee2012:
Yup, that stays whatever you flash unless you go S-On yourself.
[One (M7) Original Android Development] robt772000:
It's so coll that I could upgrade with s-off as now it's way better without the red warning.
[One (M7) Original Android Development] jmkhenka:
And i SO regret not doing s-off when i initaly got the phone but no, I had to upgrade to 4.2.2 the first thing i did.

Now im playing the waiting game - hopefully revoked will get a update to s-off 1.54 to.
[One (M7) Original Android Development] mrrogers1:
Well, they are more people people than Lady X.... TRUST and BELIEVE that! :D
[One (M7) Original Android Development] gee2012:
I know her from The One X i had for a short while. Crazy loudmouth woman.
[One (M7) Original Android Development] Calavaro:
Maybe someone clever could help me with this.

I unlocked using htcdev, but now I need to return the phone so I ran revone as detailed in the OP.

I get error -6 when I try to use with the -P flag.

I get -1 when I try to use with the -l flag.

The -t flag says success.

Now the result is like the picture.

It says S-ON but also TAMPERED and UNLOCKED

What do I do now?

Thank you.
[One (M7) Original Android Development] DeSaint2:
Well you are still on hboot 1.44 so that shouldn't be giving you issues. You may need to be s-off to make it show locked so you might want to go s-off then do what it says in the 2nd post. You have gone all the way back to stock yes?
[One (M7) Original Android Development] io53:
If you are on 1.54 bootloader and S-ON you have no way to remove the tampered flag.
[One (M7) Original Android Development] Sloth:
Type fastboot oem lock

That will re-lock your bootloader

Sent from my Eliptic Nexus 7 :p
[One (M7) Original Android Development] sp5it:
Re run whole procedure to gain s-off than remove tampered.

You didn't even look at the pic!

To remove TAMPERED?

Mike
[One (M7) Original Android Development] Sloth:
Once it's locked there won't be a custom recovery which is why it say tampered in the first place

Sent from my Eliptic Nexus 7 :p
[One (M7) Original Android Development] io53:
Oh, my bad. Tapatalk beta did not show the picture. Nwm.
[One (M7) Original Android Development] kenned88:
Originally Posted by MasterXXXShake View Post

I don't know if this will work for anyone else. I've flashed so much crap and run so many RUUs on my phone who knows what is different about my phone versus a shipped phone.. The following process worked for me to gain S-Off on my phone with 1.54 and S-On

I tried this to help out someone in another thread. From a recent post it doesn't sound like it worked for him, so I'm not hopeful. Worth a shot though.

Unlock (HTCDev method)

Install custom recovery (if you are going for S-Off I bet you know how to do this already...)

Flash ARHD 9.4 (It's the rom I used when it worked for me. Might work on other 4.2.1 Roms or might not work at all)

Run Revone. Worked for me without using the alternate binary. It worked while my phone had 1.54 and reported S-On in hboot.

Like I said though.. I've converted my tmo phone using RUU to Dev Edition, To HTC__001, (Including doing the changeMID and installing that eng hboot that flashes over in that process)... YMMV.. Good luck. somebody let me know if this works on a virgin phone.. it would make me happy.

I have ARHD 10.0 if you want to try that? https://www.dropbox.com/s/u6olce81jp42pas/Android_Revolution_HD-One_10.0.zip
[One (M7) Original Android Development] nikolaus2007:
yes, good, could you provide me the link ?

thank you
[One (M7) Original Android Development] daleski75:
Tried maximus7 and arhd 10.1 and no go guys.
[One (M7) Original Android Development] nikolaus2007:
Mh okay.
[One (M7) Original Android Development] kenned88:
Sure :) Wait an hour for my upload to finish. :)
[One (M7) Original Android Development] sagarsamtani:
Hello everyone, need some help..

I s-off and unlocked my At&t htc one, changed mid and cid to european and flashed EUROPEAN 1.28.401.7 (even with unlocked bootloader) and everything went good.. then got the 4.2.2 OTA , that updated everything on my phone like software and hboot...

So now i just want to lock the bootloader (as it was never unlocked) with 4.2.2 stock that i currently have..

But ./revone -l is giving (segmentation fault core dumped ) error..

Any idea
[One (M7) Original Android Development] sp5it:
Downgrade hboot
[One (M7) Original Android Development] Calavaro:
Hi. Thanks for the answer.

But now I have this problem instead:

***TAMPERED***

***LOCKED***

***Security Warning***

I tried to run (as administrator) "RUU_M7_UL_JB_50_hTC_Asia_WWE_1.29.707.3_R_Radio_4A.14.3250.13_10.33.1150.01_release_311678_signed.exe"

but I get this error message:

"An error (-5001 : 0x80070002) has occurred while running the setup.

Please make sure you have finished any previous setup and closed other applications.

If the error still occurs , please contact your vendor."

The error details say:

Error Code:	-5001 : 0x80070002

Error Information:

>SetupNew\setup.cpp (142)

PAPP:

PVENDOR:

PGUID:

$
[MENTION=3556876]Windows 7[/MENTION] / Server 2008 R2 Service Pack 1 (7601)

IE Version: 9.10.9200.16635

What should I do now? I can not even boot my device anymore. It just goes to the fastboot screen every time and I can't do anything.

Any kind clever people out there that can help?

(I have that sinking feeling I have gone and killed my hard earned US$ 700...it would be devastating)

If I do "fastboot oem lock" it says

...

(bootloader) Device was already locked!

OKAY [ -0.000s]

finished. total time: -0.000s

I'm so very much hoping somebody can help.
[One (M7) Original Android Development] Sckank:
I think you have to wait until they find a solution for s-off for the firmware you have
[One (M7) Original Android Development] io53:
Not sure why the RUU is failing. But you could unlock it with htcdev, flash a custom recovery and a custom rom. That way you will at least get the device up and running.
[One (M7) Original Android Development] :
Just use htcdev.com to unlock your boatloader and it will be fine . Your phone is not dead . You can revive it on your own till you can go into boatloader

Hit me on Skype or facebook . If you want me to do that for you am free today . *forever alone *
[One (M7) Original Android Development] Calavaro:
Send me your PayPal email via PM. You have a drink on me coming your way my very good friend.

THANK YOU.

Edit: PayPal sent.
[One (M7) Original Android Development] alanzo27:
I have a similar problem. Original post here with details: http://xdaforums.com/showthread.php?t=2362305

I just want to get back to stock at this stage and have a functioning phone. My own fault for being too curious with this stuff anyway :P
[One (M7) Original Android Development] Calavaro:
Just unlock your bootloader with the htcdev.com "Unlock_code.bin" file using fastboot.

"fastboot flash unlocktoken Unlock_code.bin"

That solved it for me. And I didn't have to do any cardio today.... whew.
[One (M7) Original Android Development] alanzo27:
Thanks. :) But it won't work for me. :( I get this:

C:\mini-sdk>fastboot flash unlocktoken Unlock_code.bin

sending 'unlocktoken' (0 KB)...

OKAY [ 0.145s]

writing 'unlocktoken'...

FAILED (remote: unlock token check failed)

finished. total time: 0.154s
[One (M7) Original Android Development] :
Try a complete power down . Hold power button for 1 minute . Then repeat the whole process in htcdev.com
[One (M7) Original Android Development] gee2012:
Go to htcdev.com and try to get a new token, yours may be corrupt. Hope that helps.
[One (M7) Original Android Development] alanzo27:
Thank you so much! I need a beer now to get over the operation and celebrate that my phone is not dead :D

---------- Post added at 06:02 PM ---------- Previous post was at 05:48 PM ----------

So now my phone boots up (Thankfully!), I am trying to flash to an older HBOOT in order to get S-off again, as my Splash Screen is not the original and want to get it back. I keep getting an error:

C:\mini-sdk>fastboot flash zip orig_hboot_1.44.0000_M7_RUUmode.zip

sending 'zip' (486 KB)...

OKAY [ 0.233s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (remote: 99 unknown fail)

finished. total time: 0.486s

Some info from getvar that may be useful.

(bootloader) version-bootloader: 1.54.0000

(bootloader) version-baseband: 4A.17.3250.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.00.000.0

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

product: m7_ul

platform: HBOOT-8064

modelid: PN0710000

cidnum: HTC__001

battery-status: good

battery-voltage: 4182mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-ae095083bf

hbootpreupdate: 11

gencheckpt: 0
[One (M7) Original Android Development] daleski75:
You cannot downgrade hboot with s-on so you will have to wait for a new exploit or a new version of revone to downgrade.
[One (M7) Original Android Development] cc999:
try

Try this, hold power button down for 45 seconds. then reboot phone, and do the process again.

CC
[One (M7) Original Android Development] Calavaro:
Thank you. However my situation was already fixed. :)
[One (M7) Original Android Development] kenned88:
Here is the link for ARHD 10.0
[One (M7) Original Android Development] sagarsamtani:
Please tell me how to do that?
[One (M7) Original Android Development] sp5it:
You have to flash RUU or nandroid backup you should create before changing firmware.

Mike
[One (M7) Original Android Development] sagarsamtani:
Ok right now my device status is:

S-off

Unlocked

Hboot: 1.54

MID : PN0710000

CID : HTC__Y13

FW: 2.24.401.1

Android 4.2.2

So i am ready to install stock At&t RUU , will it downgrade hboot and everything? Or i need to do some steps before running RUU?