yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] Anakha56:
[MENTION=830797]ckpv5[/MENTION] I need to restore a friends M8 back to stock for the MM update, could you please tell me which image I need to use? The output from getvar all reads:

C:\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.25.214500021.06G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.16.401.10
(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: HTC__016
(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.047s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
After the first boot, boot to bootloader install TWRP then do backup.

That should be enough for personal backup.

Later when you want to restore for future OTA, restore the system part only.

For sharing, you can delete the data part before you zip them.

In my backup I leave only preload folder and no other data in data partition but not personal one.
[One (M8) Q&A, Help & Troubleshooting] gargoo6:
hi , i am new to the rooting thing i bought a rooted htc m8

i have a

CID HTC__622

MID 0P6B63000

4.18.708.12

i found the file in this thread but its no longer available

thanks in advance
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
New link updated, please retry.
[One (M8) Q&A, Help & Troubleshooting] w69:
plese help me find TWRP 3.28.401.6 backup
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Have you check post #4 .. I updated link for 3.28.401.6 about 50 mins ago :confused:
[One (M8) Q&A, Help & Troubleshooting] w69:
is the 8th step for wiping is mandatory? i do not want to wipe my data.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
If your data is build up from previous stock ROM, you can restore only system and skip wipe data

If your data is build up from custom ROM, you need to wipe data.

The best solution that I always do :

1. Make a nandroid backup of current ROM in TWRP

2. Wipe everything and restore the non-rooted backup - all boot, data & system

3. do all the OTA

4. Make a nandroid backup of everything for the new updated ROM

5. Restore only data partition that you have on step 1

6. Reboot and see everything work (most likely you need to clear data in settings - apps - all - Sense Home - you'll lose only the home screen layout but not data)

The older version use HTC Blinkfeed but the new one using Sense Home.

You also can save your data with titanium backup and restore the data only later.

I never use titanium backup but I use Helium
[One (M8) Q&A, Help & Troubleshooting] Muhammad Hesham:
[MENTION=830797]ckpv5[/MENTION]

Please..

i`m searching for a stock rom ( or ) stock back up for my HTC One M8 - Developer Edition 1540

CID: BS_US001

Mid: 0P6B12000
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
This is the second time you asked for the same question here. I don't usually put up backups when you can have a RUU for that or backups easily available in many threads.

May I know why ? Can't find it ? Which version that you need ?

4.16.1540.8 ? Added to post #3
[One (M8) Q&A, Help & Troubleshooting] Muhammad Hesham:
i couldn't use ruu because i`m s-on

i just found backup now

special thanks :)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
You don't need s-off to RUU. I wish folks would

stop

saying you need s-off to RUU, as its simply incorrect.

As long as you are running the RUU for your version (MID, CID) all you need to do is relock the bootloader (if its unlocked) in order to RUU.
[One (M8) Q&A, Help & Troubleshooting] Muhammad Hesham:
i wasn`t know that :)

can you tell me how to make that ?

and where can i download my RUU ?
[One (M8) Q&A, Help & Troubleshooting] Hazem99922:
htc one m8 eye

what about stock recovery for htc one m8 eye

i need it

any one can help me please?
[One (M8) Q&A, Help & Troubleshooting] Khaira:
Ive done the whole thing and my m8 seems still stuck in a bootloop ... im gettin rly mad to this!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What's your problem ?

Edit : Ahh .. I see your problem on other thread.

Restore 4.16.401.13 backup and you can re-root it later
[One (M8) Q&A, Help & Troubleshooting] kami2k:
I have hboot 3.19.0000 which one i have to flash, also it only do the boot and kernel, what about the rom?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Check the numbers on bootloader, the one beside OS -

That's the one for your device.

What are you asking ? Boot & kernel ? Kernel is inside boot. These backups are stock ROM which include boot & system
[One (M8) Q&A, Help & Troubleshooting] kami2k:
but the size is only 10 to 14mb stock rom must be about 1.4gb or more.

tell me when everything will be restored, does twrp remains or it also replaced by stock recovery
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Are you sure you're looking at the right file ?

10 to 14mb is stock recovery images.

TWRP remains unless you chose to install stock recovery which is needed for OTA
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You can skip 4.16.401.10 .... restore 4.16.401.13 backup and its stock recovery.img then OTA to MM. (no need to relock bootloader)

Or you relock bootloader with fastboot oem lock command then flash the RUU zip in RUU mode

http://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] Skyfall007:
my mid is MID 0P6B20000..can I use this?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
If as the MID suggests, you are on Verizon, the answer should be NO. Check the search pages for Verizon RUUs and downloads.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
One M8s Stock Recovery

What stock recovery data would i need with a M8s?

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.0.U20410.1@50408

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: xxxx

(bootloader) imei: xxxx

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

(bootloader) cidnum: HTC__102

(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: 1d456ef7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001

all: Done!

finished. total time: 0.060s
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
First - remove your serial & imei no. in your post.

Second - sorry, unable to help as you have different device.

Check and ask here : http://xdaforums.com/htc-one-m8/one-m8s-general

And you can repost your problem that you wrote on XDA assist in the above section, someone with your device version may be able to help you to fix it. What I can see you installed wrong TWRP version and that's why you failed to root it.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Thank you. I've failed with my first try to flash twrp. Now there's a bug.

When I've solved the problem I will write it in this thread :)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Failed meaning what? Any error messages? When you try to boot into TWRP, is there anything (like TWRP logo screen) or just reboots?

Try fastboot wipe cache, then flash TWRP again with fastboot.

Some TWRP versions don't play well with certain firmwares. But you should read up or ask other M8s owners. I'm not too familiar with the specifics of the M8s.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
The problem is: i've tried to flash twrp. First i took the wrong file. I've not flashed it permanently. I just can start twrp with the fastboot boot twrp.img command in the adb console. When i do the combination to get in the recovery mode, i come in the normal recovery mode. I wantet to factory reset but that just reboots my phone. In the twrp menu is the wipe data button. I also tried that. Just reboots.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I'm not sure what this means. Have you tried to flash fastboot (the right file) or not?
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Yes i've tried. But it didn't work.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Still not clear, what actually happens (in detail, any error messages?) when you try to flash TWRP?

Did you try to wipe cache, then flash TWRP as I previously advised?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
I'll bet any money he hasn't read the important posts for what he is attempting to do. Started at the last page and expects to be spoon-fed to get the desired result.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Here my problem: in the beginning i startet rooting my phone, i unlocked thr bootloader. Then i tried to flash twrp. A friend said who also often roots phones, that i can take any twrp version i want. That was pretty wrong i think. I flashed the wrong twrp. This one causes now "blocking" the factory reset. When i want to get into the recovery from twrp I only get in the normal recovery from my phone. Then i looked up in the internet and found the right twrp version. For a reason i can flash it but it doesn't appear when i start my phone into recovery mode. I found out that i only can start it through the fastboot boot twrp.img command in the adb console. Then twrp starts. I wantet to root my phone woth supersu then, but when i swipe to install and there stands "Running SuperSu-script" my phone reboots. Yeah. In another thread people said that i have to flash the original ruu again, to get all stock again. My thought is when i flash the stock ruu now, and do the root step by step with the right version again it will work.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I asked 2, now 3 times: Did you try doing fastboot erase cache and try install TWRP with fastboot again? Wiping the cache solves probably more than half of the cases of TWRP not flashing properly.

Its hard to help folks when they refuse to take the advice given; or answer simple questions properly.

You also need to be specific as to version numbers. What version TWRP are you trying to flash?

Again, need to know the version number. What version SuperSU did you try?

Do you even know if there is an RUU for your version (M8s) and have you found one? I'm skeptical there is one, which is what drives most folks to this thread (how to return to stock

without

the RUU).
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Use RUU - 0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1 0_Radio_1.0.U20410.1@50408_15.00_016_F_release_450 409_combined_signed.zip

to return to stock.

I already asked you to check M8s thread but it seems no one responded to you there.

You can get the RUU from this thread : http://xdaforums.com/htc-one-m8/one-m8s-general/make-custom-recovery-htc-one-m8s-t3114245

What you need :

1. relock bootloader. If it is unlock now, relock it with command fastboot oem lock

2. microSD card

What to do :

1. Rename the downloaded RUU zip to 0PKVIMG.zip

2. put it on root of the microsd, not in any folder

3. on bootloader, select hboot then it will scan the 0PKVIMG.zip and ask you to update

4. volume up to update

5. once completed, remove the sdcard and delete the 0PKVIMG.zip

To root .. you need to unlock bootloader

then fastboot flash recovery nameofrecovery.img

the workable TWRP version for your M8s : http://xdaforums.com/showpost.php?p=66258267&postcount=958
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
So.. hello again. :D I tried now to fastboot erase cache. The wipe command doesn't work: I've downloaded and flashed the TWRP file from this page: http://xdaforums.com/showpost.php?p=66258267&postcount=958

Now when i go to recovery, press the power button there's the red sign "Entering Recovery..." It needs some time then it just reboots my phone again into stock OS D:

I didn't download the RUU because the download is not working for me. I also can't start twrp through the adb console for some reason. it just reboots into stock OS.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What do you mean the download is not working for you ?

Can't find link ?

https://www.androidfilehost.com/?fid=24385658843824569
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
After some minutes the download is cancelling. Not because of my connection. I try this link later thank you :)
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
I've downloaded it now and did exactly like u wrote. Now i have Image Update Fail.

Sry for the bad quality. took it with my laptop.

http://prntscr.com/az165x

At first, there was no red sign with ! Image Update FAIL !!

I've started update and at the end of installing there was the Image Update FAIL !! sign. Now at the photo i've rebooted it.

So why?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
It's not easy for us here users of M8 to help M8s user like you because of different device type.

I downloaded the file and it seems it's not a signed RUU zip and that's why I believe it failed to install.

I'm downloading another one from that thread 1st post and we'll see whether it is a signed one or not. (the one that you said you failed to download)
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
That would help me much! My internet is kinda slow :D

Thought u also have a m8s, take ur time, my phone is still working so don't stress urself :)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No worry ... when I'm doing this I'm also learning something even though I don't have this device type.

I downloaded the RUU from that thread .. when I checked the rom.zip in the extracted RUU zip, it is the same as the earlier one that I downloaded and still unsigned, so I guess it won't work too.

When I studied the site layout, I notice the signed one is at different location. Downloading now to confirm.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
What now?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I'm afraid that unable to help you. The one that I downloaded for the third time from the site crypted RUU is the same one as previous downloaded. Still unsigned (as what I can understand).

To see whether it can work for you in a different method .. you can try what is said in that thread to run the ARUWizard.

Hopefully you still keep the one that you downloaded earlier so you don't need to download again a big file.

You need to rename that long filename.zip to rom.zip (case sensitive)

Download the attached file and extract it on your PC. Put the rename rom.zip in this extracted folder. Then run ARUWizard in administrator mode and follow all the instructions.

You need to use a Windows PC with USB2.0 also all HTC USB drivers are the latest.

Drivers - http://xdaforums.com/showpost.php?p=64926362&postcount=4

If the above fails (I expect it to fail but I maybe wrong), you also should try the 1.16.401.1 RUU .. who knows this one may work for you

(0PKVIMG_M8_QL_UL_L50_SENSE60_HTC_Europe_1.16.401.1_Radio_1.0.U20410.1%4050408_15.00_016_F_release_436156_signed.zip)

you see the filename is signed instead of combined signed as seen on the previous RUU ... I can't check the status of this file yet ... when I have time in next few days I will download and check. meantime you can try to download it and try to install it.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Do you know where to download ARUWizard? :D I am too incompetent and i don't find this one on google :c
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
This show that you don't really read what I wrote. The ARUWizard is inside the zip that I attached to my post.

Read again all and give them a try ... I gotta go now ... 1.20 am here.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Thanks man <3
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
http://prntscr.com/az4oq2 :(
[One (M8) Q&A, Help & Troubleshooting] komitori:
Hi. i have a problem. I have done the instructions in the first post but my software status says modified. How can i remove it?

here is my info:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.25.214500021.06G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.16.401.13

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

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__J15

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M8) Q&A, Help & Troubleshooting] Einwod:
You cannot change that unless you are s-off.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Expected ... as I believe the rom.zip is unsigned.

Here is the last thing that I can help ... download 0PKVIMG.zip from my GDrive link and do the microSD method that I explained before. If this still fails, I'm afraid I can't offer any more help as I don't have this device version to test.

https://drive.google.com/file/d/0B4jGj3SfskzMLVJFSm1KMWFyem8/view?usp=sharing

Almost forgot this - you said your device is working fine except unable to install TWRP and to root it .. what's the build no. shown in settings - about - software information ?

Note : I'll leave this file on my GDrive for 3 days only
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
"Doesn't work" meaning what? Does it fail, and give you an error message? Or no response from the device?

If no response from the device, you have a USB connectivity issue, not an issue with the phone. And you need to solve this, as fastboot is a very valuable tool to be able to use. The phone is in bootloader-fastboot mode?
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
I meant it so: i did the command fastboot erase cache, the fastboot wipe cache command doesn't work.

I didn't give me any errors, the phone rebooted, the apps were refreshing and the phone worked. But no other changes.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
It doesn't work for you because something is wrong with YOUR setup. Have you got the latest HTC-fastboot.exe on your system? As asked in the previous reply, were you actually in the bootloader when you issued the command? What was the output in the command window when you issued the command?
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
I did it all again.. I've resetted the phone and unlocked the bootloader again. Now i've flashed the latest twrp version. Now when i go into the recovery mode, and go to RECOVERY, i come into a screen. On top a purple font with "Entering Recovery...". Then with some red font with legal issues or something. Then it just reboots. Can you help me with that?

I've erased the cache now twice, and installed twrp twice.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Are you flashing the latest TWRP version 3.0.2-0? Are you using the correct commands? If fastboot is not working to erase cache, how is it working to flash TWRP?
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
C:\Users\Daniel\AppData\Local\Android\android-sdk\platform-tools>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.141s]

finished. total time: 0.142s

C:\Users\Daniel\AppData\Local\Android\android-sdk\platform-tools>fastboot flash recovery C:\Users\Daniel\AppData\Local\Android\android-sdk\platform-tools\twrp-3.0.2-1-m8ql.img

target reported max download size of 16777216 bytes

sending 'recovery' (15242 KB)...

OKAY [ 1.491s]

writing 'recovery'...

OKAY [ 0.522s]

finished. total time: 2.015s

C:\Users\Daniel\AppData\Local\Android\android-sdk\platform-tools>fastboot flash recovery C:\Users\Daniel\AppData\Local\Android\android-sdk\platform-tools\twrp-3.0.2-1-m8ql.img

target reported max download size of 16777216 bytes

sending 'recovery' (15242 KB)...

OKAY [ 1.488s]

writing 'recovery'...

OKAY [ 0.524s]

finished. total time: 2.016s

This is what i did now: and no error messages..
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Do you have an M8S device? That is the M8S recovery image.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Yes i have a M8s.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Sorry, but I have no idea about M8S.
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Hello again! I've downloaded the Google Drive file, and put it now on my SD card. Now theres no error with signatures. It installed succesfully :) But now, still the same issue.. When i want to flash TWRP. Should i try another version?
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
Yeah.. now i put all back to stock with the right RUU, now it's again.. cannot get into TWRP. "Entering Recovery..." in pink on top.

No errors, nothing. I don't know
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
If you were successful with an RUU, you won't have TWRP anymore, the RUU would have installed stock recovery (which is typically black screen with a red triangle and exclamation point).

You would have to unlock the bootloader again, and flash TWRP again (to have TWRP).

Or did you already do that, and not telling us properly? You really need to be specific to the exact steps (and TWRP version) otherwise its really confusing to figure out what you did. Updated getvar data would also be useful (delete IMEI and serial number before posting).
[One (M8) Q&A, Help & Troubleshooting] Grinninga:
I've installed the right RUU. TWRP was gone. I unlocked the bootloader then and flashed the TWRP file twrp-3.0.2-1-m8ql.

Now as i explained: i don't get into the twrp recovery.

here the getvar all command:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.0.U20410.1@50408

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.16.401.1

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8ql_ul

(bootloader) platform: hTCBmsm8939

(bootloader) modelid: 0PKV10000

(bootloader) cidnum: HTC__102

(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: 535193c8

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

(bootloader) mfg-name: 0001
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Hello,

Can anyone please provide me the link to HTC One M8 Marshmallow RUU?

My phone's CID is HTC__016

I think some European RUU will work on my phone

Thanks in Advance
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
http://xdaforums.com/showpost.php?p=64926626&postcount=6
[One (M8) Q&A, Help & Troubleshooting] TheRebel:
Thank you very much for the link bro, I've downloaded both files and read the instructions also. But last time when I downloaded Lollipop RUU, it didn't require any fastboot file, instead I simply ran the RUU file and it flashed the ROM itself.

But the link you gave, contains a zip file. Is it different than RUU?

Thanks.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That lollipop RUU that you have is RUU.exe (just run the exe and follow the pop-up instructions), and there's also lollipop RUU.zip

This Marshmallow RUU is a RUU.zip so you need htc_fastboot. No RUU.exe available for Marshmallow (yet).