yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No need to relock bootloader for OTA.

That's the beauty of nandroid, you don't need to go thru the hassle to unlock and losing all data after OTA.

After OTA, reinstall TWRP 2.8.7.0 and make a backup for your future use. Then you can root it or install any custom ROM that you like.

Again, no need to relock bootloader ( If relock is needed I would have mentioned this in post #1)
[One (M8) Q&A, Help & Troubleshooting] Thepho3nix:
i figured out how to restore, thanks for your time and dedication.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Is the phone booted into bootloader-fastboot mode? It must be for fastboot commands.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's a cross post from other thread in Q&A - he solved his problem. And that was the reason why it was not answered.
[One (M8) Q&A, Help & Troubleshooting] DepthOfAgony:
Is it rooted ?

Is this a pure stock ROM ? i used but i see a Superuser notification which says to fully root the device you need to install superuser app ( It has two options 1 - install in the market 2- install in the TWRP recovery )

i mean what is this if this backup is a stock ?!
[One (M8) Q&A, Help & Troubleshooting] Hazem99922:
yes this is the stock backup but because of the twrp recovery

the root notification is still

so u can install it via twrp or u can flash the stock recovery and relock the bootloader for OTA update

thx
[One (M8) Q&A, Help & Troubleshooting] DepthOfAgony:
Thanks dude .i relocked the bootloader and installed stock recovery that you've provided .

but to increase of assurance for Android M for this device (M8 eye J__15) i may be in need of TWRP Backup of Marshmallow in near future .

i hope this TWRP Recovery has no issues with updating to Android M

best Regards dude .
[One (M8) Q&A, Help & Troubleshooting] kilgorcalrizian:
Hi, I've followed your instructions but I can't find the TWRP backups folder when my phone is connected to my PC. It should be in my internal storage under data/media/0/twrp/backups but the data folder is empty. I tried enabling hidden files but that didn't work. I can't even see the bakcup folder directly on my phone with ES downloader. The only place I can find it is in the TWRP file manager. I tried copying the x.xx.xxx.x folder to the root of my SD card then manually moving it to the backup folder in the TWRP file manager but it failed. Please help, I'm desperate to get this working so I can restore to stock for a warranty claim.

Edit: Did some research and people having similar problems suggested connecting the phone to the PC whilst it's still in recovery mode. Tried that and Windows won't recognize it. I have all the drivers installed so not sure what the issue is. I seem to be running into every possible problem here :(
[One (M8) Q&A, Help & Troubleshooting] kilgorcalrizian:
Sorry to bump, but I'm absolutely desperate. Can someone please help?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Only a suggestion: Here and here.
[One (M8) Q&A, Help & Troubleshooting] kilgorcalrizian:
Thanks that worked. I was able to restore the backup. However, now I am unable to flash stock recovery. TWRP is gone, but the stock recovery hasn't replaced it. When I enter recovery mode I see a picture of the HTC one M8 with a red triangle and an exclamation mark over it, theres no recovery menu. I'm using 2.23.710.1

Please advise!
[One (M8) Q&A, Help & Troubleshooting] kilgorcalrizian:
Anyone?

Edit: Nevermind, just had to hold volume up and tap the power button. It's been so long since I've used a stock recovery that I'd forgotten how they worked.
[One (M8) Q&A, Help & Troubleshooting] Hazem99922:
no man

just u have to know this:

after u restore this backup

you have to install the stock recovery for install the OTA update

i share the stock recovery

unlock the bootloader

install stock recovery via cmd

relock bootloader

now it must install the OTA update

thx

this link check it for stock recovery

http://xdaforums.com/showpost.php?p=62926842&postcount=195
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Thanks for this thread.

I've read your OP and other posts. While restoring backup, we need to check boot, data & system. But will this also contain Radio and bootloader?

Thanks
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
No, you can't backup or restore radio or bootloader with TWRP.

The intent of this thread is to return you to stock ROM (using nandroid) and stock recovery that

correspond to the radio and bootloader that are presently on the phone

.
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Thank you for your response.

So, does it mean, that radio and bootloader will never be updated to the latest?

I was looking for RUU for my phone, found one on http://www.htc.com/us/support/rom-downloads.html here. But when I Downloaded it, in the name of this file, I found the firmware version is newer to the one already present on my device.

firmware already on my device: 4.16

firmware mentioned on this RUU: 4.17

but radio is older than the one already flashed on my device. Any info about this?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
No, that is not what it means.

The point of returning to stock ROM and stock recovery, is that when you OTA update (steps 12 and 13 in the top post) the OTA will update the firmware.

What if your CID and the the

full

file name of the RUU you are looking at?

As long as the RUU is intended for your CID, you can run a "newer" version RUU. You just can't run an "older" RUU than what is on the phone (downgrade) unless you have s-off.

If there is in fact an RUU for your CID version, it may be an easier way to update the firmware, as long as you don't mind that the RUU will fully wipe all data on the phone.
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
So, does it mean when the firmware is updated through OTA, if a newer version of radio and bootloader is available, that would be updated also (through OTA)?

My CID is 016, and the link I gave u above, contains RUUs for various US carriers and Unlocked/developed RUUs too. I downloaded the unlocked one, have no idea, if it matches with my CID. Can you please in this regard, by opening a link above?

thanks.

Edit: CID= HTC__016
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I specifically asked for the file name of the RUU you downloaded, but for some reason you ignored that request; and instead sent me looking for a link in your previous post, and scrolling through that webpage to try to find out what you tried.

Are you trying to make it harder or easier for me to help you?

Plus, how do I know precisely which one? I think I do, but it would have been much better for you to simply

post the specific file name as I asked

.

If you are trying the RUU that says "brightstar" it will not work on your CID. The number in the place of "1540" in the version number (4.17.1540.9) indicates the carrier. The one you want will have "401" in that position.

You most likely won't find the right RUU on HTC's website. What you want is here: http://xdaforums.com/htc-one-m8/general/htc-one-m8-european-signed-ruu-0p6bimg-t2911563/post56140330#post56140330
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Thanks and sorry for not reading that correctly.

Here's the filename I downloaded:

RUU_M8_UL_L50_SENSE60_MR_BrightstarUS_WWE_4.17.1540.9_Radio_1.24.21331147A1.09G_20.68.4196.01_F_release_446501_signed_2

and Yeah its Brighstar, and it won't work.

Let me check the link you gave in your post :)

---------- Post added at 04:44 PM ---------- Previous post was at 04:28 PM ----------

I've checked the link, Thank you for that, but unfortunately, the links given in that above link are not working. But I've searched on google, and found this one, http://www.androidayos.com/2015/01/...-android-5-0-1-ruu-4-16-401-10-now-available/

The link of RUU given in it is working, and I'm downloading.

And also I've flashed your nandroid back, and now it is updating to the latest version. Wow! Thanks a lot for this wonderful thread man, it really saved me. Otherwise I thought I might never be able to restore my phone to stock :P

I followed your instructions (for restoring the nandroid), then flashed stock recovery, (bootloader is still unlocked), and now it is installing the OTA while I'm typing this message.

Hope everything goes well.
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
I've successfully restored nandroid backup and now my phone is again stock. But can anyone please confirm me (may be its kinda placebo), but is restoring nandroid (and then factory resetting it) works slower (in performance) than flashing RUU (if its available for one's phone)? or both works same in performance?

Thanks
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Can't speak to a difference in performance, per se. But a RUU is a complete stock image (re-writes every partition to stock), and makes for a cleaner install. OTA update is just a patch, and keeps some old bits from the previous version. I've seen folks have some minor issues with an OTA, that don't exist on the RUU.

That said, if you did OTA and its running fine, it might be best not to mess with it. You know what they say: if its not broke, don't fix it!
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
I'm sorry, if I missed any point. I'm a noob. :D

U said, OTA update, but I restored nandroid backup given in this thread. Does nandroid, which contains, boot, data and system also not re write partition to stock?

And after restoring nandroid, I got OTA which I successfully installed :D
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Are you asking if a nandroid is the same as an RUU (in how they re-write the partitions)? Not even close. A nandroid is just the ROM (system + boot.img). That's 2 partitions. The data partition is just user data (probably mostly empty, and you said you wiped it anyway after restoring the nandroid).

RUU includes hboot, radio, and a lot of other partitions; I believe 41 partitions in total that get rewritten.

And none of that changes the statement in my previous post (OTA vs. RUU). You have a stock ROM (

required

to OTA, how you got there is irrelevant) and you did OTA update. The OTA update is just a patch, not a complete image. Plus, some (many) folks like to keep their user data during OTA (not the case in your instance, since you said you did factory reset after nandroid restore) which leads to even more potential for issues.

RUU is a complete image, all 41 partitions get written fresh, including a full data wipe. Its a much cleaner install.
[One (M8) Q&A, Help & Troubleshooting] xonelith:
I've posted in this thread, but figured I'd ask here as well.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
CID ROGER001

MID 0P6B16000

2.23.631.2

added to post #2

Note : I'll be away until Monday 7 Dec. Any request for backups, will respond when I'm back
[One (M8) Q&A, Help & Troubleshooting] xonelith:
Thanks very much! :good:
[One (M8) Q&A, Help & Troubleshooting] xonelith:
Probably a dumb question, but is there some way to flash this recovery using fastboot? I'm used to my nexus 6 so i'm a bit confused by what I've been reading. Reason I'm asking is for whatever reason i can't finish this install via twrp. It shuts down at about 20% in. Almost like the battery is dead but it starts at 100% battery (It's at 94% right now).

Maybe I should be posting this question in Q&A.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
First, go to settings in TWRP and turn off the screen timeout. The Nandroid you have to extract from the zip file. The extracted zip folder then goes into the place on your device where TWRP Nandroids are stored. You can find out by making a Nandroid backup of only your boot partition. Place the extracted folder beside that backup. Then flash the backup through TWRP as if you were restoring your own backup. After it has flashed, then you use fastboot to restore the recovery image to stock. Then you can get OTA updates from your carrier.
[One (M8) Q&A, Help & Troubleshooting] xonelith:
Thanks! Problem is the phone powers down (not a screen timeout) after at most 30 seconds during the restore. Feeling that this is hardware related. Sent it back to HTC in hopes they will either repair or replace.

Appreciate the help!
[One (M8) Q&A, Help & Troubleshooting] BlockABoots:
Have got back to stock, and my my HTC ONE M8 is stating theres a system update (4.20.206.2), but when i got to install this update when the system restarts to goes straight into TWRP and the updates doesnt complete. How do i install this update please?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You cannot use TWRP for OTA. You must use the stock recovery that matches your firmware. So you need recovery 4.20.206.2 and run the OTA again. You must be completely stock and not rooted otherwise it will fail.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Read post #1 step 11.

Install stock recovery 4.20.206.1 prior to OTA to 4.20.206.2

4.20.206.1 or 4.20.206.2 stock recovery to OTA to 4.20.206.2
[One (M8) Q&A, Help & Troubleshooting] CyanideIII:
[MENTION=830797]ckpv5[/MENTION]

First of all thanks for the thread. I used it for myself

You saved my M8 :)

Now my friend has 4.20.710.7 firmware (no backup for this), how does he return to stock?

What about using 4.20.710.5 and recieve OTAs?

Any problems about lower version?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I think I still have the 4.20.710.7 backup in my hardisk but I'll be home only on Monday.

He can try 4.20.710.5 then do OTA and see how it goes. Make a backup of his current ROM first. I believe it will success. If not then let me know and I'll upload the 4.20.710.7 backup on Monday.
[One (M8) Q&A, Help & Troubleshooting] BlockABoots:
Ok i have followed the guide from step 11, when i started the phone i search for the OTA and it was asking to install 4.20.206.2 so i downloaded and installed that but now after install the 4.20.206.2 update the phone appears to be stuck on the White HTC One screen on boot up. Any ideas?
[One (M8) Q&A, Help & Troubleshooting] Gandalforce:
Kind of the same issue...

My M8 "Developer" edition somehow bricked itself after attempting to update to Marshmallow...

unlocked, S-off, Rooted, and was running TWRP 2.8.7.0... flashed back to stock to take the OTA...

M8 boots up, and after the white HTC boot screen, just goes to black.. *backlit* the device is still on, just can't / doesn't know what OS to boot into..

I have literally tried everything.. wiped dalvik and factory reset. downgrade with RUU (which seems futile.. after reading...)

My software version WAS 4.17.1540.9, and NOW it thinks its at 6.12.1540.9

CID is "11111111", I changed it to troubleshoot

HBOOT is 3.19.0.0000

any help, should i make a new post?

its funny because the same day, I had a "Unlocked" M9 delivered.. (what can i do to get Android M when rooted... when it is released of course)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Was your stock 4.20.206.1 rooted ? OTA won't work on rooted stock ROM.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
OTA won't work on a rooted stock ROM
[One (M8) Q&A, Help & Troubleshooting] BlockABoots:
Thanks, all sorted now
[One (M8) Q&A, Help & Troubleshooting] vathnaraty:
I would like to request you the back up of 2.26.61.1. Thank you!

I would like to request you the back up of 2.26.61.1. Thank you!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
CID ORANG001

MID 0P6B10000

2.26.61.1

added to post #2
[One (M8) Q&A, Help & Troubleshooting] dave_lp:
I will follow all the steps.

Thank you very much for your help :)
[One (M8) Q&A, Help & Troubleshooting] Gandalforce:
yeah.. I realize that... but why would it soft brick the device? Why cannot I flash stock ROM?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Soft brick because it is unable to boot due to missing/modified system file or binary.

You should be able to flash stock ROM just make sure it is non-rooted stock ROM.

Here in this thread, there is no flashable stock ROMs, only nandroid backups.
[One (M8) Q&A, Help & Troubleshooting] Gandalforce:
I have tried that, The RUU gives my a 155 error.
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
There are no RUU files in this thread. Only nandroid backups.
[One (M8) Q&A, Help & Troubleshooting] bebelro:
Thanks a lot [MENTION=830797]ckpv5[/MENTION], your instructions really helped me to go through a boot-loop when OTA to 4.16.401.13
[One (M8) Q&A, Help & Troubleshooting] rscole:
Hi There,

Do you have a stock recovery for;

4.20.710.9

cid VODAP021

mid 0P6B11000

As I cannot figure out how to create it myself.

Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Not yet, maybe after 19 Dec when I come back from my year end holiday.

Too busy with MM for now.

If you still have the OTA.zip, you can extract out the firmware.zip and the stock recovery is inside firmware.zip
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Why don't you open a new thread then someone will help you regarding RUU matter.

See whether your problem is more or less the same as this one - http://xdaforums.com/htc-one-m8/help/ota-problem-t3266985

If you want to continue here - then try the 4.17.1540.9 TWRP backup that I posted on post #3 and install 4.17.1540.9 that I posted on post #4 then redo the OTA.

Read post #1 on How-To
[One (M8) Q&A, Help & Troubleshooting] Gandalforce:
Thanks for the help... lol
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Here is your RUU

http://www.htc.com/us/support/htc-one-m8/news/
[One (M8) Q&A, Help & Troubleshooting] Gandalforce:
Thanks, ck. I did grab one beforehand and successfully flashed. all better now...
[One (M8) Q&A, Help & Troubleshooting] tempurastyle:
Does anybody have the non-GPE Marshmallow stock recovery for HTC_621 (Taiwan)?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
6.12.709.4 stock recovery image ? Check post #4
[One (M8) Q&A, Help & Troubleshooting] tempurastyle:
Wow, thanks, I seriously have no idea why I missed that, I went through that list 30 min ago!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You have a T-MOB US device, you should be able to find a backup in T-MOB US section : http://xdaforums.com/showthread.php?t=2714456

Or you can RUU - http://www.htc.com/us/support/rom-downloads.html

Download the latest RUU 4.20.531.5

That's all I can help - I don't keep any backup for AT&T, Verizon, Sprint & T-MOB US because they have their own sub-section threads and RUU easily can be found on HTC US website.
[One (M8) Q&A, Help & Troubleshooting] dadrocker:
Hi;

I'm trying to get OTA as you described above. But i can't solve the problem.

My phone is S-OFF and rooted. I had changed the mid and cid from HTC__M27 to BS_US001 and MID from 0P6B10000 to 0P6B120000 . But i can't get success. I downloaded and installed TWRP, Rom Backup for BS_US001 4.17.1540.9. After restoring the backup, i return to the stock recovery for 4.17.1540.9. Lock the phone and getting message that there is an update. But after downloading the update, while verifying it gaves the "update file is corrupted". Here is the details of fastboot getvar all. Thanks for help ;)

D:\Phone\m8\adb>fb getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.24_2G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.1540.4

(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: 0P6B1200000

(bootloader) cidnum: BS_US002

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.018s

htc_fastboot finished. total time: 0.175s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Your firmware already on latest MM 6.12.1540.4 and you relocked bootloader (which you shouldn't in the first place)

I have no idea why it failed for you unless your firmware was lower than the restored 4.17.1540.9 backup. (that's why don't skip incremental updates)

The best you can do now .. run the 6.12.1540.4 RUU

Backup whatever file that you have on internal storage first. Same thing like when you unlock bootloader later, it wipes everything too .. that's why never relock bootloader.

Get your RUU here : http://www.htc.com/us/support/htc-one-m8/news/
[One (M8) Q&A, Help & Troubleshooting] dadrocker:
Thank you for quick response and help. I'm downloading the ruu now. Last question, do i need to lock bootloader before running the RUU?
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
No not needed for s-off devices !
[One (M8) Q&A, Help & Troubleshooting] ShinAkira00:
can i request the nandroid backup for 1.12.1540.17 - TWRP. Thanks
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No, I don't have it .. only those listed on the list on post #2 and post #3

Why do you need such old version ? You can easily run the latest RUU 6.12.1540.4 RUU instead of restoring such old version and do multiple OTAs

Note : I'll be away later today 12/12 - 19/12. Any request, I will check when I'm home 20/12
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Are you S-On? If so, you need to relock your bootloader first before running the RUU.

EDIT: After being away from XDA for almost two weeks, I suppose I should scroll forward before replying.

That being said, Error 155 is often from a locked bootloader with S-On.

Carry on. Nothing to see here. :)
[One (M8) Q&A, Help & Troubleshooting] jefri65:
Plz put down link of android 6 nandroid backup for build 709...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Have to wait after I come back from holiday ..
[One (M8) Q&A, Help & Troubleshooting] jefri65:
Thank u. .but so late...[emoji3] [emoji3] [emoji3]
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Read your PM.

You can't use a "unrooted" previously rooted ROM to do OTA, it will fail.

Try again with non-rooted (never rooted) backup that I posted on post #3 then try again to OTA.
[One (M8) Q&A, Help & Troubleshooting] jefri65:
Yeah ...i do it....but no update be for me...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Hopefully they not put the update on hold like previous update.

I'm already away from home, will check after I'm home in a week time.

Just try again checking for update, maybe server is offline or busy.
[One (M8) Q&A, Help & Troubleshooting] ShinAkira00:
I'm attempting to convert to the developers edition and most recommend using the oldest version to avoid any conflict that could mess up the device.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's not true when it involves conversion with a RUU.

What you need :

S-off

Change CID - BS_US001 or SuperCID

Change MID - 0P6B12000

Run 6.12.1540.4 RUU

done
[One (M8) Q&A, Help & Troubleshooting] ShinAkira00:
Thanks. Already S-off, that said i had previously changed the cid to BS_US001 in the process a while back. I'll have to check the mid when i get home. Is it necessary to change to BS_US002? i'm running stock rooted 5.0.1 (4.16.1540.8)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If your firmware written on bootloader already 4.16.1540.8, just restore my 4.16.1540.8 backup and its stock recovery then do OTA (there'll be 2 OTAs)

No need to change CID again, if you do you need to change MID to 130000

001 - 12000

002 - 13000
[One (M8) Q&A, Help & Troubleshooting] ShinAkira00:
Ok i will try that when i get back. Thanks alot
[One (M8) Q&A, Help & Troubleshooting] jefri65:
My os written in booloader been :6.12.709.4

And my stock be 4.24.709.3...

So...for this i cant update?not uodate avialible........its true?
[One (M8) Q&A, Help & Troubleshooting] sunand777:
i got all ota updates from 1.54.709.4 to 4.24.709.3, but didnt get 6.12.709.4 .ota update...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I suspect the OTA now is put on hold. It will be released again by the 4th week of Dec together with other regions.
[One (M8) Q&A, Help & Troubleshooting] sunand777:
Yes, i think too...

Taiwan region m8 (CID HTC__621) have more ota updates than other regions ?

4.24.709.3 is 5.0.2 version