yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] Delgra:
Are you sure? Because I couldn't use revone to unlock my bootloader on 4.2.2 , even if I were still S-Off because I had no root privileges on stock ROM in order to let him operate through ADB shell.

When I used revone to lock my bootloader (before flashing RUU) last time I was 4.2.2 with last firmware already (hboot1.54) but it worked because I had root privileges. This is the reason why I thought that revone problem is Root related and then gaining root permissions again would let use it again. No idea if it works also on achieving S-Off on 4.2.2 (with root privileges), but locking and unlocking bootloader is possibile if you are S-Off in this build (and you have root privileges, while S-Off with locked bootloader does not let you do anything with revone).

Have you tried to flash a custom ROM, get SU privileges and then tried again to achieve S-Off through revone? Or did you say that because in your opinion won't work? If you try, let me know the results ;) that would be interesting to the community anyway..
[One (M7) Original Android Development] mj084:
[MENTION=4855414]Delgra[/MENTION]

How i can i flash an old RUU?

I'm on HBOOT 1.54 now and have no root access, bootloader is locked and S-ON too...

Flashing "RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed.exe" throws error with bootloader problem...

What can I do?
[One (M7) Original Android Development] Delgra:
Did you have a Stock hboot or did you flash the one that removed red statement on boot? what is your CID?
[One (M7) Original Android Development] mj084:
Then should it be stock hboot...update to 4.2.2 via OTA yesterday and today performed a restore from 4.2.1 nandroid via twrp

HTC__102 is my CID
[One (M7) Original Android Development] Yourmum90:
It worked! Did have -1 error

I tried it a few times and kept getting Framebuffer errors (when i didn't do su command) or i got the -1 error code when doing ./revone -s 0 -u

I then read the 2nd post that said if you get the -1 error hold the power off button for 15seconds when rebooting your device.

Now for a quick question, my phone says S-Off which is good does this mean i can now install any RUU file? just want to make sure that i don't mess it all up now.
[One (M7) Original Android Development] Delgra:
Any RUU compatible with your CID. You can change your CID throught "fastboot oem writecid cidName"

E.g. you want to flash a RUU compatible with CID HTC__001 but you have another CID.

So in fastboot just type "fatboot oem writecid HTC__001". I reccomend you to check that also your bootloader is unlocked because after OTA update you won't be able to use revone again to lock and unlock it if you do not have SU permissions (device rooted). And to flash SU you need a Custom Recovery and so you need an unlocked bootloader in order to flash the custom recovery. So check always that your bootloader is unlocked in order to avoid issues in the end.

And now that you achieved S-Off pay always a lot of attention on what you are flashing.
[One (M7) Original Android Development] strickyy:
What am I doing wrong?
[One (M7) Original Android Development] tiho5:
Seems like you dodnt get the file there first. Before adb shell you must

[FONT=&quot]adb push revone /data/local/tmp/

Read the OP carefully and start again[/FONT]

The guide is good and you should be OK

Good luck!
[One (M7) Original Android Development] uncommonaman:
Finally manged to get S-OFF. Also realized that there is no hit and trial, it should work if you are doing it right. These are the things you have to do to get it to work:

1) Install android sdk and adb toolkit from the sdk,change path variable to the the location of adb.exe and then install the htc drivers from hasoon's all in one kit before executing the first command.

2) Second step is easy so I am skipping to the 4th one. On 4th step, I got "failed to map memory error" to solve this error, unlock your device by clicking on the power button right after executing the ./revone -P. Just randomly play with the power button and you will succeed.

3) On 6th step, I was getting -1 error. I was getting this error because I didn't reboot properly after the 4th step. To reboot properly, hold and press power button for atleast 15 seconds , it will automatically reboot.

I am still getting error on the 9th step so trying to figure it out.

Thanks [MENTION=4282187]mugetsu666[/MENTION] for the motivation.

---------- Post added at 07:03 PM ---------- Previous post was at 06:38 PM ----------

Done with the final step but not not sure it worked because I am not seeing any red text I was supposed to see after successfully unlocking. It does say soff and unlocked in the bootloader screen though.
[One (M7) Original Android Development] happysteveo:
Okay, just to update, I was keeping on getting error -6, atleast 100 times while on viperom, I restored to trickdroid(still 4.2.2) and revone worked first time :laugh:
[One (M7) Original Android Development] Yourmum90:
Hi Delgra,

Thanks for the reply, the purpose of me doing this is to go back to stock as i need to use my phone for work and it can't be rooted. My phone is UK and on O2 so the RUU file i am trying to use is:

RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13. 3231.27_10.31.1131.05_release_310878_signed.exe

When i double click on it and go through the prompts it errors with Customer ID issue, i am guessing this is the same as the CID you are referring to. My CID is CID-o2___001 and version is 1.27.206.1. could you tell me how to work out the CID i need to change to for the above RUU or if their is a better RUU to use to get to stock?

I believe my current plan of action is:

- Change CID to one needed for above RUU

- Double click on the RUU and follow prompts wait for it to finish

- Run OTA update from the settings>about menu

Thanks for your help so far though
[One (M7) Original Android Development] Ardmanz:
I'm going to be re-s-offing my phone again (when I receive my replacement) and I remembered a problem I encountered last time.

I will be flashing the latest firmware which will require a locked bootloader. I'll then have to unlock it then reflash custom recovery.

For some reason, last time my sd card was wiped (along with the installed rom). The only way I could figure out and to unlock again was to get an unlock code from htcdev.

Can use the above method in OP in fastboot or is there a way to do this without a rom installed?
[One (M7) Original Android Development] 99piotrek:
Hey,

Now when I'm S-OFF and I have my t flag removed I need 2 more things to do:

1. How can I remove red warning text on boot screen?

2. I'm on Tmobile US. What is the best CID I should choose?

11111111 or 001? Does it really matters?

Thanks in advance
[One (M7) Original Android Development] prunzzz:
1.The red warning can only be used if you flash RUU to get to stock.

2.The CID drpends on what you further want to do

Like if you want to run RUU for stock its better to have 11111111

But its dangerous to run OTAs on 11111111(may end up in brick)

In that case get 001

Hit thanks if i helped you
[One (M7) Original Android Development] adamlee011:
Here you go http://xdaforums.com/showthread.php?t=2314921
[One (M7) Original Android Development] Delgra:
Yes, that plan sounds good. So in order to Flash that RUU you can use for example CID HTC__001. Anyway as I know for that CID it is not already out 4.2.2 (maybe it is being release right now, who knows?) . Once you flashed the RUU boot your phone and check for 1.29 firmware OTA update. After installing it change your CID again to HTC__Y13 and check for OTA updates again, you should find a small update and after the install, if you check again you should find the 4.2.2 update. The rest is up to you. You can stay on that CID or return to the original one. Due to the fact that stock rom is not rooted you can keep bootloader unlocked and also S-Off because they wont make differences in your device for the common and business daily usage.

---------- Post added at 04:46 PM ---------- Previous post was at 04:42 PM ----------

In order to remove the red warning you can flash stock stuff (e.g. stock recovery) or flash a custom hboot. Anyway the second option could be dangerous if you S-ON your device without flashing a stock hboot before. More information and a guide here :http://xdaforums.com/showthread.php?t=2316726
[One (M7) Original Android Development] Yourmum90:
You Sir are a Scholar and a Gent.

I have gone through most of the steps and my phone is just doing 1.29, and the small update so i did still need to switch the CID to HTC__Y13 and then perform the updates. Thanks very much for your help again. Feel much better now i can do OTA updates.
[One (M7) Original Android Development] Delgra:
I think you have to follow the method as explained in the OP. Some devices are easier to unlock than HTC ones (e.g. on Nexus you just need to type "fastboot oem unlock"). HTC give you a safer way but through that they can know what you did, so revone method is safer for your warranty. Anyway there is no need to relock a bootloader in order to get OTA. So with your next device, just S-Off before updating to 4.2.2 through revone and unlock your bootloader (do it before the update because revone doesn't work after it for now.)
[One (M7) Original Android Development] Hopie:
hey..

i´m s-off with the first release of revone (0.1?)

now is 0.2.1.. update to this or stay with release :confused:
[One (M7) Original Android Development] strickyy:
Once you are S-off, you are s-off. You cannot be more S-off, or better S-off :)
[One (M7) Original Android Development] Friedtofux:
Anyone can confirms whether s-off will cause greater battery drain on 4.2.2?
[One (M7) Original Android Development] ilal2ielli:
There is no reason it will. It is just a state of on or off. Does not run anything.
[One (M7) Original Android Development] Hopie:
oh thx ^^

i thought about the updates ;)
[One (M7) Original Android Development] Friedtofux:
But there's been a discussion on another thread that having s-off will enable ''Tell HTC" Permently, which enables sensors to collect data.
[One (M7) Original Android Development] ilal2ielli:
That's new to me.

Anyway, my battery life has been consistent with my usage patterns. Whether or not "Tell HTC" permanently being on makes sensors collect data, I haven't noticed any battery drain issues.
[One (M7) Original Android Development] gee2012:
Yeah, thats true. If you run stock firmware even with stock recovery, have S-Off and a unlocked bootloder (not via Htc.dev) the device is beeing flagged as a test device. Data will be submitted to HTC and that can not be prevented..
[One (M7) Original Android Development] Friedtofux:
What if I return back to s-on? Will it stop the "Tell HTC" service?
[One (M7) Original Android Development] gee2012:
I have it restored to full stock with a RUU (also restored s-off, bootloader and cid) and the message is gone. Revone will not work after installing the 4.2.2 OTA till they modify the exploit.
[One (M7) Original Android Development] kelvintisw:
There is a on-screen prompt/selection to Tell HTC or not if you perform S-ON after RUU.

So, simply uncheck that option and Tell HTC will be skipped.:p
[One (M7) Original Android Development] gee2012:
Doubt that, vital and critical logs when having a modyfied system will be sent (or at least stored) to HTC. Not 100% sure but that is how it works imo :p
[One (M7) Original Android Development] kelvintisw:
Hmmm...

Well, I have forgetten to perform S-ON before I flashed the RUU.:p

The message "This is a Development Device, ...Tell HTC Service..." was shown after the reboot.

I simply unchecked it (Default is "Checked").

So, I assumed that the S-OFF and Development Device's information wasn't sent to HTC thennn..:confused:
[One (M7) Original Android Development] odm3xda:
well now that the update OTA is here for my M7 and i am S-OFF using revone , i gor cwm recovery on my device few system apps uninstalled and a custom font and bullet proof kernel. no custom HBoot ...

to get the update can i simple restore to get rid of the kernel and system modifications like custom font and uninstalled apps then flash stock recovery and install the OTA ? or should i do a different process
[One (M7) Original Android Development] gee2012:
It doesn`t realy matter anyway, if you turn in the device fully stock you will always have warranty :)
[One (M7) Original Android Development] kelvintisw:
Yeah! I was a bit worry about that "Tell HTC thingy..." even I had unchecked it..:silly:

I guess your are right! As long as the phone shows "LOCKED" and "S-ON", and with no "TAMPERED", our full warranty is restored. Nothing to worry about! :silly:

Now, my HTC_044 is back to stock awaiting 2.24x OTA...hopefully tomorrow.

Cheers! :cool:
[One (M7) Original Android Development] TarekElsakka:
Unfortunately I did the OTA update with a locked bootloader and now I'd have to go through the whole HTC Dev process and wipe my whole device for it. I think I'd rather wait for revone developers to come up with a solution to this on 2.24. Hopefully they will soon because this is perhaps the greatest tool on this forum!

Thank you all for the hard work. I appreciate it.
[One (M7) Original Android Development] smartanks:
Urgent help

Hi All,

I tired to go S-ON after upgrading to ARHD 11.5 and flashing the 4.2.2 firmware. I initially put in the command :

./revone -s 0 -l

to lock the phone.

Then i though i should go S-On and not just lock. So i entered the command :

* ./revone -l

* fastboot oem writesecureflag 3

Now my phone doesnt boot into system or into recovery, it falls back to bootloader everytime and will display ：

*** TAMPERED ***

*** LOCKED ***

*** Security Warning ***

Please help me recover my phone , i do not want to wipe sdcard. :(

I didnt do Super CID :(
[One (M7) Original Android Development] kelvintisw:
May be you can repeat the whole process of S-OFF and then S-ON again.

At least it doesn't wipe out your sdcard in this way...:)
[One (M7) Original Android Development] smartanks:
Can you help me on this?

I am currently stuck on bootloader , and i do not have any way to go into recovery or system , does the ./revone work in fastboot mode? how do i s-off from here?

Thanks a lot

---------- Post added at 06:57 PM ---------- Previous post was at 06:41 PM ----------

If i do " fastboot oem unlock " will it wipe data?

EDIT : Got it fixed now , but all my data is gone , i have an older cwm backup so not everything is lost but i lost all my pics from a camping trip i came back yesterday. :) well no screwing with this phone now
[One (M7) Original Android Development] kelvintisw:
Gosh!

Sorry to hear that. :sly:

Anyway, once the new 4.2.2 OTA comes, our phone will be just perfect.

So, you don't really need custom rom anymore and no more disaster likes this.

I'm back to stock Rom now awaiting OTA. No more custom rom after that.

Anyway, always save photos to cloud storage asap.

Cheers! :)
[One (M7) Original Android Development] mugetsu666:
Thanks [MENTION=4282187]mugetsu666[/MENTION] for the motivation.

Glad I could help. Lol congrats man

Team-Noctural.com/androidtechy.com/droidnow.com
[One (M7) Original Android Development] NxNW:
Um, that sounds like trial and error to me.

This seems to be the crucial piece of advice that is common to many recent reports of success. Specifically, in my case, I was not getting past the "failed to map memory" error until I did this. Rebooting by holding the power button for only a few seconds and then choosing reboot from the GUI Power Menu did *not* seem to help me. Holding down the power button until a black box came up with a three second countdown *did* seem to help me.

I do not see any red text either.

Just for the record

- developer edition

- bone stock, unrooted, HBOOT 1.44.0000

- phone shipped with phone software 1.29.1540.3, then a few weeks ago applied the OTA to .16, then took 2nd OTA to .17 yesterday before beginning S-OFF procedure, apparently none of these two OTA's affect ability to S-OFF

- because developer edition already ships unlocked (and because S-OFF means the lock/unlock status is ignored anyway when flashing anything) I chose not to execute the entire command ./revone -s 0 -u as instructed but instead chose to leave off the -u flag and simply run

./revone -s 0

- because the "tampered" flag is not visible in HBOOT, I also am skipping step 9 ./revone -t since it does not seem to be relevant to me at this time

- cosmetically, the only thing that is different in HBOOT (carefully comparing before and after photos) is the S-ON in the first line has changed to S-OFF and there is a new line of text directly under that one reporting my CID
[One (M7) Original Android Development] uncommonaman:
10x bro :) Took some time,but worth it. Btw, which ROM are you using right now? And what is this supercid everyone talking about? Is it really useful?
[One (M7) Original Android Development] gee2012:
Hope revone will be able to work on 4.2.2 soon. This is truly a great app, keep up the good work :good:
[One (M7) Original Android Development] uncommonaman:
Correction: I did see that red text later after flashing custom recovery. Maybe yours is developer edition, so no warning for you.
[One (M7) Original Android Development] NxNW:
Good point- I'm still using stock recovery.
[One (M7) Original Android Development] mugetsu666:
I'm running my soon to be live tmobile rom.. Darkzangetsu and supercid makes it where u can run any ruu u want brother. Xsmagical has a script for that very simple. If u need me for anything man pm me. Btw love Ur avatar. I have a bleach boot animation from my evo 3d, it's the final getsugotensho!

Team-Noctural.com/androidtechy.com/droidnow.com
[One (M7) Original Android Development] InfernalByte:
Relocking the bootloader

I am unlocked and S-off. If I relock the bootloader can I still flash roms etc?
[One (M7) Original Android Development] gee2012:
Don`t Relock, just Lock with this command: ./revone -l in cmd/adb. Just unlock the bootloader and get S-Off, this gives you all the posibilities you want. Only lock if you have to flash RUU`s or turn it in for repair. Just my 2 cents.
[One (M7) Original Android Development] hth2813:
since s-off, my battery drain very fast :(
[One (M7) Original Android Development] T-BoneFL:
Worked like a charm first time through on a HTC One T-Mobile (US) variant. Used revone to unlock bootloader and S-OFF. Odd thing though... HBOOT states "UNLOCKED" and S-OFF, but does not state "TAMPERED" like it did on my HTC One AT&T variant that I used revone on a few weeks ago.

-T
[One (M7) Original Android Development] Johnny424:
thanks rev-team..worked like a charm the first shot on the AT&T variant. re-ran adb shell -t to remove tamper tag. running 4.2.2 venom rom by the way..thank you for your work
[One (M7) Original Android Development] filflame:
I was using this file "revone-0.2.1-wlj" instead of this "revone-0.2.1" :laugh:

I've just used the terminal emu for this.. no pc.. all went well :)
[One (M7) Original Android Development] happysteveo:
Cheers for that.
[One (M7) Original Android Development] mj084:
Anybody an idea for my problem:

http://xdaforums.com/showpost.php?p=43314853&postcount=3101
[One (M7) Original Android Development] gee2012:
Nothing at the moment, there is no getting S-Off for Hboot 1.54.000. The revone guys have to modify the exploits to regain S-Off. You`ll have to wait. Maybe there are other devs working on this also, look here i think they are testing for 4.2.2 http://xdaforums.com/showthread.php?t=2291087.
[One (M7) Original Android Development] CronoTr:
If I install the ROM insertcoin 3.0 that's based of the latest OTA will I be able to s-off in the future?
[One (M7) Original Android Development] gee2012:
I`am sure, its only a question of time i guess when we will get S-Off again ;)
[One (M7) Original Android Development] mj084:
[MENTION=2743227]gee2012[/MENTION]

s-off is not the biggest problem...

i can't use the one, because there is an old 4.2.1 image on it and the touchscreen doesn't work...

Old RUU Flash won't work because some bootloader error...

any ideas?
[One (M7) Original Android Development] gee2012:
The only way imo is to go to www.htcdev.com and request a unlockcode.bin key for the bootlader, after that flash a custom recovery and flash a custom 4.2.2 rom. That way you have it running again. BTW S-Off id the biggest problem atm, if you had that you could flash a older RUU with no bootloader version issue :)
[One (M7) Original Android Development] mj084:
not possible;)

touchscreen works after flashing firmware.zip from here:

http://xdaforums.com/showthread.php?t=2182823

Only problem is the tampered flag on bootloader...
[One (M7) Original Android Development] InfernalByte:
Thanks. I don't need to relock as such but can I get rid of the "Locked""Relocked" flag and remain unlocked?
[One (M7) Original Android Development] gee2012:
Revone doesnt work with 4.2.2 yet so no resetting tampered or red flagged text atm. Wait till revone is adapted for 4.2.2.
[One (M7) Original Android Development] sophos9:
Revone works fine with 4.2.2
[One (M7) Original Android Development] mj084:
seems so :(

[MENTION=5202529]sophos9[/MENTION]

yeah, with root access...
[One (M7) Original Android Development] sophos9:
Are you describing 4.2.2 Google Play Edition or HTC Sense?
[One (M7) Original Android Development] InfernalByte:
I'm running 4.1.1 HTC dev edition. Will it work?
[One (M7) Original Android Development] mj084:
[MENTION=5202529]sophos9[/MENTION]

what do you mean?

I'm running 4.2.1 stock but hboot 1.54 and locked and tampered bootloader.

S-ON too of course
[One (M7) Original Android Development] gee2012:
Can you lock the bootloader with Revone on 4.2.2? I highly doubt it.
[One (M7) Original Android Development] tiho5:
I'd like to know that too. :)

Does he have root or not?
[One (M7) Original Android Development] chaser81:
Okay, having read through the last twenty pages of this, I am still no clearer to understanding where I stand so I'll ask and see where I go from here....

I have stock 4.1.2 which came with my EE HTC One (UK).

I have rooted, have custom recovery (TWRP) installed, unlocked bootloader (through HTC Dev) and finally (after spending all day trying to get it to work) have S-OFF with no tamper flags.

I have also changed the CID to 11111111 successfully.

I want to update to European Generic HTC One Firmware 4.2.2 that will enable me to get OTA updates straight from HTC without having to wait for my carrier to release them.

What do I need to do from here?
[One (M7) Original Android Development] nikolaus2007:
Hello,

I updated 2.24 firmware. In order to do that I relocked the bootloader. Now I want to unlock my bootloader again.

For this error "Gaining root access (thanks to Dan's motochopper)...Segmentation fault (core dumped)" I guess there is no solution yet?

Besides unlocking via HTCdev (no solution for me)

Is this correct?

Thanks for reply.

best regards,

niko
[One (M7) Original Android Development] gee2012:
I tried `fastboot oem writesecureflag 3` too but that didn`t work either. You may try it in cmd/fastboot to confirm that.
[One (M7) Original Android Development] nikolaus2007:
fastboot oem writesecureflag 3

...

(bootloader) writesecureflag: partitions siganture pass

OKAY [ 1.578s]

So that worked for me, but not helping me by solving my problem?!

Thanks again :)

How can I solve my problem unlocking bootloader again besides waiting for a revone update and keeping my 2.24 firmware?
[One (M7) Original Android Development] T-BoneFL:
I thought it was not possible to get OTA when a custom recovery is installed.

-T

---------- Post added at 08:09 AM ---------- Previous post was at 08:05 AM ----------

Hate to quote myself... but I will. I assumed I was supposed to have a "tampered" warning, but I do not. Is that am indication of something going awry? Anyone not get the tampered warning?

EDIT: Must have had a brain freeze... Tampered appears if I have a custom recovery
[One (M7) Original Android Development] gee2012:
Wth, you have S-Off, usb debugging turned on and in settings/energy/fastboot and quick start turned off/unchecked?

I get this message when trying to lock the bootloader, see below.