tool convert .nbf to .nb1 - JAM, MDA Compact, S100 Software Upgrading

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

Related

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?

(LG GW620) - KDZ to IMG Help!

Hi everyone!
I'm asking for a fix!
I did the conversion of files for all existing tutorials and it doesn't work!
Procedure:
========
1) Downloaded at LG sources my original Firmware: V10B_00.KDZ
2) Extract .CAB files by LG Utils, Extract with Winrar the dz.file, Extract files by DzDecrypt
Now I used CYGWIN Linux apps emulator:
===============================
3) Used unmbn to generate zImage_Ramdisk.mbn.new
4) Extract all system files with unyaffsmbn
Note: a error happens when i try to extract APKs: "invalid CEN header (bad signature)", All other system files are ok!
What i should do?
Note2: Can someone convert this files for me without errors?
h t t p ://csmg.lgmobile.com:9002 /swdata /WEBSW /GW620f /ABTMBK /V10b_00 /V10B_00.kdz
Thanks!
No one can help me?
Thks!
i know the process is right, but why only in gw620 the process doesn't work?

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT [No Cygwin] [No Linux]
***(Marshmallow Supported)***
Develop by MTK THAI ROM MODDER (Thiland) Group
Create Tool by: Kritsada Chaitan
SS:
Youtube : https://www.youtube.com/watch?v=nKYozWOETIU
-NOTE 1.-
***First Install Needed For Use This Tool.***
1. Java SDK
2. Python v3.xx
-NOTE 2.-
***First Copy system.new.dat , system.transfer.list To "Paste-DAT-Here" Folder.***
Download:
MEGA
Thank you Original Thread by: "xpirt" https://forum.xda-developers.com/member.php?u=5132229
Thanks for the tool
Bebooo43 said:
Thanks for the tool
Click to expand...
Click to collapse
Good.... ^^
It is a wonderful tool, brother.
is this tool works fine?
Getting error about incompatible operating system when recompressing dat so I tried on windows and got the same do I have to install the java or the phyton to a certain directory or the auto tool to a certain directory it extracted fine thanks in advance for the feedback
Can someone lend a hand.... Program works great. After removing a couple apps, one from 'app' another from 'priv-app', I made a zip file with 7zip and tried flashing but it fails. Is 7zip okay to make a zip file? was I not supposed to remove a 'priv-app' ? I can't find any solid guides on editing a MM rom. thanks in advance.
i succesfully unpack .dat files and repack .dat files (without edit anything) using this tool .
then i replace the repack .dat file to the rom and zip it and flash it .
but the problem is, when i flash i get error 7 system partition has unexpected contents after ota update . any solution ?
can't unpack system.new.dat cm14 (7.1)
Thank you very much, really useful
update - https://forum.xda-developers.com/an...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Is it work for N based ROMs
tooolll
worked for me also...
t.y.
please update it to new version waiting for it.

[Tool] unpack Repack nb0 Rom

***********************Unpack Repack nb0 Rom******************
Here Is a nb0 tool that unpacks and packs SUT nb0 factory images Used By Some manufactures like Infocus,
Requirements-
Window pc with java Installed
How to unpack
1. Paste your stock Rom File, something.nb0 in Tools Folder
2. Rename it to firmware.nb0
3. Run unpack.exe file hit enter , Done, check unpack Folder Your extracted Rom IS Present,
How To Repack-
1. cut whole Rom From unpack folder and paste in Repack Folder[ you can edit your images],
Like System app etc, don't change name]
2. Run Pack.exe hit enter Done,
3. Your New Rom Is readdy with the name System.nb0 in tools folder
Downloads-
MOD Edit :- Links Removed
bro after i unpack firmware.nb0 file theres no file that related to system.img.???
Incomplete unpacking
Sir please help to completely unpack nb0 file as sut is not working nor my phone's flashier with scatter file is available online. My phone is Infocus m330 with mediatek mt6592 chipset. It's bootloader locked with hard brick that not showing any sign of active other than when connected to pc can be flashed with v com drivers
Please help
Going to test it now ?
Thank you mate
link is dead
Thread Closed.
Thanks
SacredDeviL666.

Extract Build Number and baseband From Rom Flie with a script

Hi Forum Members,
How can i extract build number and baseband from a rom file , i've zip file extracted with those files inside :
AP_G930FXXU1DQBQ_CL10273029_QB12503844_REV00_user_low_ship_meta.tar.md5
BL_G930FXXU1DQBQ_CL10273029_QB12503844_REV00_user_low_ship.tar.md5
CP_G930FXXU1DPLT_CL10273029_QB12087645_REV00_user_low_ship.tar.md5
CSC_DPX_G930FDPX1DQB5_CL10456414_QB12558228_REV00_user_low_ship.tar.md5
HOME_CSC_DPX_G930FDPX1DQB5_CL10456414_QB12558228_REV00_user_low_ship.tar.md5
i try to check with those tool without luck ext4_unpacker and ext2explore.
Any recommendation to do it via scripts ?
Thanks!

Categories

Resources