8525 Need Help Rebuliding Rom - 8525, TyTN, MDA Vario II, JasJam Software Upgradin

i am following all steps thru SAFE WM5 upgrade guide. I make it thru the Flashing HardSPL and Upgrading to Radio version 1.41.00.10 with no problems. But on Rebuilding the ROM file I cannot get passed this step....
____________________________________________
When you have downloaded the ROM file you must extract the contents of it using winrar into a folder, to make the process simple i suggest extracting to "original". Now delete ALL the files EXCEPT THE .NBH FILE. We are only interested in this file as it contains the nbh data which is flashed to the device.
The next step is to extract the contents of the file and split it into the seperate components.
Download duttys nbh tool and run it,
_____________________________________________
When I run that tool and try to Decompile NBH File the only thing it show me is radio.nb
It does not show me files like Windows.nb or Herm_ExtendedRom.nb and so on. Just radio.nb
So i am stuck I would really like your help on this.
Here is the link to the step i get stuck on.
http://www.mrvanx.org/cms/index.php...ask=view&id=27&Itemid=26&limit=1&limitstart=4
I can download all the files and programs but as you read above i am having problems. Thanks for any help

Next time wait for me to read this thread rather than PM-ing me the same EXACT thing!
Like I said in the PM it sounds like you are decompiling a radio upgrade rather than a ROM upgrade. Verify you are extracting the nbh from the correct file.

Related

NBH format used in Hermes (TyTN) roms

NOTE: I've already posted this into the Development & Hacking forum, but got no reply yet. As it is an Hermes specific topic it is probably better to place it here, sorry for reposting if you've already read this.
The available original shipped ROMs for the HTC Hermes have .nbh files with the RUU, instead of the usual .nbf files found in other HTC rom updates.
By now, there are two shipped ROMs available, containing:
HERMIMG_Dopod_1.23.707.1_SHIP.nbh
hermimg_QtekNOR_1.18.255.3_Ship.nbh
So, it seems that the usual nk.nbf file is no longer used by the Hermes RUU
I cannot extract the various rom components (ExtROM, OS, IPL/SPL, SplashScreen, GSM radio, etc...) out of these files using the usual TyphoonNbfTool, however mamaich's prepare_imgfs finds the imgfs and dumps it apparently ok, but it cannot be read using viewimgfs or itsme's rdmsflsh.pl, so I guess the dumped file is invalid.
Anybody knows about this new format?
is it possible to convert it to nk.nbf so we can cook our own roms?
Would it be possible for example to extract the radio rom from Dopod and replace it on QtekNOR rom?
I think we will have to wait for the rom guru's to advise on this. I hope this would be possible so we can get the best rom possible.
I've tried to decode.nbh files with alpinenbfdecode.pl, himalayanbfdecode.pl and typhoonnbfdecode.pl. None of them works, so this must be a completely new format.
Opening nbh files in hex heditor shows interesting strings, but I don't know how to procede to identify each part and decompress or decrypt it...
Is it possible to decrypt Extended_ROM of HTC TyTN? I'v found a great extRom, but I can't upgrade my ExtRom because I have only borrowed tytn from my friend and Iam looking for one special aplicattion which is included in this. Any solutions ? Thanks
Jerry, you can unlock & unhide the ExtRom just with a registry tweak, look here:
http://wiki.xda-developers.com/index.php?pagename=Hermes_Unhide_Extrom
Downloading a ROM now to experiment
If I crack it, you guys better donate something to my get-theblasphemer-a-hermes-too-fund (yet to set up that fund though )
Mate if you crack it I'll be donating to your fund!
Hmmm, a very weird file format indeed :S
All files start with "R000FF\r", next 16 bytes of what appears to be random data.
After that it consists of several blocks.
Each block starts with a header:
4-bytes block-length
4-bytes footer-length
1-byte always 1
After that follows the actual data (block-length bytes) + a footer, which appears to be random data but which I suspect to be some kind of checksum
I'm uploading a full USB log of a complete ROM-flash here:
ftp://xda:[email protected]/Hermes/Technical/
Watch for the file Dopod2-FullRomUpgrade.txt.gz, when it is full uploaded it will be around 102Mb.
This is from this ROM file:
HER_DopodAsia_1237074_1060010_WWE_SHIP.exe
______
EDIT: Upload finished.
I created a wiki page with all the info we have about NBH format:
http://wiki.xda-developers.com/index.php?pagename=Hermes_NBH
i added my scripts to extract nbh files to the wiki page
willem
itsme said:
i added my scripts to extract nbh files to the wiki page
Click to expand...
Click to collapse
Cool :shock:
you always come with splendid work, so pleasant to see... thanks a lot!
Hmmm... just took a peek at the USB-dump of a ROM upgrade.
It appears that the whole file is just sent to the device.
The flashing utility doesn't even look at the CID or even the device type, it was happy to start flashing my Universal (however it didn't get very far, as the bootloader doesn't understand all commands ).
This makes it incredibly difficult to make a RomUpgradeUtility that doesn't look at the CID, or to figure out how the signatures in the .nbh files are generated
willem,
I've been trying to extract the roms using your commands, everything runs fine until I have to run the gsmsplit batch file, as in this line you call "bcl" and I don't know what bcl is:
Code:
for %%i in (_bcl*) do bcl d %%i _x%%i.nb
I am runing it on WinXP SP2 + cywin 1.5.21-1, this is the error I get:
Code:
[email protected] /cygdrive/c/nbh/files
$ gsmsplit.bat GSM.nb gsm.nbx
'bcl' is not recognized as an internal or external command,
operable program or batch file.
'bcl' is not recognized as an internal or external command,
operable program or batch file.
[...]
'bcl' is not recognized as an internal or external command,
operable program or batch file.
'bcl' is not recognized as an internal or external command,
operable program or batch file.
_x_bcl*.nb
The system cannot find the file specified.
0 file(s) copied.
Could Not Find c:\nbh\files\cing\_x_bcl*
[email protected] /cygdrive/c/nbh/files
$ dir
GSM.nb MainSplash.nb SPL.nb nksigned.dbh signatures.txt
IPL.nb OS.nb SubSplash.nb nksigned.nbh unknown_601.nb
Is the line correct? if yes, what is bcl and where can I get it?
Thanks!
Ok, almost everything went fine... i don't know yet about the bcl command i asked before, and i cannot extract the contents of imgfs from OS.nb using rdmsflsh:
Code:
$ rdmsflsh.pl -d files OS.nb > rd.txt
could not find imgfs header
I've also tried prepare_imgfs.exe with OS.nb, it found IMGFS there and dumped it to imgfs_raw_data.bin, but then I cannot use viewimgfs.exe with this file, it complains about "unknown header type", and the file seems corrupt as it is only 6Mb...
BTW... SubSplash.nb seems to be the ExtROM, not the SubSplash.
I get a "Check cert error!" from the bootloader when I try to flash a modified NBH file (thanks TheBlasphemer for your help).
From spv-developers:
"getting a developer CID (SuperCID) will allow you to flash your system with a ROM that is not digitally signed (i.e. a ROM that you have modified). If you do not modify it, you'll not be able to install a modified ROM on the device."
Click to expand...
Click to collapse
Is it possible that we can flash NBH files without signing in the Hermes if we get a SuperCID?
I tried using SPV-Services to change the Hermes CID, but when I execute the CID tool (Alpha) I get the error: INVALID Storage Manager Handle (SAFE)
The NBH format is also used by HTC STARTrek, more info here.
bcl is from bcl.sourceforge.net, and in the latest release called 'bfc'.
willem
pof said:
Ok, almost everything went fine... i don't know yet about the bcl command i asked before ...
Click to expand...
Click to collapse
Hey pof, you need to rename the bfc.exe to bcl.exe ...! then you dont get the error but alot other zero lenght values ...
so did anyone manage to get the extraction of the OS.nb done correctly?
Hi! Do you think is possible to manage that NBH file and change htc logo splashscreen in some ways?
I'd like to create a ROM file upgrade with different spalshcreen for my TYTN.

English Update Utility

Credits for finding/pointing to this solutution go to AirwolfUK.
This is also hidden somewhere in a thread, but I think it deserves it's own thread. We (G4 owners) don't need to flash all our roms in Italian language. In stead of copying all the Update Utility files just copy "ROMUpdateUtility_Wizard_NoID.exe" and it will stay in English.
So if you get this error on you're G4:
ERROR[300]: INVALID UPDATE TOOL
This Update Utility cannot be used for your PDA phone. Please get newer Update Utility
Just replace the "ROMUpdateUtility_Wizard_NoID.exe"! (I'll attach it too)
If you want to turn an already Italian installer into English replace all the files from "English Update Utility Files G4.zip".
Great! Thanks a lot for these! Hepled me a lot
Guess it should be a sticky, as not many people know where to find these things.
I've tried ROMUpdateUtility_Wizard_NoID.exe but keep getting
"Error 208: File Open.
The update utility can not open the requested file. Please check your update utility".
Anyone got any ideas what I am doing wrong?
maybe you're not with the utility and the nk.nbf in the same folder(all in the root of the folder).
Thank you so much...this just saved my otherwise bricked phone!
thx worked perfect in flashing the radio rom on my g4 to 2.19 uk!
I can't figure out how to upgrade my rom. I keep getting the dreaded Error 300.
Can somebody provide instructions on how to run this?
How?
How do I do this?
What should I replace?
Where should I put the "ROMUpdateUtility_Wizard_NoID.exe" file?
I just normally run the updateroom from a folder on my laptop, so where should I place "ROMUpdateUtility_Wizard_NoID.exe"?
I am attemping to flash Superrom
orelse4054 said:
How do I do this?
What should I replace?
Where should I put the "ROMUpdateUtility_Wizard_NoID.exe" file?
I just normally run the updateroom from a folder on my laptop, so where should I place "ROMUpdateUtility_Wizard_NoID.exe"?
I am attemping to flash Superrom
Click to expand...
Click to collapse
If the rom is one exe file, unpack it first with winrar. You'll see the file afterwards.
Yes I knows it becomes a exe file after I have zipped it.
Ok here it goes:
I run a normal ROM update exe file, I get the
"ERROR[300]: INVALID UPDATE TOOL
This Update Utility cannot be used for your PDA phone. Please get newer Update Utility"
Then what shall I do with the "ROMUpdateUtility_Wizard_NoID.exe " if I just run this one the message: ""Error 208: File Open."
Can someone set up a step by step guide please?
Seems you haven't upacked the rom executable. You should have multiple files afterwards (e.g. ROMUpdateUtility_Wizard_NoID.exe and nk.nbf). Just replace the ROMUpdateUtility_Wizard_NoID.exe! The file error tells it can't find your nk.nbf.
Damnnnnn Vippie Rocks!!!!!!!
How to do it ..
is it just click and run ROMUpdateUtility_Wizard_NoID .. and the application will do all .. or we just need to but all stuff in unpack flash ( any flash ) and install it to firmware ??
thanks allot in advanced
help still not working
I got the ROMUpdateUtility_Wizard_NoID.exe and I run it in the same folder as the rest of the files from the program and I STILL get error 300
Thanks Wes
Thank you men !!!
Thank you very much men, you saved my life !!!
Ok this file just bricked my MDA !
deathblooms237 said:
Ok this file just bricked my MDA !
Click to expand...
Click to collapse
Impossible.... it's you who did something wrong.
vippie said:
Impossible.... it's you who did something wrong.
Click to expand...
Click to collapse
No... I think your half-ass instructions confused everyone! you posted the update utility yet did not instruct that it should have been extracted in the same folder as the new ROM of the user's choice.
If you were to create a folder then extract the utility to that folder, then click on the extracted file, then for sure you will get the error msg.
Download first the ROM you want in a folder, All New ROMs will extract to two files. One of those files is the rom update utility file that you will need to replace with the Update Utility exe file in this post. To do this just extract the update utility tool ( posted here ) in the same folder of the downloaded and extracted ROM folder. You will then be up and running. Follow the instructions.
To follow up with my previous post, I would suggest you start with the 'Wizard_Love rom or the Button Rom as basis. This will reset your download prompts on your device to accept any Wizard compatible ROM of your choice. After the first update most likely you will not need this utility to update your favorite rom onto your device.
asfoor said:
No... I think your half-ass instructions confused everyone! you posted the update utility yet did not instruct that it should have been extracted in the same folder as the new ROM of the user's choice.
Click to expand...
Click to collapse
And even than it wouldn't brick the device. So your "no" should be "yes, you're right vippie"!
Did you notice the "developers" in the websites name? What are people doing on this forum if they don't know how to REPLACE a file. It isn't necessary to spoon-feed people.

[Q] i am new

hi all
how to extract (nbh) file please help me
First welcome
Why do you want to extract the NHB file? Thats not neccesary to install the ROM.
To Install a custom ROM you need to install HSPL first. In te ROM section you find 2 threats which explains how to do that and which version you need. When you have finished that part, you have just have download CustomRUU (also found in one of the threats just use the search function of the website), place it in the same directory als de NSB file and run CustomRUU. The program tells you what to do next, just follow the steps who are displayed in te program.
Is you really wanna extract the NHB file. Then its usefull to wrinte down for what purpose you want to do this. In this case its always good to ask the Developer who build it for approval

[Q] Files in a nandroid back up

Ive done a backup on my phone and created a flashable zip (update.zip)
Now im playing around with dsixda's kitchen and trying to extract the system.tar, however it fails most likely due to fact the the system.tar is empty
the files in the archive are as follows
Meta-inf -- <folder>
boot.img -- <8192KB>
image-edify -- <1KB>
system.ext4.tar -- <0KB>
system.ext4.tar.a -- <976,563KB>
system.ext4.tar.b -- <68,151KB>
By the looks of things it has split the system.ext4.tar because its over a gig
How can i compile this into one file or one image so that the kitchen can read it, I'm on a windows 7 PC but i can run linux in a vbox if necessary.
Thanks
Try using the zip file in your input folder.
dsixda's kitchen should be able to extract from it
mikep99 said:
Try using the zip file in your input folder.
dsixda's kitchen should be able to extract from it
Click to expand...
Click to collapse
Already tried, it comes back saying its deleting the part a and part b files and then says the system.ext4.tar isnt a valid archive.
Is it a stock rom?
If so, download the firmware from sammobile and put the tar.md5 file into your input folder (after removing the .md5 suffix).
Thats worked for me in the past....
It is stock, but i have removed the bloatware, installed a few mods, i was hoping to use this particular one really as a base. Ive already played around with fully stock and i kind of broke the whole thing
I'm not too sure then unless theres some tool you can find to merge the 3 tar files into 1...
Never had to do it so I'm unable to suggest anything I'm afraid.

does anybody have the two img files for Facepalm soff method?

I tried downloading from the original post here: https://forum.xda-developers.com/showthread.php?t=2163013
but the checksum is different. i'm unable to finish the steps because the files have been changed...the extensions are exe for both files when they should be zip and img
hoping somebody has these files saved. i would appreciate it if you can reupload them somewhere.

Categories

Resources