HOW to get files out from NK.nbf (nk.nba) ? - Advantage X7500, MDA Ameo Upgrading

I am looking for the simple way to extract files (I need msim.dll) from WM5 ROM. I have converted nk.nbf into nk.nba but I was not able to find here any simple instruction how to get files out of nk.nba
Any help from advanced users?
I want to enable Block Recognizer in WM5PL, and the msim .dll is not included in this version of the system.

I've never worked with Athena roms before but I'd suggest trying mamaich's imgfs tools. I'm just giving you a quick response, something to try while you wait for someone who builds Athena roms to reply to your question.
Good Luck

Related

Re-pack CABs in own ROM

Hi all,
I am cooking my own ROM. I extracted original T-mobilCZ CABs from Extended ROM and now I want to add some must-have applications to my ROM. The ms_.nbf space is 16MB and If I add my appls I am over that limit by 100kB.
The problem is, that largest CAB is T-mobileCZ customization CAB. I want only something from this CAB. I want to remove Themes, Helps, some settings and so on.
Is any possibility to remove fome stuff from instalation CAB file - respectively "re-pack" it?
Something like reengeneer the instalation sources, remove something and make new instalation CAB?
Thanks for help.
Use WinCE cab-manager, that will do the job.
Are you able to save files in the extended ROM?
My Xda II 1.6.50 ROM is write-protected - how do I unprotect it?
WinCE CAB Manager is right. I just modify my operator customize CABs and cooked my own ROM. All seems to be perfect...
Thanks...
Southern_Man said:
Are you able to save files in the extended ROM?
My Xda II 1.6.50 ROM is write-protected - how do I unprotect it?
Click to expand...
Click to collapse
Code:
xda2nbftool -x ms_.nbf ms.nba 0x20040305

What does it do with the raw files of the dumped ROM??

I have begged my friend to dump the HK local ROM (from 838pro) for me. I have a Taiwanese CHT9000. After reading the previous articles, it seems that the files in my hand (3 raw files) cannot flash the ROM into my CHT9000. Is that correct? So, what's the purpose of dumping the ROM?
Sorry...I am the beginner here.
http://wiki.xda-developers.com/index.php?pagename=Hermes_UpgradeFAQ
Is it possible extract a ROM from a device and convert it to a flashable ROM? (to have a Backup or to flash it on another device)
Short answer: No, it is not possible.
Long answer: A ROM consists of 7 parts:
1. Extended ROM
2. OS Image
3. IPL (part of bootloader)
4. SPL (part of bootloader)
5. Splash screen
6. HTC Logo (normally uses the same image as the splash screen)
7. GSM radio code
You can dump the original rom, but only the things contained in the FLASH will be dumped, this does not include the IPL, SPL, splash and radio parts, so its unuseful for flashing it back.
Theoretically: if you would have the private keys for one of the 3 certificates stored in the bootloader, used to verify .nbh files, you would be able to create your own .nbh file, and flash it.
Click to expand...
Click to collapse
Hi pof,
Yes. I have read that. So, what's the answer? What does those raw files do? What's the purpose of getting the FLASH dumped? For development?
I used them mainly to see diffs betwen roms / vendors OS bundle and extract files from ROM. You can make a modified OS image out of a dumped OS rom, so when we will be able to flash our own code (see SD-image flashing on the wiki) you can delete unuseful files (help, images...) and add programs directly to the rom... but there's a lot of work to do until we reach that, and very few people can help in the research
Hi
I have another problem. I have dumped my MDA Vario II German ROM and extracted the Part02.raw.
If I try to use the extracted .cab files, the installation fails. Even I can't open the .cabs with Winrar.The files are damaged.
I've tested it with an other Part02.raw from the Developers FTP with the same result.
What's wrong ?
It semms, that the ROM dump ist useless.
Even, you can't use the midi and wave files.Also bmp and jpg files have the same problem.
Couriosity is, that some files work and most not.
I think it's the same problem with other parts of the romdump.
Hey guys
I dumped the black2.5 rom, hoping to make some modifications to the unlock app. Now I have a .raw image, but I am a little unsure as to reading it. I downloaded duttys koch, but I dont think that was the right approach. Im not seeing anything on the wiki, and my searching has brought me here. Can anyone point me in the right direction? Thanks.
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
pof said:
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
Click to expand...
Click to collapse
Hopefully a little humor won't get me in trouble, but with dutty's koch, tadzio's tool and bepe's package - you should have everything you need
@pof thanks a bunch!
@todd ahhhh yeeaaahh... <70's pr0n music.wav>

OS Bad Block Checker

Ok, here it is; this file will take any OS.nb and analyze it for bad blocks; it won't tell you if the OS is properly valid or not, but it can tell you if flashing it will bollocks up your Hermes or not.
no warranties as usual; and it's also quite faster without the progress bar turned on, just to let you know.
Fabulous!!
Now I can safely test the new OS building process I want to use for WMXL v0.30
Another safety measure for the Hermes.
this is only getting better.
You got to love this forum, great work guys
thanks again Olipro, that one will be handy
Thanks so much, great work as always; we've been quite spoiled with new tools these last few weeks! The Hermes time has truely come!
Olipro, mate truly another great tool... its getting hard to keep up... how about a wrap up thread of your tools....
yes, a "wrap-up" thread will come in the form of ROM Kitchen which I will have released within the next two weeks... should be good
OS.db
How can I get an OS.db?
I only have RUU....exe ROMs and i do not know how to obtain OS.db from it?
Can anybody help me or send me an OS.db for me to reconstruct a dumped ROM for SPV M3100 orange spain?
Thank you.
.nb
Olipro was talking about the os.nb, there's no os.db file.
You have to unpack your exe file, there should be
.) ruu.exe
and
.) ruu_signed.nbh
in it.
Then you have to use duttys good nbhtool to extract the os.nb from this ruu_signed.nbh. Its not possible to send you a .nb file because its at about 70 megs.
Thank you.
But the roms files that i download are *.exe and if i double click it, an installation window appear.
How can i extract the files you say from this *.exe?
You have to install winrar or winzip first then click with the right mouse button on this .exe and extract it to a folder.
But honestly said (and with all due respect): If you don't know how to extract a file its better to do not anything with this file nor to flash it. Because its possible to brick a device during flashing and its a long, long way to unbrick it, especially without computer knowledge and comprehension.
Thank you.
I agree with you that if i do not know how to extract a file, it is better not to do anything more complicated.
But I have extract and comprime files lots of time, the problem was that, until now, i had only ROM files from HTC and this file is an exe, not a compromed exe. So I cannot extract anything. I answer thinking that with a special programm it was possible to extract the file from this *.exe.
Now I have download a ROM from Schaps and I have got the nbh file without problems.
Thanks.
Is there a os checker for files .nbh ?

ROM Cooking Information For Gene (P3400 / D600)

Tools I have tried so far to cook a personalised ROM for my Gene: (Authors name mentioned in green)
Tool to dump OS.nb and ExtROM.nb directly from Gene to SD card - Attached. Usage information here (Orefkov)
Tool to edit registry (default and user rgu files) for Gene - In this forum here (Orefkov)
HyperCore Kitchen from Anichillus (Includes the PKGTool, IMFG Tools and BuilOS) Device & Settings txt files for HyperCore to cook for Gene are attached here (Anichillus)
MSFlshTool from Scoter Kitchen for extracting the XIP out of OS.nb (procedure) (Scoter Kitchen)
Tool for extracting XIP out of OS.nb properly with procedures here (Anichillus)
XIPTool for dumping the extract .bin file and XIPPort tool for porting the core - Attached (Bepe)
Tools for relocating modules and files in XIP found here (Misar)
BuildOS tool from Kaiser Kitchen (Its got package tool and porting tool built-in) (Alex)
BenThon's MSCEInf and Ervius Package Creator to the for creating OEM Packages out of Cabs. Tutorial refered to creating the packages is here (Ervius & BenThon)
HTC ROM Tools for creating final .nbh file - Attached (Dutty)
FlashBootSplash tool for creating first splash screens - Attached. Usage information here (Vukile)
TFAT Image Editor for editing ExtROM (author unknown)
HSPL for Gene to be able to flash custom ROMs here - (procedure) (Olipro)
Excellent guidance for upgrading Gene ROM by Mobix here (Mobix)
I know there are a lot many other files for editing the rgu files and creating hv files but I didnt try them. I dumped the ROM successfully and still learning to delete or add packages. Although I am not saying that I successfully flashed my Gene with the ROM I cooked, but learning never stops till someone expert comes along to explain things and to guide us cooking wannabes to a nice kitchen and a nice personalised ROM Your suggestions and guidance and advices are all more than welcomed here
The post below is where I am going to post the packages I create and the one below that is where I am going to put up the problems I face so no one else will repeat and brick their phones
Also attached the original Gene RUU, just in case
I did my part of dumping the OS.nb in HyperCore as mentioned in anichillus's thread here. Then I used the package tool to make packages from the dump and transfer the SYS and OEM folder to Build. I haven't yet mastered the art of adding or deleting the packages here but I certainly deleted the useless images and theme files which eats up space. Post that I did the BuildOS which created the OS-New.nb very nicely. Used HTCrT tool to create the new RUU_Signed.nbh with the OS and ExtRom. While flashing the RUU showed "Flash Write Error" at about 99%. Need guidance after or prior to that, although will not stop trying and will keep posting the progress so far here
OEM Packages created by me
(A) OEM Packages created by me with Alex's procedures:
DciNoBar
FTouchFlo_V1_4_1
FTouchFloConfig_V0_9
HomePluginWM6
LG_Today_Buttons-ENG
PCMKeyboardEN-0_13
Schaps_AdvancedConfig_v2_1_0_0
SMSDRFixWM5
Spacer2_ARM
DOWNLOAD Package A
Problems I have faced so far
When I tried to recreate the hive files (default and user) Problem was faced in default.hv. Attached CMD screen, default.rgu and boot.rgu file - Solution: Found by Orefkov here
After I tried to flash my Gene with my custom cooked ROM, it left me with a blank phone. Although I passed the 1st splash screen then it was blank - Solution: Found by Anichillus here
Thanks to following experts for guiding me and lending a helping hand
Anichillus, Villaboy25, Nirvana1981, Orefkov, C_Shekhar
@ammet .. from where do we get OS.nb file ?? all i have is the WM6 .nbh file.
mobix said:
@ammet .. from where do we get OS.nb file ?? all i have is the WM6 .nbh file.
Click to expand...
Click to collapse
updated the first thread on first point sorry, forgot to add in first place
Error at 99% of flashing - dont use Tadzio imgfs tools, its make smaller nb file, and its not work on gene. Use mamaich's imgfs tools.
orefkov said:
Error at 99% of flashing - dont use Tadzio imgfs tools, its make smaller nb file, and its not work on gene. Use mamaich's imgfs tools.
Click to expand...
Click to collapse
that is great inputs my friend.. can u be kind enough to also post the link to these tools? please.. it will be easier to arrange for all readers
@orefkov
did your gene comeback?
did it die?
Work with registry.
Some key's names in gene registry have '\' (slash) symbol in it.
Rgucomp dont work with this. You need replace '\' in key's names on '\\'.
I write simple script for it.
try to make the chs rom ver.
but need your help.
nirvana1981 said:
@orefkov
did your gene comeback?
did it die?
Click to expand...
Click to collapse
My old gene is die, but Im got money back and bay new gene.
guys.. i request you all to post your inputs as simple as possible so every noob can also understand your expert inputs u guys are cool
nirvana: what is chm rom?
orefkov: what does the regedit do and what should be edited exactly?
did you try to enlarge the rom , del the extrom ? it's unuseful.
orefkov said:
Work with registry.
Some key's names in gene registry have '\' (slash) symbol in it.
Rgucomp dont work with this. You need replace '\' in key's names on '\\'.
I write simple script for it.
Click to expand...
Click to collapse
did u check my third post for the solution that is not yet found? can u guide us all on that problem?
can use it ,and make extrom work. got 10m free.
nirvana1981 said:
can use it ,and make extrom work. got 10m free.
Click to expand...
Click to collapse
brother... please tell us all what u guys talking about also how do we also claim that extra space and did u reply to the pm i sent? please
ababrekar said:
did u check my third post for the solution that is not yet found? can u guide us all on that problem?
Click to expand...
Click to collapse
Just download this archive, and read readme.txt in it.
orefkov said:
Just download this archive, and read readme.txt in it.
Click to expand...
Click to collapse
i did download ur archieve... saw the readme.. so should i just run both batch files without editing anything? i dont need to edit anything right?
by the way.. updated the first post with the archieve, it will be easier for others to follow
after fighting for few hours and numerous changes i was able to complete the first step, of getting OS dump using Hypercore Kitchen. Now it seems I'll have to redo some part again tonite !
mobix said:
after fighting for few hours and numerous changes i was able to complete the first step, of getting OS dump using Hypercore Kitchen. Now it seems I'll have to redo some part again tonite !
Click to expand...
Click to collapse
orefkov has posted a reply here in above post... check it out http://forum.xda-developers.com/showpost.php?p=1963703&postcount=6

adding OEM to .nbh file

I dont want to create a whole new rom, just add something to an already great rom.
How do you add an oem program to a .nbh file? I looked ,but all the cooking tutorials were not for .nbh files, but from dumped roms.
Thanks for any help.
Packrat said:
I dont want to create a whole new rom, just add something to an already great rom.
How do you add an oem program to a .nbh file? I looked ,but all the cooking tutorials were not for .nbh files, but from dumped roms.
Thanks for any help.
Click to expand...
Click to collapse
Hmmm ... to add an OEM Package to an NBH, you need to cook an entire ROM. That means, you'll need to dump the "already great rom" (hopefully, it contains the DSM files to allow you to create the packages it contains), add in the new package, and then reconstruct it back to an NBH.
There are a lot of good writings in these forums that teach you how to do this, and the tools are plentiful. I suggest you search ALL the forums and Wiki's (not just Hermes), as many have excellent materials that will help guide you on your way in cooking.
Good luck,
-pvs

Categories

Resources