yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] angusc:
I understand that, but my question is that should I or anyone else "forget" that they are running a custom HBOOT would the old file still present the securityflag step as a safe guard or would I and everyone else have to paste in the latest revone file to have this safe guard?

Sent with desire from My One
[One (M7) Original Android Development] joe460:
Worked for me after about 30 tries! Thanks to a couple of tips in the thread. Hard reboot with power button for 15 secs did the trick for me (I think).
[One (M7) Original Android Development] Ardmanz:
Yup, I'm blind. I must have read it all 10 times, don't know how I missed it. Thanks. :)
[One (M7) Original Android Development] Razorbacktrack5535:
simply perfect ;)
[One (M7) Original Android Development] carlos67:
Ok guys, I have read tons and tons in last few days since getting my black, unbranded international One (m7) from Carphone Warehouse in UK. Coming from Samsung (where flashing/rooting etc is easy peasy compared to Htc) I find it all a bit complicated despite being a serial flasher for last 3 years, initially with HTc Desire but more recently Galaxy s2/s3 and s4 which I returned for the black One. I am ready to root and want to install Android revolution because that seems popular and I like the look of the mods it includes. However, before I go and take the plunge, please could you knowledgable dudes answer some last minute question I have. By the way, I'm comfortable using ADB from PC and also terminal in Android.

1. I am a little confused as to what order I need to do things in???? Do I root first and then install custom recovery and then custom Rom (ADHD probably). Or custom recovery first and then root?

2. Do I have to unlock the bootloader from HTc only? or can I unlock it (without root) without having to get the HTc unlock token? I preferably don't want HTc knowing anything about my devices history.

3. Do I have to s-off if all I want to do is root, install CWM Touch and ARHD and perhaps a custom kernel that allows overclocking the Adreno GPU. My current stock firmware is carrier unbranded anyway so don't see what s-off gains me? (perhaps maybe if I want to flash an official RUU later and go back to stock)

4. If I flash ARHD Rom, do you guys recommend non-touch version of CWMR because it works with Aroma installer (which I think ARHD uses on install)

5. Iv'e heard/read that even after rooting the phone, the /system partition is still read only and that people are noticing apps returning after being uninstalled in titanium. Is this true and if so isn't there a mod that allows /system to be writable?

6. Last question(:o), If I unlock bootloader without going through HTc Dev, can I avoid losing my data (which happens when using HTCDev)?

I really appreciate any answers you guys have but please only reply if you are properly knowledgable as I am not a noob to android flashing, just trying to re-aquaint myself with HTc and it's silly barriers to customisation after finding flashing Sammy devices a doddle.

I hope these questions and any quality answers they get will also help others in similar predicament to myself.

Cheers guys and sorry for the looooooooong post:)
[One (M7) Original Android Development] doctorgallo:
1: recovery first then root

2: you can unlock with this tool

3: you don't have to s-off, but I recommend it

4: I recommend twrp recovery

5: -

6: if you use revone nothing will be wiped
[One (M7) Original Android Development] DeSaint2:
On number 5 it's a kernel level thing. Wait until tomorrow and you can choose between elemental or teamseven kernels abd they both have system write protection disabled.
[One (M7) Original Android Development] DJW6927:
Not totally crystal advice. Sorry no offence intended but you'll be giving your warranty away unnecessarily if you go the unlock way. And there's no point.

Just s-off and install custom recovery (twrp or cwm). This methods better so you don't need to HTC unlock first.

Then nandroid backup and crack on. Do read the guides first though.
[One (M7) Original Android Development] mishmac:
Little confused my self as DeSaint2 after searching through threads and not finding much info.

In order to install custom rom like ARHD on o2 branded phone o2__001 do i need to use this tool to s-off and change cid?

Any help is appreciated.
[One (M7) Original Android Development] carlos67:
Thanks but to s-off I need to be rooted don't I? And to be rooted I need to have a custom recovery installed first (to flash SuperSU.zip). And to be able to install a custom recovery I need to unlock the bootloader before that.

Man, this chicken and egg thing is doing my head in.

OK, this is what I want to achieve........I want to be rooted with CWMR Touch or TWRP(not bothered which one) and be able to install ARHD (latest version with 4.2.2).

That's all for now. I'm not bothered about superCID and s-off. I'll worry about that stuff if and when I need to send off to HTc for warranty repair. Hell, I can even live with "TAMPERED". Its no big deal for me.

Have made notes of all my stock info such as CID number, radio version, etc etc. I'm raring to go but what order do I do stuff in because there's conflicting advices in what I've read so far.
[One (M7) Original Android Development] doctorgallo:
No offence taken. The unlock thing was just a fact more than advice. He didn't want to do it via htcdev so i said it works with this tool also :)
[One (M7) Original Android Development] DeSaint2:
You don't have to s-off to install arhd just unlocked bootloader. As long as you do t go messing in the wrong partition with s-off I would say go for it. The elemental or team seven Kernels work with arhd or if you don't do much in system you can just stick with stock kernel that comes with arhd.

Supercid just allows you to flash firmware from any cid. So if you plan on doing that than I woud supercid it.

Oh and obviously custom recovery
[One (M7) Original Android Development] DJW6927:
No. You don't want to be rooted. Rooting's not the point as it's about user rights of the Rom you're using.

You wanna be able to flash roms (and maybe other things like hboot or radio) and that's about the bootloader being unlocked/unlocked & security off. And you can do that in a way that HTC know about and still doesn't give you full access...or you can s-off and be able to cover your tracks if need be.

It's a £450 handset of anybody's money and I don't want any funny business if I need the warranty!
[One (M7) Original Android Development] carlos67:
I have to be rooted in order to run apps like titanium and root explorer etc etc. I always like to uninstall bloatware after rooting. Are you saying that just by installing ARHD that that will root the device for me if it wasn't already rooted?

In other words, you're saying that the kernel that ARHD comes with is stock but rooted?

Edit: sorry guys for going OT
[One (M7) Original Android Development] Gerton:
Worked on my One, -P taked 27 times before succes, -s 0 -u took me 7 times. (Map error)

I was locked and s-on.

Now unlocked and s-off!

Thanx!
[One (M7) Original Android Development] DJW6927:
Yes absolutely dude. It's a property of your Rom. Which doesn't have to rooted to flash..

Like I don't think you even need to root your stock Rom if you're just gonna get rid of it by flashing arhd.

Then welcome a brand new case of obsessive Rom disorder. Got mine back and it's nerdy and great after my one x which never got s-off and was frankly crap :)
[One (M7) Original Android Development] ghostryder12:
With the power of my One, what are the advantages to go s-off? What, if anything will I gain?
[One (M7) Original Android Development] lt thistle:
http://xdaforums.com/showthread.php?t=2319553

That may answer your s-off questions.

Sent from my Tranquil HTC One with tapatalk 2.
[One (M7) Original Android Development] ghostryder12:
Thanks Tranquil, that was exactly what I was looking for to explain the whys. You rock.
[One (M7) Original Android Development] prunzzz:
Hey,as you have unlocked bootloader from htc on restoring nandroid backup, you will be having a stock rom with some system apps lost!!!(like flashlight,calender etc.)

With such a stock rom you will not be able to install OTA(read mike1986's article on android revolutio hd blog. Ie. Google it)

So even though you have this stock rom, stock recovery s-ON and locked bootloader you have to use RUU

Thats what i think

Correct me if i am wrong
[One (M7) Original Android Development] DJW6927:
I've been here a long time guys and I didn't get the point of that very rambling link.

The best thing you guys can do is go check out the huge massive unbelievable terrible upset that s-on caused HTC One X users (tegra 3 never got hacked). See for example:

http://xdaforums.com/showthread.php?t=1927048&highlight=three

Besides the day to day pain of kernel flashing it meant the inability to super cid and flash any hboot. This meant waiting for months and months for carriers to release hboots with carrier cids to allow updating to new versions (which depended on an updated hboot).

In english this meant some poor sods couldn't update to jb from ics for example. Just wait and feel the pain when we want to update to klp and you'll see what s-on means if you're branded.

And finally there's principal - its your device and you should be able to do what you want with it. Not what someone deems fit for you to do. Buy an i-Phone if you want or need to be spoon fed.

So BIG BIG thanks to revone and its creators. Its about freedom.
[One (M7) Original Android Development] Skizzy034:
Trying to get back to s-on but when I do ./revone -P in the first step it doesn't show successful or failed it just reboots the phone. Should I keep trying until it says success or did it take?

EDIT: I tried continuing on once it booted and did the ./revone -l and writesecureflag 3. It says in the bootloader that it's locked but still shows s-off.

EDIT 2: I flashed the stock RUU and then did all the steps and it went back to s-on.
[One (M7) Original Android Development] angusc:
Hmmmm debatable that last point.....unless you purchased the phone out right without a contract, then I think not. Technically and legally the phone belongs to the contract provider until you make your last monthly payment....... That's why I ALWAYS buy my phone's outright and try to get the WWE editions. Except in this case with the ONE I purchased the DEV Edition due to the additional memory size.

Sent with desire from My One
[One (M7) Original Android Development] DJW6927:
Agreed 100%... only HTC I had on contact was my One X. Double mistake.

But many folk here probably can't afford to shell out that kind of money (we're evidently lucky for whatever reason).. the carrier things really important for them.

But I only bought when s-off was achieved and when Google Edition was imminent - the clock's ticking for HTC to close these 2 exploits. Later adopters will get shafted (or have to prat about with bits of wire to achieve s-off, ref later sensation wiretricks).
[One (M7) Original Android Development] adamlee011:
I'm hoping you're wrong about that but I have to agree. I was lucky enough to never have updated my evo lte and had purchased it with the first hboot. My friend.... not so lucky.
[One (M7) Original Android Development] crossmission:
we no pay brick fone contract, aaight?

So what you are saying is that if I buy a subsidized device under contract and end up bricking or breaking it I will stop making payments for the said device? I am under contract, I will buy a new phone and carry on with my contract, why does a carrier care? If I have insurance on it it's the same as I would drop it in the toilet by accident. I know what carriers' contract say but I am trying to make a valid point, as I the consumer am liable for my actions, obligated by law to fulfill my contract, thus keep paying for the specified period, so is(should) the carrier let me be, the simplest of freedoms are what mankind is striving for since the dawn of civilization, denying my right to self-definition is part of this s-on/s-off debate and all this of course take as granted that we the consumers are of good will and act according to the law (maintaining payments to the carrier and not disappear off the face of the earth)

I want me some freedom to custom mod the ****e out of me mobile phone carrier beoch!! :silly:
[One (M7) Original Android Development] Athrun88:
I think you're missing his point. Here's another analogy: When you purchase a house, you normally sign on to a mortgage. This is usually the cost of the house spread over a 10-30 year period and you make payments to a bank. Until your mortgage is paid in full, you never really own the house even though you live in it, maintain it and etc. Same thing with a car or anything else you finance. By entering in a 2-3 year contract with a wireless carrier, you are basically financing the phone for that term. You are correct in that if you do break the phone from your own mistake/misfortune, you could just replace it with a new phone and carry on with your service contract; but you'd still be paying for the initial phone as well since it was built into your initial contract.

The issue of S-OFF, SIM Lock and locked down bootloaders really come into play with people like myself and others who purchase our devices outright. Our argument is that since we have paid for the device in full, we should be allowed to do what we like, when we like, with our devices without limitations. Of course, the big carriers and manufacturers would kindly disagree with this point of view.
[One (M7) Original Android Development] ghostryder12:
+1 there should be an exception written in addressing out right device ownership, or, manufacturer has to prove damage was caused by rooting, s-off (which is how they are shipping the Damn things now), or anything else we do to improve the device. Hardware is hardware & if you screwed up the hardware, you're definitely a dev doing experiments. :D
[One (M7) Original Android Development] DJW6927:
Not sure I agree with the mortgage analogy.. And we're definitely drifting off piste anyway.

Look.. I can't honestly believe anyone would even hesitate doing this. Some people just don't realise how unbelievably lucky they are to have this. Even if it is real pain in the back side to get to work !

Go borrow a branded One X from somewhere and feel the pain.
[One (M7) Original Android Development] dastylee:
Reverting to S-ON

how can i Revert to S-ON i have tmobile us htc one i need to send my cell phone back tomorrow thank you...
[One (M7) Original Android Development] darks1der:
I keep getting failed to map memory.

Pushing to the device and running ./revone -P works fine. It will tell me to reboot and once I try to run the Step 6 it comes back with the error message Failed to map memory.

I have tryed running the commands one at a time but no succes.

Anybody any advice?
[One (M7) Original Android Development] ess.boyer:
This worked great on my m7ul from Bell Canada. However, I had to try about 50 times, across a couple dozen reboots before it worked. I was having an earlier issue where even though I had htcdev unlocked, I couldn't flash a custom recovery. Once I finally obtained S-OFF, I was instantly able to flash TWRP.

So if you have a similar issue, with seemingly endless errors running ./revone -P or ./revone -s 0 -u, just keep trying. Make sure you follow the steps EXACTLY.

Thanks a TON to the Revone team! Great S-OFF. Much easier than on my Holiday which required opening the phone and shorting tiny solder joints with a twist tie ;)

Cheers,

Ess
[One (M7) Original Android Development] Gerton:
Keep on trying, it could take some time.

When hou are in the command prompt screen u can press the arrow to the right to retype the ./revone -u 0 -s

---------- Post added at 10:12 PM ---------- Previous post was at 10:09 PM ----------

By doing this:

Reverting to S-ON

* ./revone -l

* fastboot oem writesecureflag 3

I had sent my One back 2 weeks ago and did this also. Works fine.
[One (M7) Original Android Development] darks1der:
It took a while but it was succesfull.

Great work guys ;)
[One (M7) Original Android Development] doctorgallo:
I read that if your hboot is not stock you can brick your device by going back to s-on. Maybe you haven't played with the hboot, but just so you're aware of it
[One (M7) Original Android Development] dastylee:
my hboot is still the same i just s-off ...i need instruction on how do get it back to s-on lol i have to return it tomorrow
[One (M7) Original Android Development] DeSaint2:
Well I would start with a Ruu for your carrier to revert everything back to stock, and directly from2nd post

./revone -l

Fastboot oem writesecureflag3

Done
[One (M7) Original Android Development] dastylee:
i did it maybe i did it wrong but can u please tell what all the commands i need to enter before typing those two commands ? thank you
[One (M7) Original Android Development] gee2012:
Noobish question: If i have S-off can i unlock the bootloader in fastboot mode (fastboot oem unlock) or do i have to do it on htc.dev?
[One (M7) Original Android Development] maxal:
Read these instructions,

Download revone (above) and push it to your device: adb push revone /data/local/tmp/

2. Open an adb shell and:

* cd /data/local/tmp

* chmod 755 revone

3. (optional) If your device is unlocked and rooted please switch to root using su.

4. Prepare to gain S-OFF by running the command: ./revone -P

4a. If revone reports success reboot the device and proceed to step 5)

4b. If revone reboots the device (we'll pretend this isn't an undiagnosed random crash) please wait 2 minutes then try again from step 2.

4c. If revone reports that you need to reboot and try again please reboot and try again from step 2.

5. Now that revone has successfully prepared your device for S-OFF please open another adb shell (as per step 2) and change to

the /data/local/tmp directory.

6. Instruct revone to grant you S-OFF and unlock status by running the command: ./revone -s 0 -u

6a. Other optional command arguments:-

* -u - Unlock the device

* -l - Lock the device (as if it was never unlocked)

* -r - Relock the device (mark the device as relocked)

* -t - Reset the device's tamper flag.

7. Presuming revone reported success please reboot the device again, this time to the bootloader (adb reboot bootloader)

8. You should now observe your device is S-OFF (and the lock status changed if you invoked that option).

9. (optional) Re-run revone to remove TAMPERED from your HBOOT screen: ./revone -t
[One (M7) Original Android Development] dastylee:
It sucks that Tmobile us we dont have Ruu
[One (M7) Original Android Development] DeSaint2:
Did you make a backup of stock Rom? If so just flash unmodified 1.28 firmware and a stock recovery. I would assume you would do the same commands up to step 5 or 6(where you unlock and s-off) but instead do the ./revone -l command. You may also want to make sure /revone is pushed to /data/local/tmp as well
[One (M7) Original Android Development] dastylee:
gotch u bro good looking out
[One (M7) Original Android Development] Gerton:
The revone file is on your phone, so open abd Shell,

Cd to data/local/tmp/

And then ./revone -l

Reboot bootloader fastboot

Then the writesecure....

Sorry in a hurry
[One (M7) Original Android Development] TheGaslight:
I'm already S-Off (did it via terminal emulator on the device itself), now I've returned to stock and am trying to relock the bootloader and go s-on because I have to send the phone in for repairs. I adb pushed the rvone file to data/local/tmp/, opened an adb shell, but when I try running ./revone -I there's an error message saying çan't execute: permission denied'. Any ideas what I'm doing wrong?

EDIT - Never mind, all done.
[One (M7) Original Android Development] gee2012:
Worked like a charm getting S-off and unlocking the phone and glad i didn`t need htcdev.com and didn`t loose my data :)
[One (M7) Original Android Development] abzillard:
Q:Is it possible to get OTA updates when you S-OFF with revone?

Q: If possible, once updating from an OTA, will you lose your S-OFF?
[One (M7) Original Android Development] DeSaint2:
You need to chmod 755
[One (M7) Original Android Development] ghostryder12:
How about posting what you did cuz I'm sure there are other members that might be having the same issues.
[One (M7) Original Android Development] Super-Veloce:
A: You do still receive OTA's

A: You're still S-OFF

If I understand it right...

We don't need to have root and/or HTCdev, to get S-OFF?

Just simply follow the steps in start post and you're S-OFF, after that, install recovery including root?
[One (M7) Original Android Development] doctorgallo:
Correct, just follow the steps

Edit: the commands will probably fail (like a hundred times :) ) but it's completely normal just keep trying
[One (M7) Original Android Development] TheGaslight:
As DeSaint said I needed to type chmod 755 revone, for some reason I thought that was only for achieving s-off, and not for subsequent commands.

Thank you.
[One (M7) Original Android Development] pr0x2:
Do I need to unlock it first via htcdev to make this work? I can't get the first frickin step lmao.

C:\Android\sdk\platform-tools>adb shell
shell@GT-N7000:/ $ cd /data/local/tmp
cd /data/local/tmp
shell@GT-N7000:/data/local/tmp $ chmod 755 revone
chmod 755 revone
shell@GT-N7000:/data/local/tmp $ ./revone -P
./revone -P
/system/bin/sh: ./revone: not executable: magic 7F45
[One (M7) Original Android Development] maxal:
No you don't, just keep tying it will work eventually.
[One (M7) Original Android Development] happysteveo:
Can someone help me please,

I keep on getting stuck with this message:

Thanks :laugh:
[One (M7) Original Android Development] chogardjr:
Try chmod 777
[One (M7) Original Android Development] Mr Troop:
Successful S-Off and Tampered removed

https://www.youtube.com/watch?v=J4BWxtjaamM
[One (M7) Original Android Development] happysteveo:
Thanks for the suggestion but I still got the same problem :crying:
[One (M7) Original Android Development] angusc:
Aren't you supposed to copy revone in to the /data/local/tmp folder?

Sent with desire from My One
[One (M7) Original Android Development] ghostryder12:
Yup, take a look at this Web site. He shows you how to do everything via vids. Easy peesy.

http://qbking77.com/

Sent from that FBI van parked down the street.
[One (M7) Original Android Development] diablospeed:
Pretty easy... Took me 5 minutes once I figured out where to put the file on my computer before pushing it! Maybe more sleep would have made it easier.
[One (M7) Original Android Development] crossmission:
feel the PAIN

I most definitely understand his point and I know exactly how carrier contract are being drafted (terms and requirements) but I do not agree with the general practice nor do I think is fair to a paying consumer

I apologize with going off-topic, I personally own a Tegra 3 One X and I know exactly how it is, my only solution thus far is mke1986's ROM and xmister's kernel so I don't need to update all the time lol

I actually do have a question though, a friend is coming from the US and I might be able to get him to bring over a dev edition One (unless his family hogs his entire suitcase with tons of other "toys") does this S-OFF work on it? although I'm pretty sure that I don't need it given the nature of the unlocked bootloader out-of-the-box
[One (M7) Original Android Development] gustav30:
Hi, I'm wondering if this is true when unlocking bootloader through revone? Lose some of the apps like calculator, etc?

My plan was to s-off, unlock, boot custom recovery and do a nandroid for returning to stock purposes. However I'm worried that my stock nandroid could end up missing some apps that would not allow it to receive OTA updates, so it wouldn't be a true way to return to stock.

Please correct me if use revone to unlock. I have T-Mobile and as everyone knows we have no RUU to return to stock.
[One (M7) Original Android Development] doctorgallo:
No, you lose those apps if you use htcdev.com. With revone you lose nothing