[SOLVED] HELP! HTC ONE M8 - Bricked?

ahmed.ismael

Senior Member
Oct 14, 2015
2,439
1,250
183
i downloaded the mentioned zip and htc fastboot
then re-locked boot-loader then gave the command htc_fastboot flash zip RUU.zip
and it said error99 failed something like that
try with that RUU it's from a different source
download here



edit
and only if you are on marshmallow
if you are on marshmallow firmware you can flash this partial firmware ( it's signed but not a full package )
https://www.androidfilehost.com/?fid=24421527759886432

after flashing the firmware flash TWRP and the rom you desired
 
Last edited:
  • Like
Reactions: fmzha5

fmzha5

Senior Member
Jun 29, 2015
102
8
0
riyadh

ahmed.ismael

Senior Member
Oct 14, 2015
2,439
1,250
183
can it be flashed over s. rom and then other roms will work ? will it wipe internal data
ROM and firmware is a different things
You should have known that by now
in bootloader screen what it says for OS ?

Have you tried with the other RUU ?


Yes signed firmware or RUU will wipe your internal storage


Sent from my HTC M8 using XDA Labs
 
Last edited:

xunholyx

Recognized Contributor
Dec 3, 2012
7,501
5,131
253
Vancouver
can it be flashed over s. rom and then other roms will work ? will it wipe internal data
It should work, yes. S ROM does some kind of modification that affects firmware, and flashing firmware or an RUU is the only way to fix that to be able to run other ROMs.
If you are S-Off, you can flash a modified firmware package that won't wipe data. If you are S-On then running/flashing an RUU is the best way although it will wipe your phone.
 

ahmed.ismael

Senior Member
Oct 14, 2015
2,439
1,250
183
Thanks @ahmed.ismael this worked
please if you can provide the link to root m8d it would be really appriciated
i can see you used the RUU and it worked for you,right ??
i know you were planning to flash a nougat rom,why you need to root the current rom ??
if you want to flash a nougat rom you just need to flash TWRP no root needed

if you want just root then
* unlock the bootloader ( as you did first time using the same unlock_code or request a new one )
* flash the latest TWRP 3.0.2-0 https://dl.twrp.me/m8/twrp-3.0.2-0-m8.img.html
* flash the latest supersu.zip v2.79 https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
 
Last edited:
  • Like
Reactions: fmzha5

fmzha5

Senior Member
Jun 29, 2015
102
8
0
riyadh
i can see you used the RUU and it worked for you,right ??
i know you were planning to flash a nougat rom,why you need to root the current rom ??
if you want to flash a nougat rom you just need to flash TWRP no root needed

if you want just root then
* unlock the bootloader ( as you did first time using the same unlock_code or request a new one )
* flash the latest TWRP 3.0.2-0 https://dl.twrp.me/m8/twrp-3.0.2-0-m8.img.html
* flash the latest supersu.zip v2.79 https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
sir ismael very thanks to you being there for me
i flashed lineage os and it did not work for the first time so i wanted to flash another rom and in attempt to boot into recovery my device rebooted in safe mod (i have no idea how?) and it actually started working perfectly working like a charm THANKS :good::eek:
 

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
Ok first off I'm in Ukraine and no 4g here only 3g the phone most likely will never see the USA, though I will go home to visit family I'm an American. The radio is 1.21.21331147A1.19_26 Thanks
First .. as I read in other thread, your device bootloader is currently LOCKED and you want it to be that way.

Second .. Your current problem why you have that variant system version error as you mentioned here is because of your MID which is currently a US device MID (it can be a AT&T device originally)

Now .. for you to decide ...

1. You can convert it to Developer Edition phone - a very straight forward as Dev Ed has same MID as your currently is 0P6B12000. What you need to do is only flash the Dev Ed Marshmallow firmware then install Marshmallow RUU (This is better than AT&T as you're not is US)

2. You can convert it to EU version. But first you need to change MID from 0P6B12000 to 0P6B10000

How-to :

1. you need to install TWRP recovery
download attached 0P6BIMG.zip
place it on root of your microsd not internal storage
boot to bootloader, select hboot it will scan the zip file and select volume up to install
Once done .. delete the 0P6BIMG.zip from microsd so it won't keep asking you to install

2. Once the TWRP is installed
boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type

adb shell

follow by
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
don't write yourself the code, copy and paste

then type exit
select reboot menu, select bootloader

3. Install the EU RUU.zip - follow this -
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6

Or you can do the same as no.1 above .. rename the RUU.zip to 0P6BIMG.zip and place it on root of your microsd (not in any folder) then follow the rest.
 

Attachments

jconradb

Senior Member
Aug 27, 2010
123
7
0
First .. as I read in other thread, your device bootloader is currently LOCKED and you want it to be that way.

Second .. Your current problem why you have that variant system version error as you mentioned here is because of your MID which is currently a US device MID (it can be a AT&T device originally)

Now .. for you to decide ...

1. You can convert it to Developer Edition phone - a very straight forward as Dev Ed has same MID as your currently is 0P6B12000. What you need to do is only flash the Dev Ed Marshmallow firmware then install Marshmallow RUU (This is better than AT&T as you're not is US)

2. You can convert it to EU version. But first you need to change MID from 0P6B12000 to 0P6B10000

How-to :

1. you need to install TWRP recovery
download attached 0P6BIMG.zip
place it on root of your microsd not internal storage
boot to bootloader, select hboot it will scan the zip file and select volume up to install
Once done .. delete the 0P6BIMG.zip from microsd so it won't keep asking you to install

2. Once the TWRP is installed
boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type

adb shell

follow by

don't write yourself the code, copy and paste

then type exit
select reboot menu, select bootloader

3. Install the EU RUU.zip - follow this -
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6

Or you can do the same as no.1 above .. rename the RUU.zip to 0P6BIMG.zip and place it on root of your microsd (not in any folder) then follow the rest.
I'm a little confused I would like to just convert this phone to a delvelopers version, no twrp etc. So a step by step to convert to developers if you can? What is firmware? Can I do all this on the phone or only PC sorry to bother you again

---------- Post added at 02:45 PM ---------- Previous post was at 02:43 PM ----------

First .. as I read in other thread, your device bootloader is currently LOCKED and you want it to be that way.

Second .. Your current problem why you have that variant system version error as you mentioned here is because of your MID which is currently a US device MID (it can be a AT&T device originally)

Now .. for you to decide ...

1. You can convert it to Developer Edition phone - a very straight forward as Dev Ed has same MID as your currently is 0P6B12000. What you need to do is only flash the Dev Ed Marshmallow firmware then install Marshmallow RUU (This is better than AT&T as you're not is US)

2. You can convert it to EU version. But first you need to change MID from 0P6B12000 to 0P6B10000

How-to :

1. you need to install TWRP recovery
download attached 0P6BIMG.zip
place it on root of your microsd not internal storage
boot to bootloader, select hboot it will scan the zip file and select volume up to install
Once done .. delete the 0P6BIMG.zip from microsd so it won't keep asking you to install

2. Once the TWRP is installed
boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type

adb shell

follow by

don't write yourself the code, copy and paste

then type exit
select reboot menu, select bootloader

3. Install the EU RUU.zip - follow this -
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6

Or you can do the same as no.1 above .. rename the RUU.zip to 0P6BIMG.zip and place it on root of your microsd (not in any folder) then follow the rest.
Yes step by step dev firmware to RUU
 

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
I'm a little confused I would like to just convert this phone to a delvelopers version, no twrp etc. So a step by step to convert to developers if you can? What is firmware? Can I do all this on the phone or only PC sorry to bother you again

---------- Post added at 02:45 PM ---------- Previous post was at 02:43 PM ----------


Yes step by step dev firmware to RUU
You need a PC. I'm just out from the house.. it's easier to make it Dev Ed. I'll be home in 2-3 hours and I'll put the guide here.
 

jconradb

Senior Member
Aug 27, 2010
123
7
0
First .. as I read in other thread, your device bootloader is currently LOCKED and you want it to be that way.

Second .. Your current problem why you have that variant system version error as you mentioned here is because of your MID which is currently a US device MID (it can be a AT&T device originally)

Now .. for you to decide ...

1. You can convert it to Developer Edition phone - a very straight forward as Dev Ed has same MID as your currently is 0P6B12000. What you need to do is only flash the Dev Ed Marshmallow firmware then install Marshmallow RUU (This is better than AT&T as you're not is US)

2. You can convert it to EU version. But first you need to change MID from 0P6B12000 to 0P6B10000

How-to :

1. you need to install TWRP recovery
download attached 0P6BIMG.zip
place it on root of your microsd not internal storage
boot to bootloader, select hboot it will scan the zip file and select volume up to install
Once done .. delete the 0P6BIMG.zip from microsd so it won't keep asking you to install

2. Once the TWRP is installed
boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type

adb shell

follow by

don't write yourself the code, copy and paste

then type exit
select reboot menu, select bootloader

3. Install the EU RUU.zip - follow this -
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6

Or you can do the same as no.1 above .. rename the RUU.zip to 0P6BIMG.zip and place it on root of your microsd (not in any folder) then follow the rest.
I have the adb on my computer all drivers as I use to do all this but have forgot as it's been sometime ago and maybe my age ha ha
 

ckpv5

Recognized Contributor
Feb 11, 2008
14,359
18,290
0
Kuala Lumpur
I have the adb on my computer all drivers as I use to do all this but have forgot as it's been sometime ago and maybe my age ha ha
You can redo it ....

Here are the steps to update your device to Developer Edition.

1. Download firmware fw_6.12.1540.4.zip from my thread and follow the instruction on how to install firmware.

https://forum.xda-developers.com/showpost.php?p=60218734&postcount=5

Or you can rename the fw_6.12.1540.4.zip to 0P6BIMG.zip (that's a zero (0) not alphabet O). Make sure your pc extension is not hidden so you won't rename it to 0P6BIMG.zip.zip (with double zip)
Place it on root of microsd (not in any folder), boot to bootloader, select hboot and volume up to update when it asks you

2. Download the RUU.exe here - http://dl3.htc.com/application/RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.exe

You need a Windows PC with USB2.0 and also install latest HTC USB drivers.
To install latest HTC USB drivers, download and install HTC Sync Manager from http://www.htc.com/us/support/software/htc-sync-manager.aspx

Install, once done uninstall Htc Sync Manager but leave others don't uninstall.

Put your device in bootloader, connect to PC, right click the RUU.exe and select run as administrator then follow all the instruction and let it run until it is completed.

Please note this will wipe everything in your internal storage ... out of the box state.
 

jconradb

Senior Member
Aug 27, 2010
123
7
0
First .. as I read in other thread, your device bootloader is currently LOCKED and you want it to be that way.

Second .. Your current problem why you have that variant system version error as you mentioned here is because of your MID which is currently a US device MID (it can be a AT&T device originally)

Now .. for you to decide ...

1. You can convert it to Developer Edition phone - a very straight forward as Dev Ed has same MID as your currently is 0P6B12000. What you need to do is only flash the Dev Ed Marshmallow firmware then install Marshmallow RUU (This is better than AT&T as you're not is US)

2. You can convert it to EU version. But first you need to change MID from 0P6B12000 to 0P6B10000

How-to :

1. you need to install TWRP recovery
download attached 0P6BIMG.zip
place it on root of your microsd not internal storage
boot to bootloader, select hboot it will scan the zip file and select volume up to install
Once done .. delete the 0P6BIMG.zip from microsd so it won't keep asking you to install

2. Once the TWRP is installed
boot to recovery
Mount - system
then open command prompt from your adb/fastboot folder
then type

adb shell

follow by

don't write yourself the code, copy and paste

then type exit
select reboot menu, select bootloader

3. Install the EU RUU.zip - follow this -
https://forum.xda-developers.com/showpost.php?p=64926626&postcount=6

Or you can do the same as no.1 above .. rename the RUU.zip to 0P6BIMG.zip and place it on root of your microsd (not in any folder) then follow the rest.
I'm downloading the dev ed ruu from HTC website where do I find the download for the firmware yes I now understand firmware waiting your reply