Htc desire 816 no os , no cwm/twrp - Desire 816 General

C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.555 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 7(s)
MY GETVAR
C:\Users\Admin\.android>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.31.50.0215
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA484MZ00350
(bootloader) imei:
(bootloader) imei2:
(bootloader) meid: A1000037D94F05
(bootloader) product: a5_dwg
(bootloader) platform: hTCBmsm8226
(bootloader) modelid: 0P9C51000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: 09813c97
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Execution time is 13(ms)
And i Get this error
C:\Users\Admin\.android>fastboot oem unlock
... (bootloader) [ERR] Command error !!!
OKAY
Execution time is 3(ms)
Help Me Out!!!
My Device Is HTC DESIRE 816 Dual Sim (INDIA)

sujay123 said:
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.555 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAIL99 unknown fail
FAILED (remote: 99 unknown fail)
Execution time is 7(s)
MY GETVAR
C:\Users\Admin\.android>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.31.50.0215
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA484MZ00350
(bootloader) imei:
(bootloader) imei2:
(bootloader) meid: A1000037D94F05
(bootloader) product: a5_dwg
(bootloader) platform: hTCBmsm8226
(bootloader) modelid: 0P9C51000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: 09813c97
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Execution time is 13(ms)
And i Get this error
C:\Users\Admin\.android>fastboot oem unlock
... (bootloader) [ERR] Command error !!!
OKAY
Execution time is 3(ms)
Help Me Out!!!
My Device Is HTC DESIRE 816 Dual Sim (INDIA)
Click to expand...
Click to collapse
Do you have HTC drivers installed?
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Do you have HTC drivers installed?
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
Yeah I guess, I'm new to this stuff. So could you be a bit more Specific.

sujay123 said:
Yeah I guess, I'm new to this stuff. So could you be a bit more Specific.
Click to expand...
Click to collapse
Do you have HTC Sync installed is what I'm asking
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Do you have HTC Sync installed is what I'm asking
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
Yeah, But its unable to recognize the device.

sujay123 said:
Yeah, But its unable to recognize the device.
Click to expand...
Click to collapse
1st. Remove imei and imei 2 from first post for safety reasons.
2. Uninstall HTC Sync but keep everything else it installed..
3. Make sure you have Java installed ( not sure if you need it , but I always have it installed )
4. Have you tried flashing the zip again ? Boot loader locked ?
fastboot flash zip (name of zip)
If fails it should say flush again.. then redo the command.
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
1st. Remove imei and imei 2 from first post for safety reasons.
2. Uninstall HTC Sync but keep everything else it installed..
3. Make sure you have Java installed ( not sure if you need it , but I always have it installed )
4. Have you tried flashing the zip again ? Boot loader locked ?
fastboot flash zip (name of zip)
If fails it should say flush again.. then redo the command.
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
1) Done
2) Done
3) Have It
4)
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.558 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 6(s)
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.554 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 6(s)
C:\Users\Admin\.android>fastboot oem unlock
... (bootloader) [ERR] Command error !!!
OKAY
Execution time is 0(ms)

sujay123 said:
1) Done
2) Done
3) Have It
4)
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.558 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 6(s)
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) OKAY
sending time = 2.554 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
(bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 6(s)
C:\Users\Admin\.android>fastboot oem unlock
... (bootloader) [ERR] Command error !!!
OKAY
Execution time is 0(ms)
Click to expand...
Click to collapse
Okay lock boot loader first if it's already unlocked
fastboot oem lock
Then try flashing the zip again.
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Okay lock boot loader first if it's already unlocked
fastboot oem lock
Then try flashing the zip again.
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
C:\Users\Admin\.android>fastboot oem lock
... (bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) WARM RESET: 9
(bootloader) [INFO] Rebooting device
FAILED (status read failed (No such file or directory))
Execution time is 1(s)
And WNIDOWS ERROR : FASTBOOT.EXE Has Stopped Working
Now Waiting for my battery to drain

sujay123 said:
C:\Users\Admin\.android>fastboot oem lock
... (bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 536739196 (0x1FFDFD7C)
(bootloader) WARM RESET: 9
(bootloader) [INFO] Rebooting device
FAILED (status read failed (No such file or directory))
Execution time is 1(s)
And WNIDOWS ERROR : FASTBOOT.EXE Has Stopped Working
Now Waiting for my battery to drain
Click to expand...
Click to collapse
Okay I need to know what you did that left your phone in the state that it is.
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Okay I need to know what you did that left your phone in the state that it is.
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
First I Rooted it, Via CWM
Then I tried to Partition My SD card ,but failed , so i got it back to its original state.
Then Tried to install some random theme.zip through CWM
That's when the problem started (Stuck At black screen on Booting)
Then I'm not sure about this : I probably formatted the SYSTEM via CWM (Probably the reason for absent OS)
And I'm Not sure how I lost CWM : probably while flashing stock recovery.img (via Fastboot)
and then FASTBOOT OEM LOCK, tried to unlock it but i keep getting the same error.
and then i downloaded and installed this HTC SPECIAL FASTBOOT DRIVER DOWNLOAD & ADB SETUP DRIVER
and again tried to flash RECOVER.IMG, but failed.
So I Repeated the unlock procedure from the HTC website.
I get option , I select unlock , The Device REBOOTS, and FASTBOOT OEM UNLOCK : FAILED
But , even then I try to Flash 0P9CIMG.zip which fails again and again.
I have no Idea Whats going on
I can only Access the bootloader menu.
Cannot Access recovery , a red triangle and ! appears.
PLEASE TELL ME YOU HAVE A SOLUTION.
I'M READY TO DOWNLOAD A NEW RECOVERY.IMG AND RUU FOR A5_DWG

sujay123 said:
First I Rooted it, Via CWM
Then I tried to Partition My SD card ,but failed , so i got it back to its original state.
Then Tried to install some random theme.zip through CWM
That's when the problem started (Stuck At black screen on Booting)
Then I'm not sure about this : I probably formatted the SYSTEM via CWM (Probably the reason for absent OS)
And I'm Not sure how I lost CWM : probably while flashing stock recovery.img (via Fastboot)
and then FASTBOOT OEM LOCK, tried to unlock it but i keep getting the same error.
and then i downloaded and installed this HTC SPECIAL FASTBOOT DRIVER DOWNLOAD & ADB SETUP DRIVER
and again tried to flash RECOVER.IMG, but failed.
So I Repeated the unlock procedure from the HTC website.
I get option , I select unlock , The Device REBOOTS, and FASTBOOT OEM UNLOCK : FAILED
But , even then I try to Flash 0P9CIMG.zip which fails again and again.
I have no Idea Whats going on
I can only Access the bootloader menu.
Cannot Access recovery , a red triangle and ! appears.
PLEASE TELL ME YOU HAVE A SOLUTION.
I'M READY TO DOWNLOAD A NEW RECOVERY.IMG AND RUU FOR A5_DWG
Click to expand...
Click to collapse
Have you tried placing zip on external SDCard and name it 0P9CIMG.zip and let the boot loader do the RUU Update it's self.
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Have you tried placing zip on external SDCard and name it 0P9CIMG.zip and let the boot loader do the RUU Update it's self.
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
Okay I Think This is it (Hope It Works)
Flashing ZIP file....
:fingers-crossed:
Do you Want to Start Update
<VOL UP> Yes
<VOL DOWN> No
Going With Yes

sujay123 said:
Okay I Think This is it (Hope It Works)
Flashing ZIP file....
:fingers-crossed:
Do you Want to Start Update
<VOL UP> Yes
<VOL DOWN> No
Going With Yes
Click to expand...
Click to collapse
Well?
Sent from my HTC Desire EYE using Tapatalk

xXminiWHOOPERxX said:
Well?
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
I got the OS- (2.34.720.1)
Update is in progress
flashing zip file
Is this it?

xXminiWHOOPERxX said:
Well?
Sent from my HTC Desire EYE using Tapatalk
Click to expand...
Click to collapse
OMG :crying: Thank you So Much , I LOVE YOU.
Just A few More Queries
1 ) Can/How Do I Unlock OEM
2) How do I get to know the status of My Device rooted/unrooted
3) Which one is preferred CWM/TWRP , and do I put it back using the normal procedure.?
4) Can I modify/Change the Stock recovery.img
5) Should I install the SuperSU.zip/apk

sujay123 said:
OMG :crying: Thank you So Much , I LOVE YOU.
Just A few More Queries
1 ) Can/How Do I Unlock OEM
2) How do I get to know the status of My Device rooted/unrooted
3) Which one is preferred CWM/TWRP , and do I put it back using the normal procedure.?
4) Can I modify/Change the Stock recovery.img
5) Should I install the SuperSU.zip/apk
Click to expand...
Click to collapse
1) To sim unlock I'm unsure of because I don't own a dual sim device ..
Unlock boot loader on htcdev.com
2&3) install official twrp from their website and download SuperSU 2.56
Sent from my HTC Desire EYE using Tapatalk

Red triangle with stock recovery flash
Cannot Access recovery , a red triangle and ! appears.
Just to chime in on the red triangle issue . I had that same issue when reflashing my stock recovery back to my rooted 816 single SIM and the issue was that the stock recovery was there but had that screen due to the fact that I had altered the phone and the triangle is an indicator of that for HTC I guess. I was able to get into the stock recovery by pressing and holding the power button then pressing volume up and waiting . When the stock recovery screen shows up you release the volume button I believe but it might be releasing both. It's been a while. Either way I got into the stock recovery but I ended up just reflashing TWRP custom recovery back and not doing my stock update as the zip file kept failing. Glad you got expert help with your issues and got it resolved.

sujay123 said:
C:\Users\Admin\.android>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (38480 KB) O
And i Get this error
C:\Users\Admin\.android>fastboot oem unlock
... (bootloader) [ERR] Command error !!!
OKAY
Execution time is 3(ms)
Help Me Out!!!
My Device Is HTC DESIRE 816 Dual Sim (INDIA)
Click to expand...
Click to collapse
Could u plz post the link to that zip file, becos im also using a5dwg

thoctor said:
Cannot Access recovery , a red triangle and ! appears.
Just to chime in on the red triangle issue . I had that same issue when reflashing my stock recovery back to my rooted 816 single SIM and the issue was that the stock recovery was there but had that screen due to the fact that I had altered the phone and the triangle is an indicator of that for HTC I guess. I was able to get into the stock recovery by pressing and holding the power button then pressing volume up and waiting . When the stock recovery screen shows up you release the volume button I believe but it might be releasing both. It's been a while. Either way I got into the stock recovery but I ended up just reflashing TWRP custom recovery back and not doing my stock update as the zip file kept failing. Glad you got expert help with your issues and got it resolved.
Click to expand...
Click to collapse
I had tried every combination, nothing worked. It was either restart or was stuck at the boot screen (HTC white Logo) or a Black screen.
Yeah me too!!

Related

[GUIDE][S-ON] Restore your (European) HTC One M8 back to stock

Hi all,
I've created a simple guide to restore your HTC One M8 back to stock firmware while still being on S-ON.
This guide will provide you with all the files required to restore your EUROPEAN device back to stock.
If you have an device from another region, you'll need to find the RUU & recovery image yourself. (see below)
Prerequisites:
- HTC Drivers (just install HTC Sync and the included drivers, then remove HTC Sync)
- Fastboot package
- Stock recovery.img (you'll need the recovery.img with the same fw version as the RUU you're going to flash) (Link to 4.16.401.10 recovery.img for European non-carier devices)
- The RUU for your region/carrier. (Link to 4.16.401.10 for European non-carier devices)
If you have an USA /USA carrier device, go here for the RUU files
If you have an device from another region than Europe or USA, good luck finding the correct RUU
Look here to find recovery.img files for all regions (thanks to @exocetdj)
Because this guide is intended for S-ON, only the RUU for your region/carrier will work.
If you don't have an RUU or cannot find one for your region/carrier, S-OFF your device and follow this guide to restore your HTC One M8 back to stock. (thanks to @EddyOS)
After you've gone trough all steps;
- The red text during boot will be gone
- You'll have the stock firmware, system, recovery and boot.img
- Your bootloader will say "Relocked"
- Your bootloader will say "Software status: Official"
Let's start:
Step 1:
Start the RUU exe by double clicking on it, it will take a few seconds before it starts. After it has started, do not continue but go to your temp folder (type %TEMP% in your address bar)
Find the folder with the temporary files from the RUU (mine was called: {C48DBAA3-1CC0-4DF6-B069-B9CCB27F93C9})
Inside this folder there should be a few files and another folder with a long code as name (mine was called: {50F2F878-636A-496F-A7CB-544C067E0C4B})
Inside this folder, scroll down until you find rom.zip, open this file
Extract boot_signed.img and place it in a folder with the downloaded stock recovery and the fastboot.exe file
Now close the RUU installation wizard
Step 2:
Turn off your device
Hold VOL-Down + Power, after a few seconds you'll be in the bootloader. Now release the buttons
Navigate with the volume buttons to fastboot and confirm with the power button.
Step 3:
You should now have a folder with the following files:
- fastboot.exe
- AdbWinApi.dll
- AdbWinUsbApi.dll
- boot.img (extracted from the rom.zip)
- recovery.img (see prerequisites)
Inside the folder while holding shift, click right mouse and choose Open command window here
Before starting, it's recommended to rename the recovery file to recovery.img and the kernel to boot.img
Type the following commands in order (make sure to check the output and see if every command is successful before executing the next command)
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot oem lock
This will push the stock kernel & recovery and relock your device.
Step 4:
Open the RUU installation wizard again and follow the instructions.
It will start flashing the RUU on your device.
After 8-12 minutes, the installation will be complete and your device will boot into system.
Step 5: (optional)
Power off your device
Hold VOL-Down + Power, after a few seconds you'll be in the bootloader. Now release the buttons
Verify that your bootloader says "Relocked" & "Software status: Official"
Congratulations, your device is back to stock again. After it's finished booting and optimizing 261(!) pre installed apps, you'll be greeted by the setup wizard on your phone.
If you have any questions, let me know.
Common problems:
Fastboot cannot find my device?
- try reinstalling the HTC drivers included with HTC Sync, and make sure to remove HTC Sync afterwards but leaving the drivers installed
I've got error 155 when trying to flash the RUU
- make sure your bootloader is locked. This tool only works when you have stock kernel, recovery and your bootloader is locked or relocked.
Reserved
TAMPERED
UNLOCK
M8_UL PVT SHIP S-ON
HBOOT- 3.16.0.0000
RADIO-1.16.2133156.UA15g
OpenDSP-v38.2.2-00542-m8974.0311
OS-1.54.401.10
eMMC-boot 2048MB
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
This is my phone , should i do any thing more or just the steps u mentioned???
I was told that i must upgrade my firmware, must i ??
Thanks
This is a great guide for those that just want to return to stock for their own purposes. However, this will not be enough for sending the phone into warranty, for that you'll need to take a few more steps with S-Off to get that RELOCKED flag to say LOCKED.
dima470 said:
This is a great guide for those that just want to return to stock for their own purposes. However, this will not be enough for sending the phone into warranty, for that you'll need to take a few more steps with S-Off to get that RELOCKED flag to say LOCKED.
Click to expand...
Click to collapse
From my experience with HTC warranty repairs, they don't really care about the bootloader being 'relocked', S-Off is a more common cause for them to not repair the device.
But, above differs per repair center / per country
al_wizard said:
TAMPERED
UNLOCK
M8_UL PVT SHIP S-ON
HBOOT- 3.16.0.0000
RADIO-1.16.2133156.UA15g
OpenDSP-v38.2.2-00542-m8974.0311
OS-1.54.401.10
eMMC-boot 2048MB
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
This is my phone , should i do any thing more or just the steps u mentioned???
I was told that i must upgrade my firmware, must i ??
Thanks
Click to expand...
Click to collapse
Where did you bought your device?
al_wizard said:
TAMPERED
UNLOCK
M8_UL PVT SHIP S-ON
HBOOT- 3.16.0.0000
RADIO-1.16.2133156.UA15g
OpenDSP-v38.2.2-00542-m8974.0311
OS-1.54.401.10
eMMC-boot 2048MB
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
This is my phone , should i do any thing more or just the steps u mentioned???
I was told that i must upgrade my firmware, must i ??
Thanks
Click to expand...
Click to collapse
You are S-ON so you need to relock the bootloader and run the ruu.
If you want to give all info to work with you need to post the outcome of :
Fastboot getvar all
Delete the serial and imei and post the list here.
Or check the firmware & nand backup thread here in the general section. Restore the stock rom and recovery and perform ota updates which also will upgrade the firmware
---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------
Joery360 said:
From my experience with HTC warranty repairs, they don't really care about the bootloader being 'relocked', S-Off is a more common cause for them to not repair the device.
But, above differs per repair center / per country
Where did you bought your device?
Click to expand...
Click to collapse
Has nothing to do with where he bought it from, it is depending on the phones hardware & software, for all we know its imported.
The specs are important not where he got it from. And you can't tie it down on how repair centers handle the phones....that's a matter of good luck !
Joery360 said:
Where did you bought your device?
Click to expand...
Click to collapse
I bought it second-hand from Qatar if you mean country.
Hi. I tried to use this guide but it I couldn't follow it through. I have relocked, tempered, S-ON, CID : TMOB102 phone. It is stuck in the HTC logo after a full wipe from twrp. I don't have OS, and the main version is empty. So far I have tried all the European RUU which gave CID error and 2 T-Mobile RUU's with MID error both. Can anyone give me a suggestion?
Problem extracting boot_signed.img
When I try to extract the boot_signed.img akk I get from Winzip is "cant find central directory"
Any ideas??
This is a great guide for those that just want to return to stock for their own purposes.
Hi,
I just needs to get OTA on my phone and i dont mind it being tampered or unlocked.
Will this method work on my phone ?
(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:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: SH495WM01309
(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: 098a72e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
:/
I tried to flash the boot.img but I get this error:
C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting...
FAILED (remote: not allowed)
finished. total time: 0.895s
I have no OS now if I try to reboot I get stuck on boot logo. What can I do to get back to stock with OTA and everything?
C:\Users\Ali\Desktop\Fastboot>fastboot getvar all
(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: 3.33.61.9
(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: ORANG001
(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: 4c3fbd70
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.020s
thanks this helped me revive my m8
Pc can't identify my device. phone gets htc logo then it turns black and disconnects from pc. RUU wiz error (170) usb connection error.
royalkalana said:
Hi,
I just needs to get OTA on my phone and i dont mind it being tampered or unlocked.
Will this method work on my phone ?.....
Click to expand...
Click to collapse
Yes
gorner92 said:
I tried to flash the boot.img but I get this error:
C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting..
Click to expand...
Click to collapse
Please check if your device is unlocked. You can't flash boot.img's while on a locked bootloader.
Cpre said:
Pc can't identify my device. phone gets htc logo then it turns black and disconnects from pc. RUU wiz error (170) usb connection error.
Click to expand...
Click to collapse
Reinstall the HTC drivers.
gorner92 said:
I tried to flash the boot.img but I get this error:
C:\Users\Ali\Desktop\Fastboot>fastboot boot boot.img
creating boot image...
creating boot image - 8994816 bytes
downloading 'boot.img'...
OKAY [ 0.894s]
booting...
FAILED (remote: not allowed)
finished. total time: 0.895s
I have no OS now if I try to reboot I get stuck on boot logo. What can I do to get back to stock with OTA and everything?
C:\Users\Ali\Desktop\Fastboot>fastboot getvar all
(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: 3.33.61.9
(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: ORANG001
(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: 4c3fbd70
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.020s
Click to expand...
Click to collapse
You are using the wrong command ! It's :
Fastboot flash boot boot.img
NOT
Fastboot boot boot.img ! That's why you got stuck. And indeed make sure the bootloader is UNLOCKED before you flash !
While i don't even know flashing the boot.img and recovery seperatly first is actually needed because all that's needed is to relock the bootloader and run the ruu.exe or the temp rom.zip via sd card.
afaik the ruu method takes care of the boot.img and recovery on its own.
Got a problem with 3rd command (locking oem) in step 3. It goes like this:
C:\adb>fastboot flash boot boot.img
target reported max download size of 1826021376 bytes
sending 'boot' (8780 KB)...
OKAY [ 1.001s]
writing 'boot'...
OKAY [ 0.464s]
finished. total time: 1.465s
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 1826021376 bytes
sending 'recovery' (16044 KB)...
OKAY [ 1.710s]
writing 'recovery'...
OKAY [ 0.646s]
finished. total time: 2.357s
C:\adb>fastboot oem lock
...
(bootloader) [PGFS] partition_update_pgfs: pg1fs_security
(bootloader) TZ_HTC_SVC_ENC ret = 0
(bootloader) [PGFS] partition_update_pgfs: pg2fs_sec_recovery
(bootloader) Lock successfully...
(bootloader) deinit_lcd
(bootloader) mipi display off
(bootloader) mdp_clock_off
(bootloader) turn off fd8c2308 failed 1 times. Try again...
(bootloader) disable_mmss_clk done
(bootloader) pll1_disable done
(bootloader) TZ_HTC_SVC_DISABLE ret = -1610744452 (0x9FFDFD7C)
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [CRITICAL] SPMI write command failure: cmd_id = 0, error
(bootloader) = 4
(bootloader) [INFO] Rebooting device
FAILED (status read failed (Too many links))
finished. total time: 1.194s
My getvar all before flashing:
version: 0.5
version-bootloader: 3.19.0.0000
version-baseband: 1.22.21331147A1.29G
version-cpld: None
version-microp: None
version-main:
version-misc: PVT SHIP S-ON
meid: 0000000000000000
product: m8_ul
platform: hTCBmsm8974
modelid: 0P6B10000
cindum: HTC__032
Now my phone is stuck on my ROM's boot logo and now I can't access bootloader.
EDIT:
I've managed to access bootloader by holding power + volup and then holding vol down. After that installing via RUU went smooth.
Hi, I followed your instructions, but before I could start with 4th device booted up and i accidentaly accepted upgrade. It rebooted and upgraded the device, and then stuck on boot screen. Now I try to update it through RUU but it says image version 4.16.401.13, and I can't find RUU for that version. Any ideas? Can I somehow reinstall twrp and restore nandroid backup?
P.S. in bootloader it still says software status: modified :/
P.P.S. I still managed to make RUU go through all the steps, from a billionth time. It would usually stuck on steps 0, step 1, or step 3. Now it seems like it's booting fine... Time to shower away all the cold sweat from my body.
Hi Guys,
I have windows 8.1 and can't open rom.zip file. I have an error : The compressed Folder is invalid. Installed winzip, 7-zip - can't go ahead.
If you are having trouble sending the ruu and you are stuck at sending 0/7 or 1/8 and only htc logo. then just delete htc sync manager from your pc!!!

Marshmallow 6.0 update 6.12.401.4 for the HTC M8 European edition

Probably not all have noticed the last Marshmallow 6.0 update 6.12.401.4 for the HTC M8 European edition. Greets to the uploader.
Here it is:
http://forum.xda-developers.com/htc-one-m8/development/progress-fuu-m8-t2813792
To be clear, this is just (leaked) firmware.zip, not the ROM.
Folks seem trigger-happy to make threads about the 401 update, when there isn't one yet?
---------- Post added at 12:31 PM ---------- Previous post was at 11:32 AM ----------
Stock flashable ROM is here: http://forum.xda-developers.com/htc-one-m8/development/rom-sense-6-12-401-4-mra58k-stock-t3296066
There is also apparently a (leaked?) RUU around somewhere?
Is this the RUU?
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
https://www.androidfilehost.com/?fid=24369303960687057
David_UK said:
Is this the RUU?
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
https://www.androidfilehost.com/?fid=24369303960687057
Click to expand...
Click to collapse
looks like it. flashing in 5, 4, 3,...
kukubau said:
looks like it. flashing in 5, 4, 3,...
Click to expand...
Click to collapse
How to flash? Rename to 0P6BIMG.zip and flashing with hboot?
forgiveMySin said:
How to flash? Rename to 0P6BIMG.zip and flashing with hboot?
Click to expand...
Click to collapse
I don't know if you need to rename it to 0P6BIMG.zip. I have S-OFF and the bootloader unlocked and I hadn't to.
Download htc_fastboot.exe from somewhere or get it from inside any RUU exe after the files were unpacked and the wizard has started.
1. Boot into bootloader
2. type with the phone connected at your computer:
Code:
fastboot oem rebootRUU
3.
Code:
htc_fastboot flash zip <path to the rom.zip file>/rom.zip
, named accordingly
wait...
done
David_UK said:
Is this the RUU?
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
https://www.androidfilehost.com/?fid=24369303960687057
Click to expand...
Click to collapse
Flashed, it works great. Thanks!
When I tried to flash it says:
Target reported max download size of 1826152448 bytes
Error: cannot load c:\adb\0P6BIMG.zip
I have tried to download again, but it stil gives me the same error.
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 64.343s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.091s
OTA over wifi failed. This one also (maybe because of relocked bootloader?)
No I get FAILED (remote: 32 header error)
kukubau said:
I don't know if you need to rename it to 0P6BIMG.zip. I have S-OFF and the bootloader unlocked and I hadn't to.
Download htc_fastboot.exe from somewhere or get it from inside any RUU exe after the files were unpacked and the wizard has started.
1. Boot into bootloader
2. type with the phone connected at your computer:
Code:
fastboot oem rebootRUU
3.
Code:
htc_fastboot flash zip <path to the rom.zip file>/rom.zip
, named accordingly
wait...
done
Click to expand...
Click to collapse
so, if i have an unlocked bootloader and s-off can i follow your procedure ?
Here it is ...
All official ...
Majland said:
When I tried to flash it says:
Target reported max download size of 1826152448 bytes
Error: cannot load c:\adb\0P6BIMG.zip
I have tried to download again, but it stil gives me the same error.
Click to expand...
Click to collapse
I downloaded 3 times and still get corrupt file.... MD5 is ok though...
Now Im trying to restore to go via OTA....
David_UK said:
Is this the RUU?
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
https://www.androidfilehost.com/?fid=24369303960687057
Click to expand...
Click to collapse
Thank you very mych for the link!!!
HTC OTA update fu*k up my phone (my phone is untouched - not rooted moded and so - unlocked version). Update process stop unexpectedly (not able to mount SDCARD or something like that ) and my phone was unusable - unable to start android and goes automatically to recovery. I had to preform manual upgrade with RUU from the link. The only drawback is that the update wipe all my phone including internal memory and I lost all my pictures (not big deal of price of bricked phone). The HTC backup restore almost everything and now phone working like charm.
I cant find any normal, human language tutorial, to fix this **** up without s-off. My htc was rooted, I flashed su... Now I'm on stock recovery. Only this is my prob:
fakitol said:
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 64.343s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.091s
OTA over wifi failed. This one also (maybe because of relocked bootloader?)
No I get FAILED (remote: 32 header error)
Click to expand...
Click to collapse
I have exactly the same problem
I downloaded the file:
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
from:
androidfilehost fid=24369303960686952 (I can't post the link because I'm a forum baby...)
md5 compare downloaded file and website is same (good download) - 469c3b8504ce2a2c8aae0fde17bfe028
Did anyone have success with the above file?
C:\adb>fastboot flash zip 0P6BIMG.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 65.280s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.942s
---------- Post added at 04:22 PM ---------- Previous post was at 04:13 PM ----------
Pepaaa said:
I have exactly the same problem
I downloaded the file:
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
from:
androidfilehost fid=24369303960686952 (I can't post the link because I'm a forum baby...)
md5 compare downloaded file and website is same (good download) - 469c3b8504ce2a2c8aae0fde17bfe028
Did anyone have success with the above file?
C:\adb>fastboot flash zip 0P6BIMG.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 65.280s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.942s
Click to expand...
Click to collapse
Just found that this ZIP method will most likely not work if your phone is S-ON
Then my phone can't be revived without the original RUU.EXE or "unmodified" RUU.ZIP method.
Any ideas? Please share...
When I read my phone info, I get this:
(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-ON
(bootloader) serialno: FA45*********
(bootloader) imei: <hidden>
(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: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Pepaaa said:
I have exactly the same problem
I downloaded the file:
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
from:
androidfilehost fid=24369303960686952 (I can't post the link because I'm a forum baby...)
md5 compare downloaded file and website is same (good download) - 469c3b8504ce2a2c8aae0fde17bfe028
Did anyone have success with the above file?
C:\adb>fastboot flash zip 0P6BIMG.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 65.280s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.942s
---------- Post added at 04:22 PM ---------- Previous post was at 04:13 PM ----------
Just found that this ZIP method will most likely not work if your phone is S-ON
Then my phone can't be revived without the original RUU.EXE or "unmodified" RUU.ZIP method.
Any ideas? Please share...
When I read my phone info, I get this:
(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-ON
(bootloader) serialno: FA45*********
(bootloader) imei: <hidden>
(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: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
error 12 is when bootloader is locked.
Pepaaa said:
I have exactly the same problem
I downloaded the file:
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
from:
androidfilehost fid=24369303960686952 (I can't post the link because I'm a forum baby...)
md5 compare downloaded file and website is same (good download) - 469c3b8504ce2a2c8aae0fde17bfe028
Did anyone have success with the above file?
C:\adb>fastboot flash zip 0P6BIMG.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1687272 KB)...
OKAY [ 65.280s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 126.942s
Click to expand...
Click to collapse
You don't read properly what is written on post #6
You need htc_fastboot.exe to flash the RUU zip. Normal/google fastboot.exe won't work.
Also S-On device must relock bootloader.
htc_fastboot.exe - https://drive.google.com/file/d/0B8L4pkbzdlR3eTlJSjdKVEdHX1U/view
For S-On
fastboot oem lock (to relock bootloader)
fastboot reboot-bootloader (reboot to bootloader after relock)
fastboot oem rebootRUU (put the device in RUU mode)
htc_fastboot flash zip RUU.zip (to install RUU)
For S-Off
fastboot oem rebootRUU (put the device in RUU mode)
htc_fastboot flash zip RUU.zip (to install RUU)
---------- Post added at 03:58 PM ---------- Previous post was at 03:35 PM ----------
fakitol said:
I cant find any normal, human language tutorial, to fix this **** up without s-off. My htc was rooted, I flashed su... Now I'm on stock recovery. Only this is my prob:
Click to expand...
Click to collapse
You can't OTA on a rooted device.
You can get the non-rooted 4.16.401.13 backup from my thread linked in my signature
then try restore system partition only then redo OTA process again and see how it goes.
restore system partition only will keep your data intact.
If this fails, then you need to restore all boot, data, system.
ckpv5 said:
You don't read properly what is written on post #6
You need htc_fastboot.exe to flash the RUU zip. Normal/google fastboot.exe won't work.
Also S-On device must relock bootloader.
htc_fastboot.exe -
For S-On
fastboot oem lock (to relock bootloader)
fastboot reboot-bootloader (reboot to bootloader after relock)
fastboot oem rebootRUU (put the device in RUU mode)
htc_fastboot flash zip RUU.zip (to install RUU)
For S-Off
fastboot oem rebootRUU (put the device in RUU mode)
htc_fastboot flash zip RUU.zip (to install RUU)
Click to expand...
Click to collapse
You rock! RUU has started now using htc_fastboot and I have some progress
It says it's completed successfully:
"OKAY
Flash Zip Complete
Execution time is 349(s)"
And I/m back on the command line.
Now I have black screen with silver htc logo and full green progress bar (indicating 100% - but not percentage is shown, just full)
Do I need to reboot the phone manually or just wait?
Pepaaa said:
You rock! RUU has started now using htc_fastboot and I have some progress
It says it's completed successfully:
"OKAY
Flash Zip Complete
Execution time is 349(s)"
And I/m back on the command line.
Now I have black screen with silver htc logo and full green progress bar (indicating 100% - but not percentage is shown, just full)
Do I need to reboot the phone manually or just wait?
Click to expand...
Click to collapse
Once it is completed, you run fastboot reboot-bootloader and check your bootloader is correct with new info then you can reboot for the rest of the process. (or you can simply reboot - fastboot reboot)
lorezz said:
so, if i have an unlocked bootloader and s-off can i follow your procedure ?
Click to expand...
Click to collapse
yes.

HTC M9+ Problem

Hi guys.Im form Bosnia,and i have bad english,sorry for that.I have HTC M9+ and i have one really big problem for me.My phone is soft bricked.When i want to instal TWRP on my phone i use ADB tool and download twrp form site and type on command fastboot flash recovery recovery.img i have this massage on command
target reported max download size of 800000000 bytes
sending 'recovery' (9708 KB)...
OKAY [ 1.439s]
writing 'recovery'...
(bootloader) HOSD CL#522373
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) Update partition OK
(bootloader) [email protected]
OKAY [ 1.210s]
finished. total time: 2.651s
And when i want to join on recovery on my phone i have this massage
THIS BUILD IS FOR
DEVELOPMENT PURPOSES ONLY
DO NOT DISTRIBUTE OUTSIDE OF HTC
WITHOUT HTCs WRITTEN PERMISSION
FAILURE TO COMPLY MAY
LEAD TO LEGAL ACTION.​
I need really help and thanks guys.
I need help,please.
can you post some information from you bootloader and indicate if your trying to make a factory reset ? i will try to help you
That message is standard for all HTC after bootloader unlock and installation of a custom recovery. NOthing to worry about. Did you flash the right recovery image, as in one that was specifically developed for this device?
ag6ag said:
can you post some information from you bootloader and indicate if your trying to make a factory reset ? i will try to help you
Click to expand...
Click to collapse
RayToral]C:\Users\RayToral\Desktop\Fastboot HTC>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_hiau_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 1.06.1405.1
(bootloader) boot-mode: RUU
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711000
(bootloader) cid: HTCCN701
all:
finished. total time: 0.016s
Im try to install all version of twrp from this site for this mobile,and always same thing.
https://dl.twrp.me/hima/
This is picture from download mode.
http://img.xda-balkan.com/image.uploads/10-12-2016/original-525efc91bed11e8db91e5e2732721527.jpeg
bro this is not for m9+ this is for m9 only !
you have to install this twrp http://forum.xda-developers.com/one-m9/one-m9-general/recovery-twrp-2-8-6-0-english-m9pw-t3116099
ag6ag said:
bro this is not for m9+ this is for m9 only !
you have to install this twrp http://forum.xda-developers.com/one-m9/one-m9-general/recovery-twrp-2-8-6-0-english-m9pw-t3116099
Click to expand...
Click to collapse
Cant download this.Do you have a different link for download?
https://www.mediafire.com/?wlux7k71xsl6bk6
md5 : C3AD293A7BBFB829D5904FFC6F9119C2 credit goes to tbalden
ag6ag said:
https://www.mediafire.com/?wlux7k71xsl6bk6
md5 : C3AD293A7BBFB829D5904FFC6F9119C2 credit goes to tbalden
Click to expand...
Click to collapse
They work.Thank you man.
Remove your IMEI from all the post..
naughty6t9 said:
Remove your IMEI from all the post..
Click to expand...
Click to collapse
Its removed

Cannot flash RUU on M9+

Hello,
i am trying different RUUs for my HTC ONE M9+ since i flashed the wrong one once.
Now i cannot install any RUU anymore, no matter what recovery i am using.
When i try to flash via
htc_fastboot flash zip [ruu.zip], I always get this error
ending 'zip'... (70108 KB) OKAY
sending time = 3.236 secs
writing 'zip'... (bootloader) HOSD CL#670935
FAIL9: SD_SECURITY_FAIL zip from usb command in download mode
FAILED (remote: 9: SD_SECURITY_FAIL zip from usb command in download mode)
Execution time is 3(s)
Click to expand...
Click to collapse
When i simply put the 0PK7IMG.zip on sdcard and start download mode, it just skips installation.
My phone info:
(bootloader) kernel: lk
(bootloader) product: htc_hiau_ml_tuhl
(bootloader) version: 1.0
(bootloader) imei: 3574******7
(bootloader) version-main: 2.27.401.1
(bootloader) boot-mode: download
(bootloader) version-bootloader: 1.01.0000
(bootloader) mid: 0PK711000
(bootloader) cid: 11111111
Click to expand...
Click to collapse
S-ON.
I recently flashed hosd with a new hos_verified.hosd. Could it be related?
ANY IDEAS?
DarthLuda said:
Hello,
i am trying different RUUs for my HTC ONE M9+ since i flashed the wrong one once.
Now i cannot install any RUU anymore, no matter what recovery i am using.
When i try to flash via
htc_fastboot flash zip [ruu.zip], I always get this error
When i simply put the 0PK7IMG.zip on sdcard and start download mode, it just skips installation.
My phone info:
S-ON.
I recently flashed hosd with a new hos_verified.hosd. Could it be related?
ANY IDEAS?
Click to expand...
Click to collapse
Have you flash it after "fastboot oem rebootRUU"?
antonmandara said:
Have you flash it after "fastboot oem rebootRUU"?
Click to expand...
Click to collapse
I can't because the command fails
c:\fastboot>fastboot oem rebootRU
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.035s]
finished. total time: 0.036s
Click to expand...
Click to collapse

Another noobie needs assistance - HTC upgrade gone wrong.

Hello, and thank you in advance for your assistance.
I bought a "new" Verizon HTC 10 off Ebay. It seemed to be a stock phone, with version 2.4xxxx; I am not exactly sure which version. I have bought my 2 daughters HTC 10's as well. There's are fine. They both have version 3.xxxx. I thought to upgrade my phone to somewhere around their version, because my phone seemed to have connectivity issues when both Wi-Fi and Data were enabled at the same time. However, the OS said they were no new updates for the phone. I checked the HTC site and they had the 2.51.617.32 RUU available. It said it would wipe all data, but that was no consequence to me because I didn't want to save anything. I didn't make a recovery backup (Stupid)! I downloaded the RUU, started it, and it errored out at about 90%; Erro 155: Unknown Error - The ROM update utility cannot update your Android phone. Please get the correct ROM update utility and try again. After that, on reboot the phone constantly reboots. I stop it by booting into download mode. Then choosing "power off". Since then, I have tried the RUU several more times, I have downloaded it again just to make sure I had an uncorrupted exe, I put in on my SD card and tried to update it that way: E: Signature Verification failed - error 21. I have tried the 3.6xxxx update from one of the people on this site. I get all the same messages. Also, I have used htc_fastboot to see if that would work. It errors out at 90% as well at tp_syn3708.img error. I have taken it to a repair shop, but they weren't able to fix it. I have chatted back and forth with HTC support. They had me change the CID to BS_US001. That did nothing. I read more on this forum and changed the CID to VZ_001. That didn't change anything. At this point, what are my options? I'm using an older backup phone, but I hope I can "reboot" this one. Thanks again.
Byrdman2b said:
Hello, and thank you in advance for your assistance.
I bought a "new" Verizon HTC 10 off Ebay. It seemed to be a stock phone, with version 2.4xxxx; I am not exactly sure which version. I have bought my 2 daughters HTC 10's as well. There's are fine. They both have version 3.xxxx. I thought to upgrade my phone to somewhere around their version, because my phone seemed to have connectivity issues when both Wi-Fi and Data were enabled at the same time. However, the OS said they were no new updates for the phone. I checked the HTC site and they had the 2.51.617.32 RUU available. It said it would wipe all data, but that was no consequence to me because I didn't want to save anything. I didn't make a recovery backup (Stupid)! I downloaded the RUU, started it, and it errored out at about 90%; Erro 155: Unknown Error - The ROM update utility cannot update your Android phone. Please get the correct ROM update utility and try again. After that, on reboot the phone constantly reboots. I stop it by booting into download mode. Then choosing "power off". Since then, I have tried the RUU several more times, I have downloaded it again just to make sure I had an uncorrupted exe, I put in on my SD card and tried to update it that way: E: Signature Verification failed - error 21. I have tried the 3.6xxxx update from one of the people on this site. I get all the same messages. Also, I have used htc_fastboot to see if that would work. It errors out at 90% as well at tp_syn3708.img error. I have taken it to a repair shop, but they weren't able to fix it. I have chatted back and forth with HTC support. They had me change the CID to BS_US001. That did nothing. I read more on this forum and changed the CID to VZ_001. That didn't change anything. At this point, what are my options? I'm using an older backup phone, but I hope I can "reboot" this one. Thanks again.
Click to expand...
Click to collapse
VZ__001
That's two underscores, not one.
That should work using the Verizon Oreo RUU, if it's indeed a Verizon model and the MID matches.
Although I feel you've already done too many changes for this information to be accurate, paste the output of:
fastboot getvar all
Remove the serial and imei for security purposes.
Sent from my Pixel 3 XL using Tapatalk
santod040 said:
VZ__001
That's two underscores, not one.
That should work using the Verizon Oreo RUU, if it's indeed a Verizon model and the MID matches.
Although I feel you've already done too many changes for this information to be accurate, paste the output of:
fastboot getvar all
Remove the serial and imei for security purposes.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
(bootloader) kernel: lk
(bootloader) product: htc_pmewl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno:
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei:
(bootloader) version-main: 3.18.605.13
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS650000
(bootloader) cid: VZW__001
all:
finished. total time: 0.004s
htc_fastboot finished. total time: 1.244s
Byrdman2b said:
(bootloader) kernel: lk
(bootloader) product: htc_pmewl
(bootloader) version: 1.0
(bootloader) max-download-size: 1578400000
(bootloader) serialno:
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei:
(bootloader) version-main: 3.18.605.13
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PS650000
(bootloader) cid: VZW__001
all:
finished. total time: 0.004s
htc_fastboot finished. total time: 1.244s
Click to expand...
Click to collapse
You need the VZW Oreo RUU.
https://forum.xda-developers.com/showthread.php?p=70340077
Sent from my Pixel 3 XL using Tapatalk
santod040 said:
You need the VZW Oreo RUU.
https://forum.xda-developers.com/showthread.php?p=70340077
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Yes - I have already tried this one. Using htc_fastboot, this is the one that errors out on tp_syn3708. Should I download the file again and repeat the procedure?
Byrdman2b said:
Yes - I have already tried this one. Using htc_fastboot, this is the one that errors out on tp_syn3708. Should I download the file again and repeat the procedure?
Click to expand...
Click to collapse
Try using SD card method and verify the md5 sum of the download and/or redownload if need be.
Sent from my Pixel 3 XL using Tapatalk
​
santod040 said:
Try using SD card method and verify the md5 sum of the download and/or redownload if need be.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
What is the command to verify the md5 sum of the download?
Byrdman2b said:
​
What is the command to verify the md5 sum of the download?
Click to expand...
Click to collapse
On Linux:
md5sum filename.zip
Replace filename with actual name of file.
On Windows:
CertUtil -hashfile <path to file> MD5
Sent from my Pixel 3 XL using Tapatalk
santod040 said:
On Linux:
md5sum filename.zip
Replace filename with actual name of file.
On Windows:
CertUtil -hashfile <path to file> MD5
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Here is what I get after downloading (again), MD5sum checking, and sending the file through fastboot:
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 3.18.605.13
found large-zip header, file count: 29
processing file 1/29...
sending 'zip' (113449 KB)...
OKAY [ 5.377s]
writing 'zip'...
(bootloader) HOSD CL#1016573
(bootloader) GPT (gpt_main_32g.img) is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) WARN Skip partition_info due to unmatched partition name
(bootloader) WARN Skip lockbooter.img due to unmatched partition name
(bootloader) WARN Skip backup_android-info.txt due to unmatched partitio
(bootloader) n name
(bootloader) get 32 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) boot_sign[email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 7.979s
preupdate done, rebooting...
resending command...
< waiting for device >
sending 'zip' (113449 KB)...
OKAY [ 5.427s]
writing 'zip'...
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_s
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP ERROR CODE, 22
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 7.544s
htc_fastboot finished. total time: 32.112s
I'll get in on the SD card and try it as well.
Byrdman2b said:
Here is what I get after downloading (again), MD5sum checking, and sending the file through fastboot:
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 3.18.605.13
found large-zip header, file count: 29
processing file 1/29...
sending 'zip' (113449 KB)...
OKAY [ 5.377s]
writing 'zip'...
(bootloader) HOSD CL#1016573
(bootloader) GPT (gpt_main_32g.img) is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) WARN Skip partition_info due to unmatched partition name
(bootloader) WARN Skip lockbooter.img due to unmatched partition name
(bootloader) WARN Skip backup_android-info.txt due to unmatched partitio
(bootloader) n name
(bootloader) get 32 images from zip(zip_type=3)
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]%
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
(bootloader) [email protected]
FAILED (remote: 90 hboot pre-update! please flush image again immediately )
finished. total time: 7.979s
preupdate done, rebooting...
resending command...
< waiting for device >
sending 'zip' (113449 KB)...
OKAY [ 5.427s]
writing 'zip'...
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_s
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP ERROR CODE, 22
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 7.544s
htc_fastboot finished. total time: 32.112s
I'll get in on the SD card and try it as well.
Click to expand...
Click to collapse
Update-
When trying to update from SD card, I get the message:
E: footer is wrong
Update Package verification took 0.2 s (result 1)
E: Signature verification failed
E: Error 21
Installation aborted
Byrdman2b said:
Update-
When trying to update from SD card, I get the message:
E: footer is wrong
Update Package verification took 0.2 s (result 1)
E: Signature verification failed
E: Error 21
Installation aborted
Click to expand...
Click to collapse
You're using Download mode to install via SD card method, as stated in my stock thread, where firmware is posted, right?
Sounds like you're trying to flash via stock recovery, which is not the correct procedure...
Sent from my Pixel 3 XL using Tapatalk
I used Recovery mode (not download mode) to apply the update from SD card. Is this the correct procedure?
Byrdman2b said:
I used Recovery mode (not download mode) to apply the update from SD card. Is this the correct procedure?
Click to expand...
Click to collapse
No, check my post for flashing firmware via SD card method in the same thread, second post.
Same process applies to flashing an RUU.
Sent from my Pixel 3 XL using Tapatalk
santod040 said:
No, check my post for flashing firmware via SD card method in the same thread, second post.
Same process applies to flashing an RUU.
Sent from my Pixel 3 XL using Tapatalk
Click to expand...
Click to collapse
Success!!!!!!! Success!!!!! I flashed it from SD, from bootloaded mode, and it worked properly. My phone is up and running now. Wow, I thought I would have to purchase another one. I am very grateful to you Sir. You are the 3rd person that I have worked with in order to get this phone working. I even took it to a shop where they repair phones, but they still couldn't get it working. Thank you for your help.
Byrdman2b said:
Success!!!!!!! Success!!!!! I flashed it from SD, from bootloaded mode, and it worked properly. My phone is up and running now. Wow, I thought I would have to purchase another one. I am very grateful to you Sir. You are the 3rd person that I have worked with in order to get this phone working. I even took it to a shop where they repair phones, but they still couldn't get it working. Thank you for your help.
Click to expand...
Click to collapse
No problem.
I'm glad to hear it worked out for you. [emoji106]
Sent from my Pixel 3 XL using Tapatalk
I know that it might be wrong to post here but, also i got one from eBay too. Phone was on Nougat and working fine, updated to Oreo when i turned on the Wifi on home. Oreo update begins and was working fine, except that on the lockscreen it was showing two cities instead of one... I tried everything to set it one one city but i couldn't figure what was wrong. So i decided to wipe it to factory reset. And then the problems begins... I notice that the battery drains so fast that i don't know why or what is causing that stuff... I charge it by quick charge and low charge and it's the same battery life just go around 11 or less hours. And it is always warn doing nothing, just lying around there. I had wiped and even installed the RUU from an external SD and the issue continues...
Also i had to rename the zip because i had the same error 21 and i changed the name and worked

Categories

Resources