yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
Yes you can use Ruu on s-on but you must be relocked the bootlader
[One (M8) Q&A, Help & Troubleshooting] wetxxx:
Thx for Yours help :)

It`s works! Bur I try use your stock twrp backup and restore my data from my backup. Phone doesn`t stand up :(

Maybe I try to use titanium backup and restore aplication? I have backup from old version but in MM I must update do 7.3.0. Maybe it works.

Before I try restore from twrp 4.16 - data partition but I think brick lub loop my device :)
[One (M8) Q&A, Help & Troubleshooting] Saikat.mondol1:
I renamed to recovery.img :( anyway, thanks. Where can I get htc_fastboot.exe? I've no problem with data losing. Just need the update. I've been using Minimal Fastboot app :/
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
[MENTION=830797]ckpv5[/MENTION] DO i have to flash back stock recovery before i relock the bootloader and RUU or i dont have to
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't have to... if fastboot flash

Maybe have to ... if using microSD method (don't remember as I never do it)
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
DONE Ruu on S-ON and back to stack

just re-lock bootloader use Ruu.exe

thanks and waiting for you great work with SD
[One (M8) Q&A, Help & Troubleshooting] rjavc:
The only RUU available is for dev edition right? And i cant use it to update to marshmallow. So the only option for me is to wait for OTA. This is my first time tinkering with htc. So am i right?

Btw im s-on and on 4.18.708.12

Rooted- bootloader unlocked
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes, wait for OTA.

Or run any Marshmallow custom ROM, should run fine.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Added to post #3 for Marshmallow backup & #4 for the recovery

Thanks
[One (M8) Q&A, Help & Troubleshooting] arek78:
I have the Viper 4.6.1 S-OFF OS 4.16.401.13 I want to use this RUU "0P6BIMG_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_Radio_1.29.214500021.12G_20.72.4196t.01_release_464360_signed.zip"

I can rename RUU to 0P6BIMG move on the external SD take phone in fastboot and install without recovering recovery stock and re-lock the bootloader -Yes-?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
As I mentioned in the previous page, I never use this method. I know it will work but I don't remember whether you need stock recovery installed first or not.

S-Off - no need to relock bootloader.

I suggest that you install 4.16.401.13 stock recovery first. After the update, reinstall TWRP.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Any chance that you have the stock recovery.img too ?

Your backup added to post #3
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Thanks m8, if i flash the mm custom rom, would i be in 6.12 firmware base?

Ive read somewhere flashing mm custom rom on a lollipop based stock would be buggy.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No .. your firmware is still lollipop 4.18.708.12 but your build no. will be 6.12

I used to run MM custom ROM on lollipop firmware 4.x .. everything worked great.

No worry .. you can try, if you don't like it you can always revert to your current ROM (make a backup before you install other ROM) or back to stock (I have the backup on post #2)
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Now i get it. Thanks man! But youre s-off right? And im s-on, devs always say before flashing that you better be s-off or youll run into some problems.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
S-On & S-Off has nothing to do with flashing ROM. You just need unlocked bootloader and TWRP 2.8.7.0 installed.

S-Off is needed if you want to install other region firmware or manually update your own region firmware .. or you want to do conversion from one region to another region .. or conversion from Sense to GPE and GPE to Sense

S-On is better for newcomer like you because I see a lot of hard brick because newcomer doesn't know how to handle a S-Off device.

S-On will safe guard you from bricking.
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Great! Thanks m8! Been installing custom roms on my samsung and sony devices, so htc is a new environment for me.

Thanks again!
[One (M8) Q&A, Help & Troubleshooting] vm54:
A question : can we restore data from a TWRP Android 5 backup after MM update?
[One (M8) Q&A, Help & Troubleshooting] null0seven:
ckpv5,

Thank You!

It worked, i mixed up yours with Sneakyghost.
[One (M8) Q&A, Help & Troubleshooting] Saikat.mondol1:
It's completely fine. I'm running Viper One 5.0 . First touch was a little slow but then I remembered about what kernels do. So, I flashed ElementalX and now it's real smooth again :)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not after update ..

If you need your data, restore data after restoring non-rooted backup before the update and see how it goes. If the data has nothing bad, it will be a successful update then you have MM with all your data intact.
[One (M8) Q&A, Help & Troubleshooting] Petert87:
Maybe it's better to make this thread sticky?
[One (M8) Q&A, Help & Troubleshooting] Devilmoon93:
Hello,

I've made a backup of boot with TWRP, but I can't find the folder structure in OP's post to move the stock backup to, even though TWRP was successful in backing up the data. What went wrong?
[One (M8) Q&A, Help & Troubleshooting] Unauthorised:
Is possible to restore lollipop backup on official MM with s-on,after that can I again take OTA to MM?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Have you check both internal storage & microSD ? One of them should have the folder structure.

To confirm, check in TWRP when select restore can you see your earlier backup.
[One (M8) Q&A, Help & Troubleshooting] Devilmoon93:
Solved it, don't know why but the folder wasn't showing up in the SD card, then I tried to create a folder in there and first explorer crashed, then the folder appeared.
[One (M8) Q&A, Help & Troubleshooting] JannerOyibo:
Didn't work for me so here is my next question, Why can't I just unlock bootloader, install TWRP, restore MM 6.14.707.1 backup (rather than restoring LP 4.19.707.4 then OTAing MM) ?

Given my limited data plan, this would save a 1 GB download ( rather than >1 GB download for 4.19.707.4 then an OTA of > 1GB for MM).
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you want to unlock the bootloader, then the process is different.

If you restore 6.14.707.1 backup, you will not get MM OTA because you already have a MM ROM in your device.

To have OTA, you need to restore 4.19.707.4 then OTA to 6.14.707.1

But there is another way of doing it to save your data ...

Unlock bootloader

Install TWRP 2.8.7.0

Restore 6.14.707.1

Relock bootloader

Flash 6.14.707.1 signed firmware

Done

What you need is a PC with proper fastboot/adb and latest HTC USB driver installed (maybe USB2.0 is needed too)
[One (M8) Q&A, Help & Troubleshooting] sadmam:
Hey all,

First Big thanks to ckpv5 for the repository!!!

So I was following the tutorial to get back to stock and get the MM update... my cid ORANG309, so I downloaded 3.33.75.1 from the first post and respective recovery... Installed and everything is ok... I receive the ota and make the update... It reboots and installs ok... but after it boots I get no wireless... I cant even turn it on.... so I repeated the process thinking that I've done something wrong... but the outcome was exactly the same... from the restore image wireless works ok it downloads the ota whiteout any problems... once the ota is applied wireless is gone...

Anyone encountered this "bug" or whatever it is or knows a way to fix it?
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
Thanks a bunch man, you helped me out before for KitKat to Lollipop upgrade. I was wondering after I'm on Marshmallow, what do you think is the best method to give my phone a fresh start to the OS (clean the internal memory)? I plan to SU, busybox and TWRP after.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
This is not a popular version, I don't make further backup .. there should be 4.xx.75.x

Your problem usually related to wrong version restored on wrong hboot.

For example the backup 3.33.75.1 is for hboot 3.19.0000 but your hboot is 3.16.0000 .. so you won't get wifi working on it.

You should try a lower version backup .. 2.26.75.1 and see whether your wifi works. If still no, then try 1.54.75.1 then only you work your way up with OTAs
[One (M8) Q&A, Help & Troubleshooting] sadmam:
Unfortunately I can't find a 4.xx.75.x version... and my hboot is: (bootloader) version-bootloader: 3.19.0.0000

Should it be lower?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's because you already did OTA update so you have 3.19. hboot but your radio most probably is not updated because wrong backups for wrong hboot.

Post your fastboot getvar all (minus serial & imei no.) we'll see what is need to be done.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Depends on what you mean by clean the internal memory ... do you mean data partition (factory reset) ? Or you mean internal storage ?

Install TWRP 2.8.7.0 ... make a non-rooted backup <-- the most important

Then the rest depends on the above questions ...
[One (M8) Q&A, Help & Troubleshooting] sadmam:
So right now I've restored with twrp version 3.33.75.1... and flashed the stock recovery, wireless works ok... it is saying that there is updates available...

This is the result of the get var all:

fastboot.exe getvar all

(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.75.2

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: ORANG309

(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: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.025s

As is it's working ok... but I want to try MM update :)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Since it is OK .. then just proceed with all OTAs ... I don't know whether MM already out for your device version (as I said earlier, not a popular one on XDA)
[One (M8) Q&A, Help & Troubleshooting] sadmam:
But that's just it... when I do the OTA the wireless stops working.... and this as happen twice now... I'm gonna try a third time... back in a sec...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't you have your own 4.19.75.2 backup ?

I tried to google 4.19.75.2 ... the result only refer to this thread ... nothing available on web ...

I'll take note on this .. I'll make 4.19.75.2 backup this weekend (hopefully)
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
After following all the steps which also refreshes the os, do you think I need to restore phone to factory for it to clean up properly? or what you provided in the steps is good enough? I just wanted to give my phone a fresh start with Android Marshmallow since I never properly cleaned the software since I bought it over a year ago.
[One (M8) Q&A, Help & Troubleshooting] sadmam:
The phone is still updating...this is the third time now :)

But i was looking at the getvarall... shouldn't the version-main be the same as the restored backup, in this case 3.33.75.1 instead of 4.19.75.2?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you really follow all the steps here .. no data restoring from the old ROM, only the data from the provided backup then it is good enough.

The only thing that you need to do after MM OTA completed, go to settings - apps - Download Manager - storage - clear data -- to remove OTA leftover
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
3.33.75.1 is build no. for the backup that you restored.

4.19.75.2 is firmware no. that currently on your device.

After the OTA when it is higher than 4.19.75.2, you will see change of number in getvar
[One (M8) Q&A, Help & Troubleshooting] sadmam:
But shouldn't the firmware follow build number?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No .. build no. should follow firmware. For your case, there is no same build no. backup as your firmware so next OTA you will get to the same no. then another OTA to a higher no.

Just carry on with all the OTAs .. you will understand better.
[One (M8) Q&A, Help & Troubleshooting] sadmam:
It finished the ota update... the outcome was the same... no wireless :S

this is the getvar after the ota update:

(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.75.2

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: ORANG309

(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: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.019s

So I don't know where is the problem... but it is weird as hell... wireless getting broken after ota :s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I have no idea too except past experience is because of restore a higher version on a lower hboot usually give this kind of problem...

If you want, you can try a lower version 2.x and see how it goes ..
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
How can I make a stock recovery off my fresh install of Marshmallow?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Extract out from OTA .. that's the only way that I always use. There are a few other ways but I'm not familiar with.

What's your version ?
[One (M8) Q&A, Help & Troubleshooting] wetxxx:
Rom works great. I restore aplication from titanium backup and now everything works good but I been waiting for mike rooting tools who improve boot.img and give me fix to RW problem.
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
I'll check again, just finished making a backup with TWRP of fresh Marshmallow swiped to install SU and now it is stuck on HTC logo when booting before the HTC one animation. What should I do to fix this? =s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I asked you to make a non-rooted backup first before anything else, right ?

Restore that backup ... never select swipe to install SU, won't work on MM.

You need to install SuperSU 2.66 or 2.67 (not yet try) - http://xdaforums.com/showpost.php?p=64161125&postcount=3

if you want root.
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
Yup, I finished that backup and then for reboot it asked for SU install and I thought it would like like before but guess not. So I should just restore from my backup and by the look of that SU post, it seems to be in experimental/beta stage, guess I'll have to wait it out. And do you know why SU install through recovery is not working this time?
[One (M8) Q&A, Help & Troubleshooting] liviumustata@yahoo.com:
nope. i'm on twrp now.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
OK .. no problem
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
MM permission issue I guess ... so what's the version no. that you have now ?
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
I'm going to consider flashing the newest beta SU 2.67, but was wondering if a full release comes out would the method for updating the SU be easy as flashing latest through recovery?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Personally I never use the one offered by TWRP ... always install the latest SuperSU.zip thru recovery

and SuperSU updating is always as easy as flashing latest through recovery
[One (M8) Q&A, Help & Troubleshooting] nohmaan:
Yeah, learnt it the hard way.. The software number is 6.12.61.4 from my marshmallow which I see you don't seem to have a stock recovery off.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not yet .. will have in next few days as someone else requested that too

http://xdaforums.com/showpost.php?p=64893655&postcount=841
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No .. I don't want that because this thread slowly become a help thread instead of how to get back on stock thread ...
[One (M8) Q&A, Help & Troubleshooting] Petert87:
OK sorry mate. I thought it would be useful because [MENTION=4252827]Mr Hofs[/MENTION] stopped the nandroid thread.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No need to say sorry, nothing wrong what you said ;)
[One (M8) Q&A, Help & Troubleshooting] adotkdotjh:
Hey [MENTION=830797]ckpv5[/MENTION], just to clarify, the MM Bell firmware in your post here is stock except for the changes to android-info.txt, correct?

Also, any plans to post the vast collection of firmwares you seem to have on this thread somewhere? This thread is much more streamlined to find what you are looking for than others, and got more stuff for Bell =)
[One (M8) Q&A, Help & Troubleshooting] haxorpro:
Helped a lot recovering my device back to Stock Rogers and updating OTA. Thank you so much for all your help and dedication. God bless you. Works perfect.

Note for others: I got errors with OTA update a few times but you should just install TWRP and wipe everything off the device then install from scratch and it will work fine.

Good luck
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If you mean by stock firmware is a signed firmware, no. That only for S-Off device. Why do need it ?

No plan for firmware collection at the moment as I don't see a good reason to have one.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Great :good:

May god bless you too ...;)
[One (M8) Q&A, Help & Troubleshooting] adotkdotjh:
I was on the dev edition's MM firmware, and I wanted to update to my carrier's latest firmware for better radio and stuff. I hadn't realized Bell has released MM already.

I'm s-off so it doesn't have to be signed.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
OK.. then that one should work for you as it has the radio & radio config for Bell.

The only thing I removed - boot.img & recovery.img

Basically a stock Bell firmware but unsigned
[One (M8) Q&A, Help & Troubleshooting] adotkdotjh:
Thanks man, you are great! Out of curiosity, is there a way to tell whether a firmware is signed or not?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Stock recovery 6.12.61.4 added to post #4
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't know a proper way but you know a signed firmware when :

1. You can open & extract with 7-zip but you cannot delete it from the zip itself. E.g you want to delete recovery.img or boot.img, you open the firmware.zip then try to delete them, it will say Error - not implemented

2.. You can't open it with windows explorer <-- the simplest way
[One (M8) Q&A, Help & Troubleshooting] Lonelobo:
I have a small question.

I am folowing the steps in the first post but at step "3. Download stock recovery - link in post #4" what version doe i need to take?

I have a belgium (dutch) HTC__E11 / 0P6B10000 phone / firm 4.16.401.10 / no-carrier.

I have tried v4.32.600.2 but that one seems spanish (gave a error trying to ota to 4.16.401.13) so i gues u have to use a specific version for ure country?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Same number

4.16.401.10 use 4.16.401.10 stock recovery

4.16.401.13 use 4.16.401.13 stock recovery
[One (M8) Q&A, Help & Troubleshooting] Lonelobo:
i seen, must have misinterpretend the explenation, english is not my main language. Tnx
[One (M8) Q&A, Help & Troubleshooting] vathnaraty:
Thank u very much for ur help! I will give a beer after I open my new visa card.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No problem ... if you ever need the stock non-rooted backup,

CID ORANG001

MID 0P6B10000

6.12.61.4

added to post #3
[One (M8) Q&A, Help & Troubleshooting] Naji.el.berjawi:
i just got everything in my device back to stock now , so i can download 6.0 ota , i download the ota at night and tried to install it , but i got error status 7 , any help ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What's the stock version no. you restored ?

Error 7 usually wrong recovery.img installed.

When you see the error, you should see what is the error written before status 7.
[One (M8) Q&A, Help & Troubleshooting] JannerOyibo:
OK, so I bit the bullet and :-

unlocked my bootloader

Installed TWRP recovery

Restored 4.19.707.4 backup

Went back to stock recovery 4.19.707.4

Saw 3 little preparation files which I installed then rebooted

and , voila, I saw the OTA 6.14.707.1 which I am currently downloading....

Still can't understand why I did not see the MM OTA when I was on locked, stock 4.19.707.2........but, hey, one of life's small mysteries......

Can I assume that I can re-install TWRP recovery after this MM OTA (given that I suspect that this will be the last OTA HTC will release for M8) ?

Thanks a lot for your help in any case.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes .. you can install TWRP after the MM OTA done and yes, this will be the last major OTA but maybe there will be some patches OTA.

Only thing to remember, never accept to install root that being offered by TWRP. If you want to root it, do it manually.

You can always revert to stock to receive future OTA and you know where to get them ;)
[One (M8) Q&A, Help & Troubleshooting] JannerOyibo:
Can you point me to link to root manually please
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Download and install SuperSU 2.67 in TWRP recovery - http://xdaforums.com/showpost.php?p=64161125&postcount=3

Most important, never accept root offer by TWRP, select don't install and reboot
[One (M8) Q&A, Help & Troubleshooting] Naji.el.berjawi:
[MENTION=830797]ckpv5[/MENTION] HERE IS SOME SCREEN SHOTS , ANY SUGGESTIONS?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
They simply show what firmware VERSION the ROM is based on, NOT the actual firmware for your device. Fastboot getvar all will show your current firmware version, hopefully. If you post the results, remove first your serial and IMEI numbers from the output.
[One (M8) Q&A, Help & Troubleshooting] sadmam:
Ok I give up... this is just to weird... ckpv5 If you please manage to get the backup for 4.19.75.2 I would mostly appreciate it...

So every time I do an ota update Wireless stops working... tried the three backups available on this topic... and followed the tutorial the result is always the same... recover from the back everything is fine with wlan... do the ota update and wirless is gone... not even the possible to toggle it on...

Just to try it out I used Mike's rom with MM HD 51 and it worked ok...

So what I don't understand and is buging me is why the hell only the damn ota's bug wlan out... weird stuff!

Any help appreciated... the objective is to get the 6.xx.xx.x firmware when it comes out witch I think is today...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't use your stock backup but try mine ...

Download stock non-rooted backup 4.16.401.13 (post #2) and restore in TWRP 2.8.70

Install 4.16.401.13 stock recovery (post #4)

then you are good to do OTA.

Read post #1 to refresh about how to restore the backup.
[One (M8) Q&A, Help & Troubleshooting] Naji.el.berjawi:
STATUS 7

Eroro status 7
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Read what I said earlier .. your own backup is non-stock enough .. either it is rooted or some files are missing .. restore my 4.16.401.13 backup and 4.16.401.13 stock recovery
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Ok .. check back tomorrow, I may have 4.19.75.2 backup
[One (M8) Q&A, Help & Troubleshooting] Naji.el.berjawi:
Any one have the ota file from lolipop to mm ?