[SPLASH] HTC One M8 BIOS Splash Screens - All Variants - 4.4.3 - T-Mobile HTC One (M8)

Disclaimer: You are performing this modification at your own risk. I take absolutely no responsibility for any damages that may occur to your phone as a result of this modification. You are solely responsible for any changes you make to your phone.
Please read this post before flashing your new splash screen! Also, if you plan to revert to a locked bootloader, or revert to S-On, please flash a stock bootloader for your variant. If you neglect to do this, you could end up with a brick during the revert process! This also means that you should revert to a stock splash screen!
Please remember that by changing your splash screen you will no longer have your stock splash screen. I believe one is posted somewhere in the general M8 forums. Please search there for it.
Please choose the splash screen for your variant. I tried to make sure that all the main versions (read as OS version) in the android-info.txt file match the main version for each respective variants. Since, as of August 30, 2014, it seems that Verizon has not yet released their official 4.4.3 update, I have the main version set to the international variant's main version (2.22.401.4). As stated above, remember to flash back to your official bootloader before reverting to a locked state, or to S-On!
Below is important information about what the main version is and why it is important to revert. I was very worried that this would effect flashing splash screens to all the variants, so I asked @santod040 for clarification on the subject. @santod040 is the person that has given S-Off users the awesome ability to remove the red text on the splash screens by changing the HBOOT (link provided in Thanks section).
Below is the portion of the pm that pertains to the android-info.txt file.
santod040 said:
Essentially, that usually reads the devices current OS version.
When taking an OTA or a signed RUU, it will check many things before it will proceed.
One of those things, is the main version info.
If what you have is newer then what you try to flash while s-on, it will fail, as you cannot downgrade while s-on.
Essentially, if it does not match the expected version when flashing anything signed while s-on, it will fail.
It will essentially have zero effect for anyone who is s-off, so long as they remain s-off.
The main thing is making sure that folks know not to turn s back to ON while they have any modified hboots or even firmware info, such as the main version.
As they will then be stuck not being able to flash just about anything after that unless they can re-unlock/s-off.
So, you can do it with a one size fits all zip and force everyone's to read the same version info in hboot, but it would be better if you could avoid it.
I realize that would mean more work in packing it up for different variants and software revisions, so probably not the way you wanna do it either.
What it comes down to really, is you can do it the easier way, and make sure to let the users know that they should revert to stock firmware before ever trying to relock or go back to s-on.
Click to expand...
Click to collapse
TLDR: You absolutely need to revert to official bootloader before reverting to a locked bootloader state, or reverting to S-On. This is now the third time this has been mentioned. If you forget to do this, any fault absolutely lies with you. The main versions included in the zips will change the OS version listed in the bootloader. A different OS version there from your installed OS version will not effect the functionality of your phone in any way. It only effects locking bootloaders, or reverting to S-On.
If you use TWRP you may not see the OS version listed. This is due to an error in TWRP that does not display the OS version, not from a failed splash screen flash. There is a version of TWRP that does not have this limitation (at least for GSM variants). Can't remember where this is posted, but it does exist.
All this being said, I have included versions of the splash screens with main versions matching the variants. Please flash the splash screen for your variant.
This mod is persistent through ROM flashes and nandroid restore. Flashing an RUU may change the splash screen.
These have been updated to Android version 4.4.3. I have zipped all the 4.4.2 splash screens and uploaded them and the previews here if anyone is still on 4.4.2. Anyone that posted new Model IDs and Custom IDs, the info.txt file has been updated with them for 4.4.3.
Remember to check below to see your if your MID and CID are included in the zips. If not, you can just open the zip and open the android-info.txt file and add your MID and CID by following the syntax of the others. Notepad++ or similar is best suited for editing the txt file.
Requirements:
S-Off
Android SDK (adb and fastboot)
USB Debugging turned on
HTC M8 Drivers
Useful Commands:
Code:
adb devices
(when your phone is connected to the computer, this will tell you if your phone is detected)
expected output:
C:\sdk\platform-tools>adb devices
List of devices attached
FAXXXXXXXXXX device
Code:
fastboot devices
(when your phone is connected and booted to the bootloader, this will tell you if your phone is detected)
expected output:
C:\sdk\platform-tools>fastboot devices
List of devices attached
FAXXXXXXXXXX fastboot
You must use an adb shell, or a terminal emulator app to use the commands below.
Code:
getprop ro.cid
(displays your phone's Custom ID (cid))
expected output:
[email protected]/# getprop ro.cid
getprop ro.cid
T-MOB010
Code:
getprop ro.mid
(dispays your phone's Model ID)
expected output:
[email protected]/# getprop ro.mid
getprop ro.mid
0P6B13000
Instructions:
1. Place the zip in the same folder as adb and fastboot.
2. Open a command window and navigate to your adb and fastboot folder. Window button + R and type "cmd"
Alternative: Hold Shift and right-click inside the folder or on the folder's icon and select "Open command window here"​
3. Use this command:
Code:
adb reboot bootloader
4. After it boots into fastboot use these commands:
Code:
fastboot devices
fastboot oem rebootRUU
expected output:
C:\sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.025s]
finished. total time: 0.025s
The first command confirms the connection to the computer, the second command reboots your phone into an RUU flash mode. The screen will be black with a silver and black HTC logo.
5. Next use the command:
Code:
fastboot devices
fastboot flash zip splash.zip
expected output:
C:\sdk\platform-tools>fastboot flash zip splash-t-mo.zip
sending 'zip' (156 KB)...
OKAY [ 0.191s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) total_image_number=1
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) [RUU]UZ,sp1,0
(bootloader) [RUU]UZ,sp1,23
(bootloader) [RUU]UZ,sp1,45
(bootloader) [RUU]UZ,sp1,67
(bootloader) [RUU]UZ,sp1,89
(bootloader) [RUU]UZ,sp1,100
(bootloader) [RUU]WP,sp1,0
(bootloader) [RUU]WP,sp1,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
OKAY [ 2.188s]
finished. total time: 2.379s
I always perform the devices check before flashing.
6. Then reboot using:
Code:
fastboot reboot-bootloader
expected output:
C:\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.014s]
finished. total time: 0.015s
This allows you to make sure that the flash was successful. If it was not, from here you could start the process over and flash a splash screen you know works.
4.4.3 Downloads
AT&T
mainver: 2.23.502.3
AT&T
Download
MD5: 98e73d321ec32ecb9eaf2675a4a45b80
AT&T-No Carrier
Download
MD5: c8ba2aa9e07412e90db1669c690c973b
AT&T-Unlocked
Download
MD5: 7909b5739356dd2875a60bca961f860e
Developer
mainver: 2.22.1540.4
Dev-No Carrier
Download
MD5: 19f0c68a61b0149234981a234f32ddbc
Dev-Unlocked
Download
MD5: a7112e62b9da72f8d3979945d513b76b
International
mainver: 2.22.401.4
International-No Carrier
Download
MD5: 4fde99126b8ec8e988602bd3413f5484
International-Unlocked
Download
MD5: a71cf6bde5cab9978a558605f7c7d442
Sprint
mainver: 2.16.654.4
Sprint
Download
MD5: c93b4fc4ccc4bbe5a2406ca16192c57a
Sprint-No Carrier
Download
MD5: 40f258362582c8a60c8502779aa8f5b4
Sprint-Unlocked
Download
MD5: 1b118dbf8c358fe3bff998dae206f3e7
T-Mobile
mainver: 2.22.531.5
T-Mobile
Download
MD5: 2cdec4a58a9f6f31d76ef4b5ed4e2d4a
T-Mo-No Carrier
Download
MD5: aa7a9cbddb66c5f175d7eb1a770e0519
T-Mo-Unlocked
Download
MD5: 255b62e6e18a9b9ddb0524423c4dd2bb
Verizon
mainver: 2.22.401.4
Verizon
Download
MD5:49d40286e79a6bc8ff2dba2bcc189288
Verizon-No Carrier
Download
MD5: 4fde99126b8ec8e988602bd3413f5484
Verizon-Unlocked
Download
MD5: a71cf6bde5cab9978a558605f7c7d442
Check your Custom ID and Model ID here:
Contents of the android-info.txt file in each 4.4.3 zip:
Code:
modelid: 0P6B13000
modelid: 0P6B12000
modelid: 0P6B20000
modelid: 0P6B10000
modelid: 0P6B70000
modelid: 0P6B11000
cidnum: 11111111
cidnum: T-MOB010
cidnum: CWS__001
cidnum: BS_US001
cidnum: GOOGL001
cidnum: VZW__001
cidnum: SPCS_001
cidnum: HTC__621
mainver: ***Varies - Listed with the variants***
btype:1
aareport:1
hbootpreupdate:12
MD5 Sums:
4.4.3 MD5 sums are listed with the variants
4.4.2
AT&T
EC9694FB1E0E1045018D47F014C3880A
No-Carrier
1E4466590F99EF431E752D35C1662514
Sprint
312AB76943BA54B9406EB21A627C3C58
T-Mobile
508F020E3A30552A1B4C79A80209DCB4
Unlocked
EF40CCF59D9D64B3BC628F18937A206C
Verizon
926DC41ACB0AF03C8F99F6CAB0EB2F42
Thanks:
@santod040 - For taking all the time to write up a detailed explanation of what the main version is and its function. Also, for modifying the HBoots of our devices to not show that hideous red text! Modified HBoot thread found here: http://forum.xda-developers.com/showthread.php?t=2710503
@starbase64 - For the splash screen creator for the M8 found here: http://forum.xda-developers.com/showthread.php?t=2713947
@dgtiii - For the fastboot flash instructions.
@ordg7341 - For android-info.txt base.
@JaY iZz BaKk - For testing the splash screen on the T-Mobile variant.

VolcanicSkunk said:
Disclaimer: You are performing this modification at your own risk. I take absolutely no responsibility for any damages that may occur to your phone as a result of this modification.
This mod should work on all versions of the M8. I included all the Model IDs and Custom IDs I could find, so hopefully it should be compatible with all variants of this device. The android-info.txt file that is used is shown later in this post so you can check your IDs before you flash.
If you find that your Model ID or Custom ID is not included in the file, you can check the Useful Commands section for how to find your IDs, then just add them to your zip before flashing. Also, please post your IDs here so I can update the android-info.txt to include your variant.
Please remember that by changing your splash screen you will no longer have your stock splash screen. I believe one is posted somewhere in the general M8 forums. Please search there for it.
This mod is persistent through ROM flashes and nandroid restore. Flashing an RUU may change the splash screen.
Requirements:
S-Off
Android SDK (adb and fastboot)
USB Debugging turned on
HTC M8 Drivers
Useful Commands:
Code:
adb devices
(when your phone is connected to the computer, this will tell you if your phone is detected)
expected output:
C:\sdk\platform-tools>adb devices
List of devices attached
FAXXXXXXXXXX device
Code:
fastboot devices
(when your phone is connected and booted to the bootloader, this will tell you if your phone is detected)
expected output:
C:\sdk\platform-tools>fastboot devices
List of devices attached
FAXXXXXXXXXX fastboot
You must use an adb shell, or a terminal emulator app to use the commands below.
Code:
getprop ro.cid
(displays your phone's Custom ID (cid))
expected output:
[email protected]/# getprop ro.cid
getprop ro.cid
T-MOB010
Code:
getprop ro.mid
(dispays your phone's Model ID)
expected output:
[email protected]/# getprop ro.mid
getprop ro.mid
0P6B13000
Instructions:
1. Place the zip in the same folder as adb and fastboot.
2. Open a command window and navigate to your adb and fastboot folder. Window button + R and type "cmd"
Alternative: Hold Shift and right-click inside the folder or on the folder's icon and select "Open command window here"​
3. Use this command:
Code:
adb reboot bootloader
4. After it boots into fastboot use these commands:
Code:
fastboot devices
fastboot oem rebootRUU
expected output:
C:\sdk\platform-tools>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.025s]
finished. total time: 0.025s
The first command confirms the connection to the computer, the second command reboots your phone into an RUU flash mode. The screen will be black with a silver and black HTC logo.
5. Next use the command:
Code:
fastboot devices
fastboot flash zip splash.zip
expected output:
C:\sdk\platform-tools>fastboot flash zip splash-t-mo.zip
sending 'zip' (156 KB)...
OKAY [ 0.191s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
(bootloader) total_image_number=1
(bootloader) start image[sp1] unzipping & flushing...
(bootloader) [RUU]UZ,sp1,0
(bootloader) [RUU]UZ,sp1,23
(bootloader) [RUU]UZ,sp1,45
(bootloader) [RUU]UZ,sp1,67
(bootloader) [RUU]UZ,sp1,89
(bootloader) [RUU]UZ,sp1,100
(bootloader) [RUU]WP,sp1,0
(bootloader) [RUU]WP,sp1,100
(bootloader) ...... Successful
(bootloader) current_image_number=0
OKAY [ 2.188s]
finished. total time: 2.379s
I always perform the devices check before flashing.
6. Then reboot using:
Code:
fastboot reboot
expected output:
C:\sdk\platform-tools>fastboot reboot
rebooting...
finished. total time: 0.017s
Check your Custom ID and Model ID here:
Contents of the android-info.txt file in each zip:
Code:
modelid: 0P6B13000
modelid: 0P6B12000
modelid: 0P6B20000
modelid: 0P6B10000
cidnum: 11111111
cidnum: T-MOB010
cidnum: CWS__001
cidnum: BS_US001
cidnum: GOOGL001
cidnum: VZW__001
mainver: 1.54.401.5
btype:1
aareport:1
hbootpreupdate:12
MD5 Sums:
AT&T
EC9694FB1E0E1045018D47F014C3880A
No-Carrier
1E4466590F99EF431E752D35C1662514
Sprint
312AB76943BA54B9406EB21A627C3C58
T-Mobile
508F020E3A30552A1B4C79A80209DCB4
Unlocked
EF40CCF59D9D64B3BC628F18937A206C
Verizon
926DC41ACB0AF03C8F99F6CAB0EB2F42
Thanks:
@starbase64 - for the splash screen creator for the M8 found here: http://forum.xda-developers.com/showthread.php?t=2713947
@dgtiii - fastboot flash instructions
@ordg7341 - for android-info.txt base
@JaY iZz BaKk - for testing the splash screen on the T-Mobile variant
Click to expand...
Click to collapse
love this! I would suggest posting it in the international htc one m8 section

JaY iZz BaKk said:
love this! I would suggest posting it in the international htc one m8 section
Click to expand...
Click to collapse
I think I'll do that right now actually.

When i try to flash the tmobile variant on my tmobile m8 running viper rom i get a failed error

Gs0230 said:
When i try to flash the tmobile variant on my tmobile m8 running viper rom i get a failed error
Click to expand...
Click to collapse
Can you confirm MD5? If so, please run the following commands in a terminal emulator or adb shell:
Code:
getprop ro.cid
getprop ro.mid
Then post the results from each command. I can then update the android-info.txt to include your cid and mid.

Flashed the no carrier version on my Dev edition phone, looks great! Good job mate, and thanks for the mention in your OP,

dgtiii said:
Flashed the no carrier version on my Dev edition phone, looks great! Good job mate, and thanks for the mention in your OP,
Click to expand...
Click to collapse
Glad you like it! And I have to give credit where due.
Sent from my HTC One M8

Call me a noob but... When does the splash animation happen? Is it the first one you see when you power the device on? Like the white background with green HTC Logo before the actual boot animation?

nicholi2789 said:
Call me a noob but... When does the splash animation happen? Is it the first one you see when you power the device on? Like the white background with green HTC Logo before the actual boot animation?
Click to expand...
Click to collapse
Yep. The splash is the image that appears before the boot animation begins.
Sent from my HTC One M8

It doesn't display any real info though, am I right?

Shebee said:
It doesn't display any real info though, am I right?
Click to expand...
Click to collapse
No, it doesn't detect anything on your device. The information should correspond with your variant though.
Splash screens are just a converted png image.
Sent from my HTC One M8

Please excuse the dumb question, but I am also trying to get rid of the tmo boot animation after the splash screen, I have tried to remove it manually but with no luck. Any direction you can give me?

cdfosburg said:
Please excuse the dumb question, but I am also trying to get rid of the tmo boot animation after the splash screen, I have tried to remove it manually but with no luck. Any direction you can give me?
Click to expand...
Click to collapse
You need to have r/w permissions. I think there is a thread in the international M8 development forums. I'm not sure if you need to be S-Off to use it. Or flash a custom kernel. I think ElementalX kernel has it built in. Or most custom roms have it built in.
Sent from my HTC One M8

VolcanicSkunk said:
You need to have r/w permissions. I think there is a thread in the international M8 development forums. I'm not sure if you need to be S-Off to use it. Or flash a custom kernel. I think ElementalX kernel has it built in. Or most custom roms have it built in.
Sent from my HTC One M8
Click to expand...
Click to collapse
I am starting to think that the rom / kernel i have is what the issue is, it isn't the worst thing, just a pain lol.

Ran into this error?
I downloaded the adb sdk, extracted the file to my desktop, moved the splash.zip file to the platform-tools folder, then held shift and rich clicked to open the command prompt and followed directions.. Any idea what I may have done incorrectly..
Thanks for the help guys!
C:\Users\alex.pahler\Desktop\adt-bundle-windows-x86-20140321\sdk\platform-tools>
fastboot flash zip splash.zip
target reported max download size of 1829171200 bytes
sending 'zip' (1375 KB)...
OKAY [ 0.291s]
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.884s

pahlerc1 said:
I downloaded the adb sdk, extracted the file to my desktop, moved the splash.zip file to the platform-tools folder, then held shift and rich clicked to open the command prompt and followed directions.. Any idea what I may have done incorrectly..
Thanks for the help guys!
C:\Users\alex.pahler\Desktop\adt-bundle-windows-x86-20140321\sdk\platform-tools>
fastboot flash zip splash.zip
target reported max download size of 1829171200 bytes
sending 'zip' (1375 KB)...
OKAY [ 0.291s]
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.884s
Click to expand...
Click to collapse
Run the command to check your model id and post the result. Then I can update the zip with your model id.
Sent from my HTC One M8

VolcanicSkunk said:
Run the command to check your model id and post the result. Then I can update the zip with your model id.
Sent from my HTC One M8
Click to expand...
Click to collapse
I fixed it.. For your thread the information was MID: 0P6B20000
I edited the android text file to that and everything works fine now.. Also have removed the red text which is amazing! It awesome having a custom splash screen, boot animation, and down animation!!

cdfosburg said:
Please excuse the dumb question, but I am also trying to get rid of the tmo boot animation after the splash screen, I have tried to remove it manually but with no luck. Any direction you can give me?
Click to expand...
Click to collapse
This is what I did....Disclaimer: it's a pretty ghetto way of doing it, but it worked for me. Use at your own risk though. And always back up your original files first.
The files you're looking for are located in /system/customize/resource
The annoying sound is: T-Jingle.wav and T-Jingle.ogg
I replaced those with blank ones and changed permissions to rw-r-r
No more annoying sound
The startup Bootanim is TMOUS_bootanimation.zip
Near as I can tell your new one needs to have the same format as this to replace it with a new animation.
When I replaced it with a custom that had a unique desc.txt, the classic part0/part1 folders, etc. it did not work.
What it did do(the part you're interested in)is make the boot anim not play anymore.
So, you could do that to make it not play anymore. Or you could just replace the images in its folders with new ones and have a new boot animation. That's what I ended up settling with.
Once again set permissions on the file to rw-r-r. Also when you make the zip you need to set compression to Store for it to work I think.
Anyways, hope that helps. Thanks again to OP for the info on the splash screen-worked like a charm.

gokun said:
The files you're looking for are located in /system/configuration/resource
Click to expand...
Click to collapse
I found mine in /system/customize/resource.
I was able to rename T-Jingle.wav and T-Jingle.ogg to Z-Jingle.wav and Z-Jingle.ogg using root explorer and the sound is finally gone. Thanks for pointing me in the right direction!

Has anyone gotten this error message?
error: cannot open 'splash.zip'
I can't seem to find anything on how to fix this.

Related

HELP getting back to stock sprint rom

Im currently s-off, relocked, running viperonem8 2.5.0, and want to get back to stock sprint rom. cid-spcs_004, hboot 3.18.0.0000. I have the harman kardon edition one m8. ive downloaded the sprint one m8 h&k edition and also developer edition RUUs direct from htc, and when i change the ruu to 0P6BIMG.zip and drop it in my sd card, reboot the phone it says loading...[0P6BIMG.zip] for a while and then says wrong zipped image! when i enable usb debugging plug in usb and run the ruu exe i get error 155. i DO have current drivers installed for my phone. ive tried using adb and fastboot from command prompt using the instructions i found at droid views restore one m8 to stock rom guide and i get this:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader
adb server is out of date. killing...
* daemon started successfully *
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.019s]
finished. total time: 0.021s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware.zip
target reported max download size of 1830612992 bytes
sending 'zip' (1549156 KB)...
OKAY [ 58.261s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 58.549s
fastboot getvar all gives me this:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.08.20.0612_4
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.16.654.4
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: FA459SF07192
(bootloader) imei: 990004991326509
(bootloader) imei2: Not Support
(bootloader) meid: 99000499132650
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_004
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: d4c3cae5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.085s
C:\Program Files (x86)\Minimal ADB and Fastboot>
please help!
let me know if you need any more info about my phone. after doing some more google searching i sazw somewhere someone say something about needing to flash another rom or ruu first since viperone uses different partitions or something, but they did not elaborate so i have no clue what to do....
jcedwards2009 said:
I have the harman kardon edition one m8. ive downloaded the sprint one m8 h&k edition and also developer edition RUUs direct from htc
Click to expand...
Click to collapse
Developers Edition is not intended for your version. It will fail due to wrong CID and MID. And do not attempt to change the CID and MID to flash this. If it works, it will screw up the phone, and possibly even lead to a radio brick! Only run Sprint RUU on Sprint version M8!
jcedwards2009 said:
i change the ruu to 0P6BIMG.zip
Click to expand...
Click to collapse
What exactly did you do here? You extracted ROM.zip from the RUU (or get it from your PC's temp directory after running the RUU .exe) and renamed it to 0P6BIMG.zip?
jcedwards2009 said:
when i enable usb debugging plug in usb and run the ruu exe i get error 155.
Click to expand...
Click to collapse
That usually means you need to flash the Sprint MM firmware, then the RUU. But it appears from your log, that you may have tried this (see next quote)?
jcedwards2009 said:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware.zip
target reported max download size of 1830612992 bytes
sending 'zip' (1549156 KB)...
OKAY [ 58.261s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 58.549s
Click to expand...
Click to collapse
What exactly are you trying to flash here, and where did you get it from?
redpoint73 said:
Developers Edition is not intended for your version. It will fail due to wrong CID and MID. And do not attempt to change the CID and MID to flash this. If it works, it will screw up the phone, and possibly even lead to a radio brick! Only run Sprint RUU on Sprint version M8!
1. What exactly did you do here? You extracted ROM.zip from the RUU (or get it from your PC's temp directory after running the RUU .exe) and renamed it to 0P6BIMG.zip?
2. That usually means you need to flash the Sprint MM firmware, then the RUU. But it appears from your log, that you may have tried this (see next quote)?
3. What exactly are you trying to flash here, and where did you get it from?
Click to expand...
Click to collapse
Thanks for your response!!
1 - i downloaded RUU_M8_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_Harman_6.20.654.3.exe directly from htc, and renamed it to 0P6BIMG.zip and placed it on the sd card to attempt to install directly from pressing pwr+vol dwn (it detects the file and automatically attempts to install it). ive also just tried running the exe on my pc with phone plugged in via usb, error 155
2 - the only thing i have tried is the 3 different methods of installing the ruu- placing on the sd card, running the exe from my pc, and using fastboot/adb. i have not tried flashing the sprint mm firmware to the best of my knowledge, where do i get that firmware and how do i install it?
3 - im trying to flash RUU_M8_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_Harman_6.20.654.3.exe (renamed to firmware.zip) that i got directly from htc page. I have file extensions unhidden in windows explorer to prevent "firmware.zip.exe", and i have made sure that my phone is harmon kardon edition (says it on the back of the phone) and that i downloaded the correct version.
i think i figured out my problem but still need help solving it. instead of renaming the exe to a zip, i need a different download that is already a zip image.... but not sure where to get it or what version ill need...
1) You can't do that. The exe is a Windows executable program, not a zip file. Changing the extension doesn't change the format/contents of the file (just changes what Windows or the phone thinks it is).
For example, if you had a spreadsheet file (like .xls), you can't just rename it to .jpg and expect it to magically turn the spreadsheet into a photograph.
Yes, the RUU.exe contains ROM.zip. But your phone doesn't know that, and can't extract it.
2) You'll want to get the 6 .20.654.3 firmware from the following webpage under FIRMWARES: http://forum.xda-developers.com/showthread.php?t=2729173
Flash with fastboot:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
(run it twice)
This should clear up the Error 155, and allow the HK RUU exe to work.
Incidentally, the link above also has the correct zip format files, if you want to fastboot flash the zip (although for this you need htc_fastboot, not the generic Android fastboot), or rename to 0P6BIMG.zip and put on the SD card.
3) Again, you can not do this (simply change file extension to make exe into a zip).
redpoint73 said:
1) You can't do that. The exe is a Windows executable program, not a zip file. Changing the extension doesn't change the format/contents of the file (just changes what Windows or the phone thinks it is).
For example, if you had a spreadsheet file (like .xls), you can't just rename it to .jpg and expect it to magically turn the spreadsheet into a photograph.
Yes, the RUU.exe contains ROM.zip. But your phone doesn't know that, and can't extract it.
2) You'll want to get the 6 .20.654.3 firmware from the following webpage under FIRMWARES: http://forum.xda-developers.com/showthread.php?t=2729173
Flash with fastboot:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
(run it twice)
This should clear up the Error 155, and allow the HK RUU exe to work.
Incidentally, the link above also has the correct zip format files, if you want to fastboot flash the zip (although for this you need htc_fastboot, not the generic Android fastboot), or rename to 0P6BIMG.zip and put on the SD card.
3) Again, you can not do this (simply change file extension to make exe into a zip).
Click to expand...
Click to collapse
thank you so much, downloading the firmware.zip file now and ill attempt to flash it and get back with you asap
redpoint73 said:
1) You can't do that. The exe is a Windows executable program, not a zip file. Changing the extension doesn't change the format/contents of the file (just changes what Windows or the phone thinks it is).
For example, if you had a spreadsheet file (like .xls), you can't just rename it to .jpg and expect it to magically turn the spreadsheet into a photograph.
Yes, the RUU.exe contains ROM.zip. But your phone doesn't know that, and can't extract it.
2) You'll want to get the 6 .20.654.3 firmware from the following webpage under FIRMWARES: http://forum.xda-developers.com/showthread.php?t=2729173
Flash with fastboot:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
(run it twice)
This should clear up the Error 155, and allow the HK RUU exe to work.
Incidentally, the link above also has the correct zip format files, if you want to fastboot flash the zip (although for this you need htc_fastboot, not the generic Android fastboot), or rename to 0P6BIMG.zip and put on the SD card.
3) Again, you can not do this (simply change file extension to make exe into a zip).
Click to expand...
Click to collapse
so after i download the firmware zip and flash via fastboot as you described above (at this point does it need to be htc fastboot or will the minimal fastboot i already have be sufficient?), i should then run the ruu exe on my pc, correct?
jcedwards2009 said:
so after i download the firmware zip and flash via fastboot as you described above (at this point does it need to be htc fastboot or will the minimal fastboot i already have be sufficient?)
Click to expand...
Click to collapse
I've always flashed firmware with the generic fasboot (not the htc one). But I suppose in theory, either should work.
jcedwards2009 said:
i should then run the ruu exe on my pc, correct?
Click to expand...
Click to collapse
Yes.
i downloaded the signed version of the firmware, is that ok? just wanted to get as close to stock as possible.
i flashed once, it said "FAILED (remote: 90 hboot pre-update! please flush image again immediately)"
so i ran only the "fastboot flash zip firmware.zip" command a second time like you said and it has been saying "sending 'zip'" for a good almost 10 minutes now..... is that normal?
or did i need to run the entire "fastboot oem rebootRUU, fastboot flash zip firmware.zip" command twice?
very sorry for my ignorance...
just dont want to cancel the command right in the middle of flashing if thats what its doing if it just takes more than 10 or 15 minutes...
nevermind, canceled the operation ran the entire command again and theres now a green bar moving across the screen under htc. the green bar is full, and phone is just sitting.... what do i do now?
it kept sitting so i entered the command fastboot reboot. it rebooted, and its just sitting at the htc powered by android screen now...
its stuck at the htc powered by android screen still...... tried rebooting holding pwr for longer than 10 seconds, nothing....
ok i help pwr+up button and it restarted, held pwr+dwn got into bootloader, selected fastboot and its showed fastboot usb. ran the ruu exe on my pc and it detected my phone and version number, i continued to update, and now the ruu exe is sitting at sending at 0% now
canceled the operation, downloaded the ruu zip, put it on the sd card and restarted.... im now good to go. thank you so much for your help.

hit a roadblock while trying to revert my 816 to stock. please help.

Hi guys.
I rooted my 816 using CWM and SuperSU months ago. Now, there's an OTA update to Android 6.0 which will hopefully render the usefulness of root obsolete, as I mostly need it for link2sd (they also cite better RAM management as a new feature, which should get rid of the horrible lag on Lollipop).
I know I have to go back to full stock, and I read a simple guide somewhere, and I thought, why don't I give it a crack. So, it said I should just "fastboot oem lock" the phone and flash the correct .zip RUU. After much trouble with connectivity and driver issues between my computer (adb server is out of date. killing...; device offline; errors etc.) I FINALLY (after hours of troubleshooting) managed to go into fastboot via USB and lock the bootloader. Great. But, when I tried to flash the .zip, it just says waiting for device, indefinitely. Tried to go into recovery via the power buttons on the phone, but it shows an error and simply refuses to. As a sidenote, root still works, but the phone displays this in fastboot: Relocked, Security Warning.
Basically, I'm afraid to proceed because I think I'm on the wrong track, and could end up f'ing up my device altogether. I'm from Croatia so I downloaded the 5.0.1 EU version .zip from here: (can't post link, just search htcdev downloads, it's the first one).
I hate opening new threads because I'm sure someone has already had the problems I'm having, but I just can't keep searching the web for hours on end trying to find a solution. Forgive me for this guys, and please help a poor noob in need if you can.
Could you please post your device info? (Make sure to delete serialno. and imei!)
To get your device info, you'll need to make sure all drivers are up-to-date.(HTC Sync, Java and ADB)
After installing,
- Navigate to ADB folder and click on any free space while holding the shift Key
- Choose 'Open command window here'
- Once cmd is started use this command
Code:
fastboot devices
and check if your device is listed, then type
Code:
fastboot getvar all
and copy/paste code here.
nukaru said:
Could you please post your device info? (Make sure to delete serialno. and imei!)
To get your device info, you'll need to make sure all drivers are up-to-date.(HTC Sync, Java and ADB)
After installing,
- Navigate to ADB folder and click on any free space while holding the shift Key
- Choose 'Open command window here'
- Once cmd is started use this command
Code:
fastboot devices
and check if your device is listed, then type
Code:
fastboot getvar all
and copy/paste code here.
Click to expand...
Click to collapse
Oh great, you're from Germany, so you have an EU 816 too. It's an a5ul just like yours. I'll send the full info text as soon as i install SDK tools completely.
I noticed that in your guide you first flash the stock ROM, and only then lock the bootloader. In the guide I found it said to first lock the bootloader, and then flash the stock ROM. So right now, I have a locked bootloader and CWM recovery I can't get into. Is this going to be a problem?
No, you first flash the stock recovery, then relock bootloader. And if your flashed recovery works you flash the RUU.
running fastboot devices does literally nothing, just sends me to the next line.
running adb devices, on the other hand, lists my device.
great, so I messed up there. do you know how I can fix it?
Are you able to boot into fastboot USB? Have you tried the fastboot getvar all comand?
If yes, first you need to flash the stock recovery and check if the flash was a success. If you can get into recovery without any errors, relock bootloader and place the RUU file on sd-card. Boot to bootloader again and the flashing should start on its own.
nukaru said:
Are you able to boot into fastboot USB? Have you tried the fastboot getvar all comand?
If yes, first you need to flash the stock recovery and check if the flash was a success. If you can get into recovery without any errors, relock bootloader and place the RUU file on sd-card. Boot to bootloader again and the flashing should start on its own.
Click to expand...
Click to collapse
I managed to get the getvar command to work: here's the info
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb reboot bootloader
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.101.111011.20.0123
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: *
(bootloader) imei: *
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: a5_ul
(bootloader) platform: hTCBmsm8226
(bootloader) modelid: 0P9C20000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 09813c97
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.054s
The files from my guide should work with your device.
so it doesn't matter that my bootloader is now locked? I can just follow your guide and it should work?
Have you flashed stock recovery BEFORE locking bootloader? You have to install stock recovery or the RUU won't flash. It's all in the guide.
No, i didn't. I locked the bootloader and then tried to flash the stock RUU. That's the problem.
I wish I'd seen your guide before I did anything. I assume trying to flash anything now won't work, and that I'll have to unlock the bootloader again?
edofot said:
No, i didn't. I locked the bootloader and then tried to flash the stock RUU. That's the problem.
I wish I'd seen your guide before I did anything. I assume trying to flash anything now won't work, and that I'll have to unlock the bootloader again?
Click to expand...
Click to collapse
Did you type this before flashing the RUU?
Code:
fastboot oem rebootRUU
Nope. I tried to flash the RUU with fastboot flash ... .zip but it just said: waiting for device; and nothing happened. So I'll try the rebootRUU command when I get home from classes.
You need to flash the stock recovery, otherwise you won't be able to flash any official RUU.
Unlock bootloader, flash stock recovery, relock bootloader and flash RUU.
The command won't work, since you have a custom recovery. You need to get rid of that first.
nukaru said:
You need to flash the stock recovery, otherwise you won't be able to flash any official RUU.
Unlock bootloader, flash stock recovery, relock bootloader and flash RUU.
The command won't work, since you have a custom recovery. You need to get rid of that first.
Click to expand...
Click to collapse
I unlocked the bootloader, and did everything your guide said. Everything worked perfectly.
I just have a problem right now flashing the 0P9CIMG.zip. I can't flash it over the computer (it says the data length is too large or something similar), and I can't move it to sd-card on my phone. I tried moving other files and other .zip files, and that works. I tried redownloading from mega.nz, nothing. I'm thinking the .zip gets corrupted when downloading. Can you maybe re-upload it or send it to me through a different medium?
edofot said:
I unlocked the bootloader, and did everything your guide said. Everything worked perfectly.
I just have a problem right now flashing the 0P9CIMG.zip. I can't flash it over the computer (it says the data length is too large or something similar), and I can't move it to sd-card on my phone. I tried moving other files and other .zip files, and that works. I tried redownloading from mega.nz, nothing. I'm thinking the .zip gets corrupted when downloading. Can you maybe re-upload it or send it to me through a different medium?
Click to expand...
Click to collapse
Use this HTC mini-SDK
Gibz97 said:
Use this HTC mini-SDK
Click to expand...
Click to collapse
Tried it.
Stumped by this:
Code:
C:\Users\Korisnik\Desktop\HTC mini SDK>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (51060 KB) OKAY
sending time = 2.709 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 7(s)
edofot said:
Tried it.
Stumped by this:
Code:
C:\Users\Korisnik\Desktop\HTC mini SDK>fastboot flash zip 0P9CIMG.zip
sending 'zip'... (51060 KB) OKAY
sending time = 2.709 secs
writing 'zip'... (bootloader) adopting the signature contained in this image...
(bootloader) signature checking...
FAILnot allowed
FAILED (remote: not allowed)
Execution time is 7(s)
Click to expand...
Click to collapse
First type this. It will reboot phone into a black screen with a silver HTC logo:
Code:
fastboot oem rebootRUU
then type:
Code:
fastboot erase cache
then type:
Code:
fastboot flash zip 0P9CIMG.zip
Sorry, I was looking for an sd-card adapter, I wasn't here.
Update: Moved the 09PCIMG.zip to the sd-card successfully this time and am flashing the img now from sd-card! Seems to be going well so far.
Success
Finally! Did it, works like a charm.
I'm still amazed by how fast the phone really is when it's stock.
Viele Dank, @nukaru, du wärst eine sehr grosse hilfe. Wenn du nach Kroatien kommst, melde mich an, du hast ein Bier und/oder Kaffe von mich (at least I tried, even without google translate)
Thank you too @Gibz97, really appreciate the effort.
If anyone reading this has the same questions I had, just follow nukaru's guide, it has all you need to know. If you have an A5_UL, it's gonna work.

Proper Pickle with M9

Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth
Ok - so I've progressed, in as much as I've managed to put an old unofficial copy of CM12 on it. This has at least got me up and running.
Now need to get it back to Stock so I can patch firmware, and then install latest version of CM13.
Only, all the guides I read, say to flash Stock you need S-OFF - which I can only achieve by running Sunshine unlock - but I can't run Sunshine Unlock on this unofficial version of CM12.
Does anyone have any ideas they can throw my way? Thanks
SethHelstrip said:
Hi hoping someone can help me - I've just wasted two days trying to get my phone to work again, but right now, it only goes to the bootloader.
I have HTC One M9, with S-ON, rooted, with TWRP bootloader installed. I can not get any ROMs to install at all - actually, they do install, just don't boot. I believe this is because I don't have the correct firmware version installed. I can't get any firmware to install. When trying to update firmware, I get;-
Code:
fastboot flash zip firmware_M9.ziptarget reported max download size of 800000000 bytes
sending 'zip' (61607 KB)...
OKAY [ 5.419s]
writing 'zip'...
(bootloader) HOSD CL#576582
(bootloader) ERR [SD_UPDATE_ERR] Main version NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 19
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 19
(bootloader) [email protected]
I think this is because of the S-ON.
Can someone please help me, otherwise I'm going to have to throw this thing in the bin, and buy a new phone?
Thanks, Seth
Click to expand...
Click to collapse
Buddy once u install the rom, take the boot.img frm the rom zip file & flash it via adb in bootloader mode it will flash evn if ur s-on, custom roms need their respective boot.img files to be flashed when s-on in case of s-off its done by twrp or cwm recovery hope it helps
Hi Seth,
So the great news is that you do not need to be S-OFF to upgrade your firmware, which is what it sounds like you need to do.
Unfortunately, you can't take an OTA update, so you need to flash an RUU. While this will reset your phone (wiping everything but your SD card), it will also get your phone up to date.
Do you know which variant of the M9 you have? Once you get that information, you can use download the appropriate RUU and flash it to your phone. I've included some links below that are helpful - I especially recommend Flippy498's Google sheet, which has almost everything you need (with instructions!) to update your firmware.
Peace,
Computerslayer
Useful links for modding your HTC M9
Flippy498's Google Sheet
- the end-all, be-all resource for HTC M9 restoration
SKU-, CID- and MID-List by Sneakyghost and Behold_this
- a spreadsheet for using your CID & MID to identify your phone
HTC Sync Manager
- installs the necessary drivers & ADB tools for the HTC M9
Instructions for obtaining your CID, MID & software version on Windows:
a. Install HTC Sync Manager (this will install the necessary drivers & ADB tools)
b. Boot your phone into download mode (from a powered off state, turn on by holding the POWER+DOWNVOL)
c. Connect your phone to your PC
d. Open a command prompt window
e. Navigate to the ADB tools folder, typically C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
- assuming the path is correct, you can cut & paste this command into your terminal: cd C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync
f. Execute the following command in a terminal (command prompt): fastboot getvar all
g. Copy the lines that mention product, version-main, mid, and cid.
still sinking....
Thanks for the info guys. So I decided the best path was to RUU back to Stock then upgrade firmware OTA.
So, I tried to connect phone to HTC Sync Manager, but get the dreaded USB can't connect 170 error - even though the OS can see the phone, and its memory card fine.
So I decided to try Ubuntu to extract the RUU, so I can just patch it on SD card. However, I can't get the unruu program to compile properly, because its got some error with the required version of unshield.
So I'm at a dead-end, and resisting putting a hammer through the screen of this phone, which has now cost me about 4 days worth of effort - and still doesn't work.
The only thing I've managed to get working on it so far, is a crappy unofficial copy of CM12 - that crashes about 15-20 times a day.
Can anyone please offer me some advice, or a stock rom.zip for an unlocked m9?
SethHelstrip said:
Thanks for the info guys. So I decided the best path was to RUU back to Stock then upgrade firmware OTA.
So, I tried to connect phone to HTC Sync Manager, but get the dreaded USB can't connect 170 error - even though the OS can see the phone, and its memory card fine.
So I decided to try Ubuntu to extract the RUU, so I can just patch it on SD card. However, I can't get the unruu program to compile properly, because its got some error with the required version of unshield.
So I'm at a dead-end, and resisting putting a hammer through the screen of this phone, which has now cost me about 4 days worth of effort - and still doesn't work.
The only thing I've managed to get working on it so far, is a crappy unofficial copy of CM12 - that crashes about 15-20 times a day.
Can anyone please offer me some advice, or a stock rom.zip for an unlocked m9?
Click to expand...
Click to collapse
If you can pull you CID & MID, it'll be easy to identify which RUU you need. Most are easily found online.
So more progress. Having relocked my bootloader, I am now able to get the HTC RUU exe to connect to the phone from Windows. Only problem now is that I'm getting the
ERROR [155]: UNKNOWN ERROR
this makes me think I've got the wrong RUU. I'm pretty sure I've got the correct SKU, but not sure about the rest of it. From running fastboot getvar all I get;-
(bootloader) kernel: lk
(bootloader) product: htc_himauhl
(bootloader) version: 1.0
(bootloader) version-main: 2.10.401.1
(bootloader) boot-mode: download
(bootloader) version-baseband: 01.04_U11440601_71.02.50709G_F
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA10000
(bootloader) cid: HTC__001
all:
And I'm using the
RUU_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.17_Radio_01.01_U11440261_56.02.50306G_2_F_release_429340_signed_2_4.exe
Can someone please help me - I now have a phone that won't go beyond the bootloader. Thanks
Ok, so I think the problem here, is the RUU I have is a downgrade from the existing version. With that in mind, can someone please help me out massively by pointing me in the direction of the correct RUU?
Thanks again.
https://www.google.com/url?q=https:...835000&usg=AFQjCNH9n1vZCmPvw5wWJ10C1wFJqx6YYA
Use this. Rename it to 0PJAIMG.zip copy it to your externel sd card. Reboot to download mode and press vol up than wait. Your phone will have latest firmware with 6.0
awesome - thanks for your help

Htc one m8 unable to find correct firmware and rom

THANKS IN ADVANCE
hi being long period user of android phone still facing many problems to get OTA update on my phone. I was excited about my phone HTC one M8 and wanted to install OTA update there was not any software update option in my phone and than i ran for internet search spent regular three days to find correct firmware get back to stock which totally different from samsung phones. I gone through all the the threads and option provided on internet tried to get back to stock. I need help of professional
who can sort out this problem. HTC PHONE IS NOW BOOTLOADER LOCKED S-OFF KITKAT INSTALLED SUPERCID software number 1.54.651.8
PLEASE GIVE LINK TO GET STOCK RECOVERY AND HOW TO INSTALL OR FLASH IT.
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.05.20.0321_2
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.54.651.8
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: ***********
(bootloader) imei: ***********
(bootloader) imei2: Not Support
(bootloader) meid: **************
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 8a0f02ff
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.094s
http://forum.xda-developers.com/showthread.php?t=2729173
http://forum.xda-developers.com/show....php?t=2729173
Click to expand...
Click to collapse
THANKS ckpv5 I WILL GIVE YOU WHOLE INFO. ABOUT MY PROBLEM
As i changed my MID and flashed wrong zip of HTC europe rom on HTC SPRINT which drained everything including my custom TWRP. I was totally new to HTC totally messed up everything. its been more than five days my phone had stuck at hboot screen i know you guy are genius can save my hundard of BUCKs as its new phone bought 15 days ago it was rooted.
I WAS TRYING TO INSTALL SPRINT FIRMWARE TOO BECAUSE I HAD ALREADY FLASHED THAT FIRMWARE ACCORDING TO EUROPE ROM. NOW THE PROBLEM IS THAT I AM UNABLE TO FLASH FIRMWARE DUE TO CHANGED MID (talked earlier) CANNOT UNDERSTAND WHAT TO DO.
Do you still have TWRP installed ?
If no, install one
If yes,
Boot to TWRP recovery, select mount - system
open command prompt from your adb/fastboot folder then run command
adb shell
then this code
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x37\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
Make sure you copy the code, not write it yourself
then exit
then select reboot - bootloader
then run
fastboot getvar mid
you should see your mid now read 0P6B70000
(you don't need "su" command)
Now you can install Sprint RUU - http://www.htc.com/us/support/htc-one-m8-sprint/news/
or check those in Sprint section that I linked above
Note : You will get your device running again but you maybe lost the 3G/4G and only can get 2G. Reason is you flashed wrong radio meant for GSM on your CDMA, this usually brick the radio. If you're lucky enough, this is not happening.
ckpv5 said:
Do you still have TWRP installed ?
If no, install one
If yes,
Boot to TWRP recovery, select mount - system
open command prompt from your adb/fastboot folder then run command
adb shell
then this code
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x37\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
Make sure you copy the code, not write it yourself
then exit
then select reboot - bootloader
then run
fastboot getvar mid
you should see your mid now read 0P6B70000
(you don't need "su" command)
Now you can install Sprint RUU - http://www.htc.com/us/support/htc-one-m8-sprint/news/
or check those in Sprint section that I linked above
Note : You will get your device running again but you maybe lost the 3G/4G and only can get 2G. Reason is you flashed wrong radio meant for GSM on your CDMA, this usually brick the radio. If you're lucky enough, this is not happening.
Click to expand...
Click to collapse
this is what now comes up when i try to flash TWRP
C:\Users\USER\Desktop\fastboot_adb\fastboot_adb>fastboot flash recovery "twrp-2.8.5.0-m8_whl.img."
target reported max download size of 1826418688 bytes
sending 'recovery' (16086 KB)...
OKAY [ 1.501s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.516s
i'm brain dead nothing works SUGGEST SOMETHING
EVEN UNABLE TO UNLOCK BOOTLOADER NOW
You can't fastboot flash recovery while the bootloader is locked/relocked.
You need a microSD.
Download the 0P6BIMG.zip that I posted here : http://forum.xda-developers.com/showpost.php?p=67526388&postcount=387
No need to worry what OS it is written for now, it will get fixed when you install RUU.
Place the 0P6BIMG.zip on root of microSD (means not in any folder)
Then put your phone on hboot, it will scan the file. Volume up to update (install). Once done, it will ask you to reboot but you know that your device is bootlooping, just put the device on bootloader (remove the microSD to delete the 0P6BIMG.zip)
Now you can boot to TWRP recovery and do the rest as described above.
ckpv5 said:
You can't fastboot flash recovery while the bootloader is locked/relocked.
You need a microSD.
Download the 0P6BIMG.zip that I posted here : http://forum.xda-developers.com/showpost.php?p=67526388&postcount=387
No need to worry what OS it is written for now, it will get fixed when you install RUU.
Place the 0P6BIMG.zip on root of microSD (means not in any folder)
Then put your phone on hboot, it will scan the file. Volume up to update (install). Once done, it will ask you to reboot but you know that your device is bootlooping, just put the device on bootloader (remove the microSD to delete the 0P6BIMG.zip)
Now you can boot to TWRP recovery and do the rest as described above.
Click to expand...
Click to collapse
:fingers-crossed: Thanks man you are really great now these are the outcomes
C:\Users\USER\Desktop\fastboot_adb\fastboot_adb>fastboot getvar mid
mid: 0P6B70000
finished. total time: -0.000s
Now it want follow your command give me further steps. Thanks Again
Moreover, i made mistake that i also had flashed firmware file according to htc europe rom. Now which one should choose.
Doesn't matter about the firmware now .. just install RUU.
That was the guide written above.
1. Change MID
2. Install RUU exe that is linked above.
Make sure you have windows PC with usb2.0 and the latest htc usb drivers are installed.
HTC USB drivers - Install HTC Sync Manager - http://www.htc.com/us/support/software/htc-sync-manager.aspx
- it will install the needed drivers then uninstall the HTC Sync Manager but leave the drivers.
Or you can use RUU zip
0P6BIMG_Sprint_HTC_One_M8_6.20.651.3_RUU.zip that you can get in Sprint thread.
Rename it to 0P6BIMG.zip and install the same way as you installed TWRP above (microSD method)
ckpv5 said:
Doesn't matter about the firmware now .. just install RUU.
That was the guide written above.
1. Change MID
2. Install RUU
Make sure you have windows PC with usb2.0 and the latest htc usb drivers are installed.
HTC USB drivers - Install HTC Sync Manager - http://www.htc.com/us/support/software/htc-sync-manager.aspx
- it will install the needed drivers then uninstall the HTC Sync Manager but leave the drivers.
Click to expand...
Click to collapse
0P6BIMG_Sprint_HTC_One_M8_6.20.651.3_RUU
sorry it could be silly but which one is right one in both of it or give the link to particular one because i am afraid don't mess anything again. Thanks man
RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4
What's this RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.154 0.4 got do with your device ?
All my links are referred to RUU 6.20.651.3 on post #2, #4 & #8
ckpv5 said:
What's this RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.154 0.4 got do with your device ?
All my links are referred to 6.20.651.3 on post #2, #4 & #8
Click to expand...
Click to collapse
Sorry bro i sent you by mistake i got it i will flash 0P6BIMG_Sprint_HTC_One_M8_6.20.651.3_RUU file through HBOOT and i will post the outcome whatever there will be but you are great. You saved me. Thanks a lot bro
It says that Device halted due large image update file
What do you suggest now.
Then install 6.20.651.3 Signed Full Firmware first, see whether it can be installed.
Rename it to 0P6BIMG.zip and install it microSD method. If successful then install RUU.
(This is the problem .. I don't have Sprint device, unable to test)
ckpv5 said:
Then install 6.20.651.3 Signed Full Firmware first, see whether it can be installed.
Rename it to 0P6BIMG.zip and install it microSD method. If successful then install RUU.
(This is the problem .. I don't have Sprint device, unable to test)
Click to expand...
Click to collapse
There is another problem occured i flashed signed firmware now phone only shows the HTC logo and unable to restart what should do now???
Was the firmware installation successful ? This is important.
When you reboot, there is no OS, you need to put back to bootloader then install RUU.
(Same way after you installed TWRP before)
I think this is easier.. instead of going to Marsmallow, install the lollipop first just to get your phone up & running.
Install this 0P6BIMG_Sprint_HTC_One_M8_4.25.651.18_RUU.zip, for this you don't need to install firmware.
Once successful, then you can try again to install Marshmallow 0P6BIMG_Sprint_HTC_One_M8_6.20.651.3_RUU.zip but
you need to install 6.20.651.3 Firmware first.
ckpv5 said:
Was the firmware installation successful ? This is important.
When you reboot, there is no OS, you need to put back to bootloader then install RUU.
(Same way after you installed TWRP before)
I think this is easier.. instead of going to Marsmallow, install the lollipop first just to get your phone up & running.
Install this 0P6BIMG_Sprint_HTC_One_M8_4.25.651.18_RUU.zip, for this you don't need to install firmware.
Once successful, then you can try again to install Marshmallow 0P6BIMG_Sprint_HTC_One_M8_6.20.651.3_RUU.zip but
you need to install 6.20.651.3 Firmware first.
Click to expand...
Click to collapse
Thanks man we made it IT IS FINALLY WORKING you are really great Man this info will HELP SOMEONE AS WELL..
Great ..
Now I can sleep well.. it's 1.00 am here... good night
ckpv5 said:
Great ..
Now I can sleep well.. it's 1.00 am here... good night
Click to expand...
Click to collapse
Thanks you spent much time to solve my problem rest of the phone is working fine and it shows one error of something that attached a screenshot also attached screenshot of networks please tell there is 3g and 4g Thank you great man
There is also portable wifi hotspot is missed. Need help where to find it.
karamghumaan said:
There is also portable wifi hotspot is missed. Need help where to find it.
Click to expand...
Click to collapse
Did you find it? And how did you changed WiFi and signal status bar icon? Which htc theme did you use?
Sent from my HTC One_M8 using Tapatalk
Zile995 said:
Did you find it? And how did you changed WiFi and signal status bar icon? Which htc theme did you use?
Click to expand...
Click to collapse
Hello mate No it is till missing and official theme and i also want change that icon but i couldn't find that option too. Are you able to give me that solution how i can do it. More there is activating device window at start up how can i remove that?
karamghumaan said:
Thanks you spent much time to solve my problem rest of the phone is working fine and it shows one error of something that attached a screenshot also attached screenshot of networks please tell there is 3g and 4g Thank you great man
Click to expand...
Click to collapse
SO you have no cell data access?
What bands does your carrier uses for 3G and LTE (what band for each of those - they are 2 different things).
karamghumaan said:
There is also portable wifi hotspot is missed. Need help where to find it.
Click to expand...
Click to collapse
Hotspot is locked out on most US carrier versions. If you don't see Hotspot as an available "tile" in the notification quick settings, and no Hotspot widget, than the feature has been disabled on your stock ROM.
Easiest way to enable Hotspot is with the proper custom ROM (supports Sprint version M8).

Getting back to stock for OTA update

Hello fellow XDA users!
I just bought my m8 and it came with Software status modified, bootloader unlocked, philz touch, S-on but Super CID.
The problem now is that i can't OTA and it is still in kitkat
So I started to work on it tonight, and I can't get it back to stock :
I have flashed TWRP, made a boot backup to create necessary folders, and downloaded a stock nandroid backup for my main version, 3.28.401.6.
Wiped the phone, restored the rom, flashed stock recovery and here in bootloader my software status is still modified, so no OTA possible.
Suppose it has something to do with superCID, but i can't modify it anymore as I'm not s-off and I don't know what is the stock CID for the phone, just bought it.
Sorry to create another boring thread about OTA updates btw, but I just can't understand what I'm doing wrong here (coming from a samsung device, but I've been reading a lot here, and still no luck about my situation.)
http://forum.xda-developers.com/showthread.php?t=2701376 this is the thread where I downloaded the Nandroid, if it has any importance... It is the one rooted but which has apparently no effect on OTA
http://forum.xda-developers.com/verizon-htc-one-m8/general/official-ruu1-55-605-2-t2883845 this seems interesting as I could maybe flash a RUU of same version to become unmodified but i'll ask you before doing anything stupid
Thank you all for your future answers
EDIT : Here are info from getvar all if you need (removed serialno and imei)
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.21.21331147A1.19_2G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.28.401.6
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B13000
(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: df77f8b7
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.007s
WoBble12 said:
(bootloader) modelid: 0P6B13000
(bootloader) cidnum: 11111111
(bootloader) security: on
Click to expand...
Click to collapse
With the above current CID/MID ... you can only update to Marshmallow either with T-MOB US RUU or Developer Edition RUU as both work on MID 0P6B13000
You current software 3.28.401.6 won't do any good as that is workable for OTA when your MID is 0P6B10000
So if you want a EU version, you need to spend USD25 to S-Off the device, else just go for Developer Edition RUU.
Step 1 : install 6.12.1540.4 firmware
You can get the firmware and how-to : http://forum.xda-developers.com/showpost.php?p=60218734&postcount=5
Step 2 : install 6.12.1540.4 RUU
Download : http://www.htc.com/us/support/htc-one-m8/news/
Ok, thank you for the quick reply!
I was mistaken by the back plate of the device saying OP6B100, so didn't verify the mid in the adb log...
Now for a few questions, what are the differences between the dev version and the European one? Anything related to getting signal or something?
If I just update fw and rom with your two links, it will work even with my software status says "modified"? And Will it change back to official status?
Are updates going to be better if I go s-off and european again or is it the exact same version?
1. I don't see any significant difference with EU and Dev Ed except the obvious radio config.
But both worked fine for me in Asia region.
2. You should get the official status.
3. I don't see a point to S-Off as there is no more further OTA offered by HTC.
Once you updated to Marshmallow, you can always unlock the bootloader and install any custom ROM that you like. Most important is to have Marshmallow firmware (or at least Lollipop), doesn't matter whether it is EU or Dev Ed.
Ok, thanks again for the replies! Will try dev software, and if it doesn't work I'll pay for s-off
Ok so... I tried to update firmware, followed the tutorial, but i'm stuck at flashing the RUU. I went to the link you sent me, downloaded the 1.4 GB file, and now I have a zip file and a .exe file. The .exe will just start, say me it installs installshield, ask me to agree with the terms of licence, and close.
So I searched a bit, and i tried to flash the RUU as I did for the firmware, but now rebooting just leads me to a black screen, and the RUU fails.
please tell me what I did wrong so I can fix it.
Here is the ADB output :
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s
You can't use generic fastboot.exe to flash the RUU.zip, you need to use htc_fastboot.exe
Read this : http://forum.xda-developers.com/showpost.php?p=64926626&postcount=6
but use your RUU.zip (not the one in the guide)
sorry to bother for this but what is my RUU.zip you are talking about?
And i've tried with HTC fastboot and no luck neither...
You mentioned these above
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s​
So I thought that you have a RUU zip.
Since you can't run RUU.exe (due to either USB2.0 is not available or lack of HTC USB Drivers and some Microsoft files in your PC), you can do this :
Run the RUU.exe, when it opens where you can see the dialog box for you to accept agreement ..
Open your windows temp folder ( in windows run dialog, type %temp% )
You'll see two newly created folder, one of them has a file named rom.zip
Copy this rom.zip to your fastboot folder ... this is your RUU.zip
Can you post your current fastboot getvar result ? Need to see that you successfully installed the firmware.zip
ckpv5 said:
You mentioned these above
C:\adb>fastboot flash zip RUU.zip
target reported max download size of 1826418688 bytes
sending 'zip' (1217690 KB)...
OKAY [ 34.178s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 79.165s​
So I thought that you have a RUU zip.
Since you can't run RUU.exe (due to either USB2.0 is not available or lack of HTC USB Drivers and some Microsoft files in your PC), you can do this :
Run the RUU.exe, when it opens where you can see the dialog box for you to accept agreement ..
Open your windows temp folder ( in windows run dialog, type %temp% )
You'll see two newly created folder, one of them has a file named rom.zip
Copy this rom.zip to your fastboot folder ... this is your RUU.zip
Click to expand...
Click to collapse
Ok, just saw this at the moment on another thread, was going to try with the %temp% method, the command you made bold was the RUU_M8_UL_M60_SENSE70_MR_BrightstarUS_WWE_6.12.1540.4.zip file that I renamed to be able to flash it more easily lol, what a noob I am ^^ so i'm going to extract this rom.zip and flash it, hope it works now! all fastboot commands have to be replaced with "htc fastboot" now, or only the flashing one?
Once again, thank you! (Using the thanks button at each of your posts too, don't worry )
yes, I verified in bootloader it says OS-6.12.1540.4 !!! Win! now just estracting the Rom from the temp folder!
htc_fastboot only when flashing RUU.zip
Another method to install the RUU.zip once you copied out the rom.zip from Windows Temp folder.
1. rename the rom.zip to 0P6BIMG.zip
2. place it on root of your microsd (which is formatted to fat32)
3. boot to bootloader and select hboot
4. it will scan the file and ask whether you want to update
5. volume up to update and leave it to do its stuff until it is completed and ask you to reboot
6. after reboot, remove that 0P6BIMG.zip from your microsd (so it won't ask you again to update whenever you boot to bootloader/hboot)
ckpv5 said:
htc_fastboot only when flashing RUU.zip
Another method to install the RUU.zip once you copied out the rom.zip from Windows Temp folder.
1. rename the rom.zip to 0P6BIMG.zip
2. place it on root of your microsd (which is formatted to fat32)
3. boot to bootloader and select hboot
4. it will scan the file and ask whether you want to update
5. volume up to update and leave it to do its stuff until it is completed and ask you to reboot
6. after reboot, remove that 0P6BIMG.zip from your microsd (so it won't ask you again to update whenever you boot to bootloader/hboot)
Click to expand...
Click to collapse
I've done the 1st method, and now after a flash that went well, i'm stuck in bootloader, with os version bein written in red and showing two times the version number, second one in parenthesis.
Instead of having options to power down etc, I only have a orange RUU option which is selected but I can't validate with power button, and in ADB I did command to reboot to bootloader but not doing anything now...
When in RUU mode, you don't use adb .. use fastboot
fastboot reboot-bootloader
When you have OS written in red, that's usually means the firmware is not correctly installed.
Try to get to fastboot with the above command then reinstall firmware.zip
ckpv5 said:
When in RUU mode, you don't use adb .. use fastboot
fastboot reboot-bootloader
When you have OS written in red, that's usually means the firmware is not correctly installed.
Try to get to fastboot with the above command then reinstall firmware.zip
Click to expand...
Click to collapse
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 8.033s
that's what I get...
And in bootloader actually I only have the variables and the "RUU" option highlighted in orange :/
Connect to PC so you can hear the connect/disconnect sound
Press & hold both power & volume up till you hear the disconnect sound
Release both button and press & hold volume down button, this should get you to hboot
(remove the microsd first as you have the RUU zip there)
that's what I get...
And in bootloader actually I only have the variables and the "RUU" option highlighted in orange​
Can you use the power button to select it to get to RUU mode then fastboot reboot-bootloader or press & hold buttons method ?
ckpv5 said:
Connect to PC so you can hear the connect/disconnect sound
Press & hold both power & volume up till you hear the disconnect sound
Release both button and press & hold volume down button, this should get you to hboot
(remove the microsd first as you have the RUU zip there)
Click to expand...
Click to collapse
I don't have the rom on micro sd for the moment, but just disconnected and reconnected to PC, now I'm on the RUU screen with the green bar being completed but not doing anything. Should I try to re launch a command line and reflash the rom.zip?
WoBble12 said:
I don't have the rom one micro sd for the moment, but just disconnected and reconnected to PC, now I'm on the RUU screen with the green bar being completed but not doing anything. Should I try to re launch a command line and reflash the rom.zip?
Click to expand...
Click to collapse
Run command fastboot reboot-bootloader
to get to bootloader
check the OS now written in red or green
if red, reflash firmware.zip not rom/RUU.zip
if green .. just reboot and wait for awhile and see how it goes.
if it is stuck after 10 minutes .. reflash RUU/rom zip
I'm now on marshmallow! Tastes sweet lol!
Can't test the signal at the moment as I have to cut my micro SD to the right size, and I have no time for it. I will do this tomorrow , and reply back here to say if it worked. Anyway, couldn't have done this without you so big thanks for this and big thanks to all the XDA community!
WoBble12 said:
....I have to cut my micro SD to the right size....
Click to expand...
Click to collapse
Hehe .. I believe you wanted to say to cut SIM card, not microSD
Great to know you managed to update.
Yes of course, simcard ^^
So I can now say that the phone is working and I have signal through my card.
Only weird thing is that after installing a few apps, system is taking up 8+ gig's of storage, which seems really big to me. But hey, it's a 32gig's one so I'm not afraid

Categories

Resources