PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue Development (http://forum.ppcgeeks.com/forumdisplay.php?f=59)
-   -   How to use Hex editor to change Rom Information in .nbh (http://forum.ppcgeeks.com/showthread.php?t=35653)

negamann 08-25-2008 04:18 AM

How to use Hex editor to change Rom Information in .nbh
 
I posted a photo-tutorial concerning this since I couldn't find information on this ANYWHERE! Gives your rom that "Official" touch

http://www.ppchaven.com/viewtopic.php?f=51&t=114

You must register to view, but it's worth it

Very descriptive and easy to do!

the_goldentiger 08-25-2008 06:50 AM

Re: How to use Hex editor to change Rom Information in .nbh
 
Could you post the tutorial on this page
Thank you in adv.

zeurx 08-25-2008 07:21 AM

Re: How to use Hex editor to change Rom Information in .nbh
 
Quote:

First of all you will need a hex editor. I prefer to use Hex workshop: http://www.bpsoft.com/downloads/

It costs money but the demo works. the free ones aren't worth using.

Make sure to have a backup of the test ROM. In case of any mistakes, it's easier to just start fresh rather than fix it.

I am not liable for you not having a backup before starting. It's actually best to read the entire tutorial before attempting
This was done on a Vogue Rom, all Roms may vary



* Before you begin, Get important info from the rom such as the version (in this case I use 3.09.666.1) and the rom date (Found in start>settings.>system tab>device information)
* Copy those two down, you will need that information.
* It is possible to get the information directly from the binary, but it makes it easier to know before jumping into it.






You will be editing the .nbh itself (Such as RUU_Signed.nbh). This step is the final step before realeasing or flashing
Let's get started...

Remember: When you use backspace it only brings it backward rather than deleting. Edit in the right box only, not the box with sets of 4 digits.
Click before the digit you are about to replace and type the new digit.
If you overwrite a period accidentally, just replace with another period. Spaces are allowed when using one or two. TAKE YOUR TIME!
Make sure when editing that your digit starts in the first two segments in the group of 4. ex 332E not 332E red meaning the digit you replaced
Every digit equals two binary digits

Open the Hex editor and locate the rom.

It should look similar to this:
http://i163.photobucket.com/albums/t...n303/Hex/1.jpg

Edit the following to your liking.




* The red circle is the Device, Don't mess with that. you may see just VOGU100
* The yellow is the carrier, this example is a bell rom so it's BM_001, Verizon is VZW_001 and Sprint is SPCS_001.
* You can change BM_001 but it wont be noticeable
* The blue is obviously the country, You may see WWE instead for WORLD WIDE ENGLISH
* You should only mess with the the part highlighted black, It changes the name of the rom when using RomUpdateUtility




Heres an example of how I changed it:
http://i163.photobucket.com/albums/t...n303/Hex/2.jpg


Now to change the Date of the rom:

Open up FIND and choose the date you copied down. In this example you see Aug 4 2008. Make sure the first letter is capitalized.
http://i163.photobucket.com/albums/t...n303/Hex/3.jpg

Make sure you search using ASCII, if it doesnt find the date, try just 2008 and look for your date

The date should look like this:
http://i163.photobucket.com/albums/t...n303/Hex/4.jpg

Look for the Items circled in red, that will tell you if it's the right one.
There may be more than one item to change since it's hard for me to tell you exactly which one actually changes the visible date.


Now to change the version of the rom (This changes what you see when the rom first boots up on the initial splash screen next to that "D")

Now go back to find and type the rom version:
http://i163.photobucket.com/albums/t...n303/Hex/5.jpg

You need to search with UNICODE this time. You don't have to type the whole rom version, just the first four digits including the period.

It should look like this:
http://i163.photobucket.com/albums/t...n303/Hex/6.jpg


Now to change it:
http://i163.photobucket.com/albums/t...n303/Hex/7.jpg


* The 3 must stay there if using Vogue rom, not sure about other roms. If you do overwrite the 3, the 3 will overwrite your digit automatically and will still show up as a 3 as the first digit when booting. I believe this is because of the IMcokemans 2.31 custom CPLD-3 settings. Anything typed before the 3 will not show. Make sure to type the digit two dots after the 3 ex. 3.x.x.x not 3x.x.x.
* See how it's spaced with periods? those will not show up. If you put digits next to each other (Like PPCH) every other digit will be missing when you boot.
* It should look like this: 3.P.P.C.H in the example i use it is: 3...P.P.C.H
* the final outcome when booting the rom will look like this: 3PPCH my example came out as: 3.PPCH
* Capitals only




I believe you can use spaces instead of periods. You cannot add any more digits than the space has for you to edit. My allowance on this particular rom is 5 but i chose 4.
Roms will vary
Again, there may be more than One to change.

I used Hex Workshop 32 on Vista x64. Sometimes when you save, the program has problems and closes. it still saves. You can make a backup when saving as well. If you edited from the RUU folder, Make sure to move the backup elsewhere before flashing!!!

ENJOY!
Tut from PPCHaven.com from Negamann303
http://www.ppchaven.com/viewtopic.ph...98f43198dd9bb3


All times are GMT -4. The time now is 10:14 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0