Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,664 Members 42,880 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
appelflap
Old
(Last edited by appelflap; 1st August 2010 at 08:10 PM.)
#1  
appelflap's Avatar
Recognized Developer - OP
Thanks Meter 800
Posts: 4,085
Join Date: Feb 2008
Location: Utrecht
Talking [APP - release] general Flashaholic Rom Update Utility - v1

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, 1529 views)
 
Petulinek
Old
#2  
Petulinek's Avatar
Senior Member
Thanks Meter 78
Posts: 1,343
Join Date: Feb 2008
Location: Prague
Quote:
Originally Posted by appelflap View Post
Rename the radio rom file to radio.nhb[/COLOR]
Not Radio.nbh? Isnt it typo?
Device: Nokia Lumia 1520
WIN Version: 8.10.14147.180
Firmware version: 2061.00066.14253.40004
Phone purchased: 04/07/14

Im sorry for my bad english
 
appelflap
Old
#3  
appelflap's Avatar
Recognized Developer - OP
Thanks Meter 800
Posts: 4,085
Join Date: Feb 2008
Location: Utrecht
Quote:
Originally Posted by Petulinek View Post
Not Radio.nbh? Isnt it typo?
Yes, it is a typo. Should be radio.nbh
 
core7x
Old
#4  
core7x's Avatar
Senior Member
Thanks Meter 23
Posts: 280
Join Date: Apr 2009
Location: Kuala Lumpur
sure need to test.
what diff between task 32, task 29 and task 28
im on blackstone, so that using only task 29
[ro.product.model]: [GT-I8190N]
[ro.product.name]: [goldennfcxx]
[gsm.version.baseband]: [I8190NDXLL7]

HD T8282 [security unlocked]
Radio : 1.17.25.09
HSPL : 1.56.OliNex

Haret ROM Chainloader Emulator
// Linux on Blackstone
/* latest zImage builds


nearst @freenode
 
appelflap
Old
(Last edited by appelflap; 15th July 2010 at 12:37 PM.)
#5  
appelflap's Avatar
Recognized Developer - OP
Thanks Meter 800
Posts: 4,085
Join Date: Feb 2008
Location: Utrecht
Quote:
Originally Posted by core7x View Post
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. )
 
core7x
Old
#6  
core7x's Avatar
Senior Member
Thanks Meter 23
Posts: 280
Join Date: Apr 2009
Location: Kuala Lumpur
Quote:
Originally Posted by appelflap View Post
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
[ro.product.model]: [GT-I8190N]
[ro.product.name]: [goldennfcxx]
[gsm.version.baseband]: [I8190NDXLL7]

HD T8282 [security unlocked]
Radio : 1.17.25.09
HSPL : 1.56.OliNex

Haret ROM Chainloader Emulator
// Linux on Blackstone
/* latest zImage builds


nearst @freenode
 
appelflap
Old
#7  
appelflap's Avatar
Recognized Developer - OP
Thanks Meter 800
Posts: 4,085
Join Date: Feb 2008
Location: Utrecht
Quote:
Originally Posted by core7x View Post
clear, will do that
You naughty boy... naughty naughty naughty
 
core7x
Old
#8  
core7x's Avatar
Senior Member
Thanks Meter 23
Posts: 280
Join Date: Apr 2009
Location: Kuala Lumpur
Quote:
Originally Posted by appelflap View Post
You naughty boy... naughty naughty naughty
joke only, by the way. im flasholic rom person.
[ro.product.model]: [GT-I8190N]
[ro.product.name]: [goldennfcxx]
[gsm.version.baseband]: [I8190NDXLL7]

HD T8282 [security unlocked]
Radio : 1.17.25.09
HSPL : 1.56.OliNex

Haret ROM Chainloader Emulator
// Linux on Blackstone
/* latest zImage builds


nearst @freenode
 
appelflap
Old
#9  
appelflap's Avatar
Recognized Developer - OP
Thanks Meter 800
Posts: 4,085
Join Date: Feb 2008
Location: Utrecht
Quote:
Originally Posted by core7x View Post
joke only, by the way. im flasholic rom person.
I kinda hoped that you noticed the ironic undertone of my reply
 
gguruusa
Old
#10  
Member
Thanks Meter 0
Posts: 66
Join Date: Aug 2006
Quote:
Originally Posted by appelflap View Post
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Integrate Social Networks Into Your Project With ASNE Library

Social network applications and services have developed into major parts ofour … more

Give Your Android Wear Device a Lock Screen with Lockable

Without a doubt,Android Wear is one of the most frequently talked abouttopics of … more

Forums Added for the LG G Watch R and Samsung Gear S

A little over a week ago, LG “inadvertently” let the world know about the … more

Secrecy App Goes Open Source, New LG Android Wear Device! – XDA Developer TV

Secrecy encryption app goes open source! That and much … more