yashsingh1/xdaforums huggingface dataset:
[One (M8) Q&A, Help & Troubleshooting] sapwiz:
What to do in case OTA fails and kills your phone

Ok, So you got the OTA (probably 5.0.1) and the installation fails at the end and now all you get is a cyclical boot.

You can go into the recovery (the dead android with the red exclamation mark) with probably a "no command" massage.

Scary!!!

If you are novice, like me, this is what no one bothers to tell you but you'll need to know in case the OTA, or other system install has failed:

1. ADB will only work if your android's system works.

2. Even when ADB do not work and you get the dead android and "no command" (recovery) you are still not beaten!

3. boot the phone into hboot (volume down + power), select fastboot and connect USB (it will show "fastboot usb").

If you had a nandroid backup before - you are probably OK. If not, you should try...

4. Find, download and extract the OLD version of the system's image and flash the following components:

- Boot image: fastboot flash boot boot.img

- Recovery: fastboot flash recovery recovery.img

Most likely trying to flash (or delete) the system will not work (protected against remote operation), so

If you have a nandroid backup, flash the recovery you used to create this backup and restore it.

If you don't, take the "system" component, zip it, put it on your SD and go from fastboot into recovery. From there, install from SD. Good chance you'll be smiling again...

Hope this helps dudes!!

Let me know if it did...

S.
[One (M8) Q&A, Help & Troubleshooting] sameer929:
help required : cant find 4.4.4 stock kernal flashable zip.

I flashed a kernal on stock 4.4.4 sense 6. But now i need to go back to stock kernal. Can somebody give me the link for stock 4.4.4 flashable zip. Thx
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey guys,

I was trying to get my s-off so I wiped everything and reboot my phone ! which understood is totally wrong ..

I entered the recovery and I dowloaded the last Viperone rom on my sd-card.. the problem is i've been trying to flash the rom

but i always get : e:zip signature verification failed

I checked the box and unchecked the same thing happens again and again ..

what should i do ? i just want to use my phone i've been stuck for a day now !

Thanks
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
What recovery and version are you using? TWRP 2.8.0.3 works best with ViperOne.

When you say wiped everything, do you mean you formatted system as well? Do you still have an OS?
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey, i'm using TWRP 2.8.1.0

is the problem from the recovery ?

actually i'm not sure if i've the os !
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
2.8.1.0 has shown some issues. Try using .0.3, and it should work.
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey, I got TWRP .0.3

and the same thing happened

" updating partition details . . .

Installing '/external_sd/viperOneM8_3.zip' . . .

checking for MD5 file . . .

skipping MD5 file . . .

Error flashing zip '/external_sd/viperOneM8_3.zip'

Updating partition details . . . "

so if the problem because i wiped the OS !

how should i solve it ?

Thanks for your respond
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Since you've already wiped everything, and you are trying to S-Off, you might as well run an RUU. It'll take you back to the stock ROM which will give you the best chance of getting S-Off.

What carrier are you on? There are international RUUs, as well as some that are carrier specific to US models.
[One (M8) Q&A, Help & Troubleshooting] iMonty:
International .. i don't know what is RUU i will search for it now.

thank you
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey, again

I've searched for RUUs, but still can't find how to do it. and also i'm using Mac and it seems i need windows..

Also what i understood is that RUU let you go back to the stock, i don't care about the stock or even S-off

I just want my phone to work again ,, any idea ?

my carrier is fido, but my phone is international if that helps.

Thank you
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
Okay. I'm in Canada too. Telus though.

I'm not sure exactly what is going on with your flash. There must be some info I am missing, or that you haven't provided thinking it was irrelevant. That's okay though. I'll get you fixed up. I'm going to assume you are on 4.4.4 firmware here and give you a download link for ViperOne 3.2.1. I'm assuming you may have got a bad download, or corrupted the zip somehow. Use your computer to download it, insert your SD into the card reader, delete the old Viper download, and put the new one onto your extSD. Put it back into your phone, then flash that in recovery. Pick wipe first and swipe to factory reset (I know you've already done this, but do it again anyway) Then flash the ROM.

I hope this solves everything for you.
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey, really thank you for your help ..

so i downloaded the rom again it's size is 2.21 GB, and then i compressed the rom and the size now is 1.64 GB which i think is normal ..

I moved the rom into my exSD, entered the recovery (TWRP v2.8.0.3 ) ..

tried to flash it and i got this error again

" updating partition details . . .

Installing '/external_sd/viperOneM8_3.zip' . . .

checking for MD5 file . . .

skipping MD5 file . . .

Error flashing zip '/external_sd/viperOneM8_3.zip'

Updating partition details . . . "

I also tried to download another roms but non of them works the same error appeared.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
What? The download I gave you is a 1.5gb zipped file. Are you unzipping the downloads? If so, no wonder you are having problems. Don't do that. Place the zip unzipped onto you extSD and try again. lol
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey,

LOL :p .. no i'm not unzipping the files ..

when the download finished the file was unzipped so i zipped it so i can flash it ..

i was also confused when i entered the link it's asking me to download a Zip file

but when it finished it was unzipped file

---------- Post added at 10:27 PM ---------- Previous post was at 10:21 PM ----------

Okay it is Safari it has something called "Open Safe Files After Downloading" so it unzipped the file automatically !

I disabled it now .. and i'll try again

Stupid safari LOL
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
cool. i think that may have been the problem. hahaha
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Finally it worked :D:D

but it seems i'm stuck in boot loader .. i can't reboot to the system

is there a way ?

Thank you very much :good::laugh:
[One (M8) Q&A, Help & Troubleshooting] :
Take your SD card out. ?

You need to remove the file from the card.
[One (M8) Q&A, Help & Troubleshooting] iMonty:
Hey,

I've tried that and also wiped Dalvik cache + cache, and factory reset but i'm still unable to use the rom

:(
[One (M8) Q&A, Help & Troubleshooting] kempactick:
Hello, i used to use S.Team-S5.2-X10.5.8.2u rom, and i listen to youtube in background a lot and i use OG Youtube and when the screen goes off, the music is stopping and when i open ogyoutube from recents it gives me a force-close...

I tried rooted og, non-root, xposed and it nothing change, microg is installed, permissions are checked... Think happens only on this rom. Now im using LeeDrOiD V8.4.1-Final (updated few days ago) and i have no problem with OG Youtube on this rom... what can be the problem? I want to use S.Team rom because of the audio mods... that boomsound equalizer is amazing.
[One (M8) Q&A, Help & Troubleshooting] ahmed.ismael:
check any battery optimization and disable it for OG YouTube

S.rom have plenty of battery saving tweaks ( figure which one kill the app once the screen goes off )
[One (M8) Q&A, Help & Troubleshooting] kempactick:
Thanks man, you are a life saver, you were right :)
[One (M8) Q&A, Help & Troubleshooting] Kronny17:
(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) imei2: Not Support
(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
all: Done!
finished. total time: 0.031s

Please i need full stock software s-on any help for my device
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
https://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
[One (M8) Q&A, Help & Troubleshooting] Barracuz:
So I have two issues.

One is that my TMobile LTE data is just so slow. Its always been slow. But today I learned the TMobile LTE is around 10mbps average download speeds. My phone a one m8 flashed with T-Mobile radio, rooted, s off and running on the Viper rom barely makes it past the 800kbps mark. Anyone have the same issues? I get loads of download speeds on wifi no problem. It's just my lte data that's slow for some reason. I'm not throttled, Ive only used 3.7gb of data this month. Any logs I can post to help fix this?

Also my phone dies when battery reaches ~20%. Anyway to 'calibrate' it?
[One (M8) Q&A, Help & Troubleshooting] Kronny17:
Thank for this

my phone info now

***RELOCK***

S-ON

HBOOT: 3.19.0.0000

RADIO: 1.29.214500021.12G

OS: Was 4.x.xx.xx update firmware to 6.12.401.4

Now my phone is stuck in HTC ONE Logo

What should i do now.. ?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
I think you didn't read the instructions properly. You are supposed to flash the backup and recovery for your current firmware version and do OTAs from there.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
m8 ul bootloop

hello.

my m8 stuck on hdboot after a failed ota update to marshmallow.

I have try diferent european roms for my device but fastboot tell me this error (( 41 Wrong Model ID )

m8_ul pvt locked s-off

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.6

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

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B90***

(bootloader) cidnum: 11111111

(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

Any idea of what can do?

tried change id number to HTC__001 but same problem.

Ist possible change to a model id like 0P6B10000 for use this roms without brick the phone using https://xdaforums.com/showthread.php?t=2708581

should do I update to a newer firmware in case of exist?

thanks
[One (M8) Q&A, Help & Troubleshooting] :
Your getvar is confusing. Your modelID shows that your phone is a m8 eye (why did you remove the last three zeros anyway?) but product should actually be something like mels_tuhl to confirm that. Even your version main does not fit 100% to confirm that your phone is m8 eye. Since flashing failed and changing cid does not work you might really have the eye version.

Did you s-off the device? What was the original cid? And you should not try to change mid unless we know what phone you actually have.

Can you enter recovery and do a factory reset?
[One (M8) Q&A, Help & Troubleshooting] Uga0:
Hello

the getvat ist copy/paste, it shows the modelid without last three zeros.

The phone was bougth in ebay on australian shop. i do not change nothing. Phome came with super id and ist locked and s-off.

was having gps problem and see and ota update on phone. Thinking it probably solved the problem i proceed to update it.

the phone enter on recovery mode and ruu mode too, but factory reset does not work( works but do nothing, persist on hboot loop).
[One (M8) Q&A, Help & Troubleshooting] :
What do you mean with bootloop? Is is really looping? Or just stuck?
[One (M8) Q&A, Help & Troubleshooting] Uga0:
sorry mine.no looping

Stuck. the phone works, you can shut down and navigate trough the hboot menu but when power on goes always to hboot.

[IMG="hboot"]http://imageshack.com/a/img924/3335/qF6gAu.jpg[/IMG]
[One (M8) Q&A, Help & Troubleshooting] :
Do you have twrp installed? If yes then of course OTA updates won't work. Do you have a backup? Which ruu's were you trying?
[One (M8) Q&A, Help & Troubleshooting] Uga0:
no twpr installed. only stock hboot 3.19.0.0000

i have tried european ruu`s .for example:

0P6BIMG_M8_UL_L50_SENSE60_MR_HTC_Europe_4.16.401.10_Radio_1.25.214500021.06G_20.68.4196t.01_F_release_417809_signed.zip

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

but get htc_fastboot error 41 wrong model id. This roms suposed to be for 0p6b10000. my phone supossed to be 0p6b10000, thats what back cover on phone says.But now i see ist not that model

mine is´t diferent model but can`t find rom for it.

Thats why i asked if ist possible to change the model id without having problems. to avoid error 41.

in other post tall me that this ist the last firmware for my phone. 6.12.401.4 . so if i can change the model id i can use 6.12.4014.4 rom.

someone has suggested me this rom

0P6BIMG_M8_UL_K444_SENSE60_MR_HTC_Europe_3.28.401.9_R_Radio_1.22.21331147A1.29G_20.67.4196.01_release_402839_signed-decrypted.zip

i`m going to make a try.
[One (M8) Q&A, Help & Troubleshooting] :
The thing is I can't find many info about the p9000 version either.

According to this thread it seems like it's the m8 eye, original cid HTC__038 but I'm not really sure.

https://xdaforums.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860.

What does hboot say? Can you post a pic of it?

You can't change the modelID if your phone is a m8 eye and not the m8 - as already stated. The linked ruu won't work either. Your model does not match.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
[IMG="hboot"]http://imageshack.com/a/img924/3246/5q5W0l.jpg[/IMG]

in picture cid ist changed to HTC__001
[One (M8) Q&A, Help & Troubleshooting] :
Have you now changed the cid? Wasn't it supercid before?

Anyway, try this ruu https://www.androidfilehost.com/?fid=24052804347813281
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I guess the seller put wrong MID on a M8 device.

You have to change MID from unknown SuperMID 0P6B90*** to EU MID 0P6B10000 then only you can install EU RUU.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
yes to make a probe. but originali was 11111111.

thanks, will try first

---------- Post added at 06:16 PM ---------- Previous post was at 06:07 PM ----------

i think so, back cover model number ist 06pb100 fccid mn806pb100 M8n

It was the original idea, but I was afraid to brick the phone. it's my brother's phone

Should i use this https://xdaforums.com/sho....php?t=2708581
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Don't rely what's written on the back cover. It may be changed by seller.

Most important is your getvar result show you should use 0P6B10000

Changing MID won't brick a device same like changing CID. Flashing a wrong firmware may brick it.

If you already have TWRP installed then it is easy to do the changing as your device is not booting to OS. If you don't have, find a flashable TWRP zip.

Wish I can help more but it's already over 2.00 am here .. if you can't manage it, tomorrow night maybe I can assist you. Good luck & Good night.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
Thanks a lot:good::good:

I'm going to take a look around the forum and look for a flashable TWRP. maybe will need your help.:o

Good night.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
thanks but do not work.

As my phone has the hboot blocked I can not install twpr.

I have tried to unlock it with htcdev but it does not work. I can extract the binary and install it but then it does not continue. The phone restarts but hboot is still blocked.

I tried to do it with adb but the adb commands do not work. If I put adb get device my device does not appear. Puts daemonstool now started on port 71 but nothing happens. As I can not put the phone in USB debbuging this may be the problem.

To prove this: https://xdaforums.com/sho....php?t=2708581 , the phone has to be root and I can not do it.

Only the htc_fastboot / fastboot commands work but I can not flash the roms because they do not match the MID.

Maybe could i modify the android txt of some rom to match my MID? the problem is that I am not able to extract any rom.zip with 7zip or winace

the funny thing is that I have experience in flashing phones, I have a fully working Badadroid for example, but this is driving me crazy
[One (M8) Q&A, Help & Troubleshooting] :
You're not supposed to unzip them anyway. These zips are signed by HTC. You rename the zip to 0P6BIMG.zip, put them into root directory of your external SD card and flash it via hboot. If the file is an .exe you run it on your PC.

If it fails because of wrong MID you need to change it. Or you grab a GPe RUU and add your details of your phone into android-info. The GPe posted here in the forum is not signed, so that should work. If not then I have no idea.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I won't have free time until next 5 or 6 hours.

A quick find, you can use this twrp flashable zip (read carefully as you need to change the version no. to match yours but not really necessary as it will be change once you installed RUU) but you may need to add your current MID to it, don't think I included your MID in it.

https://xdaforums.com/showpost.php?p=67521242&postcount=32

Place the zip on your external sdcard, select hboot, then update when prompted. This will install TWRP, boot to recovery, mount system then run the command to change MID.

The guide is for unlocking bootloader but the basic is the same. Instead of put in codes for bootloader unlocking, you put codes to change MID

Read this too - https://xdaforums.com/showpost.php?p=66202825&postcount=459

Or you can do both - unlock bootloader then change MID then install RUU.
[One (M8) Q&A, Help & Troubleshooting] Uga0:
Thanks do not worry, I do not have time now either. I'll try it later I'll post the results.

I'm not in a hurry since the phone does not work and at the moment there is another one in use.

It makes me angry not to be able to fix it but I have no urgency:good:

thanks for your time:D:D

---------- Post added at 11:46 AM ---------- Previous post was at 11:42 AM ----------

thanks I'll try it later too and post the results.

thanks for your time
[One (M8) Q&A, Help & Troubleshooting] Uga0:
C:\Adb>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.6

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

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: 11111111

(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.094s

UAAAUUUU!!!!! following your instructions phone working in 15 min.;);););)

you are my idol:laugh::laugh::laugh::laugh::laugh:

Once the recovery was installed, i gain access to the phone. I was able to recover the photos and videos.

(I have changed version nº and add current mid.)

then unlock the boot and change the mid to 0P6B10000. At the end install the European rom.

The only difference is that I have flashed the recovery by fastboot and flashed the rom with htc_fastboot.

To avoid further problems i have change cid to HTC__034(spanish no carrier). i think one of the original problems was try oficial ota update to Marshmallow with super cid. (the strange mid too, of course)

Nice to meet you and thanks for your time and help;)

---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------

Thanks you too.

As the other suggestion worked I have not tried yours. thank you so much for your time and help:good::good:;)
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
I want to change my MID, I tried this 0P6BIMG.zip but MiD not changed.. My getvar all:

Bootloader (RELOCKED)

----------------------------------------------

version-microp: None

version-main: 3.28.401.9

version-misc: PVT SHIP S-OFF

serialno: HT49GWM01972

imei:

imei2: Not Support

meid: 00000000000000

product: m8_ul

platform: hTCBmsm8974

modelid: 0P6B63000

cidnum: 11111111

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: df77f8b7

hbootpreupdate: 11

gencheckpt: 0

------------------------------------------------

I want to install this package from HTC website but it fails on model ID checking:

RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.exe. Downloaded from: http://www.htc.com/us/support/htc-one-m8/news/
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Why do you want an American carriers software on a phone in Pakistan? The firmware number represents a developer edition on that RUU. You have very old firmware on your device currently.
[One (M8) Q&A, Help & Troubleshooting] Ahmed5:
Hello

So yesterday I installed a new rom with that Super SU rooted my device

However upon finding out, should've known earlier, Google's new detection security stuff

I wanted to unroot. I unrooted front the Super SU app itself

However, I still can't see my phone getting past the safety net test. Very confused. Snapchat is working now but Netflix still not appearing on PlayStore?
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Just reflash your ROM without wiping anything and you will be totally unrooted. If you require root, use Magisk. You can hide apps in the app that still lets you pass safetynet tests.
[One (M8) Q&A, Help & Troubleshooting] Ahmed5:
Okay got it

Was gonna try UnSu way but this seems better to me honestly. Thanks!

I just wanna unroot properly before installing magisk.

In no hurry honestly.
[One (M8) Q&A, Help & Troubleshooting] Einwod:
The best way is to reflash the ROM or just the boot img. SU modifies the boot image.
[One (M8) Q&A, Help & Troubleshooting] Salman Akbar:
So.. Will it work on my phone without changing anything??

0P6BIMG_M8_UHL_M60_SENSE70_MR_hTC_Asia_HK_6.16.7.zip

From here:

https://mega.nz/#!nQUTEQgS!705whK7tyPvtUgUQwLenweGTJepoHQDeBgsiHhrYVlQ
[One (M8) Q&A, Help & Troubleshooting] Ahmed5:
So, I followed your advice and reflashed the ROM but it didn't thelp

So I even flashed UnSu but the problem still occurs?

I am attaching Pictures of verification test.

I read somewhere it could also be due to changing roam.

Using Lineage OS 15.0
[One (M8) Q&A, Help & Troubleshooting] Uga0:
mid not changed because that ist to install twpr and unlock bootloader.

To change mid you have to do this :

https://xdaforums.com/showpost.php?p=66202825&postcount=459

you can choose one code from here:

https://xdaforums.com/showthread.php?t=2708581

onece you change the mid you can install the rom that you prefer for the mid that you have change.

* Note the mid code has two 00 more at the end
[One (M8) Q&A, Help & Troubleshooting] Einwod:
Does the Lineage ROM have root out of the box? Or do you have to flash it separately?