yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
can i use fastboot or SDCARD ruu 6.12.401.4.zip on seam software number S-ON M8

OR i have to be S-OFF to flash ruu that not exe file
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
If it's a signed zip, you don't need to be S-Off.

But this is off topic for this thread.
[One (M8) Q&A, Help & Troubleshooting] KARIM9377:
Thank you

:good::good:

its just to be sure thanks for your help if you lost htc device before you will not do any think before ask :laugh:

thanks :good:
[One (M8) Q&A, Help & Troubleshooting] mfalkiew:
OTA install - recovery error

I did everything according to your instruction: advanced wipe and restore the 4.16.401.13 backup in newest TWRP, flash 4.16.401.13 recovery.

After the boot I did the first update (3 little things) and after rebooting I downloaded the 6.12.401.4 update. After rebooting to recovery I saw "Status 7" error :(

E:missing bitmap oem_unlock_bg

(Code -1)

E:missing bitmap oem_unlock_bg_yes

(Code -1)

E:missing bitmap oem_unlock_bg_no

(Code -1)

Finding update package...

Opening update package...

Verifying update package...

Installing update...

M60QCT.01.002.018

mount: failed to mount /dev/block/platform/msm_sdcc. 1/by-na

e/userdata at /data: Device or resource busy

Verifying current system...

E:unknown command [set_err_msg]

"/system/bin/app_process32" has unexpected contents.

E:error in /data/data/com.android.providers.downloads/app_f

ta/OTA_M8_UL_M60_SENSE70_MR_HTC_Europe_6.12.401.4_R-4.16.40

.13_release_464427.zip

(Status 7)

Installation aborted

Please check my getvar all attached.

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

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

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.081s

Please help me, I'm waisting my second day to do this :crying:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Recheck which backup that you use ... remove all backup that you have on your device and leave only one backup that you downloaded from my thread (so you won't get confused which is which)

Your error highlighted in red is showing you have a rooted ROM when doing the update .. OTA won't work on a rooted ROM.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Whether it is a RUU exe or a RUU zip .. you need to relock bootloader to install RUU on S-On device
[One (M8) Q&A, Help & Troubleshooting] arif03:
Hello:

In need of assistance here, Flashed Telus backup and recovery and now stuck on the HTC screen. It just freezes there with the green htc logo. (previously there was the red warning label at the bottom, that is gone now, but how do I get my phone to turn on :s) Thank you.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
There is no backup that you can flashed here ... the backup zip is not flashable.

read post #1 all the 14 steps on how to restore a backup.

make sure you restore a correct backup meant for your firmware version
[One (M8) Q&A, Help & Troubleshooting] arif03:
I had xunholyx send me the backup and recovery files but regardless, I just want to make sure I have the correct backup based on what you are saying. I bought my htc m8 from Wind (this is in Canada):

The OS is: OS - 4.20.1500.2

And I was using viper rom: ViperOneM8 4.6.1

Thank you!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Then you cannot use Telus backup, must use Wind backup.

To make sure everything is correct, post your fastboot getvar all result without serial & imei no.
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Hi, could anyone tell me what stock recovery I need.

With getvar I get this:

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

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

(bootloader) cidnum: O2___001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dcdaa6e0

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
4.20.206.1
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Thank you. How did you know which one?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
(bootloader) version-bootloader: 3.19.0.0000

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

(bootloader) cidnum: O2___001
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Well I installed it and checked that it was back to stock which it is but it's not letting me update saying we have detected your phone maybe running a modified version. Any ideas.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Modelid is missing from your getvar.. what it is ?
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
It is modelid: 0P6B10000

Thanks for trying to help me.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
When your CID O2___001 and MID 0P6B10000, should not have that variant problem unless the stock ROM that you're running is not 4.20.206.1 (you can check this in settings - about - software information)

Maybe try to restore my 4.20.206.1 backup and see how it goes.

BTW .. what's OTA version no. that you downloaded ? You should get 6.13.206.5
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Right software number is 4.16.401.10 and not sure how to check what OTA version was downloaded. Will have a look at your backup.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yep ... that's the reason .. wrong stock ROM

Never mind about the OTA you downloaded, it was 6.12.401.4 and that is not for your device variant.

Use my 4.20.206.1 backup and 4.20.206.1 stock recovery .. you should be able to OTA to Marshmallow.

Good luck & good night (not feeling well, rest early tonight)
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Very quick before you head off, will this reset my phone with no apps ect installed. And goodnight:)
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I linked him to your 4.20.1500.2 backups from a support ticket on Team Venom's website. The ticket auto closed and I've been trying to help via PM. I think I mistakenly called it a Telus backup in the PMs. Maybe you've re-downloaded the wrong versions because of that?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yes

Use HTC Backup to backup and later you can restore after updated to Marshmallow.

Or you can use apps like Titanium backup or Helium to backup your data, but restoring system data is not a wise move .. you may have unstable system.

To do OTA, you cannot use a rooted ROM, must be a non-rooted.

You also can try to restore system partition only but keep your data and see how it goes. This will keep your data & settings.

If it fails, then you need to wipe all and restore all.
[One (M8) Q&A, Help & Troubleshooting] arif03:
No I have not re-downloaded it so I guess it's still Wind ROM, it's just a typo. anyway I did the "fastboot getvar all" and I got the following:

(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.1500.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: 0P6B13000

(bootloader) cidnum: GLOBA001

(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: 8ad48371

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

---------- Post added at 05:33 PM ---------- Previous post was at 04:38 PM ----------

So I followed all of the advice and am still frozen on the white screen with htc logo. When I power + volume up, then power + volume down right away to enter bootloader, hit recovery, I see the following in yellow at the bottom:

E:missing bitmap oem_unlock_bg

(code -1)

E:missing bitmap oem_unlock_bg_yes

(code -1)

E:missing bitmap oem_unlock_bg_no

(code -1)

write host_mode success

handle_cota_install: No CW files. skip cw installation

....

Needless to say I am completely lost, thank you :(
[One (M8) Q&A, Help & Troubleshooting] seblebos:
Hi guys ! First of all thank you for this tutorial! I followed but unfortunately I still can not install Android 6.0 ota, the recovery and backup are 4.18.708.12 release! Does anyone could help me? :)

Thank you very much

Sébastien
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's normal on stock recovery.

I assume you did read and follow the all 14 steps posted on post #1 ?

Just to be sure .. you need :

Install TWRP 2.8.7.0 (you'll get stuck like this if you use TWRP lower than 2.8.4.0)

The backup is properly extracted and you copied the last folder to your TWRP backup folder on your device so it won't be folder in a folder but contents in a folder

You remove all other backups that you may have to make sure you restore the correct backup

Install stock recovery

Reboot
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
What do you mean by cannot install 6.0 OTA ? The OTA is not available or it failed when the system tried to install it ? You should see the error log in recovery.

To ensure a successful OTA, same as I wrote above :

Install TWRP 2.8.7.0 (you'll get stuck like this if you use TWRP lower than 2.8.4.0)

The backup is properly extracted and you copied the last folder to your TWRP backup folder on your device so it won't be folder in a folder but contents in a folder

You remove all other backups that you may have to make sure you restore the correct backup

Install stock recovery

Reboot

So what's current firmware written on bootloader now ?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I've thought about this on my way home from work, and I'm wondering if this would happen (stuck on white screen, sorry didn't multi-quote) if you mistakenly are restoring the boot backup you suggest to do to find backup location, instead of restoring the stock nandroid backup that should be in the folder as well.

I'm pretty sure that [MENTION=4983481]arif03[/MENTION] is without an OS at this point.

Too bad there are no recent 1500 RUUs. That would be much easier, especially at this point.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Most of the time I find this happens due to wrong TWRP version is used .. that's why I posted different TWRP version for different software level.

Also .. they don't actually restore the downloaded backup but their own problematic backup.

And what you mentioned also did happen before .. when I asked, they said after transfered the backup, in TWRP when selected Restore they only see boot backup. Reason is, they don't copy the right folder.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I also linked him to twrp.me for 2.8.7.0, just so you know. I'm running out of ideas. Maybe I should learn how to use Teamviewer. :silly:
[One (M8) Q&A, Help & Troubleshooting] mfalkiew:
Finally!

Ok, I did the whole process once again with the full unroot from SuperSu and... BINGO! Finally the OTA update started and now I have the newest firmware :) thank you so much, you are genius!
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Well I managed to do the backup easy enough but have no idea how to install the 4.20.206.1 file
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You don't install the 4.20.206.1 backup zip, you need to extract the zip on PC then restore it on your device.

Read post #1 on how-to ... all the steps
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
I'm getting this message

D:\Downloads\ADB-FASTBOOT\ADB-FASTBOOT>fastboot flash recovery twrp.img

target reported max download size of 1826414592 bytes

error: cannot load 'twrp.img': No error
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Make sure your Windows extension is not hidden ... so you won't have this kind of error when renaming the twrp -> twrp.img.img
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Sorry re-read the first post and done it properly but now get this

D:\Downloads\ADB-FASTBOOT\ADB-FASTBOOT>fastboot flash recovery twrp-2.8.7.0-m8.img

target reported max download size of 1826414592 bytes

sending 'recovery' (17020 KB)...

OKAY [ 1.822s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.439s
[One (M8) Q&A, Help & Troubleshooting] sunnycee:
To save yourself from for extension and naming problems, minimise the cmd window, also minimise the folder where your twrp recovery is, now type on the cmd widow: fastboot flash recovery<hit the space bar once> drag and drop the twrp file into the cmd window and hit the Enter key, and booom! is done
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Why it has signature checking ... this usually means you have a zip instead of a img file. Do you download the TWRP from its official site ?
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Done it. I think I locked my bootloader so unlocked it and it's flashed.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yeah.. that's why on post #1 I mentioned no need to relock bootloader for the procedure.
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Man I am feeling really stupid, I've got to this part

open Internal Storage - TWRP/BACKUPS/SerialNo./ (if backup is set to internal storage) but I can not see a TWRP folder. I've done the back up and it says it's to internal storage here: /data/media/0/twrp/backups/sh473wm01651/2016-02-11--01-31-25_lrx22c_release-keys/ but I'm finding nothing. This is exploring it onn my pc.
[One (M8) Q&A, Help & Troubleshooting] seblebos:
It failed when the system tried to install it .. I used TWRP 2.8.7.0 when i tried to go back to stock..

I put my extracted folder into TWRP/BACKUPS/Serial number/4.18.708.12 , i don't undertsand why it didn't work ....

Currently my firmware is OS-4.18.708.12
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Maybe you have that problem "0" folder in Internal storage.

What if you reboot to recovery, select mount, enable MTP and connect to PC, can you see the TWRP folder ?

Or another way to check, in TWRP go to advance, file manager browse to sdcard, can you see TWRP folder ? Do you have a folder named "0" there ?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Make a backup say your boot .. in the newly created folder for this boot, copy & paste & replace the contents of the extracted 4.18.708.12 (all the 8 files)

So when you restore, select this newly created folder which usually named with date.
[One (M8) Q&A, Help & Troubleshooting] seblebos:
You think it can come from that? Because I still selects the correct folder ..

I'm going to try !
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I've seen many weird stuff reported ;)

Just try that.
[One (M8) Q&A, Help & Troubleshooting] seblebos:
I know ! ;)

Well I Download the update and I 'll let you know if it works!
[One (M8) Q&A, Help & Troubleshooting] seblebos:
Unbelievable ! It worked ! I include me nothing!

In any case thank you very much!
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Thank you for all your help. I changed the backup to sdcard in TWRP and followed the instructions in the first post and all is working fine.

Thank you again
[One (M8) Q&A, Help & Troubleshooting] jefri65:
hey ..anybody rooted android 6 correctly?and work normaly?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Absolutely nothing to do with this thread. And Yes.
[One (M8) Q&A, Help & Troubleshooting] arif03:
by right folder you mean no .zip folder and the file within the file such that all you see are files inside when you click it? I have tried that and will try it again. One problematic thing for me though, I am using both mac and pc for this. When I enter command "fastboot devices"...the serial number shows up on my mac but not on my pc, even though fastboot is installed (maybe you can give me a pc fastboot install that works better? :s)...but then when I have to find the file path and go into internal storage...mac does not allow me to do this so I take the usb cable off and switch to pc, go into mount, and now I can access my sd card like this, and I see the BACKUPS folder, inside it is the serial number, then folders with date...because I have made so many attempts there are so many folders and so many files within them, I have been reading your posts and I think you want me to delete all of these files and folder but one, correct? which one, please and thank you. Because now I am going to start the entire process all over again from post #1. It's almost been a week I have been without a phone and the withdrawal is killing me... :(
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Delete all and leave one .. anyone will do ....

When you extracted the 4.20.1500.2_ckpv5.zip, you will see 4.20.1500.2 folder and inside this 4.20.1500.2 folder there are 8 files :

boot.emmc.win

boot.emmc.win.md5

data.ext4.win

data.ext4.win.md5

system.ext4.win000

system.ext4.win000.md5

system.ext4.win001

system.ext4.win001.md5

Copy all these 8 files and paste them into the "one" folder that you have on your sdcard, when it ask you whether to replace the files, select to replace... so the final result you will have only one folder on your sdcard with 8 files in it.

In TWRP restore menu browse to this one folder (you shouldn't have more than one as you remove all other folders) and restore all boot, data, & system then follow the rest of the steps as mentioned on post #1.
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Well it was all running well but I did not see the top most thank post on the left about not using TWRP to install SuperSU so when I did install it I just got a white screen.

Well I thought no problem I'll just re-do what is in the first post and all is fine but when i get to the final update I get a error screen with package build fingerprints wrong and lots of other stuff. Any ideas.

Edit:it says package expects build fingerprints of htc/02_uk/htc_m8:5.0.1 LRX22C/463267.2user/release-keys or htc/o2_uk/htc_m8:6.0/mA58K/667457.5:user/release-keys; this device has htc/o2_uk/tc_m8:5.0.1/LRX22C/463267.1
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't you make backup of your latest update before you tried to root it ?

Your error says it expect the stock recovery 4.20.206.2 or 6.13.206.5 but you have 4.20.206.1 recovery installed.

Actually after it failed to root, what you need to do is install the correct version SuperSU 2.67 as it will replace the outdated SuperSU that you installed.
[One (M8) Q&A, Help & Troubleshooting] arif03:
It worked! You are a genius. Thank you and [MENTION=4987085]xunholyx[/MENTION] so much for all your assistance. This was the first time I saw "boot, data, & system" all three and I think that was because I had multiple folders (a) and (b) I was trying to use a mac for part of the process, problem is mac does not recognize, for me at least, either the sd card or the internal storage unless you hit mount...:s so I hope no one else gets into this mess. thank you!!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No problem, glad to help.

Make sure you updated to the latest 6.13.1500.7

then you can reinstall TWRP 2.8.7.0 or 3.0.0.0 to install your favorite custom ROM
[One (M8) Q&A, Help & Troubleshooting] jefri65:
how?plz guide me
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You asked the same question many times already. What's your problem actually ?

Whatever it is I don't think rooting is the problem but you have a stock boot.img with write protection enabled.

To have a proper root, you need a custom kernel like ElementalX.
[One (M8) Q&A, Help & Troubleshooting] jefri65:
Yeah...i like flash root.zip same older version that we flashed in android 5...not flash kernel same its you say...my prob :im root divice but cant access to root..like in xmodgames....i ask more time for this ...should i have flash kernel?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Most probably you need the old style system mod root.

Just for a test before you can try other kernel, install this kernel & SuperSU that I mentioned here :

http://xdaforums.com/showpost.php?p=65193590&postcount=11485

After reboot, see whether your non-working app which require root now is working properly.
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
I understand that I need the 4.20.206.2 or 6.13.206.5 recovery but I don't know why i had it the first time but not last 3 times I have started from scratch :confused:
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
No idea ... if the backup is 4.20.206.1 then the recovery should be 4.20.206.1

Anyway .. if you need the 6.13.206.5 backup, I'll put up a link tomorrow. I'm uploading it now but it's 2.15 AM here .. I'll leave the upload over night.

If you want to try again ... recovery.img 4.20.206.2 & 6.13.206.5 are available on post #4
[One (M8) Q&A, Help & Troubleshooting] macthehobo:
Thank you for the reply. I'll try the 4.20.206.2 recovery image. Thank you.

Edit: You are a star, I used the 4.20.206.2 recovery and the update installed. I had a couple of drinks yesterday so maybe I had used the 4.20.206.2.img the first time.

And what do you mean by "Don't you make backup of your latest update before you tried to root it". I need to be spoon fed information it seems lol.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Before you start to mod your ROM .. make a nandroid backup. Now you know there are Backup & Restore menu on TWRP recovery.

See step 5 where you make a backup of boot to determine the backup location. It is the same, only this time you select boot, data, system. Keep this backup as your pure stock.

So whenever you need to revert to stock because something goes wrong with the modding/rooting, just restore your full boot, data, system backup ... this will save time compare to you have to redo the steps again like what you did.
[One (M8) Q&A, Help & Troubleshooting] mirzanoshin:
Ckpv5,

You have a great great knowledge in htc one series... I want some guidance of yours about htc one m8 dugl... (dual sim) please give me the link of ruu please...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
http://xdaforums.com/htc-one-m8/help/link-one-m8-dugl-ruu-t3314763
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Hey ckpv5, im currently on marshmallow,can i use your nandroid to get back to kitkat?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
No. Unless you want a KitKat stock experience. You could flash any KK ROM, and it would be the same thing. The only way you can go back on firmware (if that's what you want?) is to go S-Off.
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Would there be any problems flashing kk rom on a marshmallow firmware?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
No, it should work. I don't think an RUU will work because of the firmware, though I may be wrong.
[One (M8) Q&A, Help & Troubleshooting] rjavc:
Sorry, i dont quite understand what youve just said. Im on a marshmallow custom rom (arhd 53.1) and on a marshmallow firmware (before flashing arhd ofc) and i want to flash kk custom rom because im having serious battery drain on mm,( 2hrs sot!). Is it okay?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Yes.

For the battery, I would check wake locks and what apps are running in the background. I use greenify, GSam Battery Monitor and Amplify and have no major battery drain.