Post Reply

[APP - release] general Flashaholic Rom Update Utility - v1

OP appelflap

15th July 2010, 09:29 AM   |  #1  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 803
 
10
4,085 posts
Join Date:Joined: Feb 2008
warning: this tool is for flashaholics. The ones who know all risks of flashing roms and like to live in the fast lane
Note for HD2-users: Although this version can be also used for the HD2, you may like this version more (the HD2 version doesn't require that you provide a "preflash" .nbh file - see further).


- Description:
FlashaholicRUU (FRUU) is a customized version of the HTC Rom Update utility that will simplify the rom update proces by:
1. performing a task29 before updating a rom
2. allowing the user to navigate through the dialog windows without having to check checkboxes (s)he has seen a gazillion times before.
3. allowing the user to use only the keyboard to go through the dialog boxes (enter -> next window, esc -> quit fruu)

- Prerequisite
Task 29 is performed by flashing a .nbh file before the (custom) rom file. Because the tool is meant to be general applicable for all devices you need to provide this "pre flashable" .nbh file yourself. In principle you can use any .nbh file for this. To speed up this first step though it is recommended to use a radio for your own device or better yet, a .nbh file containing only the splashscreen for your device. Rename this file (radio, splashscreen ) preflash.nbh and put it in a directory together with your custom rom file (may have any name as long as it has an .nbh extension) and the general_FlashaholicRUU.exe. Make sure there aren't any other files in the directory.
For the rest follow the instructions described in the section Usage

- Usage:
Quote:

This program will take you through the steps of performing a Task29 (formatting your roms storage memory) and then flashing a new rom. It is not advised to use this if you are totally new to flashing roms as if it is done incorrectly you will end up with no rom on your phone and a permanent look of terror on your face

This is not for noobs!!

1. Make sure your phone is booted up

2. Sync your pc and phone

3. (you may skip this step if you've read the prerequisite) Copy the general_FlashaholicRUU.exe file to a new folder with JUST the roms .nbh file present and a rom you want to flash before you flash your rom. Rename this last rom file, the one you want to flash first, preflash.nbh

4. Run the general_FlashaholicRUU.exe and follow the instructions in the program

5. Click on the "perform task29" button to format your roms memory

6. As soon as the percentage bar reaches 100% hold your "volume down" button and continue holding until the phone reboots and enters the bootloader screen
NOTE: If you get a white screen with "hTC" in the middle then you need to take out your battery and enter bootloader mode manually before continuing (take battery out and put it back in, then hold the volume down button and briefly press the power button. Keep holding the volume down button until the bootloader screen appears).

7. When the white box in the bottom of the bootloader screen says "USB" then click on "Flash Rom" in the Flashaholic program

8. Follow the onscreen instructions and lastly click on "Flash" to flash the rom to your phone

9. You will now have a percentage bar on your phone and your new rom is being flashed

10. Once your Rom has flashed your phone will reboot and you can go through the setup screens.

Run your new Rom for a few hours, search for another one and start again with step 1 (if you want to become a real senior flashaholic)

NOTE: There is no need to perform a Hard Reset after flashing the Rom using this program as the Task29 performs a much more thorough job.

--------------

When you want to flash a rom without performing task 29 (for example when you want to flash a new radio) just hit <ESC> on the first screen of step 1. This will take you right to step 2 in which you can flash your rom

(Thanks to mskip for writing this brief but comprehensive manual)

- Video:
Video of the app on a computer of a fellow flashaholic: http://www.youtube.com/watch?v=hn3pGbW-vag. Thank you claub. Keep on flashin'

- Note to chefs:
You can pack FRUU with your Roms. You can even customize FRUU for your Rom series. For example you can use your own images, text, info etc. I have written some general instructions about customizing the RUU here. (Notice that in FRUU ModelID.fig is used for the first task29 step and RUU.fig is used for the second step. The dialogs for the first step are part of RUUResource.dll. Dialogs for the second step you will find in CustomizedRomResource.dll. Instead of the setup.bat and setup.vbs I mentioned in the aforementioned post I used the files run.bat and run.vbs. For exra information you can PM me)


- Donations:


Thank you!


Thanks to: doloop (for his non-mtty task 29 tool)


---------
Note: this tool should work for any (newer) htc device. Nevertheless make sure that your bootloader will support task 29 and that experiments with mtty task 29 has positive results for your device (look at the development section for your device forum)

Devices on which this tool is reported to work:
Quote:

* Leo (HD2)
* Rhodium (Touch Pro 2, Tilt 2)
* Topaz (Diamond 2, Pure)
* Raphael (Touch Pro, Fuze)
* Diamond
(please pm me or report your device in this thread if the tool worked also for your device and that device is not in this list yet)


Happy flashing
Attached Files
File Type: zip general_FlashaholicRUU_v1.zip - [Click for QR Code] (850.3 KB, 1540 views)
Last edited by appelflap; 1st August 2010 at 08:10 PM.
15th July 2010, 09:37 AM   |  #2  
Petulinek's Avatar
Senior Member
Flag Prague
Thanks Meter: 78
 
1,343 posts
Join Date:Joined: Feb 2008
More
Quote:
Originally Posted by appelflap

Rename the radio rom file to radio.nhb[/COLOR]

Not Radio.nbh? Isnt it typo?
15th July 2010, 09:41 AM   |  #3  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 803
 
10
4,085 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by Petulinek

Not Radio.nbh? Isnt it typo?

Yes, it is a typo. Should be radio.nbh
15th July 2010, 11:57 AM   |  #4  
core7x's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 26
 
286 posts
Join Date:Joined: Apr 2009
More
sure need to test.
what diff between task 32, task 29 and task 28
im on blackstone, so that using only task 29
15th July 2010, 12:28 PM   |  #5  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 803
 
10
4,085 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by core7x

sure need to test.
what diff between task 32, task 29 and task 28
im on blackstone, so that using only task 29

task 28 hard resets the device. It is the default task executed by the shipped romupdateutiliy (RUU). Custom RUU's one find here on xda have replaced task 28 with a task 32 (security level check). That way you can use the custom ruu to flash a radio or a bootscreen. You don't want a hard reset after that

Task 29 formats the device.

It should work on the blackstone. From what I've read the bootloader supports those commands. As far as I know those commands are also supported by the bootloader of other newer HTC devices as well.
Make sure you have HSPL installed. (or how it is called for your platform)

-----

(BTW for anyone who like to experiment with the above util, you can extract the exe and examine run.bat ...

If the RUU's in this package don't work use the RUU for your device. Open it with a hexeditor. search for "task" and change the digits "28" behind it to "29" and save it as "Task29.exe". Do the same again, but now change "28" to "32" and save it as RomUpdateUtil.exe. )
Last edited by appelflap; 15th July 2010 at 12:37 PM.
16th July 2010, 01:24 PM   |  #6  
core7x's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 26
 
286 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by appelflap

task 28 hard resets the device. It is the default task executed by the shipped romupdateutiliy (RUU). Custom RUU's one find here on xda have replaced task 28 with a task 32 (security level check). That way you can use the custom ruu to flash a radio or a bootscreen. You don't want a hard reset after that

Task 29 formats the device.

It should work on the blackstone. From what I've read the bootloader supports those commands. As far as I know those commands are also supported by the bootloader of other newer HTC devices as well.
Make sure you have HSPL installed. (or how it is called for your platform)

-----

(BTW for anyone who like to experiment with the above util, you can extract the exe and examine run.bat ...

If the RUU's in this package don't work use the RUU for your device. Open it with a hexeditor. search for "task" and change the digits "28" behind it to "29" and save it as "Task29.exe". Do the same again, but now change "28" to "32" and save it as RomUpdateUtil.exe. )

clear, will do that
16th July 2010, 04:23 PM   |  #7  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 803
 
10
4,085 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by core7x

clear, will do that

You naughty boy... naughty naughty naughty
16th July 2010, 07:17 PM   |  #8  
core7x's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 26
 
286 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by appelflap

You naughty boy... naughty naughty naughty

joke only, by the way. im flasholic rom person.
16th July 2010, 08:00 PM   |  #9  
appelflap's Avatar
OP Recognized Developer
Flag Utrecht
Thanks Meter: 803
 
10
4,085 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by core7x

joke only, by the way. im flasholic rom person.

I kinda hoped that you noticed the ironic undertone of my reply
16th July 2010, 10:56 PM   |  #10  
Member
Thanks Meter: 0
 
66 posts
Join Date:Joined: Aug 2006
Quote:
Originally Posted by appelflap

task 28 hard resets the device. It is the default task executed by the shipped romupdateutiliy (RUU). Custom RUU's one find here on xda have replaced task 28 with a task 32 (security level check). That way you can use the custom ruu to flash a radio or a bootscreen. You don't want a hard reset after that

OK, this sounds like a bad idea taken even further.

Hard reset reloads nvram and ram from flash. Radio and bootscreen are in flash, so a hard reset will do nothing to them.

Unless HD2 is different from all other HTC devices (I seriously doubt it, but do not know), stock ruu should flash radio and bootscreens found in custom roms just fine. This makes sense, of course, because carriers don't release different ruu's just because radio update or bootsplash are included in .nbh.

As to erasing flash before flashing....what a waste of time. I can imagine almost no case where this would be beneficial, and it certainly is wasteful in 99.99% of cases. Why would you want to degrade memory 2x as fast (or more) on a routine basis? Flashing RARELY (like never) fails to overwrite, and when it does, it won't help you to have 0's where it fails.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes