can we reconstruct a dumped ROM like this - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

use the instruction to dump the rom:
pdocread.exe 0x0 0x2200000 os.nb
then translate os.nb to nk.nbf
use RUU to flash it to the device

kejian2000 said:
use the instruction to dump the rom:
pdocread.exe 0x0 0x2200000 os.nb
then translate os.nb to nk.nbf
use RUU to flash it to the device
Click to expand...
Click to collapse
You must give us more information about what you are doing...
NBF? This is not the Kaiser format for RUU, this is for Wizard (i remember).
For dumping and reconstruct the ROM from your device take a look at this thread...
http://forum.xda-developers.com/showthread.php?t=337066
Cheers

Related

tool convert .nbf to .nb1

hello,
even if I have in the bootloader mode USB v. 1.0.2, I don't have the \\.\WCEUSBH001 for backup the ROM ( only port com1 and com2). Even trying to update ROM by MAupgrade_NOID.exe i have no result ( no id error and nothing happens)
- So I download and extract the current version of the rom, but all the files are *.nbf ---- even extracting files from the new ROM are in *.nbf
Does exist a tool to convert *.nbf files in nb1 for copy and paste the 416 bytes?
thank you.
nbfdec its on the ftp server i think ( in one of the guides on how to bigstorage ur rom it tell how to convert )
I tried to download nbfdec, but the rar archieve is damaged ...
however can someone please check this process and let me know if is it right ?
--- download the current version of my ROM from the web ( I cannot backup , romupdate does not regognize the usb port) ,
--- extract the .nbf files
--- convert these nbf ( 3 files) in nb1 using nbfdec
- convert the nbf files of the NEW ROM in nb1, and doing the operation of the 416 bytes
- copying the files to SD CARD
-- install new ROM from SD CARD
have anyone did this type of process before? does it work ? I cannot backup my rom , but I have the original nbf files ( i found on the web)
thank you very muh for an answer ,
Angelo
heres the nbfdec file i used when i Bigstoraged my rom sorry to say all the steps ur asking are beyond my ability ( converting and reconverting ) but heres the files u need

Flame Kitchen Tools Pre-Alpha v0.2

WARNING
A. USE AT YOUR OWN RISK OF BRICKING YOUR DEVICE.
B. Only try extraction on one FLAME WM5 NBA file.
C. Ignore nb0 to nba convert & flash part in Readme as it is still unknown. EDIT:They are the same
Consolidated by CWKJ
Many many thanks to all the people (long list of name) from XDA-DEV who have make the so many tools used here available.
The extraction part is an attempt by copying and adapt from SCOTER Kitchen by JKR I found in XDA-Dev.
The Add File, Delete File and Build is an attempt by copying and adapt from Laurentius Kitchen
Hope it is useful.
1. Extraction Steps,
i. Convert nk.nb0 or diskimage.nb0 file to nk.nba using "HTC64 Extended ROM Tool.exe". (WARNING: Have not try this as I do not have nb0 file and not sure the link between nb0 & nba, EDIT: they are actually the same, this step is not needed)
ii. Drag & Drop the nk.nba to Dump.lnk in "Extraction Room" to get Dump files in Tools (works with Russian Flame nk.nba file, download Flame_nk.rar from http://4pda.ru/forum/index.php?&showtopic=43333&st=60 or http://4pda.ru/forum/attach/839243/flame_nk.rar and extract nk.nba)
iii. If you want to view the Dump, make a copy from Tools to "Extraction Room".
2. Add Files
i. Using normal copy command, just add the Hibernate.exe file in Dump of Tools. (Example)
3. Delete Files
i. Using normal delete command, just delete the PMSN.cpl file in Dump of Tools. (Example)
4. Build (WARNING: Do not have the complete image in ROM XIP, Edit: http://xdaflameusers.com/viewtopic.php?id=256, Step 6i may brick your device)
i. After Step 2 & 3, run Package.lnk in "Extraction Room" to get Package files in "Extraction Room"
i. Copy the original nk.nba to Rom
ii. Copy Oem and Sys in Package to the Oem and the Sys in Flame Kitchen.
iii. In FlameKitchen, run BuildOs.exe, click the play button.
iv. After 4iii is completed with no errors, run CreateRom.cmd.
v. After 4iv is completed with no errors, you should see the new nk.nba.
vi. Convert nk.nba to nk.nb0 using "HTC64 Extended ROM Tool.exe". (WARNING: Have not try this as I do not have flashing tools, so not sure if this will brick your Flame, EDIT: They are actually the same, this step is not needed)
5. Check
i. To check if the files are added and deleted correctly into the new nk.nba by using the new nk.nba and go to Step 1ii.
6. Flash
i. No known tools yet. Edit: Flashing possible now, take care, http://www.xdaflameusers.com/viewtopic.php?pid=2045#p2045
Edit: New development, http://www.xdaflameusers.com/viewtopic.php?pid=2209#p2209
Flame Extraction Only Tools
WARNING
A. USE AT YOUR OWN RISK OF BRICKING YOUR DEVICE.
B. Only try extraction on one FLAME WM5 NBA file.
C. Ignore the nb0 to nba convert
Consolidated by CWKJ
Many many thanks to all the people (long list of name) from XDA-DEV who have make the so many tools used here available.
The extraction part is an attempt by copying and adapt from SCOTER Kitchen by JKR I found in XDA-Dev.
Hope it is useful.
Extraction Steps,
1. Convert nk.nb0 or diskimage.nb0 file to nk.nba using "HTC64 Extended ROM Tool.exe". (WARNING: Have not try this as I do not have nb0 file and not sure the link between nb0 & nba)
2. Drag & Drop the nk.nba to Dump.lnk in "Extraction Room" to get Dump files in Tools (works with Russian Flame nk.nba file, download Flame_nk.rar from http://4pda.ru/forum/index.php?&showtopic=43333&st=60 and extract nk.nba)
3. If you want to view the Dump, make a copy from Tools to "Extraction Room"
4. After Step 2 & 3, run Package.lnk in "Extraction Room" to get Package files in "Extraction Room"
No one try and feedback?
Good efforts. Dis-assembling is fine. But for re-assembling do you use scotter kitchen tools or something else inprovised by you??
For assembling, I modify a little from Laurentius Uni Kitchen.
Most of the tools are from the long list of gurus here, like Bepe, Buzz, Mamaich, etc.
If JKR's Scoter Kitchen way of assembling is friendly, I may try it out.
XIP found,
http://xdaflameusers.com/viewtopic.php?id=256
Today UP programer add 4400LOYTP0( Flame) in software
uni-tech said:
Today UP programer add 4400LOYTP0( Flame) in software
Click to expand...
Click to collapse
Sorry and pardon me, can I ask what is UP and what is 400LOYTP0
Some interesting development,
http://www.xdaflameusers.com/viewtopic.php?pid=2209#p2209
Some changes but not finalized to the Kitchen,
http://www.xdaflameusers.com/viewtopic.php?pid=2534#p2534
Flame Kitchen Tools Pre-Alpha v0.3
http://forum.xda-developers.com/showthread.php?t=355286
Can some kind soul please close the thread "Flame Kitchen Tools Pre-Alpha v0.2"?
Thanks.

Raw to nbh

Hi,
before flashing my spv e650 with the rom version 1.34.406, I dump the Original OS and now I've got three files - part00.raw,part01.raw,part02.raw - but now, I want to make the nbh file to purpose to the communauty.
I follow this wiki http://wiki.xda-developers.com/index.php?pagename=Elf_HowtoDumpRom
but i don't succeed.
This is that I did in the cmd windows
1 - prepare_imgfs.exe Part02.raw -nosplit
2 - viewimgfs.exe imgfs_raw_data.bin
3 - buildimgfs.exe imgfs_raw_data.bin
4 - nbhextract ruu_signed.nbh
5 - make_imgfs.exe 04_OS.nb -nosplit
In the HTCRT, I selected options as the picture.
My matter is that the files created is the same as the ruu_signed.nbh source.
If somebody can explain as I must do. Thanks
First of all this is not an Elf, but a Vox, so look at the Vox Wiki!
Then in HTCRT you have to select Excalibur to build a Vox ROM!
In my first experience, I follow the vox wiki but the execute of pkgtool.exe on the dump folder generate a error and the program stops!
So that the reason which I follow this wiki http://wiki.xda-developers.com/index...f_HowtoDumpRom
I retried the pkgtool.
Thanks for your answer

Dumping a ROM from pharos. Raw to nbh? -> ESN & ITA original ROMs here

Hello, I followed this tutorial to get a dump of my pharos original rom
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
I used the correct dump addresses for pharos in pdocreat and I got the raw files. But I need to flash it, I need the .nbh file to flash whit RUU, how can I convert the raw files to it?
Thanks
I've done a bit more. I used
prepare_imgfs Part02.raw -nosplit
and then
viewimgfs imgfs_raw_data.bin
And the raw was extracted. But when I use buildimgfs, it gives an error in waveapi.dll and stops, so I can't continue.
Anybody knows how to do it?
EDIT: I tried it on another PC and I could do it
First I used prepare_imgfs, then viewimgfs and then buildimgfs.
I use make_imgfs to rebuild the nb file and then htcrt tool included in DIY chicken.
I flash it to the pharos. It install ok, but when the installation finishes, the pda restarts and it hangs up in the bootsplash screen.
Any ideas?
jose_sonseca said:
I've done a bit more. I used
prepare_imgfs Part02.raw -nosplit
and then
viewimgfs imgfs_raw_data.bin
And the raw was extracted...
Anybody knows how to do it?
Click to expand...
Click to collapse
ok, stop here. Now run "dmp2pkg dump"; this command creates the two folders "SYS" and "OEM". When the process is completed browse into these folders, you should have all the OS files in package format. At this point you can delete dump folder and imgfs_raw_data.bin (if you want)
Download:
Pharos ROM Kitchen Tool by suracha
Pharos Official WWE ROM
NBHExtract by pof
Extract Pharos Kitchen tool in some place (eg. \Pharos\DIY)
Go to "\Pharos\DIY\Build" and rename "OEM" and "SYS" folder to "OEM.old", "SYS.old".
Copy your originals "OEM" and "SYS" folders to "\Pharos\DIY\Build" and leave it there...
Now you need the OS.nb from the official ROM. This file is inside RUU_signed.nbh.
.
Right click on RUU_Pharos_DOPODASIA_WWE_1.11.707.1_4.1.13.59_03.15.90_BLUE_Ship.exe that you have downloaded and choose "Open with WinRAR" or "Winzip --> Open with winzip" and extract RUU_Signed.nbh in some place, put NBHExtract.exe in the same place.
Open an MS-DOS window here and run "nbhextract ruu_signed.nbh".
Some files will be extracted:
D:\Pharos>nbhextract ruu_signed.nbh
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme per
Device: PHAR10000
CID: HTC__023
Version: 1.11.707.1
Language: USA
Extracting: 00_GSM.nb
Extracting: 01_IPL.nb
Extracting: 02_SPL.nb
Extracting: 03_MainSplash.nb
Encoding: 03_MainSplash.bmp
Extracting: 04_OS.nb
D:\Pharos>
.
Copy 04_OS.nb in "\Pharos\DIY\Build\ROM" folder and rename it to OS.nb.
Go to "OEM.old" folder and copy "OEMXIPKERNEL" folder to "OEM" folder.
Go to "SYS.old" folder and copy "MSXIPKernel" and "MSXIPKernelLTK" folders to "SYS" folder.
.
OK at this point you can build your ROM.
.
Go to DIY folder, double click on "1.BuildOS.bat" and start the process by clicking green arrow.
When done close BuildOS and launch "2.CreateOS.bat".
When done launch "3.htcROMTool.bat".
If its all ok you should have ruu_signed.nbh in "\Pharos\DIY\flash" folder, just run "ROMUpdateUtility.exe" and update your device.
Note that your device must have HardSPL patch for flash this ROM
bye
If my ROM is CHT after dump rom and follow your procedure to have nbh, the rom is still CHT or change to WWE?
poldo964, thanks a lot, I did it, but after flashing it, it hangs up in the bootsplash screen, now I'm reflashing your rom.
I'll retry al the steps with a fresh DIY installation, but I cannot do it until this sunday, then I'll tell you if it works. I finally I do it, I'll upload it here.
thanks
bye
ansonwefong said:
If my ROM is CHT after dump rom and follow your procedure to have nbh, the rom is still CHT or change to WWE?
Click to expand...
Click to collapse
CHT of course
jose_sonseca said:
poldo964, thanks a lot, I did it, but after flashing it, it hangs up in the bootsplash screen, now I'm reflashing your rom.
I'll retry al the steps with a fresh DIY installation, but I cannot do it until this sunday, then I'll tell you if it works. I finally I do it, I'll upload it here.
thanks
bye
Click to expand...
Click to collapse
ok, I suggest you to delete ruu_sighed.nbh in "\DIY\flash" folder and OS.nb in "\DIY\Build" folder before creating a new ROM.
Good idea to make an archive with all original ROM dumped
This is mine:
Pharos WM6.0 ITA Original ROM Dumped
bye
The entire process
I used the tools folder from this elf rom dump wiki page
Download "various tools"
Extract in C:\tools
--------------------------------------------------
prepare_imgfs Part02.raw -nosplit
Code:
C:\itsutils>prepare_imgfs Part02.raw -nosplit
Searching for IMGFS start... Found at 00000000
Dumping IMGFS ...
Done!
--------------------------------------------------
viewimgfs imgfs_raw_data.bin
too many text to paste here...
--------------------------------------------------
dmp2pkg dump
I got the dmp2pkg tool from scoter kitchen (dmp2pkg.exe & pkgcommon.dll)
This tool doesn't print any info on cmd. It creates a file called missing.txt on dump dir. It contains
Code:
SPLASHPackage
SPLASH (File)
HTCRSVPackage
HTCRSV (File)
SLockPackage
SLOCK (File)
GSMDATAPackage
GSMDATA (File)
MFGDATAPackage
MFGDATA (File)
SUNLOCKkPackage
SUNLOCK (File)
HTCLOGOPackage
HTCLOGO (File)
GSMCODEPackage
GSMCODE (File)
I got the two folders on dump, sys and oem.
--------------------------------------------------
Now I extracted the DIY kitchen to a new folder and I did steps 2 & 3
poldo964 said:
# Extract Pharos Kitchen tool in some place (eg. \Pharos\DIY)
# Go to "\Pharos\DIY\Build" and rename "OEM" and "SYS" folder to "OEM.old", "SYS.old".
# Copy your originals "OEM" and "SYS" folders to "\Pharos\DIY\Build" and leave it there...
Click to expand...
Click to collapse
--------------------------------------------------
STEP 4&5:
poldo964 said:
# Now you need the OS.nb from the official ROM. This file is inside RUU_signed.nbh.
.
# Right click on RUU_Pharos_DOPODASIA_WWE_1.11.707.1_4.1.13.59_03.1 5.90_BLUE_Ship.exe that you have downloaded and choose "Open with WinRAR" or "Winzip --> Open with winzip" and extract RUU_Signed.nbh in some place, put NBHExtract.exe in the same place.
# Open an MS-DOS window here and run "nbhextract ruu_signed.nbh".
Click to expand...
Click to collapse
nbhextract
Code:
C:\Pharos\org>nbhextract ruu_signed.nbh
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Device: PHAR10000
CID: HTC__023
Version: 1.11.707.1
Language: USA
Extracting: 00_GSM.nb
Extracting: 01_IPL.nb
Extracting: 02_SPL.nb
Extracting: 03_MainSplash.nb
Encoding: 03_MainSplash.bmp
Extracting: 04_OS.nb
The MD5 checksum of 04_OS.nb is D15A41631534AED76F212939C9E7D9C5
--------------------------------------------------
STEPS 6,7 & 8 done.
poldo964 said:
# Copy 04_OS.nb in "\Pharos\DIY\Build\ROM" folder and rename it to OS.nb.
# Go to "OEM.old" folder and copy "OEMXIPKERNEL" folder to "OEM" folder.
# Go to "SYS.old" folder and copy "MSXIPKernel" and "MSXIPKernelLTK" folders to "SYS" folder.
Click to expand...
Click to collapse
--------------------------------------------------
1.BuildOS.bat
Click on green arrow, it starts processing the rom folders. Some time later, it shows "done" on status bar. I closed it manually.
--------------------------------------------------
2.CreateOS.bat
It starts imgfsfromnb, extracts a lot of files and processes them.
It finishes with "done"
......
Processing "_sympad0409.txt" as file
Total Sectors: 0x24400
ImgfsToNb 2.0 RC 2
Done!
Patch OS.nb
Warning: OS.nb size will be patched from 0x4ee6000 to 0x632d000 bytes.
Done
Click to expand...
Click to collapse
--------------------------------------------------
3.htcROMTool.bat
Done without errors.
--------------------------------------------------
I flashed it. It restarted, but took too many time in bootsplash, but finally WORKED. I used an original splasboot image to remove the DIY kitchen image.
FILES
Original RAW file:
http://www.megaupload.com/?d=DR5H6XXM
Original splashboot "smart mobility" (found in pdamobiz):
http://www.megaupload.com/?d=1V19R0GK
http://rapidshare.com/files/135024793/Splash_Original.rar
Original Spanish ROM:
WM6.0 CE OS 5.2.1944
ROM version: 1.11.412.1 ESN
ROM date: 01/29/08
http://rapidshare.com/files/135355262/HTC_Pharos_Original_WM6.0_ROM_ESN.zip
poldo964, thanks a lot for your help, I’m grateful to you
jose_sonseca said:
.
.
.
I flashed it. It restarted, but took too many time in bootsplash, but finally WORKED. I used an original splasboot image to remove the DIY kitchen image.
.
.
.
Click to expand...
Click to collapse
well done sonseca
ROM uploaded finally
http://rapidshare.com/files/135355262/HTC_Pharos_Original_WM6.0_ROM_ESN.zip
Hi
I have some question.
I will receive my pharos next tuesday, and I'd like to create a dump.
So, i must extract .raw file using the tools, as discribe is this wiki : http://wiki.xda-developers.com/index.php?pagename=Elf_HowtoDumpRom
but, I don't understand what I must do next... I just want to create nbh file, without modification/kitchen... it is for backup! and so, I think i don't need do follow your entire process.
What I must do? fallowing the Elf wiki? But HTCromtool (in TOOLS.zip) doesn't include Pharos device.
I'm totally lost... (i'm Newbie in ppc)
Note that my backup will be a fuul backup, with radio/spl/ipl....
thanks for the help
Download the tools from the elf wiki.
You can get the raw file using this command
pdocread -w -d DSK1: -p Part02 0 0x5cc7000 part02.raw
Before using it, connect your pda throught activesync. Then execute it. If you get an error saying "application locked", you have to modify the pda registry
Code:
HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1
dword: any thing other than 1 disallows unsigned
dword: 1 allows unsigned
Your pda will ask you to execute some unsigned dll, allow it. The process take a while, so you have to wait.
When you have your raw file, then do the steps posted in this thread.
bye
why you extract only part02? we don't need to dump part00, partO1 abd part00 disk2 like this thread shown : http://forum.xda-developers.com/showthread.php?p=2118508
Teckynou said:
why you extract only part02? we don't need to dump part00, partO1 abd part00 disk2 like this thread shown : http://forum.xda-developers.com/showthread.php?p=2118508
Click to expand...
Click to collapse
You only need the part02 to backup your OS rom. Then you can build the rom from it. What's your pharos' language?
Cooked ROMs usually don't write SPL, IPL or radio.
jose_sonseca said:
I've done a bit more. I used
prepare_imgfs Part02.raw -nosplit
and then
viewimgfs imgfs_raw_data.bin
And the raw was extracted. But when I use buildimgfs, it gives an error in waveapi.dll and stops, so I can't continue.
Anybody knows how to do it?
EDIT: I tried it on another PC and I could do it
First I used prepare_imgfs, then viewimgfs and then buildimgfs.
I use make_imgfs to rebuild the nb file and then htcrt tool included in DIY chicken.
I flash it to the pharos. It install ok, but when the installation finishes, the pda restarts and it hangs up in the bootsplash screen.
Any ideas?
Click to expand...
Click to collapse
Hi, I just noticed you fixed your problem, but there is an easier solution.. You just had to skip 2 steps in the procedure described in that wiki. Here's my explanation:
http://forum.xda-developers.com/showpost.php?p=2522427&postcount=138
right i know i will get no help .... but ill still try
im trying to unpack an artemis os.nb.
but im stuck at the stage where i have a dump dir.
i cant get it into a sys and oem folder. tried everything i can think of.
but it seems that both package tool wont work, and also DMP2PKG.exe wont work.
strange thing is i extracted my pharos os with it, but probably deleted the file (dmp2pkg) i got a strange unreg notification, that it was known but regsrv32 couldnt find the "entrance" or something.
anyone know how to solve this?

how can build rom for samsung I320

the rom download
http://data.mofan.mobi/SamSung/I320/I320XXFI3.PDA.rar
i have try 2 use osnbtool to dump the bin file
but,can't working
and i find viewbin -d xx.bin can dump the rom with nb0 file
now,i need to know how can i made the nb0 file to be bin??and the osnbtool is can't working,too
do you know how can i update my sgh i320 with this?

Categories

Resources