yashsingh1/xdaforums huggingface dataset:
[One (M8) General] FxJohnnyEng:
Just a quick one,

now my bootloader is S-on, software status : modified.

So i fastboot oem lock, it will show relocked status, then run RUU in fastboot mode

after that, software status:official and then bootloader is relocked status right?

In malaysia, in order to claim warranty need S-ON, locked and official status.

Kindly assist
[One (M8) General] radkor:
You did it wrong....

1. LOCK boot loader via ADB shell echo command. After that it's LOCKED, not RELOCKED. You need S-OFF to do that.

2. Flash stock RUU. System status will be Official after reboot.

3. Do S-ON via fastboot.

Now you have to do S-OFF again and LOCK the boot loader. There's a Scotty's tutorial about it.

TT @ One_M8
[One (M8) General] FxJohnnyEng:
So is S-off, then Locked bootloader, Run RUU via fastboot, then S-on it. Phone will be totally stock right? Correct? XD
[One (M8) General] radkor:
Correct. Be sure that RUU is 100% stock, signed and has unmodified Hboot. Modified Hboot will cause brick during S-ON.
[One (M8) General] ione2380:
Thank you! Worked perfectly on my M8 running lollipop viperOne 4.3.0 rom. :) Status official!
[One (M8) General] dakid1235:
Hello i am looking to do the same for a warranty return. My phone first day was CID 1.54.161.5 do you know if there is a RUU for this model available so that I can do what you mentioned above? I have only been able to find the nandroid backups at - http://xdaforums.com/showpost.php?p=58606328&postcount=4278
[One (M8) General] radkor:
You should check this thread: http://xdaforums.com/showthread.php?t=2911563 :)
[One (M8) General] Einwod:
The Nandroid backups are all you need. Flash whatever of those you need and then the stock recovery image. You will then be able to get any OTA that may be available for your device and you will be completely stock. There probably will not be a RUU as European models don't get them from HTC.
[One (M8) General] CM17X:
Hey there guys.

I have my phone unlocked and S-OFF, but instead "Tampered" i have "Software modified" or something like that. Not that i want to get that tampered stuff, but, why it does appear?
[One (M8) General] Einwod:
Simply because you have modified something. Same thing as tampered, just a different word.
[One (M8) General] bzhmobile:
+1

with the new firmwares

Tampered = Software modified

if you remove the banner , you got the new banner "software official" ;)
[One (M8) General] scotty1223:
Maybe you should try reading at least the first post before you randomly jump to the end of the thread to be spoon fed answers.
[One (M8) General] CM17X:
Thanks, man. Your reply is more useful than the thread itself.
[One (M8) General] scotty1223:
below is the first few lines of the OP. if you had bothered to read it,and click the more info link,you could have had your answer immediately,and saved an allready long thread from becoming 6 posts longer.

my humblest aplogies if this thread and the info contained within was not useful to you :rolleyes:
[One (M8) General] uclamark:
Hi Scotty,

I've read most of the 20+ pages of post and I'm still having trouble with removing the tamper flag. I've sent you an PM with my fastboot getvar all result along with links to my mmcblk0p6 file. Also, when I ran the code, I get more than 1 byte written to that hex location. See attached. I'll wait for when you have an opportunity to review my PM. Thanks for your help.

Mark
[One (M8) General] scotty1223:
Your screenshot looks to be scrambled or missing parts,I don't really understand it.

I'll try and look at your dump before I go to work,but it may be later this evening.

Don't worry, we will figure it out :)
[One (M8) General] uclamark:
Scotty is awesome! This guy is legit and was able to trouble shoot my issue overnight. Awesome resource !!!
[One (M8) General] boostnek9:
I have HBOOT 3.19 and followed the instructions on this page which gives me the software official message in the bootloader but when I reboot the red text is still there. Any ideas?

I should add this to help:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.21331147A1.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.19.707.2

(bootloader) version-misc: PVT SHIP S-OFF
[One (M8) General] Einwod:
Firstly, remove your serial and IEMI number from your original post.

The reason you have the red text is because of your firmware. You can get a new no red text version here: https://www.androidfilehost.com/?fid=95916177934523916

Flash the new "no red text" firmware and you're good to go.
[One (M8) General] eskimosound:
Hi Einwood can you help me?

Where do I get my no red text firmware from...

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.21331147A1.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.20.206.1

(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: O2___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: dcdaa6e0

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.028s
[One (M8) General] boostnek9:
Thanks a bunch. Never realized my imei and s/n was there. Appreciate your help.
[One (M8) General] Einwod:
What are you needing help with? Your firmware is up to date.
[One (M8) General] eskimosound:
Hi, I just wanted to get rid of the unlocked/soff and red text from boot.
[One (M8) General] Einwod:
Unlocked and S-OFF are there to stay, simply because you are unlocked and S-OFF. I'm trying to find an O2 Hboot without red text.

Meanwhile have a read at this. http://htc-one.wonderhowto.com/how-to/get-rid-annoying-red-development-build-text-your-htc-one-m8s-bootsplash-0154653/Do

NOT

use the Hboots from that page, they are not for your phone.
[One (M8) General] eskimosound:
Thanks Einwood, as a thought I could put any firmware on my phone now its Soff right?

So I could as was suggested to me put an HTC___001 firmware3 version on?

Then I could get te HBooot for tha?

I know Im probs wrong, but hey how do you learn?
[One (M8) General] Einwod:
You are S-OFF. Why not go SuperCID and flash a WWE 4.16.401.10 firmware?

---------- Post added at 22:16 ---------- Previous post was at 22:14 ----------

Go SuperCID and use this firmware: https://www.androidfilehost.com/?fid=95916177934517034
[One (M8) General] eskimosound:
Thanks OK I will do, whats super cid and what does it mean...

Oh and meanwhile I am still having loads of probs with ARHD roms since turning soff and wiping my partitions, none of them are working properly, kitkat through to jellybean I will start a new thread about it in a bit...

---------- Post added at 08:30 PM ---------- Previous post was at 08:22 PM ----------

Heycould I use one of the Faux Locked/Son Hboots and if so which one?

http://xdaforums.com/showthread.php?t=2710503
[One (M8) General] Einwod:
SuperCID is an all singing all dancing CID. It just means you can flash any firmware without having the CID to match the firmware.

What sort of problems with ARHD? If you'd like to discuss it on Skype?
[One (M8) General] hidea:
100% with you. But man… that red text, could use a bit of a whiteout. I like Nexus' simple 'unlock' image on boot.
[One (M8) General] Granite1:
Thanks and thanked Scotty, you the man!

My last hboot on the LTEvo said "Splendid" at the top. I couldn't resist. :p
[One (M8) General] scotty1223:
lol i do understand the desire to customize all aspects of ones phone. it can be done safely,youre familiar with such things and understand the risks :cool:
[One (M8) General] Sloth:
Confirmed works on Sprint M8 :)
[One (M8) General] exphryl:
Worked with no issues on my T-Mobile M8
[One (M8) General] Stephen:
[MENTION=3437245]scotty1223[/MENTION] is their a method yet on getting supercid on the m8?

Cheers

Ghost
[One (M8) General] WorldIRC:
Fastboot oem writecid 11111111

Sent from my HTC One M8
[One (M8) General] Captain_Throwback:
Is there a way to reset "RELOCKED" back to "LOCKED"?
[One (M8) General] scotty1223:
How you get a t mobile m8?
[One (M8) General] scotty1223:
There is a thread.. Can't link it at the moment
[One (M8) General] exphryl:
I work for them and manufacturers occasionally give a phone to a store associate to use to push / demo their device.
[One (M8) General] scotty1223:
Ooooh you lucky duck lol... The wait driving me nuts
[One (M8) General] Captain_Throwback:
I looked at mmcblk0p3 and there's no HTCL flag in it. They must've changed the location or they're doing it differently on the M8.
[One (M8) General] Behold_this:
It's mmcblk0p2
[One (M8) General] scotty1223:
Yup.. Several of the partitions have moved(including this one :eek: ). There is a thread here in m8 general for lock/unlock as well add mid changes
[One (M8) General] Behold_this:
These commands come in very handy and it's good to have an easy place for users to find them. Thanks for posting these [MENTION=3437245]scotty1223[/MENTION].
[One (M8) General] Captain_Throwback:
I feel like there has to be a flag that controls the red dev text too. I bet beaups would know where that is.
[One (M8) General] Stephen:
As far as I know that involves hex editing a hboot to remove the red text. I don't think it is as simple as setting a flag.
[One (M8) General] djkinetic:
the red text does involve hex editing the Hboot. See this post: http://xdaforums.com/showpost.php?p=44137829&postcount=4
[One (M8) General] Stephen:
Be very careful if your attempting this on the m8. That is for the m7 and if you copy it exactly you could brick your device, be warned!
[One (M8) General] eskimosound:
Hi, sorryI dont Skype...

Heres the background, had an Htc onex+ rooted it and put5 ARHD rom on it and i was brilliant fro two years not a glitch excellent...

Just got an Htc One M8, rooted it and tried all of ARHD roms and a few others on it all working perfectly...

Then I though I might as well erase everything, clean it all up so in twrp I did a full wipe.

Thats when he trouble strarted not the only ARHD rom that will work properly is a weedy 22.2 verion, KitKat, its less than the version it came with.

Thats were im up to.....
[One (M8) General] Einwod:
Go into TWRP and on the wipe tab, format data, confirm by typing YES in the keyboard. Backup your stuff as this will wipe the internal storage completely. That fixes most problems with ARHD. Also, if you use Xposed, do NOT use the Amplify app. It causes severe problems when rebooting. The only way to continue is to wipe the cache and dalvik cache and rebuild all the apps again.
[One (M8) General] boostnek9:
I did this and for some reason I just noticed, I no longer have LTE.. could this be related? I only have HSPA...

I have an unlocked M8 that was htc__044 but now i'm superCID. Do I need to flash a new radio to get LTE on Telus in Canada?

Sorry if this isn't the place to ask..
[One (M8) General] scotty1223:
No,this mod will not affect lte. You don't need a different radio.

If you're not receiving lte on a network that you did prior,then something else is wrong. First thing I would do is a factory reset using the STOCK recovery

Sent from my HTC One max
[One (M8) General] lofty5:
Will this work for T-MOB101?
[One (M8) General] scotty1223:
Yes
[One (M8) General] lofty5:
Wicked
[One (M8) General] lofty5:
Did this today it worked doesnt say relocked however it still says software status modified in black text, How can i get rid of this?
[One (M8) General] lofty5:
All good got it working must of cocked something up forst time round. When restoring son will unrooting the phone first before turning son back on keep the flag as official. just wondering as i keep trying whilst retaining root and modified flags keep reflagging so must be something to do with son detecting root. If unrooting before turning s back on would the official flag stay like that?
[One (M8) General] forever_lol:
First of all. Thank you for all your great tutorials. Always worked like a charm.

I don't know whether it has already been reported, but the banner software status: official is still there after you restore s-on. My phone is currently all the way stock (hboot 3.19) and the banner mentioned above remains. So the only way to verify it is to find somebody with never modified software.

Sorry if somebody posted it before.
[One (M8) General] lofty5:
How did you get the software status official to remain after son. Mine resets to modified after turning s back on and restarting.

What procedure did you follow just before turning security back on example unroot etc?

Also the official banner is always there even on new unmodified phones, I have a screenshot of my bootloader before i did anything to it and it has the official banner on it.
[One (M8) General] forever_lol:
1) I restored my original cid/mid

2) removed "modified" flag

3) locked bootloader - using scotty1223´s tutorial

4) restored stock by runing ruu (so yes unroot)

5) factory reset - but I didn´t go through registration process (I wanted to avoid this weird screen informing that my device is experimental or sth - I really don't remember how it sounded now. It looks like when you´re soff and install ruu, installation program somehow detects that security is off. Once you´re s-on you don't get this information anymore.) and rebooted bootloader directly.

6) restored s-on

7) reinstalled ruu.

Perhaps step 5 or 7 were unnecessary, I just wanted to make sure I was 100% stock before I turn on security.

Thank you very much for this info!
[One (M8) General] lofty5:
Could the following be used in place of RUU as i have not got any ruus for my version. There is one for TMOB101 but its old. Everything is already stock so factory reset to get rid of root and then turn son and factory reset again. Should work but dunno.

Also could the following be done should i ever change to custom most likely wont though.

Restore Nandroid backup which is unrooted, remove tamper, lock boot loader > turn s back on > factory reset.

Ive been trying to retain root whilst having son but the modified comes back so i think it cant be done unless their is a way of attaining or running root that doesnt edit anything in /system.. There is something about running su via a daemon to keep OTA this could work but all the info is out of date or for a different phone.
[One (M8) General] scotty1223:
Factory reset won't get rid of root.

Software status original is not possible with root and s on.

We don't know all the factors that the phone checks so see if it's "modified" simply changing the lock status and tamper flags is in many cases not enough. Sometimes an ruu can fix things,sometimes the things the phone doesn't like are in partitions not restored by the ruu. It is not uncommon to become tampered (modified) again after s on after reboots and factory resets.

IMO leave s off. If you're concerned about sending a phone in for warranty s off,don't unlock,root,or s off. Leave it stock is the best way to protect your warranty

If you're insistent about going s on,run the tmo ruu,its your best chance for success. Don't worry about the age,it can ota to current

Sent from my Nexus 9
[One (M8) General] lofty5:
So they need to be installed all the way from 1.12 or whatever it is? Only thing I've no idea what im supposed to do with those files. Can i build a firmware.zip from those files that will flash it straight to 4.19. HTC phones are so godam confusing. I don't know where to start. I will be leaving soff. But i always like to have a route back should I need it. Will any of these OTA's modify hboot will soff remain? I have no clue how to use those OTA there off a german site with no guide.

I do have a twrp of 4.19 unmodified except for the recovery obviously. But I want to change to a uk variant. and thus have still not found a way of securing a way back to what im on now as twrp isnt a 100% backup radios etc. My previous android experience is basically flashtool ft flash reset done. Reading al the HTC topics give me headache.

I also dont understand why some guides explain to flash a fw or do a twrip then run a RUU. I thought a Ruu would include the previous or everything you would need. Why doesn't twrp backup everything?

I have been asking these sorts of questions in my own threads but noones replying and the more i read the more questions i have.

I also cant find a RUU for tmob101 only OTA files installed via recovery but no idea what do with them enough that i wont brick my phone. There is also a nandroid of the 3.xx tmob101 gw but from what Ive read that wouldnt be a 100% backup or restore as twrp doesnt backup radios.

I appreciate your help bud really.

Going on what ive learnt thus far this is what I would do. I would get the 3.32.111.9 -> 4.19.111.2OTA zip from handy-faq. I would extract the recovery from it and flasg it seperately. As im soff bootloader relock shouldnt matter. Mode lib and cid must match. I would then boot into stock recovery and install that zip. Then boot into it and OTA within the os if there is one. This is my understanding of it. But I cant confirm.

or do i install all of these

1.12.111.18 -> 1.57.111.2

1.57.111.2 -> 1.70.111.1

1.70.111.1 -> 2.23.111.3

2.23.111.3 -> 3.32.111.3

3.32.111.3 -> 3.32.111.9

3.32.111.9 -> 4.19.111.2
[One (M8) General] scotty1223:
Let's see:

1)Yes,after the ruu each ota will occur in sequence. Not sure how many there are between that and current. You don't need to do anything with any files,just let the phone ota. After the ruu,the phone is stock and can simply download and install each ota. It will take some time,but will get you to 100% stock current firmware/software

2)No,you can't really build a zip file from the ota files.

3) s off is not really a property of hboot. Hboot checks a flag in a different partition to check if security is on or off. But to directly your question,no an ota will not modify the partition where the security flag lives.

4) you're making it too complicated. Your secure way back is the old ruu.

5) you are correct,an ruu contains everything you need. No need to restore anything or flash anything prior,with exception of some rare scenarios where a newer boot loader might need installed in order to install a newer ruu,as the encryptions can be different and the older hboot may be incapable of unpacking and installing the new zip

Hope that helps

Sent from my Nexus 9
[One (M8) General] lofty5:
I cant find a RUU for TMOB101, only twrp backup for ver 3.xx

is my twrp backup of 4.19 unmodified excluding recovery of no use then?

Ill recheck for this old RUU you speak of it is quite possible i am becoming blind.
[One (M8) General] scotty1223:
I'm confused. You said this above:

So I thot there was an ruu for your variation?? :confused:

Sent from my Nexus 9
[One (M8) General] lofty5:
Ah I see now. No only thing available is these OTAs from here but ive no idea what to do with them. Thats my mistake for saying it was a ruu, its not.

http://www.handy-faq.de/forum/htc_o...ne_m8_firmwaresammlung_ruus_otas_backups.html

This section

x.xx.111.x - T-Mobile (DE)

Code:

modelid: 0P6B10000

cidnum: T-MOB101

Download

MD5 Prüfsumme

1.12.111.18 -> 1.57.111.2

MD5: 35032463BBA1E725B76427ADDE08DBFE

1.57.111.2 -> 1.70.111.1

MD5: 5D8AE71EF9A69D286F46822A67E9B5F5

1.70.111.1 -> 2.23.111.3

MD5: 4b427de1040f1ef95007df89eaebb8d9

2.23.111.3 -> 3.32.111.3

MD5: 6371bb0ea21dea12f0204e31b48b0721

3.32.111.3 -> 3.32.111.9

MD5: daa676e45a47bdbc8bbefa4a74fe5bdc

3.32.111.9 -> 4.19.111.2

MD5: d23231321a71d896ff46800ca9212e08

Youll probably see what im waffling on about now and why im so confused.

There is only an old nandroid of 3.32. But from what ive read so far a twrp does not restore everything needed.
[One (M8) General] scotty1223:
Ahh. I see. Yes,without a signed ruu there isn't really a good way to be sure you've restored all the matching bits of firmware.

If you want to convert to another variant,there won't be real good way back without the ruu. Some folks have had success with restoring an unrooted nandroid and a matching stock recovery. But that's not something I can recommend,as your chances for failure are high. :(

Sent from my Nexus 9
[One (M8) General] Einwod:
You said above your ultimate goal is to have a UK variant. Why not just flash the 4.16.401.10 FUU from sneakyghosts thread here: http://xdaforums.com/htc-one-m8/development/progress-fuu-m8-t2813792

No need to go through umpteen firmware flashes. The simply take the 401 WWE RUU off the German site and flash it. You will be stock WWE edition. Simples. Or am I missing something altogether?
[One (M8) General] scotty1223:
There is not a question on how to convert to wwe.

The prollem is that without an ruu for his current variant,there is no way to convert back

Sent from my HTC One max
[One (M8) General] Op3a:
[MENTION=3437245]scotty1223[/MENTION] & [MENTION=3741261]Einwod[/MENTION], need some of your help here: I need to send my M8 to warranty, so I flashed the nandroid for the VODAP304 CID, and flashed the stock recovery. But in the bootloader, it still says "SOFTWARE STATUS:MODIFIED". How can I take this off? Its only possible with S-OFF? Plus, I can't do the OTA update to lollipop, the M8 gives and error on recovery and abort (status 7). What can I do?
[One (M8) General] scotty1223:
the only way to change the modified banner while s on is to run a signed ruu. otherwise youll need s off,and its quite possible there are changes that will keep the phone from staying original when you turn s on. restoring the nandroid and stock recovery are very likely not enough.

your ota prollem is not from the modified banner. you have some other issue,such as a modified system,or other incorrect firmware.

id suggest to re-s off and search for an ruu,even if its older. even at that,you may not be able to turn s on without the modified banner returning. failing a matching ruu,you might be able to convert to a variant that there is an ruu for,if your current software does not have alot of carrier branding(like the wwe mentioned above)
[One (M8) General] Op3a:
I can't just run a Vodafone UK RUU and revert phone back to stock with s-on? I will sell the m8 so I didn't want to spent the extra $25. This is so complicated, i just dont now wich direction I have to go :silly: . How I can put back the partitions to normal?

My phone is:

M8_UL PVT SHIP S-ON

HBOOT-3.19

OS-4.19.161.2

Unlocked bootloader

I just realized now that I was on lollipop, and restore a kitkat nandroid. This could have something with the OTA problem?
[One (M8) General] scotty1223:
If a vodaphone ruu exists that meets your s on criteria,then yes

Sent from my HTC One max
[One (M8) General] Op3a:
The problem is that I can't find one. I will continue searching. You you guys find one please tell me. Thanks Scotty for the help
[One (M8) General] lofty5:
Indeed. I also don't like to idea of applying 6 ota updates. 6 points of possible failure. I will have to stay where I am for now until I can secure a way back, not worth the risk. Do you know what TWRP doesnt backup. I may be able to restore the other bits another way but am not 100% sure what twrp doesnt backup. All i know so far is it doesnt backup the radio.

My only option available as I see it is to use the 3.xx nandroid on here, flash recovery then OTA.zip up to 4.xx via the zip or online. But theres no guarantee the OTA integrity check would would pass, (if there is one) if i change my fw previous to this step.