FORUMS
Remove All Ads from XDA

[GUIDE][S4] How to install HBOOT 2.16 | For first time users

1,905 posts
Thanks Meter: 2,206
 
By dd98, Senior Member on 7th October 2014, 11:27 PM
Post Reply Email Thread
HBOOT 2.16 Installation guide


Requirements before installing

  • Back up your files, your SD Card will be WIPED!
  • Charge your phone to AT LEAST 30%
  • Your bootloader MUST be unlocked
  • You NEED to be S-OFF or else it won't work
  • You need basic knowledge of Fastboot commands
  • Windows 10/8/7/Vista/XP: You need drivers installed
    Windows 8.1: You need drivers installed AND update kb2967917 from Microsoft
    Linux: You need "51-android.rules" or "99-android.rules" configured
    Mac: Nothing needed that I know of
    I am NOT responsible if you break your phone


This guide will be from a Windows point of view

Installation Guide
  1. Download the HBOOT 2.16 firmware file from here: Download from Mega.co.nz
  2. Place it in your adb and fastboot folder. For example C:\Users\(Your Username)\Fastboot
  3. Now open a Command Prompt window and then type in:
    Code:
    cd C:\(Location of your Fastboot folder)
  4. Now take your phone and connect it to your computer (with USB Debugging ON) and type in:
    Code:
    adb reboot bootloader
  5. Once you are in the bootloader and it displays "Fastboot USB", type in:
    Code:
    fastboot oem rebootRUU
  6. Once your computer recognizes your phone type in:
    Code:
    fastboot flash zip Firmware_4.06.401.1.zip
    If you changed the file name make sure to type in the name of it instead of the one above
  7. You will then get an error:
    Code:
    "FAILED (remote: 90 hboot pre-update! please flush image again immediately)"
    Don't worry, this is normal. DO NOT unplug your phone. Simply type in once again:
    Code:
    fastboot flash zip Firmware_4.06.401.1.zip
    If you changed the file name make sure to type in the name of it instead of the one above
  8. Then wait until the Command window says "finished" and type in:
    Code:
    fastboot reboot-bootloader
  9. Next we need to download TWRP recovery. You can download it from MDMower's website and MAKE SURE to get TWRP for "/data/media storage (HBOOT 2.16.0000)" and TWRP 2.8.0.1 or above.
  10. Now we must go back to the command window with your phone still plugged in displaying "Fastboot USB" on the screen
  11. Then we type:
    Code:
    cd C:\Users\(Your Username)\Downloads
    or if the TWRP Recovery file isn't in the above location just direct it to the folder its stored in
  12. Now we type:
    Code:
    fastboot flash recovery twrp-2.8.x.x-ville-dm.img
    just replace the "x" with the numbers on the file. e.g. - 2.8.0.1
  13. Once it flashed successfully press the power button and use the volume buttons to scroll down to recovery and to boot into it, simply press the power button
  14. Now go into "Mounts" and select Enable MTP if it isn't already.
  15. Now copy a ROM of your choice (That supports HBOOT 2.16) and flash it. If MTP doesn't work, simply sideload the ROM
  16. That's it, now you just reboot after installing your ROM.


Hope this helps anybody having difficulty with HBOOT 2.16
The Following 7 Users Say Thank You to dd98 For This Useful Post: [ View ] Gift dd98 Ad-Free
 
 
8th October 2014, 08:53 PM |#2  
urlyisis's Avatar
Member
Thanks Meter: 10
 
More
Getting a different error when flashing.

c:\adb>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)...
OKAY [ 2.598s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 4.304s
8th October 2014, 09:18 PM |#3  
OP Senior Member
Flag Dublin, Ireland
Thanks Meter: 2,206
 
More
Quote:
Originally Posted by urlyisis

Getting a different error when flashing.

c:\adb>fastboot flash zip Firmware_4.06.401.1.zip
sending 'zip' (46472 KB)...
OKAY [ 2.598s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
(bootloader) checking custom ID...
FAILED (remote: 42 custom id check fail)
finished. total time: 4.304s

You need to change your cid

To change it go into bootloader, then fastboot, connect it to your computer and type

Code:
fastboot oem writecid 11111111
that is eight 1s

If that didnt work then type instead

Code:
fastboot oem writecid HTC__001
that is 2 underscores after HTC
8th October 2014, 11:27 PM |#4  
Member
Thanks Meter: 11
 
More
I get this:

Code:
Z:\One_S_All-In-One_Kit_v1.1\Data>fastboot flash zip Firmware_4.06.401.1.zip
      sending 'zip' (46472 KB)... OKAY [  6.507s]
                 writing 'zip'... INFOzip header checking...
INFOzip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 8.020s
No matter how often I attempt it. Redownloaded the zip to make sure it is not corrupt...
Any pointer?

Ah, damn, because I followed the instructions to the end despite the HBOOT not flashing I can also now not access recovery anymore. It seems the new version of recovery was properly flashed, but as it relies on higher HBOOT I can't get into it anymore. It is still in HBOOT 1.03.

Can anyone help me to get this phone ready for Cyanogenmod?
9th October 2014, 12:18 AM |#5  
urlyisis's Avatar
Member
Thanks Meter: 10
 
More
I was able to load the hboot, but now the bootloader is locked again and I can't flash the recovery.

FAILED (remote: not allowed)
9th October 2014, 12:24 AM |#6  
OP Senior Member
Flag Dublin, Ireland
Thanks Meter: 2,206
 
More
Quote:
Originally Posted by Walter_White

I get this:

Code:
Z:\One_S_All-In-One_Kit_v1.1\Data>fastboot flash zip Firmware_4.06.401.1.zip
      sending 'zip' (46472 KB)... OKAY [  6.507s]
                 writing 'zip'... INFOzip header checking...
INFOzip info parsing...
FAILED (remote: 99 unknown fail)
finished. total time: 8.020s
No matter how often I attempt it. Redownloaded the zip to make sure it is not corrupt...
Any pointer?

Ah, damn, because I followed the instructions to the end despite the HBOOT not flashing I can also now not access recovery anymore. It seems the new version of recovery was properly flashed, but as it relies on higher HBOOT I can't get into it anymore. It is still in HBOOT 1.03.

Can anyone help me to get this phone ready for Cyanogenmod?

Get s-off change your cid to HTC__001 as shown above and run this ruu, then follow the instructions above
9th October 2014, 12:25 AM |#7  
OP Senior Member
Flag Dublin, Ireland
Thanks Meter: 2,206
 
More
Quote:
Originally Posted by urlyisis

I was able to load the hboot, but now the bootloader is locked again and I can't flash the recovery.

FAILED (remote: not allowed)

It looks like your s-on
9th October 2014, 02:39 AM |#8  
urlyisis's Avatar
Member
Thanks Meter: 10
 
More
UPDATE: I had to unlock the bootloader via the HTC unlock. RESOLVED

Quote:
Originally Posted by dd98

It looks like your s-on

Actually, the bootloader shows the following.

***** Tampered ******
Locked
VLE PVT SHIP S-OFF RL
CID-HTC__001
HBOOT-2.16.000
9th October 2014, 05:31 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by dd98

HBOOT 2.16 Installation guide


Requirements before installing

  • Back up your files, your SD Card will be WIPED!
  • Charge your phone to AT LEAST 30%
  • Your bootloader MUST be unlocked
  • You NEED to be S-OFF or else it won't work
  • You need basic knowledge of Fastboot commands
  • Windows 10/8/7/Vista/XP: You need drivers installed
    Windows 8.1: You need drivers installed AND update kb2967917 from Microsoft
    Linux: You need "51-android.rules" or "99-android.rules" configured
    Mac: Nothing needed that I know of
    I am NOT responsible if you break your phone


This guide will be from a Windows point of view

Installation Guide
  1. Download the HBOOT 2.16 firmware file from here: Download from Mega.co.nz
  2. Place it in your adb and fastboot folder. For example C:\Users\(Your Username)\Fastboot
  3. Now open a Command Prompt window and then type in:
    Code:
    cd C:\(Location of your Fastboot folder)
  4. Now take your phone and connect it to your computer (with USB Debugging ON) and type in:
    Code:
    adb reboot bootloader
  5. Once you are in the bootloader and it displays "Fastboot USB", type in:
    Code:
    fastboot oem rebootRUU
  6. Once your computer recognizes your phone type in:
    Code:
    fastboot flash zip Firmware_4.06.401.1.zip
    If you changed the file name make sure to type in the name of it instead of the one above
  7. You will then get an error:
    Code:
    "FAILED (remote: 90 hboot pre-update! please flush image again immediately)"
    Don't worry, this is normal. DO NOT unplug your phone. Simply type in once again:
    Code:
    fastboot flash zip Firmware_4.06.401.1.zip
    If you changed the file name make sure to type in the name of it instead of the one above
  8. Then wait until the Command window says "finished" and type in:
    Code:
    fastboot reboot-bootloader
  9. Next we need to download TWRP recovery. You can download it from MDMower's website and MAKE SURE to get TWRP for "/data/media storage (HBOOT 2.16.0000)" and TWRP 2.8.0.1 or above.
  10. Now we must go back to the command window with your phone still plugged in displaying "Fastboot USB" on the screen
  11. Then we type:
    Code:
    cd C:\Users\(Your Username)\Downloads
    or if the TWRP Recovery file isn't in the above location just direct it to the folder its stored in
  12. Now we type:
    Code:
    fastboot flash recovery twrp-2.8.x.x-ville-dm.img
    just replace the "x" with the numbers on the file. e.g. - 2.8.0.1
  13. Once it flashed successfully press the power button and use the volume buttons to scroll down to recovery and to boot into it, simply press the power button
  14. Now go into "Mounts" and select Enable MTP if it isn't already.
  15. Now copy a ROM of your choice (That supports HBOOT 2.16) and flash it. If MTP doesn't work, simply sideload the ROM
  16. That's it, now you just reboot after installing your ROM.


Hope this helps anybody having difficulty with HBOOT 2.16

Whatever which recover i choose, my internal storage was always 48mb, i can not push rom, can not sideload rom,
9th October 2014, 08:02 AM |#10  
OP Senior Member
Flag Dublin, Ireland
Thanks Meter: 2,206
 
More
Quote:
Originally Posted by ad346544521

Whatever which recover i choose, my internal storage was always 48mb, i can not push rom, can not sideload rom,

You need the hboot 2.16 specific recovery, you can download it here
8th December 2014, 07:31 PM |#11  
Member
Flag Denver
Thanks Meter: 20
 
Donate to Me
More
Never mind, I found what I needed...
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes