[UNBRICK] HTC Unbricking Project - HTC Vivid, Raider, Velocity

We are proud to announce that the Vivid, Raider and Velocity is now UNbrickable. Users with the QHSUSB_DLOAD issue can now fully recover their phones and get them fully functional.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Note: This will fix only devices which were bricked by turning S ON. And bricks caused by a damaged hboot via interrupted OTA update/RUU flash on a S-ON device. Any devices bricked with other ways are currently *not* supported. We are working on it
The "core" of the unbricking project dev team:
MOVZX
RussianBear
Fuses
Dexter93
Testing stuff and irc support:
globatron
Deceptivechaos
dburgd84
Snake_skw
Other stuff:
dmcb123
xIndirect
Hawke84​
Thanks to trevE, xHausx and the rest of the evo3d team that gave us the basic info to work on and made us curious to see if we could get something out of it. Also thanks to ief and his team @revolutionary for helping us understand the bootloaders better. We should also not forget to thank cxb01 of malshenzu.com and xda members arthurire and untrueparadox who helped in translation.

Prerequisites
a linux box/live cd with automount disabled and without unity
the appropriate package for the device
the latest RUU for your device
a device bricked by writing security flag 3 with an unsigned hboot, or caused by a damaged hboot via interrupted OTA update/RUU flash on a S-ON device
a usb cable
some basic linux experience
patience
DISCLAIMER: We do NOT guarantee that this method will work for you, or that it is flawless. We are also not responsible if your phone is completely dead after the procedure, or your house burns down because your phone exploded. You are doing this in YOUR OWN RISK.
Instructions​
NEW: Detailed video on the process. Its displaying the process on a Sensation, but its pretty much the same thing. Thanks to kgs1992
Boot the linux box and download the appropriate package for the device.
Extract the package in the home directory
Open up a terminal
Remove SIM, microSD card and battery and connect the device using the USB cable. This procedure must be done without battery
Detect the device using the script provided. Type this in the terminal
Code:
./brickdetect.sh
You should get something like sdX. We are interested on that "X"
Unplug the usb cable from the device
Backup the hboot currently in the phone by using this command. Plug the device in ONLY when asked to
Code:
sudo ./emmc_recover --backup b_hboot.img --device /dev/sdX12
Replace the "X" with the letter the script gave you
Follow the on-screen instructions from emmc_recover
Hexdump the b_hboot to check the hboot version
Code:
hexdump -C b_hboot.img |less
The output should be like this:
Code:
00000000 05 00 00 00 03 00 00 00 00 00 00 00 00 00 10 40 |[email protected]|
00000010 d8 fc 0f 00 d8 fb 0f 00 d8 fb 1f 40 00 01 00 00 |[email protected]|
00000020 d8 fc 1f 40 00 00 00 00 12 00 00 ea 31 2e 38 33 |[email protected]|
00000030 2e 30 30 31 31 00 00 00 38 32 36 30 20 53 50 4c |.0011...8260 SPL|
00000040 00 00 00 00 00 f0 20 e3 53 48 49 50 00 00 00 00 |...... .SHIP....|
00000050 00 f0 20 e3 00 f0 20 e3 48 42 4f 4f 54 2d 38 32 |.. ... .HBOOT-82|
00000060 36 30 00 00 00 f0 20 e3 39 34 61 63 34 34 62 66 |60.... .94ac44bf|
This is the typical hex of a hboot. We are interested to check if that is the hboot partition and if it is, to get to know the version. In this case it is 1.83
Side note on the hboots for the Holiday
Hboot 1.85.2525 is the ICS Juopunutbear hboot based on 1.85.0025. In this package it comes as "hol1.85ics" - use that in the version name instead of "1.85"
Hboot 1.85.2121 is the GB Juopunutbear hboot based on 1.85.0021. In this package it comes as "hol1.85gb" - use that in the version name instead of "1.85"​
If in the above step you failed to identify the hboot, unplug all devices connected to that pc, reboot and try again
Unplug the device
Check again it is the right version, because if you do a mistake here, you won't be able to go back
You can only flash the same version as the one in the device.
!!!!!DO NOT ATTEMPT TO FLASH ANOTHER VERSION OR DOWNGRADE!!!IT HAS BEEN PROVEN FATAL!!!!
Flash the hboot on the device. Replace "V.VV" with hboot version (eg. 1.83, 1.84, 1.85gb, 1.85ics) and "X" with the one you got from the detect script. Plug the device in ONLY when asked to
Code:
sudo ./emmc_recover --flash holV.VV.nb0 --device /dev/sdX12 --backupafter hboot_f.nb0
Follow the on-screen instructions from emmc_recover. A successful flash should have this output:
Code:
511+1 records in
511+1 records out
1047808 bytes(1.0 MB) copied
Unplug the device, put SIM, microSD card and battery in and power on
Congratulations, the device is unbricked.
FLASH THE RUU IMMEDIATELY AFTER RECOVERING!! The device will be unstable after the recovery if you don't flash it.
Notes on the procedure:​
If the device doesn't power on, get a copy of the hboot_f.nb0 and b_hboot.img (should be located in the home directory) and contact us
The connection between the device and the pc will be unstable, and will time out. You have to be quick when doing the above, specially while flashing. If the connection times out don't panic, just unplug and replug the device
Unity and automount are known to cause issues in ubuntu 11.04 and 11.10. We recommend getting rid of both, or use a 12.04, or 10.04/.10 liveCD
USB3 ports do not work properly. Please plug the device in a USB2 port
How to disable automount on ubuntu
Code:
gsettings set org.gnome.desktop.media-handling automount false
Downloads
For Vivid, Raider, Velocity ( Holiday):
32bit version MD5: 9172d77fb8a335675bf5ff3d64b9efc5
64bit version MD5: 3958de3729b7add72c0e3123d89745f7
Don't have a linux distro installed on your pc? We highly recommend this livecd​

Will this remedy those who are stuck in dl_mode?
Sent from my HTC PH39100 using xda premium

davezaff said:
Will this remedy those who are stuck in dl_mode?
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
that depends on how you managed to brick it

Factory reset in hboot....after flashing ics,
Then nada.....in dl mode ever since.
Sent from my HTC PH39100 using xda premium

davezaff said:
Factory reset in hboot....after flashing ics,
Then nada.....in dl mode ever since.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
Can you run fastboot commands? If you can, try fastboot oem rebootRUU , get the rom.zip from an RUU of your choice (assuming youre soff, otherwise use your carrier own RUU), put tue zip jn your fastboot dorectory, then use fastboot flash zip rom.zip (im not sure with this last command, please someone confirm)
Sent from my HTC Raider 4G LTE running ICS.

No.....in qualcomm dl mode......fastboot will not work when it is in this mode. I believe jtag is needed but hopefully there is a way around it.
Sent from my HTC PH39100 using xda premium

This is great news!! Thanks a ton for bringing this to Vivid world.
I'm looking forward to it. I have a brick and like to try it

stuck in ruu mode vivid, when plugged in it's black htc screen with 4 triangles, check pics
not sure how it got there, but i'm willing to guess that it had something to do with ics upgrade/attempt to s-off.
bootloader is locked, ics ruu stops at 34%
when flashing rom.zip from ruu through fastboot it stops here
(bootloader) start image[tz] unzipping for pre-update...
(bootloader) start image[tz] flushing...
(bootloader) signature checking...
(bootloader) [RUU]WP,tz,0
(bootloader) [RUU]WP,tz,100
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 116.140s
Fastboot getvar all returns this
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.85.0025
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: 0360
(bootloader) version-main: 3.26.502.54
(bootloader) serialno: REMOVED
(bootloader) imei: REMOVED
(bootloader) product: holiday
(bootloader) platform: HBOOT-8260
(bootloader) modelid: PH3910000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3861mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: b215ac78
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.527s
looks like no radio, lol interesting
hopefully this can help, if not i will have to send to HTC but they had my incredible S for a month now with no solution yet lol so i dont wana wait another month for this guy.
ready to give this a shot

davezaff said:
No.....in qualcomm dl mode......fastboot will not work when it is in this mode. I believe jtag is needed but hopefully there is a way around it.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
This is a quite unexpected behavior and usually it is caused by dodgy hardware,or other unknown factors. You can try this method, but I am pretty sure it won't work for you
lebmb said:
stuck in ruu mode vivid, when plugged in it's black htc screen with 4 triangles, check pics
not sure how it got there, but i'm willing to guess that it had something to do with ics upgrade/attempt to s-off.
bootloader is locked, ics ruu stops at 34%
when flashing rom.zip from ruu through fastboot it stops here
(bootloader) start image[tz] unzipping for pre-update...
(bootloader) start image[tz] flushing...
(bootloader) signature checking...
(bootloader) [RUU]WP,tz,0
(bootloader) [RUU]WP,tz,100
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
finished. total time: 116.140s
Fastboot getvar all returns this
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.85.0025
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: 0360
(bootloader) version-main: 3.26.502.54
(bootloader) serialno: REMOVED
(bootloader) imei: REMOVED
(bootloader) product: holiday
(bootloader) platform: HBOOT-8260
(bootloader) modelid: PH3910000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3861mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: b215ac78
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.527s
looks like no radio, lol interesting
hopefully this can help, if not i will have to send to HTC but they had my incredible S for a month now with no solution yet lol so i dont wana wait another month for this guy.
ready to give this a shot
Click to expand...
Click to collapse
You are stuck on the pre-update. When you see this
Code:
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
you simply have to flash the rom.zip again

dexter93 said:
This is a quite unexpected behavior and usually it is caused by dodgy hardware,or other unknown factors. You can try this method, but I am pretty sure it won't work for you
You are stuck on the pre-update. When you see this
Code:
FAILED (remote: 90 hboot pre-update! please flush image again immediately)
you simply have to flash the rom.zip again
Click to expand...
Click to collapse
I tried multiple times, with different computers and usb cables and nothing
also redownloaded ruu from football and htc

davezaff said:
Factory reset in hboot....after flashing ics,
Then nada.....in dl mode ever since.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
Same here. Will your method work for us dexter? If you will ever need a beta tester I am here. Thank you.
Sent from my Nexus S using xda premium

If you ever need another beta tester, Im here as well. If i goes wrong so bad, I have a riff box to jtag it back.
Looking at a htc raider thats totally locked up from a customer who flashed the wrong kernel. He won't admit to whats he's done, so it's my project now.

saw the amaze unbrick released and the OP getting updated lol time to get ubuntu ready LOL
Dexter if you feel that this won't help resolve my issue then i wont try it and just send it to htc but i'm hoping it will work to avoid doing all that
thanks awesome work

I hope this will solve my problem. I had to switch to an iPhone and I'm not too fond of it because I had to get my SIM card chopped. Hopefully I will be able to use my Vivid once again.

jtag
deltaarmstrong2000 said:
If you ever need another beta tester, Im here as well. If i goes wrong so bad, I have a riff box to jtag it back.
Looking at a htc raider thats totally locked up from a customer who flashed the wrong kernel. He won't admit to whats he's done, so it's my project now.
Click to expand...
Click to collapse
I didn't think riff box supported the vivid yet?

Release Bump!
Sorry for the wait, but HTC has really messed things up with the versioning in the Holiday
Everything you'll need is in the second post !

Great Work!!
I have just tried this and when I executed ./brickdetect.sh I got a message
The bricked device is on
Use the above node to perform operations using the emmc_recover tool
Any idea what should I do next?

rajbsn said:
Great Work!!
I have just tried this and when I executed ./brickdetect.sh I got a message
The bricked device is on
Use the above node to perform operations using the emmc_recover tool
Any idea what should I do next?
Click to expand...
Click to collapse
That means that your phone isn't found. Check to see if it is a supported type of brick and if it is, have you got auto mounting and unity disabled and you are using a USB2 port?
Sent from my HTC Sensation

How do I disable those settings?
Sent from my HTC PH39100 using xda premium

Related

HELP: Stuck in bootloader with after BlackRose HBOOT

Seeing that ICS has finally come out, I got into 'flash' mode and decided before I do anything I'll update HBOOT from Revolutionary to BlackRose. After a few attempts, it flashed and displayed it in bootloader, BUT I could not load OS and was stuck at the HTC logo.
Figured my only solution is to uninstall BlackRose to get my phone up and running again, using the /uninstall option in BlackRose, seemed to have worked, but upon reboot I was still stuck in bootloader plus this time I had *Security Warning* AND my phone has become S-ON after the uninstall.
Now I've tried fastboot'ing the original BELL stock rom that came with the phone but am getting a FAILED (remote: not allowed) error, and can't get anywhere now.
Any help/suggestions from the community would be great.
UPDATE: after playing around some more in fastboot, I got a little further, but now my error is (43 main version check fail).
Lokosis said:
Seeing that ICS has finally come out, I got into 'flash' mode and decided before I do anything I'll update HBOOT from Revolutionary to BlackRose. After a few attempts, it flashed and displayed it in bootloader, BUT I could not load OS and was stuck at the HTC logo.
Figured my only solution is to uninstall BlackRose to get my phone up and running again, using the /uninstall option in BlackRose, seemed to have worked, but upon reboot I was still stuck in bootloader plus this time I had *Security Warning* AND my phone has become S-ON after the uninstall.
Now I've tried fastboot'ing the original BELL stock rom that came with the phone but am getting a FAILED (remote: not allowed) error, and can't get anywhere now.
Any help/suggestions from the community would be great.
Click to expand...
Click to collapse
I suggest you go back to the RUU. Use this one since you have upgraded to a GB radio based on your signature:
http://www.filefactory.com/file/c0a...5AU_3805.04.03.27_M_release_199657_signed.exe
Just attempted that ROM.
When using RUU, I get this ERROR [140]: BOOTLOADER VERSION ERROR.
When flashing the zip with fastboot I get FAILED (remote: not allowed).
So no luck with that one. Anyone else?
If anyone is curious. Here's my variables.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.13.0000
(bootloader) version-baseband: 3805.06.03.16_M
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.32.1010.1
(bootloader) serialno: (omitted)
(bootloader) imei: (omitted)
(bootloader) product: vivo
(bootloader) platform: HBOOT-7630
(bootloader) modelid: PG3212000
(bootloader) cidnum: BM___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4216mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-8a731c6e
(bootloader) hbootpreupdate: 12
(bootloader) gencheckpt: 0
Doing a 'fastboot oem rebootRUU' and 'fastboot erase cache' gets me back to the (43 main version check fail) error.
Tried the RUU_Vivo_Gingerbread_S_KT_KR_2.32.1010.1_Radio_20.2810.30.085AU_3805.06.03.16_M_release_199684_signed rom which is the same mainver, but still don't work as it comes back with a signature verify fail.
Ideas from anyone would be great. This brick isn't doing me any good.
Anybody have a suggestion for me or been in the same boat?
trying to flash original BELL rom: i get main version is older error.
trying to flash same mainver stock rom: i get model id incorrect error.
then adding model id to android-info.txt gains me signature verify fail. Which seems to be my main issue.
Just stuck in bootloader with S-ON and Security Warning message.
Lokosis said:
Anybody have a suggestion for me or been in the same boat?
trying to flash original BELL rom: i get main version is older error.
trying to flash same mainver stock rom: i get model id incorrect error.
then adding model id to android-info.txt gains me signature verify fail. Which seems to be my main issue.
Just stuck in bootloader with S-ON and Security Warning message.
Click to expand...
Click to collapse
Make a goldcard and give this RUU/ROM a try. It has the right modelid and has a higher mainver.
http://www.filefactory.com/file/c0a...5AU_3805.06.03.16_M_release_203211_signed.exe
Trying to figure out a way to create a GoldCard without the phone, just using my laptops SD card reader, coming up short at the moment.
Any way to read CID for GoldCard using Windows?
Solved. Wife came home, used her Android to make GoldCard. Life saved.

[Q] Black HTC screen with 4 exclamation marks after RUU Update

I found similar problem wich one user had with HTC Desire that now I have with my friend's Vivid. Here what he have posted:
Whompa 1 said:
Hi all. I have a major issue with my fiancée's phone. I tryed to downgrade from Alpharev CM7 hboot using an RUU. My mistake as I got an error saying "incorrect version". In the hboot it displays as the system did not load after the RUU error. So now I get a black HTC screen with 4 exclamation marks 1 in each corner View attachment 700934 this appears when I connect the phone via USB. But when I take it off USB it displays this View attachment 700933. So these are the only 2 screens I have access to, I can flash stuff via fastboot using CMD prompt but nothing has succeeded so far. I do not have access to the normal hboot and fastboot menus. Any ideas are very welcome.
Save me.
Click to expand...
Click to collapse
So my history started 3 days ago from the call from my friend, to whom I am godfather of his son, and told me that his Vivid can't load and stuck on white screen with htc letters and can't load. I was looking throw this forum and decided that bootloader is broken. So I downloaded the file PH39IMG.zip of ~35 MB and after loading in fastboot with Power+Volume Down have updated. After this the Vivid rebooted and was working good so I returned the phone to my friend. In 2 days after he told me that he has problems again: he tried using wi-fi at home and as he told "It was not working" so he went into settings and chosen Factory reset. After this phone stucked on white screen and nothing else, so he asked me to help him again (because everything he can do with Android is backing up his contacts ) also he asked me to flash some custom ROM on JB. But I decided to recover in stock ROM first. So I started from copying the stock ROM renamed into PH39IMG.zip to sd card. Then loading into bootloader I confirm the update. It has checked and updated all strings and rebooted. After this it has started updating again but there were more strings than before. On the string User data update was stucking in about the half. I was waiting for more than 3 hours and realized that something wrong with it. So I switched the phone off by taking the battery out, I loaded in bootloader and decided not to spent the time but to start unlocking bootloader, getting S-OFF, flashing the CWM or other Recovery and finally flashing the custom ROM. I have to say that I have drivers installed from Android SDK, as I was working before with different Android devices and everything was successful. I have to thanks you guys as all I did before were found on this forum which I am regularly reading for more than 1 year. I also have adb tools and Vivid_All-In-One_Kit_v2.2 installed. So using the last one I started from unlocking bootloader. I did all steps and after receiving Unlock_code.bin file and pressed Unlock bootloader in Vivid_All-In-One_Kit I got screen on the phone for unlocking the bootloader. Off course with the help of Volume Up key I've chosen Yes BUT (!!!!!) pressing the Power button of the phone did not do any action - it just like this button was not working! I had to take the battery off and boot in bootloader with Power and Volume Down and it is loaded, so Power button is working, but the banner of bootloader was "LOCKED"!!! So after reading different topics as I didn't make unlocking, S-OFF etc. I decided to update stock ROM with the help of RUU_HOLIDAY_ICS_35_S_Cingular_US_3.26.502.56_Radio_3.02.4740.14_34.22.701040.19_release_246712_signed.exe
It has started with such screens:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then it was going and stucked on 34%. I was waiting for more then 1 hour (it was a notification that update process will take about 10 minutes) but the screnn was the same 34% and looking like still updating as status indicated by dots running was in progress:
So with no any ideas I decided to unplug the USB cable and I got the following:
So I have plugged again and followed all steps with unlpugging/taking battery off and in/plugging and here what screens I've seen:
And after resuming update I got the same stuck on 34%!!!!:crying:
And the worth was that now I got a black HTC screen with 4 exclamation marks 1 in each corner:
and when I take the battery off and then put it on it shows the same after turning the phone on (and it's no matter if I just press the Power button or trying to load bootloader with Power+Volume Down) - same screen. If I plug the USB cable and then unplug it will show the following:
What is interesting is that when I plugging USB and run cmd under Win7 and no matter where to go in root of my Win: ADB_Tools or Android or Vivid_All-In-One_Kit_v2.2 folders and running the fastboot devices - it can see the phone:
but when i am trying different tricks in Vivid_All-In-One_Kit_v2.2 such as unlock bootloader it is give such error as device not found:
and when I am trying to flash the kernel I got such result which seemed to stucking:
As I understand I got the soft-brick?
I even have no ideas what to do, as I am in Ukraine and Vivid is US model, so I am afraid visiting the service centre will take so much time to do something with the phone...:crying:
So I have only the last hope - suppose on your help, guys!
Sorry for possible mistakes as I am f...ing with this Vivid the second day and have slept only 3 hours yesterday and will sleep only 2 hours today as it is already 5:39 AM in Ukraine and I have to get up at 7:30 to send my kids to school
Have you tried a ph39.img update instead of an ruu? You said stock ROM not sure what you meant
Sent from my HTC Vivid 4G
Well you could us a ph39img.zip for this phone you will have a strong chance to recovering it.... Just grab a gingerbread version of the ph39 IMG.zip or an ics one with the new hboot.IMG in it too
Sent from my ADR6410LVW using xda premium
---------- Post added at 02:54 PM ---------- Previous post was at 02:52 PM ----------
Because I had the same issue when I owed the phone. And it seems after reading your process to get to the point you are I did the exact same, but I just download a ruu.zip for that phone and updated it thru hboot and my problem was fixed.
Sent from my ADR6410LVW using xda premium
ZeRo2o9 said:
Have you tried a ph39.img update instead of an ruu? You said stock ROM not sure what you meant
Sent from my HTC Vivid 4G
Click to expand...
Click to collapse
Yes, I did. I mentioned it at the beginning of my thread:
I decided to recover in stock ROM first. So I started from copying the stock ROM renamed into PH39IMG.zip to sd card. Then loading into bootloader I confirm the update. It has checked and updated all strings and rebooted. After this it has started updating again but there were more strings than before. On the string User data update was stucking in about the half. I was waiting for more than 3 hours and realized that something wrong with it.
Click to expand...
Click to collapse
The stock ROM was used, downloaded by link from this forum and renamed into PH39IMG.zip.
As I see nobody know what to do?
I was thinking, is it possible if I have another Vivid working fine to copy system from it or make image of internal memory data and load on this one. But I don't know how to do it
Is there any possibility to make this
same prob
hi guys,
same problem here, no luck with my Bravo PVT4 S-On
C:\Users\azur\Desktop\Win32>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.02.0001
(bootloader) version-baseband: 5.11.05.27
(bootloader) version-cpld: None
(bootloader) version-microp: 051d
(bootloader) version-main: 2.33.161.2
(bootloader) serialno: SH0ALPL12639
(bootloader) imei: 355302044178565
(bootloader) product: bravo
(bootloader) platform: HBOOT-8x50
(bootloader) modelid: PB9920000
(bootloader) cidnum: VODAP102 // is this cid for Vodafone UK ??????
(bootloader) battery-status: good
(bootloader) battery-voltage: 4035mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: a7cdbe26
(bootloader) hbootpreupdate: 11
all: Done!
C:\Users\azur\Desktop\Win32>fastboot oem boot
...
(bootloader) setup_tag addr=0xA0000100 cmdline add=0x8E0800C4
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:smi ok, size = 0
(bootloader) TAG:hwid 0x0
(bootloader) TAG:skuid 0x26A12
(bootloader) TAG:hero panel = 0x3
(bootloader) TAG:engineerid = 0x0
(bootloader) MCP dual-die
(bootloader) MCP dual-die
(bootloader) TAG:mono-die = 0x0
(bootloader) Device CID is not super CID
(bootloader) CID is VODAP102
(bootloader) setting->cid::VODAP102
(bootloader) serial number: SH0ALPL12639
(bootloader) commandline from head: no_console_suspend=1
(bootloader) command line length =458
(bootloader) active commandline: board_bravo.disable_uart3=0 board_bravo.
(bootloader) usb_h2w_sw=0 board_bravo.disable_sdcard=0 diag.enabled=0 boa
(bootloader) rd_bravo.debug_uart=0 smisize=0 userdata_sel=0 androidboot.e
(bootloader) mmc=false androidboot.baseband=5.11.05.27 androidboot.cid=V
(bootloader) ODAP102 androidboot.carrier=VODA-Germany androidboot.mid=PB9
(bootloader) 920000 androidboot.keycaps=qwerty androidboot.mode=normal an
(bootloader) droidboot.serialno=SH0ALPL12639 androidboot.bootloader=1.02.
(bootloader) 0001 zygote_oneshot=off kmemleak=off no_console_suspend=1
(bootloader) aARM_Partion[0].name=misc
(bootloader) aARM_Partion[1].name=recovery
(bootloader) aARM_Partion[2].name=boot
(bootloader) aARM_Partion[3].name=system
(bootloader) aARM_Partion[4].name=cache
(bootloader) aARM_Partion[5].name=userdata
(bootloader) partition number=6
(bootloader) Valid partition num=6
(bootloader) jump_to_kernel: machine_id(2457), tags_addr(0x20000100), ker
(bootloader) nel_addr(0x20008000)
(bootloader) -------------------hboot boot time:203918 msec
FAILED (status read failed (Too many links))
finished. total time: 20.378s
Did you try locking the bootloader before starting the RUU???
I think it's in your best interest in making the phone Super CID. The one above is indeed a Vodafone CID, so you can only run Vodafone RUU's on it.
I made an acrobat .pdf file (copied from the original thread on it). See the attachment.
After you Super CID you can run any RUU on the phone and it will take it.
As for the OP: I believe he has to download and install the proper ph39img.zip for the phone. I don't think renaming a file to that will cause it to work correctly. Currently his bootloader is messed up.

[Q] Corrupt serial number and model ID

So I can't seem to find a solution to my specific issue. A little background first. I was on Modaco switch beta 13 and decided I'd move on to something else because 1) hadn't been an update for quite a while and 2) I really didn't switch back to Sense except when I wanted to play around with Zoe. I restarted into CWM recovery and tried to flash CM 11. It gave me an error and I realized I was downlevel on CWM recovery. I tried to flash an updated CWM and now only have access to fastboot. When I try to boot to recovery it gives me the HTC splashscreen and hangs. I tried TWRP, CWM, and stock with the same results.
Checking fastboot getvar I noticed some really strange entries. serialno and modelid were corrupt. Here is the output of fastboot getvar all
Code:
# fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.1540.3
(bootloader) version-misc: UNKNOWN SHIP S-OFF
(bootloader) serialno: ߞ�X�C
w\ `2�#
(bootloader) imei: xxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: �
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4222mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Value too large for defined data type))
finished. total time: 5.063s
# fastboot getvar mid
mid: �
finished. total time: 0.002s
# fastboot getvar serialno
serialno: ߞ�X�C
w\ `2�#
finished. total time: 0.002s
I read the following post to recover my serial number
http://forum.xda-developers.com/showthread.php?t=1724475
I don't believe I had the ENG hboot so I get the following:
Code:
fastboot oem writemid PN07120
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.012s]
finished. total time: 0.012s
# fastboot oem writeserialno 1234567890
...
FAILED (status malformed (0 bytes))
finished. total time: 1.000s
I tried flashing the ENG hboot, but....
Code:
# fastboot flash zip ENG_hboot.zip
sending 'zip' (475 KB)...
OKAY [ 0.242s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
FAILED (remote: 41 model id check fail)
finished. total time: 0.648s
Yep, catch 22. Corrupt model ID, so it won't flash.
Another interesting thing I noticed was the 2nd line on the display in fastboot
Code:
**** UNLOCKED ****
M7_UL UNKNOWN SHIP S-OFF RH
CID=BS_US001
HBOOT-1.44.0000
RADIO-4A.14.3250.13
OpenDSP-v26.120.274.0202
eMMC-boot
...
Anyway one of the messages in the forums said that once they resolved the model ID and serial number everything worked.
Unfortunately this is my main phone and I'd like to use it. Not very useful right now. Anyone have any ideas?
vmcp said:
So I can't seem to find a solution to my specific issue. A little background first. I was on Modaco switch beta 13 and decided I'd move on to something else because 1) hadn't been an update for quite a while and 2) I really didn't switch back to Sense except when I wanted to play around with Zoe. I restarted into CWM recovery and tried to flash CM 11. It gave me an error and I realized I was downlevel on CWM recovery. I tried to flash an updated CWM and now only have access to fastboot. When I try to boot to recovery it gives me the HTC splashscreen and hangs. I tried TWRP, CWM, and stock with the same results.
Checking fastboot getvar I noticed some really strange entries. serialno and modelid were corrupt. Here is the output of fastboot getvar all
Code:
# fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.1540.3
(bootloader) version-misc: UNKNOWN SHIP S-OFF
(bootloader) serialno: ߞ�X�C
w\ `2�#
(bootloader) imei: xxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: �
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4222mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Value too large for defined data type))
finished. total time: 5.063s
**** UNLOCKED ****
M7_UL UNKNOWN SHIP S-OFF RH
CID=BS_US001
HBOOT-1.44.0000
RADIO-4A.14.3250.13
OpenDSP-v26.120.274.0202
eMMC-boot
...
Anyway one of the messages in the forums said that once they resolved the model ID and serial number everything worked.
Unfortunately this is my main phone and I'd like to use it. Not very useful right now. Anyone have any ideas?
Click to expand...
Click to collapse
Maybe you can edit the android-info.txt of the eng hboot. I.E replacing the ''MODELID: PN0710000'' for ''MODELID: ********* '' don't forget to add your CID too (BS_US001). Or maybe replacing the MODELID with your corrupted MID: (MODELID: �)
Which eng hboot are you trying to flash? There are some rumrunner hboot with eng commands set (full set of fastboot oem commands) here: http://rumrunner.us/hboots/
or maybe with the eng hboot from here
edit: Did you erased cache after flashing recovery?
if you can get recovery to boot then you could use this tool to change MID
did you tried a ruu.zip? even if im almost sure it will output the same model id error...
alray said:
Maybe you can edit the android-info.txt of the eng hboot. I.E replacing the ''MODELID: PN0710000'' for ''MODELID: ********* '' don't forget to add your CID too (BS_US001). Or maybe replacing the MODELID with your corrupted MID: (MODELID: �)
Click to expand...
Click to collapse
I was actually thinking/wondering about that. I guess that'll be my next step. I wasn't sure what to put for the MODELID since mine currently is corrupt. But I suppose I could try both. Good idea.
Which eng hboot are you trying to flash? There are some rumrunner hboot with eng commands set (full set of fastboot oem commands) here: http://rumrunner.us/hboots/
or maybe with the eng hboot from here
Click to expand...
Click to collapse
I have the ENG hboot from the 2nd link. I haven't tried rumrunner hboot. I'll d/l and give that a go too.
edit: Did you erased cache after flashing recovery?
if you can get recovery to boot then you could use this tool to change MID
Click to expand...
Click to collapse
Yes, I did erase cache. Don't know if I need to, but usually do that every time I try something.
Yeah, saw that thread too. I thought it'd be easy to do if I had adb/recovery.
did you tried a ruu.zip? even if im almost sure it will output the same model id error...
Click to expand...
Click to collapse
Yep. same result.
Thanks for the ideas, I'll give 'em a try.
EDIT: So I tried the rumrunner hboot and the ENG hboot.
Code:
# fastboot flash zip ENG_hboot.zip
< waiting for device >
sending 'zip' (474 KB)...
OKAY [ 0.241s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
FAILED (remote: 41 model id check fail)
finished. total time: 0.648s
I got the same thing even when I tried to add the corrupt entry in the android-info.txt. Is there any way to bypass the model ID check?
DO NOT lock bootloader or go S-ON.
You should flash the HTC DEV edition firmware. Also use a different computer/USB/port to ensure this problem is in the phone
SaHiLzZ said:
DO NOT lock bootloader or go S-ON.
Click to expand...
Click to collapse
Yeah, no joke!
You should flash the HTC DEV edition firmware. Also use a different computer/USB/port to ensure this problem is in the phone
Click to expand...
Click to collapse
Yes, I tried the RUU from HTC's site for the developer edition and it claimed my battery was low. I'll charge and try again.
It was a good idea to try a different computer. I had already tried two different USB cables and a different port. All with the same results. Even the other computer gave me the same response.
So I had a few ideas. 1) modify the fastboot source to ignore the error for incorrect mid and flash anyway. After trying a few hacks with the code I read the protocol.txt and determined that it wasn't fastboot that was complaining but the bootloader. So that left my other idea (which was actually the first idea I had). Find out what that gibberish was and put that in the android-info.txt as my modelid then hope the bootloader did a compare with the gibberish I had in the android-info.txt. Unfortunately that didn't work either. I re-compiled fastboot with a few mods of my own so I could get the full details of the gibberish. I modified the output to give me the hex values of what the phone thought it's serial number and model id was. Here is the output:
Code:
# ./fastboot getvar modelid
modelid: �
b8
finished. total time: 0.002s
root# ./fastboot getvar serialno
serialno: ߞ�X�C
w\ `2�#
df9ef4588043d60a775c096032ea23
finished. total time: 0.002s
So I even tried an android-info.txt with the hex b8 value ctrl-code value, not the string b8, and got the same result...
Oh and yes I also tried with the wildcard modelid: *********
Same result.
Code:
# ./fastboot erase cache
< waiting for device >
erasing 'cache'...
OKAY [ 0.071s]
finished. total time: 0.071s
# ./fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.042s]
finished. total time: 0.042s
# ./fastboot flash zip ENG_hboot.zip
< waiting for device >
sending 'zip' (475 KB)...
OKAY [ 0.241s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
FAILED (remote: 41 model id check fail)
finished. total time: 0.645s
vmcp said:
Yeah, no joke!
Click to expand...
Click to collapse
looks really messy in here!! :crying:
is there any way you can get to an "adb shell" (custom recovery or booted ROM)?
you have "(bootloader) version-bootloader: 1.44.0000"
can you please try
fastboot boot <name of custom recovery>.img
if you can get to adb working let me know...
---------- Post added at 09:47 PM ---------- Previous post was at 09:29 PM ----------
though just for info, last (actually, one and only attempt with such corrupt partitions), didnt work
FYI: http://forum.xda-developers.com/showpost.php?p=50067052&postcount=30
nkk71 said:
looks really messy in here!! :crying:
is there any way you can get to an "adb shell" (custom recovery or booted ROM)?
you have "(bootloader) version-bootloader: 1.44.0000"
can you please try
fastboot boot <name of custom recovery>.img
if you can get to adb working let me know...
---------- Post added at 09:47 PM ---------- Previous post was at 09:29 PM ----------
though just for info, last (actually, one and only attempt with such corrupt partitions), didnt work
FYI: http://forum.xda-developers.com/showpost.php?p=50067052&postcount=30
Click to expand...
Click to collapse
I tried this but got to the same white HTC splashscreen. Just sits there. Never seems to make it to recovery.
I've tried ADB commands, but it appears it isn't fully loaded so I'm not able to connect via ADB. I'll try flashing the RUU, but it sounds like that other person in that thread didn't have good results even after a successful RUU flash! :crying:
I'm really starting to get worried that there isn't much I can do to fix the issue. I'm going crazy without a phone.
vmcp said:
I tried this but got to the same white HTC splashscreen. Just sits there. Never seems to make it to recovery.
I've tried ADB commands, but it appears it isn't fully loaded so I'm not able to connect via ADB. I'll try flashing the RUU, but it sounds like that other person in that thread didn't have good results even after a successful RUU flash! :crying:
I'm really starting to get worried that there isn't much I can do to fix the issue. I'm going crazy without a phone.
Click to expand...
Click to collapse
I know!!! Spent 3 or 4 serious teamviewer sessions with him, after getting android-info.txt "fixed" (for that MID, if you can call it that), and successfully fully flashing ruu (from a to z), still nothing.
and without able to get (and eventually, if possible, write) to the specific partitions in question, then it looks like it will need a motherboard replacement.
nkk71 said:
I know!!! Spent 3 or 4 serious teamviewer sessions with him, after getting android-info.txt "fixed" (for that MID, if you can call it that), and successfully fully flashing ruu (from a to z), still nothing.
and without able to get (and eventually, if possible, write) to the specific partitions in question, then it looks like it will need a motherboard replacement.
Click to expand...
Click to collapse
uh oh! Perhaps the only saving grace for me is that I have an unlocked bootloader. I read about using hexedit to make a malformed android-info.txt. Perhaps I should try that. Although I'm a little worried because I kinda thought I tried that. But wasn't able to flash the ENG bootloader.
vmcp said:
uh oh! Perhaps the only saving grace for me is that I have an unlocked bootloader. I read about using hexedit to make a malformed android-info.txt. Perhaps I should try that. Although I'm a little worried because I kinda thought I tried that. But wasn't able to flash the ENG bootloader.
Click to expand...
Click to collapse
check
ROUND 2: was able to create a "good" (as you mentioned "malformed" android-info.txt), and able to flash anything and everything in ruu mode
ROUND 5: got the bootloader unlocked
==> still no joy
if you can get to read / write partitions, let me know, I know which ones i'm after, though only through adb; if there is a way doing it in fastboot i would love to know.
---------- Post added at 11:45 PM ---------- Previous post was at 11:18 PM ----------
hmm, am i thinking of what i'm thinking? would that even be possible?
OP
@ayk33
i'm gonna check something tomorrow
@ayk33 you still have that phone?
nkk71 said:
check
ROUND 2: was able to create a "good" (as you mentioned "malformed" android-info.txt), and able to flash anything and everything in ruu mode
ROUND 5: got the bootloader unlocked
==> still no joy
if you can get to read / write partitions, let me know, I know which ones i'm after, though only through adb; if there is a way doing it in fastboot i would love to know.
Click to expand...
Click to collapse
This is kinda scary. Looks like the exact same issue the other guy had!
So I found out I had a special char before the proper hex number. So I was able to flash the ENG bootloader. I've set my serial number and model ID via fastboot oem write* commands. Now getvar shows correct information:
Code:
# ./fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.39.2000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.401.12
(bootloader) version-misc: UNKNOWN ENG S-OFF
(bootloader) serialno: xxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN07120
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4239mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: ENG
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 080b6f61
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Although all is NOT good. I still think that the model id is messed up somewhere. From the bootloader if I select "barcode", it displays correct IMEI and S/N. The Model ID is still all jacked up and has all sorts of gibberish. I don't get it because the getvar mid displays the correct model ID (PN07120).
I flashed recovery and tried to boot to recovery (also using the command you gave me), but hangs in the same spot. Still no ADB access! :crying:
vmcp said:
This is kinda scary. Looks like the exact same issue the other guy had!
So I found out I had a special char before the proper hex number. So I was able to flash the ENG bootloader. I've set my serial number and model ID via fastboot oem write* commands. Now getvar shows correct information:
Code:
# ./fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.39.2000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.29.401.12
(bootloader) version-misc: UNKNOWN ENG S-OFF
(bootloader) serialno: xxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN07120
(bootloader) cidnum: BS_US001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4239mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: ENG
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 080b6f61
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Although all is NOT good. I still think that the model id is messed up somewhere. From the bootloader if I select "barcode", it displays correct IMEI and S/N. The Model ID is still all jacked up and has all sorts of gibberish. I don't get it because the getvar mid displays the correct model ID (PN07120).
I flashed recovery and tried to boot to recovery (also using the command you gave me), but hangs in the same spot. Still no ADB access! :crying:
Click to expand...
Click to collapse
Mid is 9 characters!
I'm gonna check something tomorrow... wicked!
Sent from my HTC One using Tapatalk
nkk71 said:
Mid is 9 characters!
I'm gonna check something tomorrow... wicked!
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Ah, that could have been my problem. I re-wrote the mid by the following:
Code:
# ./fastboot oem writemid PN0712000
...
(bootloader) Start Verify: 0
OKAY [ 0.073s]
finished. total time: 0.073s
But the model id is still messed up on the barcode.
One other thing to note is it still shows UNKNOWN instead of PVT for version-misc. I'd guess that be causing problems too. Sounds like more than just the mid and serialno got corrupt.
vmcp said:
Ah, that could have been my problem. I re-wrote the mid by the following:
Code:
# ./fastboot oem writemid PN0712000
...
(bootloader) Start Verify: 0
OKAY [ 0.073s]
finished. total time: 0.073s
But the model id is still messed up on the barcode.
One other thing to note is it still shows UNKNOWN instead of PVT for version-misc. I'd guess that be causing problems too. Sounds like more than just the mid and serialno got corrupt.
Click to expand...
Click to collapse
So any updates? The real problem is that the partition that got corrupted contains a lot of info, that cannot be found anywhere else on the phone (not only MID and serial number, much more)
I even think I've thought of a way to rewrite that partition, but the question is: with what information (MID, PID, s/n, etc).
Do you still have the box of the phone? (some of that info in that partition is on the original box, but not all of it)
nkk71 said:
I even think I've thought of a way to rewrite that partition, but the question is: with what information (MID, PID, s/n, etc).
Do you still have the box of the phone? (some of that info in that partition is on the original box, but not all of it)
Click to expand...
Click to collapse
Are you thinking mmcblk0p6, the mfg partition? I think that could work by dumping a known good one, flashing over the corrupt partition in fastboot or recovery and then using eng hboot to rewrite original sn, imei, mid, cid, etc.
Imei is etched on sim tray, other info can also be found in a couple of other partitions.
cschmitt said:
Are you thinking mmcblk0p6, the mfg partition? I think that could work by dumping a known good one, flashing over the corrupt partition in fastboot or recovery and then using eng hboot to rewrite original sn, imei, mid, cid, etc.
Imei is etched on sim tray, other info can also be found in a couple of other partitions.
Click to expand...
Click to collapse
Yep, exactly :good:
CID and IMEI, not worried about, the original ones can be found in two other partitions (unless CID was changed, but of little consequence), the bad ones (that don't seem to be anywhere else), are: MAC (hmm), MID, S/N, PID and the others I don't even know what they mean
and would the rest of the parameters in that partition (board version, gains, etc) matter.
PS: unfortunately can't seem to get to recovery in any way with a corrupt p6, trust me I tried
nkk71 said:
PS: unfortunately can't seem to get to recovery in any way with a corrupt p6, trust me I tried
Click to expand...
Click to collapse
But fastboot is OK? If so, eng hboot has a lot of commands, maybe possible to flash mfg info into p6 that way. Don't have access to my laptop atm, but can check it out later if you don't get to it first. ?
cschmitt said:
But fastboot is OK? If so, eng hboot has a lot of commands, maybe possible to flash mfg info into p6 that way. Don't have access to my laptop atm, but can check it out later if you don't get to it first. ?
Click to expand...
Click to collapse
actually, I was thinking of simply:
fastboot flash /dev/block/mmcblk0p6 <name of good p6>.img
(or /dev/mmcblk0p6 or mmcblk0p6, whatever would work)
but I would really like to pull the corrupted one first, since so many parameters are repeated in p6, then if it's only partially corrupted, one could (theoretically) reconstruct it.
Problem is, I have no idea how to "dd" it out, using only fastboot. in ENG hboot there are commands, but I've found zero (concrete) information about their use.
If the partition can be pulled using adb then it can be compared to a working file and being right information be inserted and written back to the device that is my theory.
sent from my mobile device
---------- Post added at 02:14 PM ---------- Previous post was at 02:13 PM ----------
EFS professional allows this on samsung devices. Someone will need to check if the same is true on htc
sent from my mobile device
SaHiLzZ said:
If the partition can be pulled using adb then it can be compared to a working file and being right information be inserted and written back to the device that is my theory.
sent from my mobile device
Click to expand...
Click to collapse
no adb , that would make things a lot easier (maybe), only fastboot commands, so if anybody knows how to "dd" partitions using fastboot only please let us know.

[Q] (Q) Lollipop soft brick help please

Hi all,
My friend handed me his HTC One M7 the other day and it was looping at the beginning Android / HTC screen from boot, he took the lollipop update but it failed somewhere along the way and this is how it's ended up.
The device is not rooted and is not bootloader unlocked, i've tried to flash a few RUU files to bring it back to life but the vast majority of them only get as far as 1/5 checking header.
I'm more than happy to root the device and install a custom rom but I wasn't sure if it needed to be bootable to do so, afaik the bootloader unlocking doesn't require to have the device on, infact I don't think you need to have the OS to get a custom recovery either? Anyway, i'd like for him to retain his warranty so if there's a way for him to get it back to stock HTC then i'd prefer to do that.
If that's not possible and unlocking the bootloader, installing a custom rom is then I'll do that.
Any help would be greatly appreciated.
Many thanks.
PS: I have had the m7 before but I didn't have it when android 5 was available so i'm a little out of touch with what may go wrong.
dladz said:
Hi all,
My friend handed me his HTC One M7 the other day and it was looping at the beginning Android / HTC screen from boot, he took the lollipop update but it failed somewhere along the way and this is how it's ended up.
The device is not rooted and is not bootloader unlocked, i've tried to flash a few RUU files to bring it back to life but the vast majority of them only get as far as 1/5 checking header.
I'm more than happy to root the device and install a custom rom but I wasn't sure if it needed to be bootable to do so, afaik the bootloader unlocking doesn't require to have the device on, infact I don't think you need to have the OS to get a custom recovery either? Anyway, i'd like for him to retain his warranty so if there's a way for him to get it back to stock HTC then i'd prefer to do that.
If that's not possible and unlocking the bootloader, installing a custom rom is then I'll do that.
Any help would be greatly appreciated.
Many thanks.
PS: I have had the m7 before but I didn't have it when android 5 was available so i'm a little out of touch with what may go wrong.
Click to expand...
Click to collapse
Connect the phone to your computer, Boot it in bootloader mode select "fastboot" mode and make sure "fastboot usb" is shown in red. Open a fastboot command prompt:
Code:
fastboot getvar all
post the output here but make sure to hide the imei and serialno before posting.
Thanks mate I'm in bed at the moment but will do after work tomorrow,, Appreciate your help, im guessing this is to see what firmware is installed? Or hboot? I'll come back tomorrow, Many thanks.
dladz said:
Thanks mate I'm in bed at the moment but will do after work tomorrow,, Appreciate your help, im guessing this is to see what firmware is installed? Or hboot? I'll come back tomorrow, Many thanks.
Click to expand...
Click to collapse
Firmware, hboot, CID, MID, S-ON/S-OFF, M7_UL/M7_U
Checking header 1/5..ill give you a clue...your ruu that you going to flash,it has to match firmware that is on it now...as you are s-on,you cant change firmware.so,try with other ruu's,some that maches firmware number..not older,not newer.
And like others said,give them "getvar all" info.
Sent from my HTC One using XDA Free mobile app
Chaps you are both legends, I'm just running round getting ready for work. I'll jump on this when I get home. Appreciate your help. Thanks.
alray said:
Connect the phone to your computer, Boot it in bootloader mode select "fastboot" mode and make sure "fastboot usb" is shown in red. Open a fastboot command prompt:
Code:
fastboot getvar all
post the output here but make sure to hide the imei and serialno before posting.
Click to expand...
Click to collapse
C:\ANDROID SDK\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA385W909506
(bootloader) imei: -
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: low
(bootloader) battery-voltage: 3596mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.044s
Here you go mate.
currently downloading this https://www.androidfilehost.com/?fid=95832962473396760 it's for version 6.09.401.11 which was listed.
Unless there's something i'm supposed to do.
dladz said:
C:\ANDROID SDK\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA385W909506
(bootloader) imei: -
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: low
(bootloader) battery-voltage: 3596mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.044s
Here you go mate.
currently downloading this https://www.androidfilehost.com/?fid=95832962473396760 it's for version 6.09.401.11 which was listed.
Unless there's something i'm supposed to do.
Click to expand...
Click to collapse
Would recommend to simply flash the latest ruu (7.19.401.2) which will fix and update the phone to the latest version.
Instructions and file here: http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
alray said:
Would recommend to simply flash the latest ruu (7.19.401.2) which will fix and update the phone to the latest version.
Instructions and file here: http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
Click to expand...
Click to collapse
I did actually try that one mate, that's how i got the 1/5 checking headers problem, and it simply doesn't go any further, i'll give it another whirl but as far as i can remember it was that version.
brb after checking.
Actually I didn't flash one of these but the version does ring a bell. Downloading now mate.
The previous one i mentioned i flash via fastboot flash zip but it still loops, 20 mins until that one downloads. Will let you know and thank you by the way.
dladz said:
I did actually try that one mate, that's how i got the 1/5 checking headers problem, and it simply doesn't go any further, i'll give it another whirl but as far as i can remember it was that version.
brb after checking.
Actually I didn't flash one of these but the version does ring a bell. Downloading now mate.
Click to expand...
Click to collapse
Im almost sure you were trying to flash the 4.xx.401.x version not the one I have linked above.
alray said:
Im almost sure you were trying to flash the 4.xx.401.x version not the one I have linked above.
Click to expand...
Click to collapse
I flashed this one https://www.androidfilehost.com/?fid=95832962473396760 which is 6.09.401.11 but it didn't work, not to worry anyway, i'll give the one you linked to a whirl too, just waiting for it to download, 10 mins left.
dladz said:
i'll give the one you linked to a whirl too, just waiting for it to download, 10 mins left.
Click to expand...
Click to collapse
I'm 100% confident it will work. Just make sure to use the fastboot version linked in that thread which is a version made by HTC. Only this version of fastboot will work to flash this ruu since the "normal" fastboot can't handle the file size of that ruu. Also make sure your bootloader is locked or relocked.
Code:
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot reboot
alray said:
I'm 100% confident it will work. Just make sure to use the fastboot version linked in that thread which is a version made by HTC. Only this version of fastboot will work to flash this ruu since the "normal" fastboot can't handle the file size of that ruu. Also make sure your bootloader is locked or relocked.
Code:
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot reboot
Click to expand...
Click to collapse
Oh really? Why didn't i know this !? See I've been gone from HTC for far too long, should be getting the M9 soon though. One of my contracts expires soon, i've got a few, need to check on them. You thinking of getting the M9 ? Think Samsung has made a mistake going with the Exynos.
Ok it's downloaded, i'll grab that fastboot and give it a whirl. Fingers crossed.
alray said:
I'm 100% confident it will work. Just make sure to use the fastboot version linked in that thread which is a version made by HTC. Only this version of fastboot will work to flash this ruu since the "normal" fastboot can't handle the file size of that ruu. Also make sure your bootloader is locked or relocked.
Code:
fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot reboot
Click to expand...
Click to collapse
Ok i got this
C:\HTC Fastboot>fastboot oem rebootRUU
... (bootloader) Start Verify: 3
OKAY
Execution time is 44(ms)
C:\HTC Fastboot>fastboot flash zip PN07IMG_M7_U_L50_SENSE60_MR_HTC_Europe_7.19.4
01.102_Radio_4T.35.3218.16_10.33Q.1718.01D_release_421804_signed.zip
sending 'zip'... (43287 KB) OKAY
sending time = 2.844 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...
(bootloader) checking model ID...
FAIL41 model id check fail
FAILED (remote: 41 model id check fail)
Execution time is 9(s)
C:\HTC Fastboot>
Rebooting.
EDIT: Bootloop mate.
dladz said:
Oh really? Why didn't i know this !? See I've been gone from HTC for far too long, should be getting the M9 soon though. One of my contracts expires soon, i've got a few, need to check on them. You thinking of getting the M9 ? Think Samsung has made a mistake going with the Exynos.
Click to expand...
Click to collapse
I'll might grab the M9 later this year when the price will drop a bit. I'm still satisfied with my M7 and doesn't feel like I need something more.
Ok it's downloaded, i'll grab that fastboot and give it a whirl. Fingers crossed
Click to expand...
Click to collapse
Dont forget you'll need the dll files in the same folder where you have htc's fastboot and the ruu. You can simply replace fastboot.exe with htc's fastboot in your sdk folder were the required dll files are
---------- Post added at 12:16 PM ---------- Previous post was at 12:14 PM ----------
dladz said:
Ok i got this
C:\HTC Fastboot>fastboot oem rebootRUU
... (bootloader) Start Verify: 3
OKAY
Execution time is 44(ms)
C:\HTC Fastboot>fastboot flash zip PN07IMG_M7_U_L50_SENSE60_MR_HTC_Europe_7.19.4
01.102_Radio_4T.35.3218.16_10.33Q.1718.01D_release_421804_signed.zip
sending 'zip'... (43287 KB) OKAY
sending time = 2.844 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...
(bootloader) checking model ID...
FAIL41 model id check fail
FAILED (remote: 41 model id check fail)
Execution time is 9(s)
C:\HTC Fastboot>
Click to expand...
Click to collapse
you have downloaded the 7.19.401.102 version. You have to use the 7.19.401.2 version hence why the "check ID fail". .102 version is for M7_U and .2 version is for M7_UL (the one you have).
alray said:
Would recommend to simply flash the latest ruu (7.19.401.2)
Click to expand...
Click to collapse
alray said:
you have downloaded the 7.19.401.102 version. You have to use the 7.19.401.2 version hence why the "check ID fail". .102 version is for M7_U and .2 version is for M7_UL (the one you have).
Click to expand...
Click to collapse
Just copied the HTC fastboot into the SDK platforms and tools folder, reflashing now.
dladz said:
Just copied the HTC fastboot into the SDK platforms and tools folder, reflashing now.
Click to expand...
Click to collapse
read my post above you are flashing the wrong ruu. You need 4.19.401.2 not 4.19.401.102
alray said:
you have downloaded the 7.19.401.102 version. You have to use the 7.19.401.2 version hence why the "check ID fail". .102 version is for M7_U and .2 version is for M7_UL (the one you have).
Click to expand...
Click to collapse
Ah, idiot. Sorry
Couldn't see a european one though? This device is unlocked, wouldn't it have the providers software on otherwise?
Ok downloading, sorry mate, my eyes are failing me, getting old.
Ok so I think it's all done mate, looks like it's going to load up, I mean the script has finished running but the green bar is still onscreen.

HTC One M7 e801 bootup blankscreen

First of all, I got my m7 unlocked and stuffs. Then my supersu keep on appearing error for stop responding
Therefore I realize maybe my supersu was too old or something based on the tutorial, the zip was older version. I flashed with update-supersu.zip , thats where my nightmare begin.
I reboot after flashing it, HTC logo bootup appear then went on blankscreen. I tried to wiped data and factory reset still the same
Next I was trying to flash full firmware thought it should bring back my m7 to life, not successful, and tried different rom(Google stock rom), it all shows
writing 'zip'...
(bootloader) adopting the signature contained in this image...
FAILED (remote: not allowed)
Click to expand...
Click to collapse
I don't know what to do anymore, what did i miss to flash any rom or simply have my m7 works again, please help.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader)
(bootloader)
(bootloader) meid: 00000000000000
(bootloader) product: m7_u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0711000
(bootloader) cidnum: HTC__621
(bootloader) battery-status: good
(bootloader) battery-voltage: 4102mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bf7e9305
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.040s
Click to expand...
Click to collapse
first of all, i figure out a few things here, maybe someone could help with my informations
If was planning to make it S-OFF but with Hboot 1.61 i will need to pay $25 for sunshine, X.
So the only way is that I flash stock M7_U 7.18.709.102 (HTC_Asia_TW), im not sure whats the correct way to do that. Or flash something ruu? I have no idea about that
saw from somewhere saying "if you are s on, you will have to do this seperate boot image install every time you want to flash a new rom"
what am I suppose to do? while the meantime im downloading the zip and its freaking slow, take very long (if someone got a better download website) due to the mirror
my recovery mode, fastboot and bootloader are functioning which is something im still happy for.
Please if someone could help me out
fungrian said:
first of all, i figure out a few things here, maybe someone could help with my informations
If was planning to make it S-OFF but with Hboot 1.61 i will need to pay $25 for sunshine, X.
So the only way is that I flash stock M7_U 7.18.709.102 (HTC_Asia_TW), im not sure whats the correct way to do that. Or flash something ruu? I have no idea about that
saw from somewhere saying "if you are s on, you will have to do this seperate boot image install every time you want to flash a new rom"
what am I suppose to do? while the meantime im downloading the zip and its freaking slow, take very long (if someone got a better download website) due to the mirror
my recovery mode, fastboot and bootloader are functioning which is something im still happy for.
Please if someone could help me out
Click to expand...
Click to collapse
Sometimes downloading things requires patience.
Im not sure exactly how S-ON flashing works but i did hear somewhere that something to do with boot image gets involved
I found out the best way to bring back my m7 is to use RUU method, but when i try to flash zip it shows "failed"
./fastboot-mac flash zip PN07IMG.zip
sending 'zip' (1975775 KB)...
FAILED (remote: 02 data length is too large)
Click to expand...
Click to collapse
FAILED (remote: 02 data length is too large)
maybe the RUU is not right for my phone?
Don't know whether is it i downloaded wrong rom file for my device
fungrian said:
I found out the best way to bring back my m7 is to use RUU method, but when i try to flash zip it shows "failed"
FAILED (remote: 02 data length is too large)
maybe the RUU is not right for my phone?
Don't know whether is it i downloaded wrong rom file for my device
Click to expand...
Click to collapse
You must use htc_fastboot.exe to flash a RUU if it's a Lollipop version (version starting with 7.xx.xxx.x). Others fastboot versions won't work.
---------- Post added at 08:30 AM ---------- Previous post was at 08:28 AM ----------
fungrian said:
saw from somewhere saying "if you are s on, you will have to do this seperate boot image install every time you want to flash a new rom"
Click to expand...
Click to collapse
Does not apply to the M7, the boot partition isn't write protected like previous htc devices.

Categories

Resources