[SOLVED] HELP! HTC ONE M8 - Bricked? - One (M8) Q&A, Help & Troubleshooting

Hi All,
I've been a member here for a long time, but now with a new account.
I have a real problem, and I do not know what to do.
Firstly, I am pretty computer literate, but I am lost with phone technology a little. I have a bit of experience flashing ROMS, but I really do not know where to begin.
I bought a HTC ONE M8 for my daughter from eBay (I know... ) and today it seems to have tried an update. This has resulted in bricking my phone. The M8 was (I thought) new, but whatever has happened has screwed things up.
Can someone help me recover from this update failure? I can provide all information from the BOOT screens for you, but as yet, I don't even know what to supply.
Thanks chaps - I know this is the only place that will be able to help as you are all expert.
Simon
Edit: I have installed Android Studio as I have read that this is what I need initially.
Edit: Bootloader Information
*** Software status: Official ***
*** Locked ***
M8_UL PVT SHIP S-OFF
OS-6.12.401.4
So, here are my thoughts. I think that this is a Chinese HTC and it has tried up update to a Europe Marshmellow ROM. Can anyone confirm this might be causing the problem?
Can I "roll-back"?

Ratzz2 said:
Edit: Bootloader Information
*** Software status: Official ***
*** Locked ***
M8_UL PVT SHIP S-OFF
OS-6.12.401.4
So, here are my thoughts. I think that this is a Chinese HTC and it has tried up update to a Europe Marshmellow ROM. Can anyone confirm this might be causing the problem?
Can I "roll-back"?
Click to expand...
Click to collapse
M8_UL is not a Chinese HTC. I guess your problem is root or previously a rooted device and that is the reason the update failed.
To get to know better about your device, post here fastboot getvar all result minus serial & imei no.
Then we'll see what you need to do ... either roll-back or moving forward with a new Marshmallow stock ROM

Hi, thanks for replying.
I see, I didn't know that M8_UL is not a Chinese HTC - shows how much I know about this kind of stuff!
I will look up how to post the fastboot getvar all information, but if I don't get back to this first, I am assuming (from what I have already read) that I can do this via a CMD window? I am not 100% what I need to download to access my HTC, but will look into it now.
Many thanks again - you have given me a glimmer of hope!

Assuming you have a Windows PC ...
What you need is fastboot/adb, install this : http://forum.xda-developers.com/showthread.php?t=2588979
-when install the adb installer, select Y for system-wide and N for drivers
-you can open Command Prompt from any where that you like when it is system-wide.
HTC USB drivers - Install HTC Sync Manager - http://www.htc.com/us/support/software/htc-sync-manager.aspx
- it will install the needed drivers then uninstall the HTC Sync Manager but leave the drivers.
Open a command prompt then type fastboot getvar all
copy the output but delete serial & imei no.

Here we go ...
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.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: 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.102s

First - you need this : http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
If the bootloader is UNLOCKED (for S-On device only), relock it with commands:
fastboot oem lock
fastboot reboot-bootloader
Since the bootloader is LOCKED, what you can do :
1. Download the RUU zip here : https://www.androidfilehost.com/?fid=24369303960687057
2. Download htc_fastboot.exe here : https://drive.google.com/file/d/0B8L4pkbzdlR3eTlJSjdKVEdHX1U/view
Make a folder say "RUU" on your desktop and put both RUU zip and htc_fastboot.exe in this RUU folder
Then follow these :
Rename the RUU zip to RUU.zip (make sure you don't hide the windows extension so you won't make mistake and rename it to RUU.zip.zip)
put your device on bootloader/fastboot mode (as you get the getvar) and connect to PC
Open a command prompt from RUU folder then run below commands:
fastboot reboot-bootloader (reboot to bootloader to ensure the connection is good)
fastboot oem rebootRUU (put the device in RUU mode)
htc_fastboot flash zip RUU.zip (to install RUU)
Once complete - fastboot reboot
It should boot, then you run setup .. done.
(Only thing is you will lose all data in internal storage as RUU will give you out of the box state - at least better than a non-working phone)
NOTE : other methods to install RUU zip - http://forum.xda-developers.com/showpost.php?p=67314040&postcount=1749

Thank-you my friend, am downloading now.
Not worried about the data loss - I'd pretty much written the phone off anyway, so loss of data is a very small price to pay.
Will update you once all done.

If possible use PC with USB2.0
I'm on mobile for 6 hours.
If the above fails, I'll give you another method later.
I don't see a reason it would fail.

Thank you buddy - you are indeed, a GOD! :good::good::good::good::good::good:
It has re-booted and is just updating the apps. I will make sure I turn off the 'auto update' option so this won't happen again.
Just out of interest, if I wanted ever to upgrade the OS are there any good resources I could read?
I really appreciate your time in this - I know it's not easy to see a bit of a newbie type "Bricked" in the title!
Thanks again...
Simon

Great :good:
If you don't plan to root the device, there is no need to turn off auto update. It will success for future update when there is one.
Don't think there will be another OS update for M8, this Marshmallow is the last major OS update. If there is any further update, it will be some patches/small update.

Thanks again, you have been a massive help ...

Hi, I am new to this forum and have the same problem. Everything has been working until the step 'htc_fastboot flash zip RUU.zip (to install RUU)'. It tells me that 'htc_fastboot is not recognized as an internal or external command, operable program or batch file. Any assistance on this? I am not stuck with a black screen just written htc But thanks for your help so far...I have a little hope this will be sorted

PavM3 said:
Hi, I am new to this forum and have the same problem. Everything has been working until the step 'htc_fastboot flash zip RUU.zip (to install RUU)'. It tells me that 'htc_fastboot is not recognized as an internal or external command, operable program or batch file. Any assistance on this? I am not stuck with a black screen just written htc But thanks for your help so far...I have a little hope this will be sorted
Click to expand...
Click to collapse
You probably failed to perform one of these steps:
ckpv5 said:
2. Download htc_fastboot.exe here : https://drive.google.com/file/d/0B8L4pkbzdlR3eTlJSjdKVEdHX1U/view
Make a folder say "RUU" on your desktop and put both RUU zip and htc_fastboot.exe in this RUU folder
Open a command prompt from RUU folder then run below commands:
Click to expand...
Click to collapse
Note that the part I've highlighted in red is really important. If your command prompt is not opened in the right folder (where htc_fastboot.exe is located) it won't work; even if you did all the other steps correctly.
A shortcut to open CMD prompt in the correct directory, is to open the RUU folder, then with your cursor inside the RUU folder window: Shift-right mouse button click, then select "Open command window here".

I did open the command prompt from within the RUU folder (which I saved on the desktop) so the path is c:\user\user\desktop\RUU hence the command looked like this c:\user\user\desktop\RUU\htc_fastboot flash zip RUU.zip and that is what gave me the error.
I had typed the first two commands ' Fastboot reboot-bootloader' and 'fastboot oem rebootRUU' not from within the RUU folder but from c:\program files\Minimal ADB and Fastboot>. These commands worked, but not now when I try the two from within RUU where I keep getting an error.
What I see is lack of interaction between Minimal ADB and Fastboot (Which I saved under C:\program files) and RUU saved on the desktop. Should I have saved them in the same folder? I have tried moving RUU to the same path as Minimal ADB and Fastboot but that doesn't work either.
Yes, I had I downloaded the files from the links provided and opened that command prompt from within RUU (holding down shift button and right clicking to get 'open command window here'. I have never done this sort of thing before so pardon my lack of knowledge on the basics....I am just determined to have my HTC m8 working again since there is no care centre in Kenya, where I come from. Thanks for the prompt response - wish I noticed it earlier.
redpoint73 said:
You probably failed to perform one of these steps:
Note that the part I've highlighted in red is really important. If your command prompt is not opened in the right folder (where htc_fastboot.exe is located) it won't work; even if you did all the other steps correctly.
A shortcut to open CMD prompt in the correct directory, is to open the RUU folder, then with your cursor inside the RUU folder window: Shift-right mouse button click, then select "Open command window here".
Click to expand...
Click to collapse

PavM3 said:
I did open the command prompt from within the RUU folder (which I saved on the desktop) so the path is c:\user\user\desktop\RUU hence the command looked like this c:\user\user\desktop\RUU\htc_fastboot flash zip RUU.zip and that is what gave me the error.
I had typed the first two commands ' Fastboot reboot-bootloader' and 'fastboot oem rebootRUU' not from within the RUU folder but from c:\program files\Minimal ADB and Fastboot>. These commands worked, but not now when I try the two from within RUU where I keep getting an error.
What I see is lack of interaction between Minimal ADB and Fastboot (Which I saved under C:\program files) and RUU saved on the desktop. Should I have saved them in the same folder? I have tried moving RUU to the same path as Minimal ADB and Fastboot but that doesn't work either.
Click to expand...
Click to collapse
Can you confirm the RUU folder contains a file htc_fastboot.exe? You didn't rename this at all, did you?
Try to copy the RUU.zip and htc_fastboot.exe in the Minimal ADB and Fastboot folder, and see if that helps.

Yes. The RUU folder contains the file htc_fastboot.exe as well as RUU.zip (which was renamed to this from the initial long name it had when I downloaded). I had already tried copying both RUU.zip and htc_fastboot.exe in the Minimal ADB and Fastboot folder and have just retried and I get the error message 'preprocess_file: Cannot read header len bytes. Also I had tried and just retried copying the RUU folder (as opposed to the two separately)in the Minimal ADB and Fastboot folder and now it says 'Fastload is not recognized as an internal or external command, operable program or batch file.'
redpoint73 said:
Can you confirm the RUU folder contains a file htc_fastboot.exe? You didn't rename this at all, did you?
Try to copy the RUU.zip and htc_fastboot.exe in the Minimal ADB and Fastboot folder, and see if that helps.
Click to expand...
Click to collapse

Can you do a screen capture of the RUU folder contents?
And also of the CMD window, when you try the command to flash the RUU zip (from RUU folder - let's concentrate there).

Is this solution applicable to this problem ? -> http://forum.xda-developers.com/htc-one-m8/help/htc-m8-boots-recovery-mode-t3303826

PandaDNB said:
Is this solution applicable to this problem ? -> http://forum.xda-developers.com/htc-one-m8/help/htc-m8-boots-recovery-mode-t3303826
Click to expand...
Click to collapse
If the RUU matches your phone's CID, yes.

Well i can currently see on the phone screen CID-11111111 and the 1.6 gig file(which is the RUU ?) is still downloading.
When i ran the fastboot 1.3.1 i got the same output as the OP.
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.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: 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

Related

[Q] Soft brick - can't push ROM to phone

Hello,
I am trying to fix my issue and have done a ton of reading but can't figure out where to go from here. I've had my phone rooted for months and tried to flash a newer custom ROM today and it ended up locking my phone into a boot loop. I was able to get out of it and had to re install a recovery tool (have installed both CWM and TWRP and they work fine). But I can't actually get a ROM back onto my phone because I don't have one on the SD card and I can't get one to it. I just want to put a stock ROM back onto it at this point.
I can't boot into windows to access the SD card because whenever I boot the phone normally it just goes back to boot looping. I have tried ADB push when in recovery to put a ROM on the SD card and I continually get permission denied when I try to do that. I have tried ADB sideloader and I can't get that to work either. How can I go about getting a ROM to my phone so I can flash it via CWM/TWRP?
Fastboot works fine and I can flash recoveries no problem. ADB appear to work but I can't understand why I can't just get push to work. Any help would be greatly appreciated.
HTC One M7 on Verizon.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 1.12.42.0731
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.10.605.8
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:xxx
(bootloader) imei: xxx
(bootloader) meid: xxx
(bootloader) product: m7_wlv
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0731000
(bootloader) cidnum: VZW__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4325mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-97af273845
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.070s
If you type "adb devices" from a Command Prompt, do you see your phone listed?
Try powering off your phone, then holding Power+VolDown until you get to HBOOT. From there, enter recovery (TWRP is my preferred). ADB push does not require anything to be done prior to using it, so assuming you can see your phone with "adb devices", proceed like this:
Rename the ROM you want to flash to ROM.zip
Type "adb push ROM.zip /sdcard/" No quotes
If the ROM is around 1GB, this will take 5-10 minutes.
Once done, use TWRP file manager (under Advanced) to verify the file is there.
Reboot back into recovery and verify it's still there. If it is, install it. If it's not, you will have to RUU back to stock and go through the unlock process again.
NotATreoFan said:
If you type "adb devices" from a Command Prompt, do you see your phone listed?
Try powering off your phone, then holding Power+VolDown until you get to HBOOT. From there, enter recovery (TWRP is my preferred). ADB push does not require anything to be done prior to using it, so assuming you can see your phone with "adb devices", proceed like this:
Rename the ROM you want to flash to ROM.zip
Type "adb push ROM.zip /sdcard/" No quotes
If the ROM is around 1GB, this will take 5-10 minutes.
Once done, use TWRP file manager (under Advanced) to verify the file is there.
Reboot back into recovery and verify it's still there. If it is, install it. If it's not, you will have to RUU back to stock and go through the unlock process again.
Click to expand...
Click to collapse
No it isn't showing up when I do that while in recovery.
C:\Users\Mat\Desktop\adb>adb devices
List of devices attached
factor00 said:
No it isn't showing up when I do that while in recovery.
C:\Users\Mat\Desktop\adb>adb devices
List of devices attached
Click to expand...
Click to collapse
What about fastboot?
NotATreoFan said:
What about fastboot?
Click to expand...
Click to collapse
Yes fastboot is working. I can see the phone info still. You said I can just RUU. I didn't realize I could do that. That's fine with me I have no issue with that.
I just re-lock the boot loader and then run the RUU from windows? Would this be the appropriate file? RUU Zip M7 WL JB 50 VZW 1.10.605.10 Decrypted from HTC1 Guru.com (I can't post the actual link do to the forum rules.) The CID and model id match what my phone says.
Thanks for all your help!
factor00 said:
Yes fastboot is working. I can see the phone info still. You said I can just RUU. I didn't realize I could do that. That's fine with me I have no issue with that.
I just re-lock the boot loader and then run the RUU from windows? Would this be the appropriate file? RUU Zip M7 WL JB 50 VZW 1.10.605.10 Decrypted from HTC1 Guru.com (I can't post the actual link do to the forum rules.) The CID and model id match what my phone says.
Thanks for all your help!
Click to expand...
Click to collapse
I haven't done anything RUU in a while, so I don't want to steer you wrong. But I believe you can use decrypted to get everything up and running. Check the general forum for a guide on returning to stock.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Just remember to keep s-off while running the ruu

(Sprint) HTC One M8 - stock recovery

Hi,
I have an HTC One M8 on Sprint. I have it rooted "S-On". I would like to install the OTA package but I need to restore to the stock recovery. I know I should have created a stock recovery before I rooted, but that time has passed. So now I am trying to gather my information so I can download one.
From the ToolKit:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.08.20.0916
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: XXXXXXXXXXXX
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_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: 8a0f02ff
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.007s
From this information I cannot find a stock recovery (no version-main). Has anyone ran into this issue with a blank version-main, or have a stock recovery file for CIDnum SPCS_001?
Any other recommendations or ideas would be greatly appreciated! If you need more information, please let me know.
Thanks!
Check Sprint thread - http://forum.xda-developers.com/showthread.php?t=2700666
ckpv5 said:
Check Sprint thread - http://forum.xda-developers.com/showthread.php?t=2700666
Click to expand...
Click to collapse
Thank you for the link, it was a great read. Also it had some information for me to find Sprint stock recovery files. However due to not having a version main number I am unable to identify which one to use.
So i'll ask the dumb question, does this matter? If not I was thinking of going with the newest one Stock_3.30.651.2
The .img files from this link: "Stock Recoveries for the Sprint M8 (All stock recoveries including HK)"
http://forum.xda-developers.com/showthread.php?t=2698394
Stock_1.12.651.17
Stock_1.54.651.8
Stock_1.54.651.10
Stock_2.16.651.4
Stock_3.30.651.2
Thank you!
That or 4.20.651.10, depending on what OTA that you have. Your hboot version suggests 3.30.651.2 is correct.
If you're no sure, the simplest way is:
Download OTA, select install later. Copy OTA zip from internal storage/Download to PC.
Open OTA zip with 7-zip, open firmware.zip, extract out recovery.img
Use this extracted recovery.img then continue OTA
ckpv5 said:
That or 4.20.651.10, depending on what OTA that you have. Your hboot version suggests 3.30.651.2 is correct.
If you're no sure, the simplest way is:
Download OTA, select install later. Copy OTA zip from internal storage/Download to PC.
Open OTA zip with 7-zip, open firmware.zip, extract out recovery.img
Use this extracted recovery.img then continue OTA
Click to expand...
Click to collapse
Thanks for all the help!
I did the following after I obtained the recovery.img file from the OTA I downloaded and extracted from internal storage/Downloads
1. Boot device into FASTBOOT mode (device should show FASTBOOT USB)
2. Extract recovery.img from the zip file and place recovery file to be flashed into folder with fastboot.
3. Open a command prompt from the folder where fastboot resides.
4. Run the following command:
fastboot flash recovery recovery.img
After this I selected HBOOT and RECOVERY, once it is rebooting I get a black screen with a phone in the middle that has a red "!".
This has become quit the process.
UPDATE: I rebooted the phone and tried Stock_3.30.651.2 instead of the one from the OTA. It has gone through its cycles and is at the "Android is upgrading - Optimizing app XX of XX".
The black screen with the red ! IS the stock recovery. How do people still not know this!
AtlasStone said:
Thanks for all the help!
I did the following after I obtained the recovery.img file from the OTA I downloaded and extracted from internal storage/Downloads
1. Boot device into FASTBOOT mode (device should show FASTBOOT USB)
2. Extract recovery.img from the zip file and place recovery file to be flashed into folder with fastboot.
3. Open a command prompt from the folder where fastboot resides.
4. Run the following command:
fastboot flash recovery recovery.img
After this I selected HBOOT and RECOVERY, once it is rebooting I get a black screen with a phone in the middle that has a red "!".
This has become quit the process.
UPDATE: I rebooted the phone and tried Stock_3.30.651.2 instead of the one from the OTA. It has gone through its cycles and is at the "Android is upgrading - Optimizing app XX of XX".
Click to expand...
Click to collapse
You can also use the recently published sprint M8 lollipop RUU process if you re-lock your boot loader first:
I can't post links yet for whatever reason but if you google search "htc-one-m8-sprint/news" it's the first result and includes instructions.
Sprint 5.0.1 RUU - http://dl3.htc.com/application/RUU_..._NV_SPCS_1.52_003_release_418488_signed_2.exe
Sprint Harman Kardon Edition 5.0.1 RUU - http://dl3.htc.com/application/RUU_..._NV_SPCS_1.52_003_release_418492_signed_2.exe

Update Android to 6.0 error

Hello. My problem is on picture. Please help.
http: // s23.postimg. org/5sizlitkb/DSC_0015.jpg
Please remove space.
Is the OTA file on the phone? Downloaded after getting the update notification?
I got an update and started downloading.
The system asked whether to install the update and clicked yes. And after 30 minutes, there was this error
I have exactly the issue too following OTA stock update
When speaking to HTC Support, they said that my IMEI showed up as a US device, even though the last ROM was definitely European stock. When going into Bootloader the following information is shown:
***Software Status Official***
***Locked***
M8_UL PVT SHIP S-OFF
CID-11111111
HBOOT-3.19.0.0000
RADIO-1.29.214500021.12G
OPENDSP-v51.2.2-00593-M8974_FO.1015
OS-6.12.401.4
HTC UK advised that they cannot help and pointed me in the direction of HTC US, but I cannot get through on their support chat pages, so currently have my phone stuck in this state. My phone is the 32GB version and upon further investigation I see that this was only released in the US.
I have tried to do a RUU update via http: // www .htc.com/us/support/rom-downloads .html#additional with the Unlocked/Developer version, but the RUU will not see the phone when in Recovery Mode, so fails to get along any further.
Any further assistance would be great so I can get my phone back!
Just to clarify, the European OTA stock update was downloaded, and then installed. The phone rebooted and started the install and completed the install. It then rebooted I assume to start up in Marshmallow, and this is when the error occurred and the Recovery screen was displayed. So the issue I suspect is a European ROM on a US device.
Thanks in advance
niloc said:
When speaking to HTC Support, they said that my IMEI showed up as a US device, even though the last ROM was definitely European stock. When going into Bootloader the following information is shown:
***Software Status Official***
***Locked***
M8_UL PVT SHIP S-OFF
CID-11111111
HBOOT-3.19.0.0000
RADIO-1.29.214500021.12G
OPENDSP-v51.2.2-00593-M8974_FO.1015
OS-6.12.401.4
HTC UK advised that they cannot help and pointed me in the direction of HTC US, but I cannot get through on their support chat pages, so currently have my phone stuck in this state. My phone is the 32GB version and upon further investigation I see that this was only released in the US.
I have tried to do a RUU update via http: // www .htc.com/us/support/rom-downloads .html#additional with the Unlocked/Developer version, but the RUU will not see the phone when in Recovery Mode, so fails to get along any further.
Click to expand...
Click to collapse
Go into bootloader-fastboot mode, and do fasboot getvar all, and post the output. Delete IMEI and serial number before posting.
I need this info to see what version the phone originally was, and for that matter what RUU will work.
If you have WWE (Euro) compatible CID and MID, you might try RUU linked here: http://forum.xda-developers.com/showpost.php?p=64869806&postcount=4
I can't personally vouch for this RUU, but I think several folks here have posted the link, and its probably legit.
Also, you need to run RUU in bootloader-fastboot mode, it will never work in recovery.
redpoint73 said:
Go into bootloader-fastboot mode, and do fasboot getvar all, and post the output. Delete IMEI and serial number before posting.
I need this info to see what version the phone originally was, and for that matter what RUU will work.
If you have WWE (Euro) compatible CID and MID, you might try RUU linked here: http://forum.xda-developers.com/showpost.php?p=64869806&postcount=4
I can't personally vouch for this RUU, but I think several folks here have posted the link, and its probably legit.
Also, you need to run RUU in bootloader-fastboot mode, it will never work in recovery.
Click to expand...
Click to collapse
Thank you for your prompt response - I'm not sure however to enter any commands in FASTBOOT, as when I select REBOOT FASTBOOT from the options, it just reboots the phone and I go back to the bootloader screen with FASTBOOT highlighted under the date and above the Vol Up Vol down insutructions. From your comments I suspect you are expecting the phone to go into another type of functionality
niloc said:
Thank you for your prompt response - I'm not sure however to enter any commands in FASTBOOT, as when I select REBOOT FASTBOOT from the options, it just reboots the phone and I go back to the bootloader screen with FASTBOOT highlighted under the date and above the Vol Up Vol down insutructions. From your comments I suspect you are expecting the phone to go into another type of functionality
Click to expand...
Click to collapse
Nope, if FASTBOOT is highlighted in red, its in fastboot mode, and no need to do anything else. Just connect the phone by USB (if not already) and do the fastboot command.
The only other bootloader mode would be HBOOT, which is not what we want.
redpoint73 said:
Nope, if FASTBOOT is highlighted in red, its in fastboot mode, and no need to do anything else. Just connect the phone by USB (if not already) and do the fastboot command.
The only other bootloader mode would be HBOOT, which is not what we want.
Click to expand...
Click to collapse
Sorry to be a pain, but as I have not flashed a ROM since the good old HD2 days, I'm a bit rusty and probably do not have all the tools on my laptop to do this. I only have HTC Sync Manager installed. Launching a command window in Windows and type: "fasboot getvar all" I get "fastboot is not recognised as an internal or external command". What additional tools do I need to install, as quickly looking around there seems to be a plethora of different thing for different setups
niloc said:
Sorry to be a pain, but as I have not flashed a ROM since the good old HD2 days, I'm a bit rusty and probably do not have all the tools on my laptop to do this. I only have HTC Sync Manager installed. Launching a command window in Windows and type: "fasboot getvar all" I get "fastboot is not recognised as an internal or external command". What additional tools do I need to install, as quickly looking around there seems to be a plethora of different thing for different setups
Click to expand...
Click to collapse
HTC Sync should be enough.
Do a search on Windows for fastboot.exe, once you find the folder where that is located, you will need to change directory in your command prompt to that same folder.
redpoint73 said:
HTC Sync should be enough.
Do a search on Windows for fastboot.exe, once you find the folder where that is located, you will need to change directory in your command prompt to that same folder.
Click to expand...
Click to collapse
Nothing found I'm afraid - downloaded "fastboot-win.zip" from https://www.htcdev.com/images/uploads/fastboot-win.zip?legal_license_terms=1, but when called from a command window I get "This program can't start because AdbWinApi.dll is missing from your computer", so looks like I only have one part of the jigsaw
niloc said:
Nothing found I'm afraid - downloaded "fastboot-win.zip" from https://www.htcdev.com/images/uploads/fastboot-win.zip?legal_license_terms=1, but when called from a command window I get "This program can't start because AdbWinApi.dll is missing from your computer", so looks like I only have one part of the jigsaw
Click to expand...
Click to collapse
You can find a couple good and simple installers if you use the XDA search function and search "easy adb".
Although, if you get Error 12 when running the RUU later, you may need to uninstall this.
niloc said:
Nothing found I'm afraid - downloaded "fastboot-win.zip" from https://www.htcdev.com/images/uploads/fastboot-win.zip?legal_license_terms=1, but when called from a command window I get "This program can't start because AdbWinApi.dll is missing from your computer", so looks like I only have one part of the jigsaw
Click to expand...
Click to collapse
I have found an ADB installer at http://forum.xda-developers.com/showthread.php?t=2588979 so have installed this and run the command to get all variable, but command window is just sitting at <waiting for device>. I have rebooted phone again back into bootloader, just to see if this would kick start the connection, but nothing. I have unplugged and plugged the USB cable again to try and get it to be seen, so scratching my head at the moment!
---------- Post added at 07:57 PM ---------- Previous post was at 07:52 PM ----------
niloc said:
I have found an ADB installer at http://forum.xda-developers.com/showthread.php?t=2588979 so have installed this and run the command to get all variable, but command window is just sitting at <waiting for device>. I have rebooted phone again back into bootloader, just to see if this would kick start the connection, but nothing. I have unplugged and plugged the USB cable again to try and get it to be seen, so scratching my head at the moment!
Click to expand...
Click to collapse
The phone is just not being seen by the laptop at all and does not appear in the Device Manager of Windows. I have tried it in different USB ports, but no difference....
Try to uninstall HTC Sync, and re-install.
redpoint73 said:
Try to uninstall HTC Sync, and re-install.
Click to expand...
Click to collapse
Uninstalled and reinstalled Sync Manager and rebooted laptop, but still Phone not being seen, so changed USB cable to voilĂ ! So, back to answering your original question of the information of the origin of the phone:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.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: 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.145s
i had the same problem as mentioned above. Downloaded official update as the phone sugested. Clicked install ... then restart instaling update and at the end error. Now it doesnt boot and goes directly into bootloader.
I restated into fastboot and in that pc finaly recognized mobile and instaled official RUU < RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4 >
Installed and booted.. looks okay
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul_ca
(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.029s
Perfect - thank you shade550. That RUU worked a treat.
Thank you redpoint73, your patients and guidance was a god send and I could have not achieved any of this without you
niloc said:
Uninstalled and reinstalled Sync Manager and rebooted laptop, but still Phone not being seen, so changed USB cable to voilĂ !
Click to expand...
Click to collapse
Damn, I should have figured it was something simple like the cable. Its seems the simple, seemingly obvious stuff is most often the answer. So much so, I forgot to even consider it.
Glad you sorted it out. My pleasure helping, really.
Hi redpoint73, I'm still stuck with this problem. I don't understand how to install de RRU that you had post in the first page. My phone is manufactured in the UK.
I already installed the HTC Sync Manager, and the adb.
What's the next step for installing this? Sorry but I'm no quite good with this stuff.
sonoman87 said:
Hi redpoint73, I'm still stuck with this problem. I don't understand how to install de RRU that you had post in the first page. My phone is manufactured in the UK.
I already installed the HTC Sync Manager, and the adb.
What's the next step for installing this? Sorry but I'm no quite good with this stuff.
Click to expand...
Click to collapse
1) Connect phone to PC.
2) Boot phone to bootloader-fastboot mode
3) Run the RUU.exe, and it will walk you through the rest

Help to install firmward

HI
So I have installed latest Revolution with Android 5 version. However the WIFI is not turning on. I found that ideally you also need to update firrmware and in the meantime I have S-OFFed phone using Sunshine.
I am quite confused which firmware I need to install to try to solve WIFI issue. My bootloader info is the following
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: 1.16.2133156.UA15G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.54.401.10
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__002
(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: 098a72e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Can someone point me to the correct firmware. I tried to also open web page where there are latest firmware but I was very confused the one I need to install.
You need to install 6.12.401.4 firmware.
You can find them on most custom ROMs thread but make sure to use only a full firmware because your current one is too low.
I can only guide you with a signed firmware that you can get from my thread : http://forum.xda-developers.com/showpost.php?p=60218734&postcount=5
put your device to bootloader/fastboot mode :
fastboot reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip fw_6.12.401.4.zip
you'll error
repeat again fastboot flash zip fw_6.12.401.4.zip
fastboot reboot-bootloader
reflash latest TWRP 3.0.2-0 - https://dl.twrp.me/m8/
reinstall ROM
done
ckpv5 said:
You need to install 6.12.401.4 firmware.
Click to expand...
Click to collapse
Great thanks let me try to find it then
newera said:
Great thanks let me try to find it then
Click to expand...
Click to collapse
You need to install full firmware ... see my edit above.
thanks for detailed instructions. i will be trying now to install
newera said:
thanks for detailed instructions. i will be trying now to install
Click to expand...
Click to collapse
hi so what exactly is this? TWRP 3.0.2-0 and how to install such image?
also where exactly shall i put .zip firmware on sd or on phone?
Oh man ... I don't expect that come from you with a S-Off device ...
To install TWRP : fastboot flash recovery twrp-3.0.2-0-m8.img
all these require you to have adb/fastboot installed (you should already have one, if not how did you get that fastboot getvar all result ?)
and those firmware.zip & twrp-3.0.2-0-m8.img put them in your adb/fastboot folder.
put the device on bootloader/fastboot mode, open a command prompt from your adb/fastboot folder then run those commands.
ckpv5 said:
Oh man ... I don't expect that come from you with a S-Off device ...
To install TWRP : fastboot flash recovery twrp-3.0.2-0-m8.img
all these require you to have adb/fastboot installed (you should already have one, if not how did you get that fastboot getvar all result ?)
and those firmware.zip & twrp-3.0.2-0-m8.img put them in your adb/fastboot folder.
put the device on bootloader/fastboot mode, open a command prompt from your adb/fastboot folder then run those commands.
Click to expand...
Click to collapse
Yeah sorry... I have not updated my phone for the past 2 years... so yes sorry for being a rookie in this...
I restart the mobile into fastboot and then i used mini-sdk on Windows with command prompt so that is why I could not understand where to put the zip file.
newera said:
Yeah sorry... I have not updated my phone for the past 2 years... so yes sorry for being a rookie in this...
I restart the mobile into fastboot and then i used mini-sdk on Windows with command prompt so that is why I could not understand where to put the zip file.
Click to expand...
Click to collapse
Thanks sorry I did not realize I don't need to put the file on mobile. Yeah I made a big mistake in this hehe .... i thought the command was running on mobile and not on PC. it being flashed right now.
newera said:
Yeah sorry... I have not updated my phone for the past 2 years... so yes sorry for being a rookie in this...
I restart the mobile into fastboot and then i used mini-sdk on Windows with command prompt so that is why I could not understand where to put the zip file.
Click to expand...
Click to collapse
You can try this - http://forum.xda-developers.com/showpost.php?p=64926362&postcount=4
With this adb/fastboot installer, install it as system-wide.
You can put the firmware.zip & TWRP anywhere that you like, let say your PC desktop. Then open a command prompt from desktop (after connecting device to PC on fastboot mode), type fastboot devices .. if you get serial no. then the connection is good. Now you can proceed with firmware flashing.

HTC 820 Desire Flashing Firmware Tutorial

So basically I made this guide for myself and though that It would be good for sharing it.
My problems started when phone just started restarting after one of the components failed. Sometimes it would be google play services, sometimes htc backup, sometimes others.. Plus, phone didnt wanna recognize my SIM card. Okay, tried with other roms here (sadly, there are only a couple of roms for this phone). None of them worked fully, while I could get rid of random restarts SIM still wasnt recognized. I was starting to lose my mind here, but hopefully found the solution. Here is a process of it:
Important note: Its really important that you read through everything first (especially useful links in the last section "Useful guides" ) and then to try and fix your phone
1. Usefull commands:
fastboot.exe getvar all -gets info about device, but you need to be in fastboot mode
Result:
Code:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 01.01.010_U10305041_08.01.50512
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: MB622YC03068
(bootloader) imei: ***
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: a51_ul
(bootloader) platform: hTCBmsm8939
(bootloader) modelid: 0PFJ40000
(bootloader) cidnum: HTC__032
(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: 1be89947
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
(bootloader) mfg-name: 0001
all: Done!
fastboot.exe oem readcid -gets CID from device. List of CIDs(https://forum.xda-developers.com/desire-820/general/htc-cid-list-t3359862)
Result:
Code:
(bootloader) cid: HTC__032
2. To unlock bootlader:
You need Unlock_code.bin file from htcdev.com(obtained by pasting the result of a command
fastboot oem get_identifier_token -gets you code for generating Unlock_code.bin.
Code:
<<<< Identifier Token Start >>>>
7AC0E35FE034FCAB88DEC6B8E650EC33
63556D84723B05EE4B2CE16AA8E6B1A4
B3E94B50C50EF1F6016D39CD16021F03
CBB2BEF798EE9FE77E395895449C4AC7
017E71B15D5E2C9AEBEBB41C491BA255
6D3F7E66005B5A36856DE0F59CCAE258
C944A80FACD0DBBD684297F15BE4AE26
183302EFBA2BF7A99B7A5CB1D4895E39
818A3F562FBCC159568F77C54C27EC16
6FD4F5200326F2B0E6E2B417A4145D85
1C692E7E62BDF4EC1B34A12CEB98E0EC
AB09CECABCDC11E60A3EAA28F0C81A0A
688F2A62591B21EEA7560DD07D14CBC8
9E536469D50C1DD79D5ACA6858D12155
199C47F8951658C98D11314467138082
787381ECA7DA832308497380A53EE403
<<<<< Identifier Token End >>>>>
After pasting that code into htcdev.com (you need to register), and getting Unlock_code.bin in your mailbox...
Run this command to unlock your bootloader.
fastboot flash unlocktoken Unlock_code.bin
Click to expand...
Click to collapse
And, to relock it, run this:
Code:
fastboot oem lock
Important: After the first unlock you will never get a status "LOCKED" in hboot.
Only "RELOCKED". Some say that to get trully again "LOCKED" status you need to S-OFF (Security-OFF)
3. To update firmware (not the same as rom
I was before on marshmallow.
First you need to download a firmware, which is in the zip format. Note that it cant be extracted and its not supposed to.
File name is in a like this format:
0PFJIMG_A51_UL_M60_DESIRE_SENSE70_MR_HTC_Europe_3.17.401.3_Radio_01.01.010_U10305041_08.01.50512_release_476105_signed_2.zip
Note the part A51_UL - matches the "product" property of "fastboot.exe getvar all" command;
M60 - i can only assume that it is a code for Marshmallow 6.0;
SENSE70 - HTC Sense version;
Europe - I can assume that this has to match your CID. (mine is 032 which is EastEurope);
3.17.401.3 - My assumption is that this has to match your bootloader version. Mine is 3.19.0.0000 so you should find a closest version to yours
Radio_01.01.010_U10305041_08.01.50512 - this is important also! Its the radio version and *must* be the same as the one you get from "fastboot.exe getvar all" command.
4. Flashing:
There are two ways to flash the firmware. Via usb(adb/fastboot) and directly copying firmware to your sdcard and booting into bootlader.
Keep in mind that your bootlader has to be either relocked or locked. It wont work if you have "UNLOCKED" status.
For both ways you have to rename that long file name to a short, in exactly following manner:
Mine, from "0PFJIMG_A51_UL_M60_DESIRE_SENSE70_MR_HTC_Europe_3.17.401.3_Radio_01.01.010_U10305041_08.01.50512_release_476105_signed_2.zip" became "0PFJIMG.zip". You only need to keep that first parameter as the file name.
4a. Via usb (boot into fastboot mode):
fastboot oem rebootRUU - Reboot into RUU mode, you will get black screen with silver htc logo
fastboot flash 0PFJIMG.zip -this will flash your file and take a while. However, you might get an error like me(failed remote: 32 header), or similar header number. If so, try the other method (4b).
4b. Via sd card:
Copy the 0PFJIMG.zip in the root of your sd card;
Reboot your phone into hboot and it should automatically recognize that file and start flashing.
It takes a bit, aroound 10-20 minutes? I forgot, but as long as the bar is moving you're good.
After that, phone will prompt for a restart and go into usual procedure of first start.
Keep in mind that your data on microsd card will not be deleted, so you're good.
5. Where to find image for your device?
This took me long to find but you have it on gsmdevelopers in this big thread:
For example I found mine on
You need to search through it by your product(model), radio, bootloader and android version. These three should match. Also, the CID too (or take the region closest to you if previos four parametres are matching and you cant find your specific cid).
6. Drivers:
The usual adb/fastboot binaries are required as well as the special "Htc special fastboot Driver" from here.
I dont think your fastboot will recognize your device without these drivers. If the link gets broken those drivers can be found on XDA too.
So if you are getting an error where fastboot cant recognize your device - check the drivers first from that and other sources as well.
7. What after?
You can now safely again unlock the bootloader and install twrp and after that root your phone if you need it.
8. Installing twrp:
Unlock bootloader(check 1.) and follow this guide:
For rooting I havent tried SuperSU, but used Magisk root.
9. Useful pages:
Flashing guide:
http://forum.gsmdevelopers.com/htc-...-file-flashing-via-sdcard-flashing-guide.html
https://www.hardreset.info/devices/htc/htc-desire-820/faq/firmware-flash/update-change-repair-htc/
To obtain Unlock_code: https://www.htcdev.com/
Firmware mention in this guide: https://androidfilehost.com/?fid=24572369242687630, taken from this page:http://forum.gsmdevelopers.com/htc-firmware-unified/42090-htc-desire-820n-a51-ul-firmware.html
Extremely useful guide: http://forum.gsmdevelopers.com/htc-...t-unrevealed-complete-guide-informations.html

Categories

Resources