[Guide/How To] Flash Hboot's OTG

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,512
2,084
0
Southern California
How To Flash A Different HBoot On The Go. I miss the good ol days when we could just flash an hboot on the go via the bootloader itself. Looks like this is the closest were getting for now.

Requirements:
S-Off
Terminal Emulator (Get it free from Google Play)
Commom ADB/Fastboot experience to understand this...

On the device, open Terminal Emulator

Step 1:
Run:
su

Step 2:
Run:
cd sdcard

Step 3:
Run:
dd if=/sdcard/LOCATIONOFHBOOT/HBOOT.img of=/dev/block/mmcblk0p12

Notes:
Replace "LOCATIONOFHBOOT" with the actual location it is stored on. For example, the 3 Hboots I have are stored on /sdcard/System/HBoot/

Replace "HBOOT.img" with the actual name of the hboot file. Example: enghboot.nbo or stock_hboot.img

Final example for my device would be: dd if=/sdcard/System/Hboot/hboot.img of=/dev/block/mmcblk0p12

KEEP IN MIND, ONCE YOU FLASH AND BOOT INTO THE ENG HBOOT, YOU WILL NOT BE ABLE TO BOOT BACK UP UNTIL FLASHING ANOTHER HBOOT VIA FASTBOOT.

Sent Via My HTC One, On The Now Network By Sprint!
 
Last edited:

PillowMetal

Senior Member
Aug 18, 2010
156
76
0
Layton, UT
swaynesworld.net
I was saying to flash through hboot using PN72IMG.zip's :p
This is what I want to do, but can't get it to work.

To be clear, on my old Evo 4G LTE, I would package the hboot or recovery into a zip file with android_info.txt, put it on my SD card, and at next boot it would find it and flash it (having s-off of course).

Now with the Sprint HTC One, I connected a USB stick via an OTG cable, verified the phone can see the drive fine while running Android normally (using Solid Explorer), placed a recovery or hboot zip on the USB drive named PN72IMG.zip, and rebooted to the bootloader, but no dice.

In the past you could see the bootloader searching for a valid file on the external card, but now the bootloader doesn't seem to do that anymore, it just starts right up in the fastboot screen, even with my OTG cable and USB drive attached.

So, have you been able to do this successfully, and if so, can you post an example file with that IMG name I could try to get recognized (I don't actually need to flash it), because maybe there is something wrong with the contents of my android_info.txt file? Can anyone think of something I am missing that prevents my quest for bootloader flashing via USB OTG from happening?
 

Rydah

Inactive Recognized Contributor
Oct 4, 2008
5,512
2,084
0
Southern California
This is what I want to do, but can't get it to work.

To be clear, on my old Evo 4G LTE, I would package the hboot or recovery into a zip file with android_info.txt, put it on my SD card, and at next boot it would find it and flash it (having s-off of course).

Now with the Sprint HTC One, I connected a USB stick via an OTG cable, verified the phone can see the drive fine while running Android normally (using Solid Explorer), placed a recovery or hboot zip on the USB drive named PN72IMG.zip, and rebooted to the bootloader, but no dice.

In the past you could see the bootloader searching for a valid file on the external card, but now the bootloader doesn't seem to do that anymore, it just starts right up in the fastboot screen, even with my OTG cable and USB drive attached.

So, have you been able to do this successfully, and if so, can you post an example file with that IMG name I could try to get recognized (I don't actually need to flash it), because maybe there is something wrong with the contents of my android_info.txt file? Can anyone think of something I am missing that prevents my quest for bootloader flashing via USB OTG from happening?
I haven't been able to get that to work. Maybe @Indirect knows a trick or two.

Sent Via My HTC One, On The Now Network By Sprint!
 

PillowMetal

Senior Member
Aug 18, 2010
156
76
0
Layton, UT
swaynesworld.net
Still trying to get flashing from the bootloader to work and tried renaming files to PN72IMG.zip, PN07IMG.zip, and even PN072IMG,zip to no avail

Something I noticed though is that while in Android where my OTG connection works fine, a little light illuminates on my USB drive to show that I am getting power/data. However, when I boot into the bootloader that light is not on, indicating to me that no power/data is being supplied to the port for the USB. So no attempt is even being made to try and read it.

So my question stands if anybody has ever gotten this to work? Maybe it depends on the model of USB drive being used?