yashsingh1/xdaforums huggingface dataset:
[One (M8) General] otariq:
yep sorry i probably should've clarified that. i'm running stock rom with stock kernel and the red text went away automatically. not sure if the stock kernel will work with non stock rom, never tried it before. does the red text really bother you that much? if you need warranty service you're gonna flash a stock rom anyways and the text will go away. I rather not mess with hboots but that's my personal preference. and if you're stuck on the recovery without a rom try a otg cable with the rom on there. or put a rom on an sd card and try to flash from that. or just use adb sideload within twrp setting
[One (M8) General] sheepdemon:
I tried reflashing without a wipe and it just keeps rebooting to recovery mode. Will try a flash with full wipe next.

---------- Post added at 10:21 AM ---------- Previous post was at 10:16 AM ----------

Nope. keeps going back into recovery mode. When I hit reboot system the phone sits for a while thinking about starting up then restarts and enters recovery mode. Any idea how I should proceed?
[One (M8) General] russellvone:
let's move out of this thread...if you have hangouts...hit me up

russellvone@Gmail.com
[One (M8) General] sheepdemon:
Trying a restore of the TWRP backup I made.
[One (M8) General] russellvone:
seriously...this isn't the thread for this.

I'll be happy to help via hangouts....

russellvone@Gmail.com
[One (M8) General] sheepdemon:
Quite right, my apologies. I got it back working on stock and I might just not tinker with it any more :p

For the record - thanks for the tool, it worked perfect. Sadly there is no tool to counter my incompetence :)
[One (M8) General] jonny68:
Thanks I'll give this a go.

---------- Post added at 09:57 PM ---------- Previous post was at 09:29 PM ----------

This works via Terminal Emulator (thanks to Russellvone for assistance) just follow the instructions very carefully and the tampered has now gone. :)
[One (M8) General] whosaysjohn:
Gone, thanks op....
[One (M8) General] mrRobinson:
Works on GPE, haven't seen anyone confirm that yet.
[One (M8) General] random1204:
Worked like a charm on the TMOUS version! Thanks so much!
[One (M8) General] krihoum:
i have an HTC ONE M8 and I have successfully done S-OFF followed by removing the TAMPERED banner

but i have one question: how do we remove "This build is for development purposes only. Do not distribute outside of HTC without HTC’s written permission. Failure to comply may lead to legal action." red warning on the boot screen?

I have read certain HTC ONE M8 such as AT&T , sprint have a work around but was wondering if this works for the UK version?

many thanks
[One (M8) General] BerndM14:
http://xdaforums.com/showthread.php?t=2710503
[One (M8) General] krihoum:
yes i found it but i am not sure if it corresponds exactly to the model i am having

version is the same but what are these:

btype:1

aareport:1

??

Also, in my version i found hbootpreupdate: 11 and not 12

I don't want to try something that might not work on the model i have

thanks
[One (M8) General] scotty1223:
Those bits are not important. Just use the one that corresponds to your mid and youll be fine. Or,just don't worry about the red text. Personally,it doesn't bother me,its only visible for about 1 second on boot. I'd rather run a stock hboot and ignore rhe text.
[One (M8) General] krihoum:
i probably agree with you on that

i leave it then

thanks
[One (M8) General] scotty1223:
You're welcome. Glad to help :)
[One (M8) General] Sneakyghost:
Scotty were you seeing the bricks on the M8 and M7 that happened the other day when the updates became available?

In the course of that I was wondering if i could establish some knowledge about the hbootpreupdate. I am currently running a Sensation and see its using 12 rather than 3 which was common on the OneS and M7, the M8 uses 11 and 12 again... i wonder what these parameters mean. Also, we have another bootloader (emmc_appsboot.mbn) by the looks of it. How much do you know about all this?

Feel welcome to add to my currently firmware-less firmware thread which i abuse to collect some infos for now until i have my M8 back and can hopefully S-OFF it then. Sorry for jumping in here, i just saw the talk about the hbootpreupdate and thought you have been around a while and busy yourself with similar stuff so could be good to exchange some infos.

Regards, Sneaky
[One (M8) General] Dan-SRi:
Worked awesomely first time.

Thank you.
[One (M8) General] BerndM14:
Well I finally got to S-Off my device and remove the tampered flag, even though I asked about it ages ago!!! Worked like a charm first time around, thanks Scotty. Took me long enough... =o/
[One (M8) General] stathis95194:
Edit: Thanks a lot scotty!!! That did it.
[One (M8) General] scotty1223:
my apologies,sneaky,i thot i had replied to this earlier. dont know if i didnt hit submit,or my tablet became confused,or what. :o

unfortunately,all i really know about the pre-update numbers is that they determine what firmware are updated in the first wave. radio,hboot,etc. i had read thru the thread you linked and found it very instersting,ill have to dig more into this as well.

for now gotta get to work :(

this error didnt have anything to do with the newest firmware,it should still work the same. new firmware does not change p6.

like everyone else whos had issue,you have extra characters at the flag location,looks like from a goofed up echo command issue,or possibly some sore of interferance isse on a windows pc.

your dump looks like this at the flag location:

68 25 32 C6 00 78 30 30 3F 00 00 00 00 00 00 00 h%2Æ.x00?.......

the red characters need to be 00(.)

you can use this:

echo -ne '\x00\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

if you guys have prollems,i would advise against blindly running this command just becasue i posted it here. continue to pm me the links for your dumps instead, stathis,i would remove your link now.
[One (M8) General] neonsector:
worked like a charm, thanked...
[One (M8) General] Stea1thmode:
Thanks OP Scotty. Works as described. Is there a way to remove the red annoying wording that appears on startup?
[One (M8) General] BerndM14:
If you read at least 1 page back you would have found the link to remove those text...

http://xdaforums.com/showthread.php?t=2710503
[One (M8) General] metaphz:
Can soff make issues? I was able to tether prior to soff. Now when I turn on data sharing my data connection cycles on and off... This is really frustrating.
[One (M8) General] Shudder123:
worked on the first try. thanks a lot!
[One (M8) General] SirBenjamin:
Hmm. This did not work on my Developer Edition M8. I'll PM you the details and hopefully you can help me.

Thanks in advanced.
[One (M8) General] murf43143:
I followed the instructions and was able to remove this so I can send it back for warranty on a cracked screen!

Sprint HTC One M8 edition

Thank you!
[One (M8) General] mewikime:
Thank you! I've had my M8 for two days, coming from a Galaxy S4, and in that time I've unlocked bootloader, flashed recovery, S-Off'ed, unrooted, restored stock everything, and relocked bootloader, and thanks to this post, removed the Tampered flag with no problems. Instructions were clear and concise, and idiot proof!

Thanks again :)
[One (M8) General] TheMathMan:
If I want to return to stock, do I need to have flashed a stock firmware before doing this?

Trying to follow the Return to 100% stock thread but for some reason once I've flashed the odexed stock, root wont go on so cant do this bit.

Reflashed ARHD and all fine and root working. Can I do this in ARHD adn then flash stock or will that trigger it again?
[One (M8) General] scotty1223:
Tampered will not reappear while you are s off.
[One (M8) General] warmachine00:
sprint m8 hk edition, worked, thanx!
[One (M8) General] Rickyw324:
Worked like a charm on my UK 02 M8 :D

Big thanks scotty1223, your clear and concise instruction made this super easy and very quick! :good:
[One (M8) General] 412070391:
thank you every much
[One (M8) General] j32olger:
Worked fine - thank you

cidnum: VODAP001

version-misc: PVT SHIP S-OFF

version-bootloader: 3.16.0.0000
[One (M8) General] mohammed_usif7:
hello im new to this forum

i follow all the steps up until i have to copy this

echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

then i get this error msg

'dd' is not recognized as an internal or external command,

operable program or batch file.

can anyone help me out?
[One (M8) General] BerndM14:
Maybe try and add the folder for adb platform-tools to your enviroment path.

Press Window key + r, in the run dialog box that appeared type in sysdm.cpl go to Advanced tab and the click on Enviroment Variables. In the box for System Variables scroll down to and select Path click edit. At the end of the line add ;C:\and_the_path_to_your_adb_folder for example, Going what I believe is the default location, ;C:\Program Files (x86)\Android\android-sdk\platform-tools

Then click OK once done.
[One (M8) General] scotty1223:
As said above,you may not be in your adb directory. Otherwise,you may need to update it. dd is part of the newest version
[One (M8) General] Michelle My Belle:
Many thanks Scotty... Unlocked/S-OFF and now "Tampered" nag removed - all in less than an hour.

What a pretty M8 I have ;)

Cheers

MMB.
[One (M8) General] rodelisdeman:
Thanks it works great!
[One (M8) General] Pauly469:
Worked great

worked on Sprint M8 hk Edition, thanks a lot!
[One (M8) General] Oditius:
Worked perfect on my AT&T variant and my laptop on Windows 8.1, Thanks :good: :highfive:
[One (M8) General] sparulez:
worked fine for me!!

can i remove also *** unlock *** string ?

thanks
[One (M8) General] scotty1223:
No. You cannot remove the banner entirely without hex editing hboot. You can change the flag so hboot displays "locked" without modding hboot.
[One (M8) General] ar3na:
Just completed mine. Many thanks for the helpful info.
[One (M8) General] elsworth1983:
Thanks worked like a charm :good:
[One (M8) General] gogibyte:
Job is DONE, tnx! :)
[One (M8) General] andreasyeah:
I've made a copy of mmcblk0p6.img to my computer and opened it with a hex editor. When I go to the offset 5314564 I see this hex 68 25 32 C6 04 and if I understand correctly your code replaces the 04 with 00. I checked the ascii table and 04 is an "end of transmission" character if it's correct. So what does this exactly do? Am I looking at the correct place? I am just trying to learn here OK? Don't get mad.

Btw, I was trying to remove the tampered banner by hex editing the hboot and replacing it with /x00 but it just removed the text. Not the actual line. I've not tried this method because I have written my name instead of the TAMPERED banner and I don't want to remove it now. What exactly this thing does and removes the line completely without removing the actual text from the hboot?
[One (M8) General] prasadudwadia:
Youre the best

BIG THANKS

The tampered annoying flag is gone. Now my HTC ONE M8 is rocking Unlocked Bootloader, Unlocked Sim, S-Off , Rooted, Custom Recovery, Custom rom

i love this community , ever so helpful :)
[One (M8) General] andreasyeah:
I've created a flashable zip that removes the tampered banner. I've also included a zip that reverts it back just in case you want it. Here's the thread.

I got the actual command from here so if the OP says so, I will delete my thread
[One (M8) General] ancymon85:
thanks, worked like a charm :)
[One (M8) General] kill.i.an:
Hi [MENTION=3437245]scotty1223[/MENTION],

Thanks for the guide. I've attempted this process countless times and I just cannot get it to work. The tampered banner still appears in the bootloader. I have an M8 that was purchased from Three in the U.K. and originally had a CID of “H3G__001,” but I've since changed the CID to “HTC__001” to see if I have any luck with that — nothing.

I've tried to send you my info by both PM and email, but XDA doesn't seem to want to send the message for some reason, so I'm trying here now. Here's a link to my p6 dump: https://mega.co.nz/#!DNUgQZAB!d06R_N2G_EABGtzCHasO-v9Pl1Tq9-R-bay4W8UadV4

Here's the “getvar” text:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.15.2133156.UA13G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.54.401.5

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

(bootloader) serialno: SH43GWM03289

(bootloader) imei: 358714055911279

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: ab0efa49

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

I've also attached a screenshot from Terminal (I'm using a Mac). It cuts off the long command, unfortunately, but I'm only copying and pasting from the original thread. I've verified every single time that it's exactly the same.

Please let me know if you need any other info. Your help is greatly appreciated.
[One (M8) General] scotty1223:
Some real life issues have kept of the pc for the past few days. Hang tight i have several PMS to go thru
[One (M8) General] kill.i.an:
Ah, that's okay. I appreciate that you're busy. You may not have received my PM, though. I had no confirmation that it was sent, so I think it may have failed. It was pretty long. The info is above anyway if it's not in your inbox.

Thanks again.
[One (M8) General] Guich:
Great guide as always Mate! :)
[One (M8) General] scott500:
Thanks

Flawless....thank you!
[One (M8) General] kakyyabata:
M8_Dugl Confirmed working greeet thanks
[One (M8) General] StuMcBill:
If I have removed my tampered banner, will this affect my ability to upgrade hboots etc?

Will rerunning the command put tampered back?
[One (M8) General] Brds7t7:
Won't affect updating. And why would you want to have tampered back???

Sent from My Calculator!
[One (M8) General] StuMcBill:
I wouldn't, unless it affected updating. That's why I asked! [emoji2]

Thanks for the quick reply!
[One (M8) General] Brds7t7:
Haha no problem, think it's a different command to get it back. But won't affect any kind of update so you'll never need it back.
[One (M8) General] scotty1223:
you will not see the tampered banner ever again while s off. at least it will not be set by the phone itself. technically,you can write the tampered value back,if you wanted to.
[One (M8) General] Einwod:
Worked like a charm for me. Thanks.
[One (M8) General] Chinbone:
Thanks, it worked great. That's one less thing to worry about! :D
[One (M8) General] nimaol:
worked like a charm on m8
[One (M8) General] Ping41:
Thanks!
[One (M8) General] dspcap:
Worked perfectly, thank you!
[One (M8) General] KraSaFon:
Can I update via OTA before doing this?

I'd have a question for you.

I've unlocked bootloader via htc_dev, but I don't need S-OFF, except the case of a warranty repair. I wish to keep the possibility to make the phone completely stock. I don't mind the banner so much to pay for a sunshine, only because of this.

So please, advise me

1) If it would be still possible to remove the banner and to change the bootloader status back to "locked" on the new firmware? In this case, I'd download OTA and if somethings breaks, I'll do S-OFF and lock it then.

2) Or if I should not make the OTA before doing S-OFF and making the phone looking like stock. Is it right that I need to upgrade firmware to flash custom roms with 4.4.3? Actually I'm using 1.12.401.17.

Thanks for advices!
[One (M8) General] miggsr:
Only way to achieve ***LOCKED*** bootloader and remove tampered is with s-off. Sunshine s-off is small price to pay. It's easy to get back to stock just keep the device s-off until then. It is also recommended to have latest firmware as well.
[One (M8) General] boe323:
Is there a way to put this line back but without the tampered banner being triggered? like just a reset instead of removing it? Or is this actually a reset?
[One (M8) General] scotty1223:
This is actually a reset
[One (M8) General] miggsr:
DELETED
[One (M8) General] boe323:
Cool ....was just curious, when I s-off'd my oldmans phone it didn't get triggered, thanks for the reset.
[One (M8) General] pablo7890:
Worked like a charm for my M8. Many thanks. :good:
[One (M8) General] miggsr:
Good to hear
[One (M8) General] 5i1v3rStorm:
Thank you

I haven't tried this for two reasons:

1.) I'm scared. Imagine I did this wrong - could this brick my device? Should I backup this "/dev/block/mmcblk0p6" file (which is probably a partition?) If I did this wrong, would there be any way of flashing my "tampered" backup back on it or would it be bricked?

2.) Since I'm not in need of going back to 100% Stock (with S-ON, ***locked*** and removed ***tampered***) then why should I remove the tampered banner and still have the red text, the unlocked and the S-OFF telling everybody that I actually DID tamper around with it :laugh:

Don't think I wouldn't appreciate your work. I really THANK YOU :good: for it! I'll keep it in mind for going back to really really stock when selling the device or so.
[One (M8) General] Mattycee:
I used this to remove the Tampered Flag on my One M8 and then needed to return to S-ON as the it would not read sim cards so needed to return for warranty.

It worked well until I put S-ON and then it shows as tampered again, is there a workaround on that at all?

I cannot see them knocking back a hardware fault anyway but I would prefer it be totally stock.

Has this changed with the latest software at all?
[One (M8) General] Lynx12:
I unlocked BL, root, S-OFF, I have followed the procedure and after several attempts, I was unable to remove the banner. I tried the original CID i SuperCID ......:(
[One (M8) General] scotty1223:
mr lynx, a friendly suggestion for you: if youre going to send a PM requesting help,you should

not

have your account set to refuse PMs from other members as this makes it impossible to reply.

i tried to help you when i got your pm.

you have garbage at 00511805,00511806 and 00511808

try this:

echo -ne '\x00\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564
[One (M8) General] Lynx12:
I'm sorry, I already have a PM is set correctly (at least I hope ;)).

Thank you, I'll try ...

edit 6/9: Big thanks to Scotty, Tampered banner is gone ....
[One (M8) General] scotty1223:
the only option you have to remove tampered while s on is to run a signed ruu.

this is why i do not advocate turning s on. its almost impossible to know what other bits of your phone are not quite correct,causing the tampered banner to reappear,or locking you into bootloader with a security warning
[One (M8) General] scotty1223:
awsome,glad that worked :)
[One (M8) General] scotty1223:
anything is possible writing the wrong thing to the wrong place,or changing a partitions offsets can cause the processor to enter a "do not boot" mode,wich is unrecoverable via software flashes(read: hard bricked,jtag repair is only option). having said that, ive seen some rediculous junk written to the flag area of p6,wich did not seem to harm the operation of the phone,and has been thus far easily reparible.

the bottom line is that if youre careful the risk is minimal,but anything can happen,so nothing wrong at all with leaving the banner present(i personally dont understand why folks get so upset over the banner,or the red boot-up text)

backing up your stock p6 is not a bad idea at all.

there really is no reason to remove it. its a personal option,and 100% asthetics. being tampered and unlocked doesnt hurt a thing(unless you have a one max and want to use the fingerprint scanner ;) )
[One (M8) General] guyd:
[MENTION=3437245]scotty1223[/MENTION]

I have a question that I think you might be able to help me with. I have an unlocked, S-OFF, Super CID (AT&T branded) M8 that I'm having a big problem with. I recently ran the official 2.23.502.3 RUU which I downloaded from HTC primarily to upgrade all the firmware on the device. When it finished installing the RUU, the device would not connect to the cell network. Everything looks fine in the bootloader, and I can see all the version numbers were updated including the OS and radio. But when I look for the baseband version in the settings (in the ROM) it shows "Unknown".

I've re-ran the RUU install three times with the same results. I've ran an older official RUU with also the same results. I've recovery flashed other radios, but the same thing shows up. I'm at a compete loss as to what to do next! I never expected running an official RUU could screw up my device!

Do you have any ideas what I can do to recover this device?
[One (M8) General] PillowMetal:
One thing you may want to try, is to factory reset using the ##786# method. This method does a more complete factory reset (even after an RUU) that also flushes the cached radio settings for your carrier. I once had very strange behavior from my phone regarding 3G connectivity after an RUU that even Sprint couldn't solve, but I did by simply "hard resetting" it with ##786# from the dialer.

Be forewarned that this will wipe your phone (but not internal or external SD cards) so backup as needed. Also, you will need your MSL number as the password when using this method, which can easily be obtained on an M8 through either the Google app "MSL Reader", or CDMA workshop on your computer.

Let me know if you need help doing this. Good luck!
[One (M8) General] guyd:
Thanks for taking the time to try and help! Unfortunatley MSL Reader is only for CDMA devices. I have a GSM device, and the app warns me of such when I run it.

One thing I forgot to mention in my previous post is that the IMEI number also shows Unknown in the ROM Settings. What really puzzles me is that both the Baseband and IMEI show up just fine in fastboot with the getvar all command!

My apologies to the OP for an off topic post. I thought with his deep knowledge of the inner working of HTC's firmware, he might have some ideas as to what's going on.
[One (M8) General] scotty1223:
While the msl reader only works on cdma devices,the advice to do a factory reset with the stock recovery in place is good. Either from the dialer,or from hboot.

Aside from that,test the SIM card in another device. If it works,you'll prolly need to call at&t and jump thru their hoops. There's nothing about the ruu that could have caused your signal loss.
[One (M8) General] guyd:
Thanks. I've done the factory reset with stock recovery, but it didn't help. I'm truly perplexed as to why the device was working perfectly before the RUU (I only wanted to update the firmware via official means), and after the RUU it's completely useless as a cellular device.

I'll chalk this upto a lesson learned the hard way. If it ain't broke, don't fix (update) it. Thanks for taking the time to answer!
[One (M8) General] scotty1223:
i wouldnt say youve gotten the correct lesson from your experience. the ruu wont break your phone unless:

1)its corrupt

2)something happens during the update,such as a power surge that interupts the transfer of an important bit(radio,bootloader,other firmware)

3)the ruu is not for your device

firmware is always worth updating,imo. newer generally is better. as much as it seems like the ruu was at fault,its likely a very large coincidence,unless one of the above appiled(in the case of #1 or #2 the subsequent running may not fix).

the more important lesson is to take every precaution possible when flashing aything that contains important firmware.

again,try the sim in another device. if it works,call att. if the phone is under warranty,get them to send a new one if they cant fix it. if you dont have another device to test in,take it to a store and see if they can pop it into another phone,or just hook you up with a new sim.