update HBOOT how to - One (M7) Q&A, Help & Troubleshooting

I am running hboot 1.44, i want to upgrade so i can install newer viper one roms.
I am lost on how to do this.

Here is the process if you are S-Off. If not you need to relock your bootloader before doing fastboot flash firmware.
1 download latest firmware here http://forum.xda-developers.com/showthread.php?t=2182823
2. Put it in your SDK folder together with you ADB.
3. Connect your phone to PC and fire up your ADB
4. Type:
Adb reboot bootloader
(After entering bootloader)
Fastboot devices
(To be sure you are connected)
5. Type
Fastboot oem rebootRUU
(Phone will reboot and silver htc logo will appear.)
6. Type
Fastboot flash zip firmware.zip
Let it process. It will most certain end with FAILED.
7. IMPORTANT: repeat same command again. It will now end with success.
8. End with
Fastboot reboot
All done.
---------- Post added at 10:51 PM ---------- Previous post was at 10:50 PM ----------
Also make sure md5 is correct on the firmware.

Related

Signature Verification Fail in flashing any Blackrose Hboot

I attempted to flash ICS rom for my N1 and I know installation of Blackrose is required.
I attempted to use Blackrose.exe but it doesn't work, then I trun to flash the cutsome hboot by manual in command prompt.
But the problem is I get the signature verfiication failed when I tried to flash any hboot_xxxxx.nb0 files by fastboot.
I have searched some relevant threads but no clear solution was found. (Some threads have posted the similar question but all the replies are problem solved without clear explanation.)
Any anybody can advise me ? How can I pass the signature verification in fastboot ?
hthsolstice said:
I attempted to flash ICS rom for my N1 and I know installation of Blackrose is required.
I attempted to use Blackrose.exe but it doesn't work, then I trun to flash the cutsome hboot by manual in command prompt.
But the problem is I get the signature verfiication failed when I tried to flash any hboot_xxxxx.nb0 files by fastboot.
I have searched some relevant threads but no clear solution was found. (Some threads have posted the similar question but all the replies are problem solved without clear explanation.)
Any anybody can advise me ? How can I pass the signature verification in fastboot ?
Click to expand...
Click to collapse
Are you using RA recovery? While in recovery, select Flash zip from SD card, then select Toggle signature verification to turn off
You can't just flash "improper" HBOOT from fastboot, even if you have unlocked bootloader. HBOOT is still protected. There's a procedure that's needed to flash it, some script, I don't remember exactly what. Please look it up.
taodan: It is not the problem in the recovery, I can't write on the "hboot" in the bootloader
Jack_R1: Yes, that's I wanted to find out......
Try this if you haven't--of course nandroid first
Download latest Blackrose to PC and extract it
Open it and go to the binary folder
Copy the two files below to you fastboot.exe folder. Mine is in tools of my SDK
Do following
1) Boot into fastboot mode on your device, and plug it in to your computer.
2) Boot the exploit: fastboot boot go2.lol
3) Flash the modified hboot: fastboot flash hboot hboot_blackrose.nb0
You need to reboot your bootloader (fastboot reboot bootlloader) and check that it shows Blackrose installed and s-off
You still need to modify the hboot to ICS partition sizes, I use splhexeditor
---------- Post added at 07:18 PM ---------- Previous post was at 07:12 PM ----------
Also, what rom are you coming from. BR won't install over Sense roms
Somewher in thread dev mentions that if you can't install by selecting bootloader unlocked try locked and see if it works. Forget where that was and for what problem it was for.
Thanks a lot ! I can flash ICS rom now !!!
rugmankc said:
Try this if you haven't--of course nandroid first
Download latest Blackrose to PC and extract it
Open it and go to the binary folder
Copy the two files below to you fastboot.exe folder. Mine is in tools of my SDK
Do following
1) Boot into fastboot mode on your device, and plug it in to your computer.
2) Boot the exploit: fastboot boot go2.lol
3) Flash the modified hboot: fastboot flash hboot hboot_blackrose.nb0
You need to reboot your bootloader (fastboot reboot bootlloader) and check that it shows Blackrose installed and s-off
You still need to modify the hboot to ICS partition sizes, I use splhexeditor
---------- Post added at 07:18 PM ---------- Previous post was at 07:12 PM ----------
Also, what rom are you coming from. BR won't install over Sense roms
Somewher in thread dev mentions that if you can't install by selecting bootloader unlocked try locked and see if it works. Forget where that was and for what problem it was for.
Click to expand...
Click to collapse
hthsolstice,
No problem just hit Thanks--

Developer Edition-Back to stock

I have the developer edition and am going to return it. I downloaded the latest 4.3 DE ROM off of HTC's website. Can I just flash this in recovery?
Obviously, don't care about re locking the bootloader as it ships unlocked.
Thank you!
Nothing to do with recovery, you flash it in fastboot mode
1. fastboot oem rebootRUU
2. fastboot flash zip name_of_zip_file.zip - e.g. fastboot flash zip rom.zip - if you're using the ROM ZIP from HTCDev (PN07IMG_M7_UL_JB43_SENSE50_MR_BrightstarUS_WWE_3.22.1540.1.zip)
3. Once it says to flush and try again do exactly the same command again without rebooting or anything - e.g. fastboot flash zip rom.zip
4. Once finished, fastboot reboot
OR
1. Connect phone in fastboot mode (make sure PC recognises it)
2. Run the RUU from HTCDev - RUU_M7_UL_JB43_SENSE50_MR_BrightstarUS_WWE_3.22.1540.1.exe
I'm assuming you're S-OFF at the moment? It shouldn't matter if not but it helps
EddyOS said:
Nothing to do with recovery, you flash it in fastboot mode
1. fastboot oem rebootRUU
2. fastboot flash zip name_of_zip_file.zip - e.g. fastboot flash zip rom.zip - if you're using the ROM ZIP from HTCDev (PN07IMG_M7_UL_JB43_SENSE50_MR_BrightstarUS_WWE_3.22.1540.1.zip)
3. Once it says to flush and try again do exactly the same command again without rebooting or anything - e.g. fastboot flash zip rom.zip
4. Once finished, fastboot reboot
OR
1. Connect phone in fastboot mode (make sure PC recognises it)
2. Run the RUU from HTCDev - RUU_M7_UL_JB43_SENSE50_MR_BrightstarUS_WWE_3.22.1540.1.exe
I'm assuming you're S-OFF at the moment? It shouldn't matter if not but it helps
Click to expand...
Click to collapse
Going to try the RUU exe route. Thank you.
So, I am on the same boat here. I actually have sold my device on eBay and want to send it to the buyer with 4.3 on it. I am on Viper Rom 2.5.0.64 with Android 4.2.2 on it. I have the developer edition, I do not have it S-OFF and I just ran the .exe file but got an error at some point. I will re-run it and see if I get a different result.
---------- Post added at 11:08 AM ---------- Previous post was at 10:53 AM ----------
Same Result again - ERROR 144 - UNKNOWN ERROR. The ROM Update Utility cannot update your Android Phone. Please get the correct ROM Update Utility and try again.
Dodolom said:
So, I am on the same boat here. I actually have sold my device on eBay and want to send it to the buyer with 4.3 on it. I am on Viper Rom 2.5.0.64 with Android 4.2.2 on it. I have the developer edition, I do not have it S-OFF and I just ran the .exe file but got an error at some point. I will re-run it and see if I get a different result.
---------- Post added at 11:08 AM ---------- Previous post was at 10:53 AM ----------
Same Result again - ERROR 144 - UNKNOWN ERROR. The ROM Update Utility cannot update your Android Phone. Please get the correct ROM Update Utility and try again.
Click to expand...
Click to collapse
I got the same error. screen showed fastboot usb, everything seemed to be working and then I got an error message.
I am S-On.
So, i got it done.
Per this article - http://www.androidayos.com/2013/09/28/download-htc-one-developer-edition-4-3-stock-ruu-3-22-1540-1/
you need to have the bootloader LOCKED first to be able to run the .exe successfully. I re-locked the bootloader via Hasoon2000's HTC One All in One Toolkit. You can find his toolkit over here on xda, just google it or something.
I now have a 4.3 Android bootloader locked,etc...
Dodolom said:
So, i got it done.
Per this article - http://www.androidayos.com/2013/09/28/download-htc-one-developer-edition-4-3-stock-ruu-3-22-1540-1/
you need to have the bootloader LOCKED first to be able to run the .exe successfully. I re-locked the bootloader via Hasoon2000's HTC One All in One Toolkit. You can find his toolkit over here on xda, just google it or something.
I now have a 4.3 Android bootloader locked,etc...
Click to expand...
Click to collapse
I have the toolkit but not able to lock the bootloader. I keep getting a "not found" error.
Ok, now i have a really big problem. I managed to relock the bootloader. Everything appeared to be going fine. Then I got the failed error. Exclamation point in each corner. I followed the RUU tool's instructions but it wont get off that screen. I have tried holding down power, the screen goes dark and then I get the same screen.
Any help????
You can just do it through fastboot
fastboot oem lock
If you're S-OFF you don't have to be locked which is why I didn't mention it before

5.0.1 without wiping?

So, is there a way to flash the update to 5.0.1? I'm unlocked, rooted, and still encrypted. I want to stay encrypted. Sorry, just my own paranoia I guess. But is there a way to do it as an update without wiping the device and having to restore a backup? I have had too many backups fail in the past, and I'm kinda lazy. Plus its been a long time since I played with flashing an Android. since my old EVO 4G. LOL Thanks all. Oh yeah, if it matters, I'm on a T-Mobile Nexus 6.
scothern99 said:
So, is there a way to flash the update to 5.0.1? I'm unlocked, rooted, and still encrypted. I want to stay encrypted. Sorry, just my own paranoia I guess. But is there a way to do it as an update without wiping the device and having to restore a backup? I have had too many backups fail in the past, and I'm kinda lazy. Plus its been a long time since I played with flashing an Android. since my old EVO 4G. LOL Thanks all. Oh yeah, if it matters, I'm on a T-Mobile Nexus 6.
Click to expand...
Click to collapse
The flash-all.bat script doesn't work anyway, so don't use it. Just use fastboot and flash:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
---------- Post added at 02:12 PM ---------- Previous post was at 02:02 PM ----------
You can turn that into a simple bat file to use if you like. Just copy and past the following (in between dashes) into notepad and save as something like nexus-flash.bat:
--------------------------
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
echo Press any key to exit...
pause >nul
exit
---------------------------------------
If you have named the twrp recovery something other than what it downloads as, be sure to adjust the file name in the script.
This assumes that all the files are in the same folder including the platform tools. So you would need to extract everything into the same folder.
livinginkaos said:
The flash-all.bat script doesn't work anyway, so don't use it. Just use fastboot and flash:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
(wait for reboot)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
---------- Post added at 02:12 PM ---------- Previous post was at 02:02 PM ----------
You can turn that into a simple bat file to use if you like. Just copy and past the following (in between dashes) into notepad and save as something like nexus-flash.bat:
--------------------------
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
echo Press any key to exit...
pause >nul
exit
---------------------------------------
If you have named the twrp recovery something other than what it downloads as, be sure to adjust the file name in the script.
This assumes that all the files are in the same folder including the platform tools. So you would need to extract everything into the same folder.
Click to expand...
Click to collapse
Ok, so not to be a noob, where do I get the image files to flash?
Nexus images are all posted here - https://developers.google.com/android/nexus/images
Ok, so I used the toolkit to unlock/root, I'm assuming then that to use this script you posted, I would need to download the actual ADB/Fastboot files separately?
Sorry for the stupid questions, I'm learning all over again, and this is my first Nexus device.
EDIT: So it looks like I can use the toolkit to individually flash the system image and then the radio. Will that work doing it in that order?
scothern99 said:
Ok, so I used the toolkit to unlock/root, I'm assuming then that to use this script you posted, I would need to download the actual ADB/Fastboot files separately?
Sorry for the stupid questions, I'm learning all over again, and this is my first Nexus device.
EDIT: So it looks like I can use the toolkit to individually flash the system image and then the radio. Will that work doing it in that order?
Click to expand...
Click to collapse
Does anyone know if this is correct?
What I did to upgrade without wiping, i was on stock with elementalx kernel, root and twrp.
Only flashed radio and system img.
1. Downloaded images, extracted zip of the images.
2. Reboot to bootloader
3. Fastboot commands
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot
4. Reboot to bootloader again
Run chainfire autoroot script.
5. Done
Remember to read read read if you don't know what are you doing, nobody here is responsible if things go wrong.
With my past phones, there was always a stock rom posted shortly after the update came out. I would just flash that over what I had already to update. Is there some reason why no one has posted any stock roms for the nexus 6?
lion1750 said:
With my past phones, there was always a stock rom posted shortly after the update came out. I would just flash that over what I had already to update. Is there some reason why no one has posted any stock roms for the nexus 6?
Click to expand...
Click to collapse
I'm wondering the same. Usually it was out right away and I would do the same as you. Seems crazy to me that we would have to unroot update and reroot agaain.
Usually I would flash a stock rom with the update that the dev would also throw root into.
livinginkaos said:
Then, I like to boot directly into twrp and flash supersu.zip to reroot (I don't flash twrp on, just boot into it)
fastboot boot openrecovery-twrp-2.8.2.0-shamu.img
Click to expand...
Click to collapse
Can you do this as opposed to using the CF-Auto-Root-shamu-shamu-nexus6.zip to root for the very first time as well?
GMoGoody said:
Can you do this as opposed to using the CF-Auto-Root-shamu-shamu-nexus6.zip to root for the very first time as well?
Click to expand...
Click to collapse
You bet. You can be sure to have the most recent SuperSU that way as well. CF-Auto isn't always updated as quickly.
http://download.chainfire.eu/supersu
livinginkaos said:
You bet. You can be sure to have the most recent SuperSU that way as well. CF-Auto isn't always updated as quickly.
http://download.chainfire.eu/supersu
Click to expand...
Click to collapse
That su 2.4zip is for all devices? Not just for the n7 fhd? Thx
Via my NeXus™ 7FHD on XDA Premium app

5 day N6 owner - my first monthly flash

Got my N6 from the Amazon sale. As the LMY48M factory image has just been posted, I want to make sure I do this right and not lose my data/settings since it's my first time.
Phone is XT1103. Unlocked 64 gig (non carrier/branded) but using a VZW Sim. Bootloader unlocked, rooted but still encrypted. Running TWRP-2.8.7.1. On LMY48I currently.
Are these the only commands I need to execute to update but not lose the data/settings (actual IMG file names taken from the 48M image)?
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.10.img
fastboot flash radio radio-shamu-d4.0-9625-02.101.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
Am I missing anything? I believe after I do this I will have lost root but I'll use CF-Root to get it back.
Thanks
EDIT: Forgot to mention I did find other instructions (http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008) that said to also flash boot, recovery and cache in addition to what I already listed. Is that necessary? Do I have to overwrite TWRP only to reflash it later?
THUS, should these be my instructions?
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.10.img
fastboot reboot-bootloader
fastboot flash radio radio-shamu-d4.0-9625-02.101.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img
you will only have root after flashing twrp recovery in fastboot, then flash the latest supersu in twrp recovery. what you are doung is flashing a factory image, has nothing to do with getting root.
---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------
to root..
1. unlock your bootloader with fastboot
2. fastboot flash twrp recovery
3. flash the latest supersu in twrp recovery
4. reboot, with root.
---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------
and im stupid, you wrote you believe youll lose root, and you will. but it will take just a few minutes to get it back.

Locked bootloader while trying to unbrick failed rom flash

I'm having a really hard time getting this OP3t to do what I want.
Didn't flash su after trying to manually update to 4.0.2
Constantly tried to flash a new rom, would get stuck at patching system
Tried to use unbrick solution, flashed stock recovery
Upon completion of unbrick solution my bootloader is locked and i cannot get into recovery because md5 checksum fail when booting.
I've tried using the unbricking solution probably 10 times with no change.
I have searched among the threads which have not be helpful enough to solve my solution.
right now it says modem, boot and system failed md5 checksum and just constantly reboots.
Also, phone is not being recognized now in fastboot mode
What do I do???
First of all try to open phone in fastboot mode then connect your cable to pc.
1. Download full stock rom of oos try 4.0.1.
2. use command to lock the bootloader
fastboot oem lock;
3. then flash stock recovery of nouguat 7.0 through fastbootmode .
fastboot flash recovery image.filename.
4. then go to stock recovery and flash full rom zip using adb sideload.
All done and best of luck......
If facing any problem then ask
shubham8166410 said:
First of all try to open phone in fastboot mode then connect your cable to pc.
1. Download full stock rom of oos try 4.0.1.
2. use command to lock the bootloader
fastboot oem lock;
3. then flash stock recovery of nouguat 7.0 through fastbootmode .
fastboot flash recovery image.filename.
4. then go to stock recovery and flash full rom zip using adb sideload.
All done and best of luck......
If facing any problem then ask
Click to expand...
Click to collapse
I'm getting the wont load problem when trying to flash, advice?
Place all the zip file in same folder of adb driver than try to flash it
---------- Post added at 05:58 PM ---------- Previous post was at 05:58 PM ----------
Is your phone booting in fast mode or nkt
shubham8166410 said:
Place all the zip file in same folder of adb driver than try to flash it
---------- Post added at 05:58 PM ---------- Previous post was at 05:58 PM ----------
Is your phone booting in fast mode or nkt
Click to expand...
Click to collapse
NKT? Not sure what that means.
It is going to fastboot however if i list adb devices nothing shows up.
It does respond with bootloader already locked when i try to send that command
Type command fastboot devices
---------- Post added at 06:11 PM ---------- Previous post was at 06:10 PM ----------
Then it will show device then only u can procceed further
shubham8166410 said:
Type command fastboot devices
---------- Post added at 06:11 PM ---------- Previous post was at 06:10 PM ----------
Then it will show device then only u can procceed further
Click to expand...
Click to collapse
Nothing is coming up when I do that, it just returns to the original command prompt line
Can u able to flash phone in fastboot mode or not
shubham8166410 said:
Can u able to flash phone in fastboot mode or not
Click to expand...
Click to collapse
I was able to use the unbrick method from another computer. Thank you for your assitance

Categories

Resources