yashsingh1/xdaforums huggingface dataset:
[One (M8) General] scotty1223:
please be aware that what you are doing is replacing the "t" in the tamper text with a "." and also be aware that the text is present in its entirety in s on phones both displaying,and not displaing the tampered banner.

what this means,is that even if doing so makes your banner disapear,that it is not the way the phone would do it,and this may have serious reprocussions,especially if you try and turn s on at some point(translation: your phone may instantly brick)

ive spent quite a bit of time comparing before and after partitions in effort to try and figure out the safest way to eliminate this banner,and i strongly recomend that you do

NOT

write data to other areas of the phone.

as ive instructed prgopala,i would strongly suggest to write the "t" back to location 11264 and eliminate whatever characters are present at 511804 by replacing them with 00s. you are welcome to pm me your p6 if you need help with this.

my apologies,i should have put this warning up earlier.
[One (M8) General] leelemon87:
Job Done...works on WWE Edition M8 with CID HTC__001
[One (M8) General] atomantmk:
Finally tampered flag is gone, thank you very much.

My version of phone is WWE HTC_102 German edition
[One (M8) General] bigcid10:
I can confirm it works on my att htc m8

thank you
[One (M8) General] MikeS.:
Works like a charm!

Intl. HTC ONE M8
[One (M8) General] Erckul:
worked great on a US T-Mobile M8. Thanks so much.
[One (M8) General] andrewnelson:
works on my dev edition m8
[One (M8) General] scotty1223:
See the above warning ( http://xdaforums.com/showthread.php?p=51920015 )
[One (M8) General] tchybrid:
worked great! tmobile US m8

thanks a bunch!
[One (M8) General] ThenewzzZZ:
Thanks!

Worked perfect on ATT M8

For those having issues, MAKE SURE you COPY/PASTE instead of typing it in.
[One (M8) General] RealMcAlec:
Works for me! That's brilliant. Thanks sooooooooooooooo much!

:laugh:
[One (M8) General] @home:
Worked for me too UK Sim Free M8.

Thank You
[One (M8) General] rubinho93:
Wrong code, how to recover

Ok, I found this tampered fix on another website and apparently there was wrong code involved there, which lead me to come here.

I used this:

And then I noticed it started to go terribly wrong, the cmd window output this:

It seemed that there was one quote completely wrong, and I'm wondering whether my p6 file has been changed by doing this - and presumably, how I can recover to the original situation. Thanks in advance, I didn't dare to reboot my phone as I luckily noticed this while still being up and running.
[One (M8) General] Tiffany84:
Someone more knowledgeable about this sort of thing will have to answer your question cause I haven't messed with an HTC device in years. But if I could offer you one bit of advice I would recommend sticking with XDA, especially when it comes to stuff that could potentially brick your shiny new $700 device.I'm not saying there are not any other good sites out there but XDA is the largest mobile software development community in the world with some of the best developers in the world.The developers on here know there stuff so if they give you a guide to follow and you follow it to a T I can pretty much guarantee you will end up with the result you were hoping for. That's why as soon as I get a new device I come to XDA, root, unlock my bootloader(if necessary), S-Off if using an HTC device and flash a custom rom. Because I simply trust the work of our developers a hell of a lot more than the developers that work for HTC, Samsung, etc..... Sorry for the long rant and hopefully someone can answer your question

Edit: I'd say you'll be fine. Have you tried running the commands from the op? Just make sure you copy and paste the commands instead of typing them in manually to make sure there correct.
[One (M8) General] rubinho93:
Thanks for your reply. Of course I always check XDA first but this time I think I searched badly and ended up using Google. So I totally agree with you.

However Scotty1223 has already solved it for me, he checked my p6 file and it seems that if you execute the command the way I did It, the file isn't touched. Problem solved!
[One (M8) General] Tiffany84:
Very good, I figured you'd be fine that's why I edited my post after I looked at everything.
[One (M8) General] scotty1223:
In your case it had not changed anything. Others have not been so lucky... I've seen all sorts of wierdness at the flag location :eek:

I'm still not 100% sure why the command seems to be writing different things for different users.

You definitely did the correct thing in wanting to check stuff out prior to rebooting and making any changes permanent. :)
[One (M8) General] rubinho93:
Hmm, sad to hear that, I now feel extremely lucky then.

I now at least learned it is best to dump the complete original block file to sd card before changing it, so that you can revert to the original one when things go wrong, also if S-ON needs to be put back for any reason, that file can be put back to stock version.

Maybe an idea to incorporate such step in the guide to make recovery easier? At least I learned that from this the hard way.
[One (M8) General] tomoffel:
thank you :)

worked super on my: m8_ul - O2___102
[One (M8) General] MeatyCoins:
Confirmed

Works on T-Mobile HTC One M8
[One (M8) General] ahac85:
Hiya a noob question here, just got my m8 today, rooted and soff, what i was wanting to know is if i try to do this mod, does it actually reset it or simply hide the tampered banner, also would flashing a different kernel or recovery other than stock, would the tampered banner appear again?
[One (M8) General] BerndM14:
[MENTION=3437245]scotty1223[/MENTION] Will this work on my international HTC__203 device? I haven't done the SOFF yet and probably won't do it if this can't remove the tamper banner. I don't want to mess up :eek:

Should I give you some more device related info, if so, which?
[One (M8) General] Brds7t7:
Pretty sure you need S-off to be able to remove the Tampered Banner. Won't work without. It states that in the OP

Sent from My Calculator!
[One (M8) General] BerndM14:
Yes I know...I said I don't have S-OFF yet and I probably won't put S-OFF on the phone if this removal won't work on my phone. I just wanted to know if this removal will work on the HTC__203 devices or not. If he says it will work then I can go and do S-OFF and do the removal, if not then it'll just be a waste for me to do S-OFF for now.

:fingers-crossed:
[One (M8) General] cksamurai:
thanks worked :good::good::good::good::good: :D
[One (M8) General] dkreventon:
Hello, I'm quite new with HTC but I have a lot of experience with samsung and nexus devices. I have a few questions before selling my note 3 and buying a M8 (love this phone).

I want to play a little bit with the phone (root it, install GPE rom, get back to sense etc) but I want to know if there is any way to use the S-OFF (or S-ON) methods to still have warranty if anything breaks (e.g. battery gets flat), just like how resetting the flash counter on samsung devices work.

I will read more and master the HTC rooting and stuff in the following days.

Your help will be greatly appreciated. Cheers :)
[One (M8) General] scotty1223:
If you have m8_ul I do not see any reason it will not work. You must be unlocked and showing tampered to search for the flags. If you meet these criteria you're welcome to dump partitions 2 and 6 if you want me to look prior to entering commands( see bottom of post #1)
[One (M8) General] scotty1223:
With s off you can remove all visual signs of having rooted by changing lock status back to locked,and resetting the tampered flag.

However,with most devices you need to htcdev unlock in order to install root. Doing so technically does void "all or parts of your warranty". Temp root exploits are usually patched quickly and/or are device and/or firmware specific,but if you can find something that works you may be able to achieve s off without the htcdev unlock.
[One (M8) General] mrosen:
Thx

Worked like a charm on SuperCID!

You´re simply awesome!
[One (M8) General] sari94:
will try it today...

any idea how to get super CID for my M8 with CID J15?
[One (M8) General] EddyOS:
The same for any handset - fastboot oem writecid 11111111
[One (M8) General] mick_soul:
It worked, thank you :D
[One (M8) General] spuzzum:
It worked great! Thanks.
[One (M8) General] 521ztz:
Thanks OP for this useful thread.
[One (M8) General] Captain_Throwback:
No need to clutter the thread with "Thanks" posts - there's a button for that ;).
[One (M8) General] otariq:
thanks for the guide I was able to successfully remove the tampered logo. I'm just a little curious as to what this step actually does. was this a partition that we reflashed back to the default one? or just some flag that was tripped when doing htcdev unlock that had to be reset?
[One (M8) General] scotty1223:
The flag is set after unlock when you install a non-stock kernel,rom,or recovery. Hboot checks the flag,and displays the banner accordingly. We are simply resetting the flag(to 00) so when hboot checks,it doesn't find anything,and the banner is not displayed.

The flag is reset naturally by running an ruu,and is only set while s on.
[One (M8) General] otariq:
Okay thanks. So now that we're s-off the tampered logo won't come back even after changing roms or kernels?
[One (M8) General] scotty1223:
nope :)
[One (M8) General] jdk2:
Thanks scotty1223. Couldn't have been easier :good:
[One (M8) General] treetolber:
Very nice and easy to do and follow instructions!

Thanks a lot dude!
[One (M8) General] brionic:
Nice, thanks!
[One (M8) General] talon_262:
Thanks...worked like a charm on my AT&T One M8!
[One (M8) General] jonny68:
Managed to get s-off today but this wouldn't work, wouldn't recognise the commands, can this be done in terminal as don't have a pc and won't have access to one
[One (M8) General] Frunk Skunk:
Quick and easy, thanks OP!
[One (M8) General] digitard:
No go for me. T-Mobile M8.

TWRP current

ARHD 5.0

S-OFF via Firewater

OPENDSP version being .44 is the only difference form the stock screen's in the OP's post.

I have tried copy/paste and manual typing and it's still there.

Any ideas? Looks like most t-mo users are working fine. I can dump, etc, but curious if anyone has had it prior. The T-MOBILE search just showed "worked for me"
[One (M8) General] jonny68:
Anyone know if this can be done via Terminal Emulator?
[One (M8) General] russellvone:
yes, with su rights...just do NOT mess up

brick.....Naw-i-meen?
[Verizon HTC One (M7)] Souldrifter:
I've spent a couple of hours searching the forum, but haven't found the exact answer I'm after.

I recently purchased a rooted, s-off, unlocked bootloader blue HTC one on Swappa. It's currently got TWRP 2.7.0.1 recovery. I wanted to try the NuSense Six ROM, but in order to do that, I need to update the firmware according to the ROM's post. This phone currently has 1.10.605.8 CL221778 release-keys.

I found a link for the firmware updates here: http://xdaforums.com/showpost.php?p=46506621&postcount=2 Says it won't affect root, s-off, or bootloader unlock... but, being somewhat inexperienced with rooting (I've done my Nexus 7 and a few older HTC phones, but they had nice little programs that I pushed buttons on), if I flash the new firmware according to that post, will it affect my TWRP recovery? Or, can I just flash the firmware, then flash the NuSense 6 ROM?

Thanks.:confused::confused:
[Verizon HTC One (M7)] disconnecktie:
The firmware won't affect your recovery. The firmware consists of the hboot, baseband, prl and modem data, and a boot img if you're flashing the version with that still apart of the zip.
[Verizon HTC One (M7)] Souldrifter:
Thanks. Appreciate it! I'll add that to my notes. :fingers-crossed:
[Verizon HTC One (M7)] Souldrifter:
Now I'm stuck in a boot loop...

So, the flash of the Firmware went well. I followed the directions to the letter. But, now I'm stuck in a bootloop. I was able to boot into recovery and use TWRP to do a wipe, thinking that might be the problem, but it's not. Still stuck in a boot loop. I get as far as the HTC logo screen, then it goes blank, and then it'll reboot in 15 - 20 seconds. I may have forgotten to turn off fastboot in the stock Sense menu before I got rebooted into the boot menu... could that be the problem?

Or is this because the updated firmware won't work with stock 4.2.2? If not, how do I get the NuSenseSIX ROM onto the phone so I can install it with TWRP?
[Verizon HTC One (M7)] disconnecktie:
You probably flashed the firmware that has the boot.img from kitkat. Flashing a Rom in recovery with a full wipe will fix the problem. Doing this will not wipe the firmware. You only have to do that once unless you're changing firmware. Newer firmware typically works okay with older roms while old firmware often times won't work with newer roms.
[Verizon HTC One (M7)] Souldrifter:
Yeah, I did flash the firmware that had the boot.img. I didn't know it'd be a problem.

Can you point me to a link here that can give me the steps of what exactly I need to do? The ROM is on my computer, not on the phone, unfortunately, so I can't just install with TWRP. I don't know how to get it on the phone via Fastboot.

Do I do the full wipe in TWRP before or after I flash? Because I've already done the full wipe once in TWRP trying to get this to work.

Thanks again.

EDIT: Found some instructions for adb push. Going to give it a try and see what happens.
[Verizon HTC One (M7)] disconnecktie:
If you have adb setup on your pc then you should be able to use the adb sideload command in twrp to flash the Rom. If not then you shouldn't have any problem using a usb cable to transfer the file from your pc to the sd card in recovery. Once the file is on your sd card, do a full wipe (everything except the internal storage) and then install the Rom.
[Verizon HTC One (M7)] Souldrifter:
Well, it rebooted, updated Android, rebooted again, and I got to setup. It's now restoring my settings (from my other One) from my Google account.

THANK YOU for your patience and kind instruction. I learned something today!

PS: The NuSenseSIX updates are coming pretty often. Can I just download them to my phone, reboot into TWRP, flash them, and be done without losing current settings, apps, contacts, etc?
[Verizon HTC One (M7)] disconnecktie:
The Rom is in early development so it would probably be best to wipe completely between flashes. Titanium backup will allow you to backup user app and data. I don't recommend backing up system app data.
[Verizon HTC One (M7)] Souldrifter:
So, I'm troubleshooting the lack of 4G on this phone. Icon lights, but no data. I go to settings and it says connecting, connecting, then disconnected and I cannot get it to connect no matter what I do.

I figured I'd go back to the point I got the phone and try it that way. I made a backup in TWRP, but if I restore that, that will only restore the stock rooted ROM I had on it, right? What if it's the firmware flash? I did update the firmware (successfully, by all looks) before I installed the new ROM.

Can you revert firmware?
[Verizon HTC One (M7)] disconnecktie:
Backup your sd card, flash the stock Rom, fastboot flash the stock recovery and do a factory reset. Then flash a new recovery and the Rom that is giving you trouble and see if it works. If it doesn't then maybe try getting a new sim from Verizon.
[Verizon HTC One (M7)] Souldrifter:
Alright, I'll do that. And, I figure it can't be the SIM because it works in my current One just fine. It's only this other one I bought where it doesn't work.
[Verizon HTC One (M7)] disconnecktie:
Ah ok. Yeah sometimes a bad sim will have a similar effect.
[Verizon HTC One (M7)] Souldrifter:
Before I decided to go back fully stock and do as you recommended, I wanted to try something. I already didn't have any 4g data connectivity, so what could possibly go wrong? :D

I went into recovery, wiped, restored a pre custom rom backup that I took (I received it 4.2.2 rooted stock), then flashed the stock 1.10.605.10 firmware from Santod's post. Rebooted. Took the SIM out of my current One and put it in this Blue One. Turned off wifi. Oh, look, I have Data.

So, any ideas WTF I did wrong with the custom rom install? Was it the fact that I didn't use the no boot image firmware?
[Verizon HTC One (M7)] disconnecktie:
I doubt that was the cause. Maybe try flashing the new firmware again and a kitkat Rom to see if it works now.
[Verizon HTC One (M7)] Souldrifter:
Sounds like a good idea. I think I'll try the NuSense 5.5 one. Thanks!
[Verizon HTC One (M7)] Souldrifter:
Check out this log of the firmware flash, please. Is that Bypassed line ok?

C:\adb>fastboot flash zip firmware.zip

sending 'zip' (24034 KB)...

OKAY [ 1.928s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 3.713s

C:\adb>fastboot flash zip firmware.zip

target reported max download size of 1514139648 bytes

sending 'zip' (24034 KB)...

OKAY [ 1.976s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) start image[adsp] unzipping & flushing...

(bootloader) [RUU]UZ,adsp,0

(bootloader) [RUU]UZ,adsp,12

(bootloader) [RUU]UZ,adsp,23

(bootloader) [RUU]UZ,adsp,34

(bootloader) [RUU]UZ,adsp,45

(bootloader) [RUU]UZ,adsp,56

(bootloader) [RUU]UZ,adsp,67

(bootloader) [RUU]UZ,adsp,79

(bootloader) [RUU]UZ,adsp,90

(bootloader) [RUU]UZ,adsp,100

(bootloader) [RUU]WP,adsp,0

(bootloader) [RUU]WP,adsp,100

(bootloader) ...... Successful

(bootloader) start image[rpm] unzipping & flushing...

(bootloader) [RUU]UZ,rpm,0

(bootloader) [RUU]UZ,rpm,100

(bootloader) [RUU]WP,rpm,0

(bootloader) [RUU]WP,rpm,100

(bootloader) ...... Successful

(bootloader) start image[sbl2] unzipping & flushing...

(bootloader) [RUU]UZ,sbl2,0

(bootloader) [RUU]UZ,sbl2,100

(bootloader) [RUU]WP,sbl2,0

(bootloader) [RUU]WP,sbl2,100

(bootloader) ...... Successful

(bootloader) start image[tp] unzipping & flushing...

(bootloader) [RUU]UZ,tp,0

(bootloader) [RUU]UZ,tp,100

(bootloader) ..... Bypassed

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]UZ,radio,0

(bootloader) [RUU]UZ,radio,8

(bootloader) [RUU]UZ,radio,17

(bootloader) [RUU]UZ,radio,25

(bootloader) [RUU]UZ,radio,34

(bootloader) [RUU]UZ,radio,42

(bootloader) [RUU]UZ,radio,47

(bootloader) [RUU]UZ,radio,55

(bootloader) [RUU]UZ,radio,64

(bootloader) [RUU]UZ,radio,72

(bootloader) [RUU]UZ,radio,77

(bootloader) [RUU]UZ,radio,85

(bootloader) [RUU]UZ,radio,90

(bootloader) [RUU]UZ,radio,98

(bootloader) [RUU]UZ,radio,100

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,34

(bootloader) [RUU]WP,radio,68

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

(bootloader) start image[rcdata] unzipping & flushing...

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]UZ,rcdata,100

(bootloader) [RUU]WP,rcdata,0

(bootloader) [RUU]WP,rcdata,100

(bootloader) ...... Successful

OKAY [ 13.256s]

finished. total time: 15.233s

C:\adb>
[Verizon HTC One (M7)] disconnecktie:
It probably didn't flash it because you are already using that hboot.
[Verizon HTC One (M7)] Souldrifter:
NuSenseONE 1.4 works like a charm. I miss the Sense 6.0 bells and whistles, but I figure we should have a debloated, rooted build of the official M7 release for that this summer. :)
[Verizon HTC One (M7)] disconnecktie:
Maybe now that it works for sense 5.5 it should work fire sense 6.
[One (M8) General] JEANRIVERA:
Moderator Edit: The procedure in this guide may be outdated and we have reports of it not working on newer devices and causing other SIM unlock exploits to fail. A few mentioned that it caused all SIM cards not to work. Proceed at your own risk! (I recommend against it.)

Hello guys,

Here is a method (confirmed working by Me) to SIM Unlock your HTC ONE M8 GSM ONLY NOT FOR SPRINT for other SIM cards for use on other GSM networks.

Before we begin I wish to inform you that I did not create this tool. It is the property of sieempi.

You MUST be S-OFF & have External SD for this to work.

S-OFF METHOD or http://theroot.ninja/ if you can't S-OFF with first method

Usual disclaimer: I am not responsible for anything you do to your phone. Use this mod at your own risk.

as pointed by @GSLEON3 you could only do the SuperCid "11111111" described bellow after S-OFF and it will also unlock your device but if for some reason you change back your CID you will lose the unlock the other method unlock the device forever

SUPER CID WILL NOT SIM UNLOCK YOU DEVICE FROM CARRIER

how to SuperCID your device after S-OFF

[NOOBS Guide] HTC ONE SUPERCID method via fastboot

or permanent method

Instructions:

1) Go to this site: http://www.sieempi.eu/blog/2011/09/22/universal-sim-unlock-for-s-offed-htc-devices-536

2) You'll notice that the HTC ONE M8 is not listed in the supported devices, but the process does work.

3) Supply a valid IMEI and email address on the form on that page and where it says "Phone Type" put HTC ONE M8 , and they will email you a Config.Dat file to put on the root of your EXTERNAL SD card.

4) Reboot into bootloader, select "SIMLock" and it'll apply the config file.

5) Follow the instructions on the phone and reboot when it tells you to. If you get an "OpenCID File Fail" error, this is normal, proceed anyway!

6) Once you've rebooted, your HTC One M8 should be fully SIM Unlocked!

7) Put in a foreign SIM card and test it out

8) for Sprint M8 devices only Thanks to [MENTION=4159801]pisang_aza[/MENTION]for pointing and [MENTION=4374106]nikme[/MENTION] for the original thread follow this instructions http://xdaforums.com/showthread.php?t=2682242

If you have any questions, please refer to the linked site as I will be limited in how I can help since I am not the original creator of the tool.

Credits:

Adrian Campeanu (sieempi) - for the tool, because you know, it's his intellectual property and stuff

Binary - for sharing the site that has the tool and for risking his device to make sure it works (THANKS!!! )

Source: http://xdaforums.com/showthread.php?t=1272080

PS. I encourage donations to the tool maker who actually created this tool. You can find his donation button on the linked unlocking site.

This info was taken from this HTC Amaze forum thanks to @electronicrice for putting together the original thread that can be found here

http://xdaforums.com/showthread.php?t=1659430
[One (M8) General] Root-Maniac:
Thank you sir!
[One (M8) General] bpdev:
Worked great!!! ATT M8
[One (M8) General] rbouza1:
did anybody test with diff sims ? said success
[One (M8) General] JEANRIVERA:
i did try different sims i have 3 different active sims all worked fine
[One (M8) General] darksurfr:
SIM unlock sucessful on Sprint M8. :D
[One (M8) General] rbouza1:
worked so far
[One (M8) General] Ph33zy:
can I erase the config.data after I'm done? Does this persist hard resets and flashing new ROMs?
[One (M8) General] brar.arsh:
Good Question.. (Y)
[One (M8) General] JEANRIVERA:
Once unlocked stays unlocked. Yes you can delete the config.dat file
[One (M8) General] drigout:
Sprint M8 here and I put in a AT&T sim and it told me that 4G was not available but when i made a call it came from my sprint number.
[One (M8) General] brar.arsh:
You mentioned External SD card, can't it be done from Internal card?
[One (M8) General] drigout:
I am pretty sure it needs to be on the External SD card for safety reasons.

So all files that are updated on the phone come from External SD if it were on internal SD this could cause a Boot Loop. With external you can just remove SD card and stop the loop from happening.