yashsingh1/xdaforums huggingface dataset:
[One (M8) General] guyd:
The SIM works fine. I have two M8's and I'm using that SIM in the second one now. My PC is on a fairly new UPS, so power problems should not be an issue. I thought I took the proper precautions. If HTC had posted the MD5 for the RUU, I'd have checked that too (but they don't).

The only thing I didn't do was change the CID back to CWS__001 and relock the bootloader before running the RUU. Since I was S-OFF, I didn't think doing that was necessary. I did try that after the fact and ran the RUU again, but that didn't help after the device was initially corrupted.
[One (M8) General] scotty1223:
being supercid and unlocked while s off are not a big deal. ive run more ruus than i can count in that same configuration.

if youre running a windows machine,things running on the PC can interfere with comunication as well. sounds a bit far fetched,but ive seen pda net,htc sync,and others cause some strange issues in the cmd window. firewall and antivirus can cause prollems sometimes also. last and not least, not all usb cables are created equal,ive learned this the hard way from past experience ;)

the last possibility is that the ruu was corrupt from att :eek: in wich case having an md5 wouldnt have done you any good. for what its worth,the exe utility does its own checks(i dont know if you ran a zip or a exe) and generally wont run if its been corrupted during a download. in this situation youd prolly see some others on the forums with your same issue.

theres also a chance that the sim reader inside the phone has gone bad,ive seen a few m7 and m8 for sale cheap becasue the device wont read a sim card. in this case,the phone should certainly be warrantyable.

at any rate,you have a very peculiar and rare situation. about the only thing left to do is compare things. if you have 2 m8s,you could update the second one to the same software/firmware and then dump all partitions and compare them one at a time using a program called beyond/compare. this may let you find the bad partition. you could just dump the whole kit and kaboodle(irregardless of firmware) from the good m8,and then copy it back to the bad one. this would effectively make it

exactly

the same,esn,imie,and all,so its not really the best solution(but it would tell you if the bad phones issue is software/firmware or hardware related).

sorry i couldnt be of more help. :(
[One (M8) General] andythilo:
Perfect :D, worked 100%, no more tampered!! Thanks!!
[One (M8) General] Fauxnetiks:
It helped my friend out, thanks!
[One (M8) General] FrankJHTC:
Don´t work for me

Hello, don,t work for me..i try this too:

http://xdaforums.com/htc-one-m8/general/s-off-remove-tampered-banner-flashable-t2806344/page5

but don´t work again..

If you can help me here you are

thanks
[One (M8) General] scotty1223:
I need results of fastboot getvar all
[One (M8) General] FrankJHTC:
Ok

Enviado desde mi HTC One_M8 mediante Tapatalk

---------- Post added at 12:52 PM ---------- Previous post was at 12:35 PM ----------

Here you are

C:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.19.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.22.401.5

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

(bootloader) serialno:--------------------

(bootloader) imei: ------------------------------

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: 11111111

(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: 5e4b24e4

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.024s

---------- Post added at 12:55 PM ---------- Previous post was at 12:52 PM ----------

What is wrong with my phone?

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) General] scotty1223:
you have the same prollem as mr lynx in post 268

use the command listed there :)
[One (M8) General] FrankJHTC:
On shell ??..su.

Enviado desde mi HTC One_M8 mediante Tapatalk

---------- Post added at 02:36 PM ---------- Previous post was at 02:27 PM ----------

works!!!

Thanks!!!
[One (M8) General] dan5001:
Works!

Tampered banner gone in 30 seconds on WWE M8 (Unlocked/Rooted/S-Off/Super-CID)

Thanks OP :laugh:
[One (M8) General] Hypercaine:
Worked like a charm. Thank you sir :)
[One (M8) General] anticoralian:
Thanks

This worked like a charm to remove the TAMPERED banner, thanks!!
[One (M8) General] Einwod:
I would remove your serial number from here asap if I was you.
[One (M8) General] HRodMusic:
this is as far as im getting, not sure what to do from here, could someone please help on on OSX
[One (M8) General] FrankJHTC:
Thanks!!!...I forget it..., but now I need you do the same...

Enviado desde mi HTC One_M8
[One (M8) General] Einwod:
Done. :D
[One (M8) General] :
Sunshine must remove the tampered banner? I just returned my M8 to fully stock for warranty, and didn't notice before, but I didn't have the banner.
[One (M8) General] Steve-luo:
Thanks for sharing!
[One (M8) General] Einwod:
Not in my case. I used the method detailed here. Worked just as described. Sunshine only gives s-off.
[One (M8) General] :
Strange. I never got the tampered banner. Lol
[One (M8) General] av8or091:
OS Version Changed

Why does this change the OS version number

I was 2.23.666.2 now it reads 2.00.000.0

Bell Mobility HTC One M8 2014

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.18.0.0000

(bootloader) version-baseband: 1.19.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 2.23.666.2

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

(bootloader) serialno: xxxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B16000

(bootloader) cidnum: 11111111

(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: 23c984e1

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.019s
[One (M8) General] Captain_Throwback:
The only thing that will change your main version to 2.00.000.0 is my recovery zip, and the reason why is clearly explained in my thread. It certainly has nothing to do with this thread.
[One (M8) General] BerndM14:
Nevermind that, I want to know why his getvar output shows 2.23.666.2 if he says he has 2.00.000.0 in there. If it's 2.00.000.0 and it shows 2.23.666.2 then he manually edited his getvar all then it's not a "getvar all" output anymore but a "tampered" version by him. Why post it then at all?

Yeah it's not important to the thread either way but some people are "OCD like that ;) "
[One (M8) General] av8or091:
Agreed

Having previously read through your thread a number of times I agree with your response.

It may be that I was rebuilding from 1,xx,xxx to 2,23,666 so quickly that I may not have noticed the change.

Thanks for the prompt response nonetheless.

---------- Post added at 06:20 PM ---------- Previous post was at 06:10 PM ----------

Of course its tampered, CIDNUM S-OFF and all, but that is not germane to the question and neither is your impertinent response.

No I did not manually edit that portion only the serial number and IMEI values.

It is a minor observation that bore posting a question and to be insulting to members whom you expect to support your efforts is not value added in any forum.
[One (M8) General] BerndM14:
:eek: :confused: :eek: haha

Get of your high horse. I wasn't even talking to you. I was taking a "stab" at Captain_Throwback's comment on the MikMik about some people being "OCD Like that" by stating that I don't actually "see" anything related to 2.00.000.0 but instead see 2.23.666.2 in *your* getvar output and if you actually do have 2.00.000.0 there and not 2.23.666.2 then *you* tampered with the getvar ouput by changing 2.00.000.0 to 2.23.666.2 instead of leaving it as 2.00.000.0 like you claimed it was, in which case the getvar output wouldn't be relevant as it isn't then a true reflection of the state of your device.

I don't care if it was in the version-main or on the actual bootloader screen. My post had more to do with the small details of the numbers while taking a "jab" (jokingly) at his comment on the MikMik.

Asking stupid questions without reading up on it and still want to go on about "impertinence", how pretentious can you get? :rolleyes:
[One (M8) General] scotty1223:
All right,that's enough. An irrelevant question was asked and answered. If anyone has other comments on the matter,take them elsewhere,as this chatter is making the thread longer and more dificult to search.
[One (M8) General] av8or091:
Wow, again.......

[/CENTER]

WOW,

'there is no such thing as a 'Stupid' question but there certainly is no shortage of stupid answers'

Member tags do not infer age / intelligence / education / personal refinement​

fin fin
[One (M8) General] tylerleo:
Well, I'm not s-off or unlocked. But have a tempered flag on my m8. Any way to get rid of it like this?
[One (M8) General] Stephen:
No you have to be S-off first to change that.
[One (M8) General] scotty1223:
Run a signed ruu.
[One (M8) General] jdh10475:
This should work on Mac OS X? Its just simple commands I would think so anyone tested?
[One (M8) General] CinemaGFX:
Remove with S-ON?

So I went through all the steps of getting my phone back to stock, last thing I did was go back to S-ON. Once I did, I got the tampered flag and if I try to go to recovery I get a ***Security Flag***. What should I do next?

Here is my gatvar.

Added xxxx to some stuff for safety.
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.09.20.0702
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.00.000.0
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxx
(bootloader) imei: xxxx
(bootloader) imei2: Not Support
(bootloader) meid: xxxx
(bootloader) product: m8_wlv
(bootloader) platform: xxxx
(bootloader) modelid: xxxxx
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 6092c531
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
[One (M8) General] :
3 posts above yours.... ?
[One (M8) General] jkolner:
Im on Hboot 3.18 and FW: 2.22.401.5

Never seen this befor. Any idea what's wrong?

[IMG="adb"]http://s28.postimg.org/r4sfzej4t/Offline.png[/IMG]

- - - - - - - E D I T - - - - - - -

Fianlly got it figured out...

It wasn't he cable, HTC drivers or my adb, but as stated in the OP: i had some USB3 drivers installed. Disabled them in Device Manager and it worked.

Great thread scotty1223.
[One (M8) General] carlowise:
this doesn't work for me

hy I'm on hboot 3.19.0.0000

(bootloader) version-main: 3.28.401.6

and this mod doesn't work to remove not tampered banner i have it removed before by this guide and with new fw I have not tampered but "original Software Status"

can this banner be removed?

I did the procedure

---------------------------------------------

C:\phonetools>adb devices

List of devices attached

SHxxxxxxxxx device

C:\phonetools>adb shell

root@htc_m8:/ # su

su

root@htc_m8:/ # echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

ock/mmcblk0p6 bs=1 seek=5314564 <

1+0 records in

1+0 records out

1 bytes transferred in 0.002 secs (500 bytes/sec)

127|root@htc_m8:/ # exit

exit

127|root@htc_m8:/ # exit

exit

C:\phonetools>adb reboot bootloader
[One (M8) General] Iceberger:
^^^ Software status: Official ^^^

Sorry for the off-topic, but maybe the answer is more or less the same...

just updated to the new 3.28.401.6

now i'm getting *** Software status: Official *** in my bootloader, is there a way to remove\reset it?

or i just have to live with it?
[One (M8) General] scotty1223:
I would venture to guess this is a change in hboot,possibly a simple change to the text it reports upon finding the flag.

If you can link me hboot 3.19,and dump/upload your respective p6 partitions and upload the link ill have a look.

To what extent are your devices modified? Did you unlock or s off on hboot 3.19,or were you s off and updated? If you were s off before,were you showing tampered?

I would also like to see p6 from someone who is "software status:unofficial" and some info on the extent of their mods.
[One (M8) General] Iceberger:
The link for the hboot i used:

http://renovate-themes.de/renovate/firmware/m8/3.28.401.6-Firmware-noredtext.zip (hboot_signedbyaa.img)

Update::

My device was Unlocked and S-OFFed prior updating the 3.28.401.6 firmware

After S-OFFing my device I had the "temperd" banner, but your script (echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564 ) made it go away.
[One (M8) General] scotty1223:
some quick testing on my phone seems to indicate that youre stuck with it. it looks like software status: xxxxx is par for the course on hboot 3.19

software status: official is equivalent to not displaying any tampered banner.

software status: modified is equivalent to having the tampered banner displayed

toggling the same flag in p6 changes the banner,just as it did prior

i installed hboot 3.19 and did the following:

-toggled tampered flag

-locked the bootloader

-replaced my custom recovery

none of the above removed the banner completely. it remained software status: official (with exception of turning the tampered flag on). reinstalling hboot 3.18 the banner disapeared.

the one thing is did not test is turning s on. it may be possible that this banner is only displayed while s off,like the CID identification. we could confirm by checking a competely stock,never modded phone thats updated to hboot 3.19

again,the new banner is a product of 3.19 and IMO not much to be concerned with. either stock phones are also equipped with the same banner,or it may disapear if security is turned back on.

its interesting to note that hboot 3.19 has a couple less " security_emmc_command"

3.19:

(bootloader) security_emmc_command:
(bootloader) 1. check_emmc_mid : no desc.
(bootloader) 2. get_sector_info_emmc : no desc.

3.18

(bootloader) security_emmc_command:
(bootloader) 1. check_emmc_mid : no desc.
(bootloader) 2. get_ext_csd_emmc : no desc.
(bootloader) 3. get_sector_info_emmc : no desc.
(bootloader) 4. get_wp_info_emmc : no desc.
(bootloader) 5. load_emmc : no desc.
(bootloader) 6. send_wp_info_emmc : no desc.

hope that puts your minds at ease :)
[One (M8) General] migascalp:
What is the value to be set 5314564 for having the tampered banner?
[One (M8) General] scotty1223:
technically,any character from that byte to the end of that line will cause hboot to display the tampered banner,but the "official" value written is an 04
[One (M8) General] migascalp:
Successfully tested.

Thank
[One (M8) General] ftorres:
Thanks OP. it worked for my phone HTC One E8 (M8SD).

After reading few post, found out that the partition of sprint M8 is the same as my phone. think only the erase size is different. for S-off device possible to flash sprint RUU? Just ignore if if you feel this not appropriate to be asked here. Thanks
[One (M8) General] jsminnis:
Has anyone tried this on Verizon?
[One (M8) General] jordanyork:
You're the man! Thanks! :)
[One (M8) General] supernet2Google:
I'd like to confirm this works on the most recent build/update for HTC One M8 from sprint.

Mine was produced in factory on 10/18/2014 and i had received it 10/21/2014. Thanks!
[One (M8) General] fclifton:
T-Mobile HTC One M8. I am getting my phone ready to do a warranty return. I have done RUU to 2.22.531.5. HBOOT-3.18.0.000. I am *** UNLOCKED ***, S-OFF and CID-11111111. I have seen instructions to get locked, and to get S-ON, but will I get TAMPERED if I re-lock? Is there a way to avoid that? Thanks!
[One (M8) General] mido.fayad:
i tested it on all variants and worked perfectly

sprint, verizon and international
[One (M8) General] bigsky2:
Works great on HTC One M8 Telus CID (now SuperCID), running 4.4.4 (S-Off, thanks Sunshine).
[One (M8) General] snwman:
Right guys so I have to send the phone back to htc cause I am the terrible distortion sound coming from the top speaker. Hardware issue so needs to be fixed. Now I have been s off along time ago thanks to firewater and never did an official update through stock recovery always through adb. But im on hboot 3.19.0.000(to be precise) I understand all the other ways to get back to stock and remain s 0ff but my question is with the software status: Modified icon on my bootloader going my scotty1223 method is can get back to saying software status: official Even though the phone is still s off does that get it past warranty to fix the phone
[One (M8) General] DeeZZ_NuuZZ:
there are stock bootloader a bit edited to Show your are s-on and locked even when it's still s-off.

---------- Post added at 12:36 PM ---------- Previous post was at 12:33 PM ----------

you can't just Flash a one m8 ruu to your device. there are still a few different things and it could brick your device! so better don't try it unless your device get a RUU
[One (M8) General] ramsabi:
Wow !! Amazing. Thanks a Ton scotty1223. I now have "Software status: Official" with stock recovery, stock ROM, root and S-Off !!

HTC One M8 Developer Edition
[One (M8) General] mariosaraylian:
Worked Like A Charm!!!!

*** Software status: Official ***

Thanks for posting all this!!!!
[One (M8) General] Grizraz:
Thanks for this !!!
[One (M8) General] E_n_T:
works perfectly. status official :)
[One (M8) General] lenthele:
Does it work on an GPE M8?

EDIT: Yeah, it does!
[One (M8) General] dillondada031:
why is this happening

C:\Fastboot>fastboot flash unlocktoken Unlock_code.bin

sending 'unlocktoken' (0 KB)...

OKAY [ 0.111s]

writing 'unlocktoken'...

FAILED (remote: unlock token check failed)

finished. total time: 0.121s

that is what my cmd says on pc when i send the unlock token and on my the phone it reads

***TAMPERED***

***RELOCKED***

A11_CHL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.46.40.0721

OpenDSP-v28.2.2.00546.0331

OS-1.42.652.1

eMMC-boot 1024mb

Aug 13 2014,19:49:43.0
[One (M8) General] bzhmobile:
Try to go again to htcdev.com to get a new Unlock_code.bin.

It should work...
[One (M8) General] Sloth:
Hi,

Please don't quote the entire OP.

This is not really the correct place for your question, it has nothing to do with this thread.

Thanks,

BD619

Sent from a Glade Air Freshener
[One (M8) General] enzeem2010:
Interestingly, copy/paste would not work for me inside the cmd window. I also tried using a terminal window directly on my phone and that didn't work there either. In the end, I had to type the whole command by hand.. and it worked!! Thank you :)
[One (M8) General] c5satellite2:
Copy paste does work, but not by KB shortcut. Full CMD window copy paste will work in Windows 10.
[One (M8) General] henryrk:
hi i think new ota cant use this?

C:\Users\h\Desktop\miniadb>adb shell

shell@htc_m8:/ $ su

su

1|shell@htc_m8:/ $ echo -ne '\x00' | dd of=/dev/block/mmcblk0p6 bs=1 seek=5314564

lock/mmcblk0p6 bs=1 seek=5314564 <

/dev/block/mmcblk0p6: cannot open for write: Permission denied

1|shell@htc_m8:/ $ echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796

dd of=/dev/block/mmcblk0p2 bs=1 seek=33796 <

/dev/block/mmcblk0p2: cannot open for write: Permission denied

1|shell@htc_m8:/ $ exit

exit

my getvar

C:\>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.32.707.9

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

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B11000

(bootloader) cidnum: HTC__044

(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: a3d0cb0d

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

tthanks
[One (M8) General] scotty1223:
You are not rooted. Please reread the original post.
[One (M8) General] henryrk:
you're right there. unroot it back and tested work very good !

god bless you all.
[One (M8) General] [zozi]:
Hi [MENTION=3437245]scotty1223[/MENTION]

here happens something intresting...

i tried remove the "Unlocked" flag and i do the 2nd part of the OP but didint change only change i saw is the status changed "modify" to "Official" ....

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.9

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

(bootloader) serialno: SH444WM07416

(bootloader) imei: 352666047741352

(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: df77f8b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.024s

How can i remove the "unlocked" flag?
[One (M8) General] scotty1223:
There is nothing unusual about that. What happened is precisely what is supposed to.

You can change unlocked to locked, but you cannot eliminate it completely. There is a thread link at the bottom of the first post to lock the bootloader
[One (M8) General] theob_gyn88:
You rock, DUDE!!!! Absolute success, for my three T-Mobile (M8) Variants!!:good::good::good::good::good:
[One (M8) General] Einwod:
There's absolutely NO NEED to quote the entire first post.
[One (M8) General] FxJohnnyEng:
Hello Pro,

Quick question, if i relock my bootloader and run RUU.exe will it remove/change software status modified to official?

Bootloader will be show locked or relocked status?

Thanks
[One (M8) General] Einwod:
Another quoting the complete first post. Why don't you try it and let us know.
[One (M8) General] scotty1223:
i wish i understood what makes folks think that they need to quote the entire OP. guess im going to have to add a request to the OP :mad:

ruu will eliminate tampered/software status modified.

if you use fastboot oem lock then you will be relocked. my advice is to revert anything that you need to while you are still rooted. running an ruu is the very last thing that you should do.

and for the love of god dont turn s on if you just want to be stock or want to sell the device(i personally would not,even for warranty repair)
[One (M8) General] FxJohnnyEng:
Hi Bro,

Thanks for explanation :)

I comment OP cause easy to mention/refer to you =D

So everything will revert to stock. with relocked status right?

So the main is to claim warranty, we need locked and s-on,

so if i S-off and i change status to locked, am i still able to ruu when locked show?

root will be missing when running ruu also right?
[One (M8) General] EddyOS:
As scotty said, do everything in this guide when still rooted/S-OFF THEN flash the RUU and LEAVE THE PHONE S-OFF!!!!!!

You should not need to set back to S-ON if everything else is set to official/locked, etc.