After downloading Jeff Summer's rom (.exe file), I tried clicking on it to extract the files...no good.
Then I used Winzip and extracted to C:\windows\temp.
Next I click on start.bat and the dos window comes up stating NBF directory not in the C:\windows\temp directory?
I move the nbf file to this directory and the uprgrade process starts.
Next I get Error 012
"Rom image that you are trying to upgrade is not compatible to your Pocket PC.
Your device
ModelW10B1
Rom version 3.14
Lang: english
Your upgraded image information:
ModelW10A1
Rom version 3.17
Lang: english
Please download comaptible utility."
What the hell went wrong??
:? :?
Sound like you extracted everything in one directory instead of in the directories mentioned in the self-extracting exe. Or something similar.
Not exactly. Here's what I did as best as I can remember.
When I clicked on the .exe file, a dos box opened, gave me an error message that it could not find the nbf directory.
Then I used winzip to extract the files into the same directoy as the .exe file.
From there I tried running the start.bat file. Still no good.
What finally worked was a strange combination of clicking on the .exe file and then immediately clicking on start.bat. This was after I moved the nbf file from the \english subdirectory to the subdirectory that had the .exe file.
It was a strange work around, but it work and the rom loaded and seems to work well.
I am getting the same problem here but I havent been able to work around it. I tried what worked for you without success.
Spent a lot of time on it, trying to figure out what went wrong with mkrom when cooking 4.00.xx roms. finally figured it, well, almostly. here is a short step by step tutorial for people who do not want to set up the complicated kitchen but wish to use mkrom as in the good old 3.17 time.
I assume you already know the rom flush process already, if given a NBF file. also you need a linux box with perl.
I know quite a few people struggled and have not had a clue. and I believe there is some bugs in the mkrom package that gives the trouble.
1. download the newest mkrom from http://xda-developers.com/~itsme/download/mkrom_136.zip. this is the only piece of software you would need.
2. unpack it to, say mkrom, directory. then make directories cfg
3. get hold of a copy of rom file and its corresponding paramter files. the parameter files can be obtained from the demo kitch download ftp://kitchen:[email protected]/data look inside the "00_base ROM" and the parameter files should be under cfg directory of each rom directory. bascially the parameter files tells mkrom, where to start to put added files and how large space there is. there are two blocks of space that can be used. so the file has format
wincever=4
start1=81740000
size1=00040000
start2=81b00000
size2=003c0000
startbmp=81ec0000
startop=81b00000
the first three lines are same for all 4.00.xx roms, start2 varies for different roms, startbmp is also the same for all roms. startop should be the same as start2. size2 will be startbmp-start2, remember they are all in hex. you can calculate how large space there is once you get hold of the start2 parameter.
anyway, put the parameter files under the mkrom/cfg directory, with name "params"
4. copy a rom file (.nbf), say rom.nbf, into mkrom directory and run "./setup rom.nbf". this will creates several files under cfg.
5. mkdir a directory mkrom/romfile, enter it and make another directory file , then type "../dumprom ../cfg/rom.nb1 -4 -d file"
here comes the first bug. the setup.sh tells you that dumprom can only be used in windows box. but in fact, there is a compiled dumprom for linux in the directory (you might need to set it to be executable though). however, this linux version does not put extracted files into the "file" directory as it is supposed to, instead it just write file as "file\xxx" where xxx is the actual file name extracted from rom. it is a bug but as long as we know it, not a big deal. the is someone posted a correct version of dumprom in this forum though.
6. you should be able to find three files (or with the "file\" prefix added) with name default.fdf initobj.dat initdb.ini. these are the three files that needs to be process as indicated by setup.sh. follow the instruction to create the default.reg initobj.txt initdb.ini and copy them to cfg directory.
7. make a directory mkdir/files. you are ready to create a clean rom now by running "./mkrom output.nbf", the created output.nbf should be fine.
So far so good, followed the instruction of mkrom. next would need to add our files. then comes the problem. if you add files into the mkrom/files directory, and run "./mkrom output.nbf" again, it is almost definitely that the created rom is bad. I am not 100% sure why, but here is what I believe:
the mkrom script scan files in the "files" directory and put files in there into the "files1", "files2" directory, each of them is supposed to fill the two space in rom starting from "start1" and "start2" in parameter file. the size of files under "file1" should be less than "size1", similar "files2" and 'size2". when mkrom does this, it is highly possible that the three critial files "default.fdf, initobj.dat, initdb.ini" are placed into "files2" directory instead of "files1" directory and renders the rom bad.
here is what I did
edit the mkrom.sh, delete the line that splits files in "files" into "files1, files2" directory. change the three lines that convert the three critial files so that these three files are created in "files1" directory instead of "files" directory. then put your files into "files1" and "files2". just be careful, keep the size less than specified by "size1" and "size2".
then you can run "./mkrom.sh output.nbf" as before, and the resulted rom will be good.
hope this helps. however still a couple of problems
1. the fdf2reg.pl won't recoganize the default.fdf extracted from 4.00.21 rom or 4.01.00 rom
2. if i change the content of initobj.txt, the created rom won't boot. I might have done something wrong in initobj.txt though. but I used to be able to do this for 3.17 rom
3. I did not try to modify registry, as my only purpose is to put my files into ROM to save space. all registry can be done later by installing the software and choose not to overwrite existing files in ROM. must simpler.
the unix version of dumprom does not decompress files, that is why your default.fdf etc seem corrupted.
this is because I only have the decompression code in the form of a binary library, which I have not figured out how to link to under linux.
the only use of dumprom under unix is to find the offsets in rom where filepointers to default.fdf etc should be patched.
I should maybe disable the '-f' option in dumprom for the unix version, to make things less confusing.
but it looks to me that the dumprom under linux worked for pre- 4.00.16 rom. only not for after 4.00.21 roms. so are they different?
maybe the default.fdf was not compressed in the 3.x roms?
I am quite sure it does not work for compressed files under linux - I just did not implement the compression routines.
dumprom worked with 4.00.05 4.00.11 4.00.16 roms. I cooked 4.00.11 and 4.00.16 roms, and the rom was fine. I never used windows box during the process. only when i tried 4.00.21 and 4.01.00, there was error. anyway, i don't care, since I need as much rom as possible and 4.00.11 seems to be the best choice for me.
thanks for writting mkrom, a terrific tool. I don't like the way xda-developers.com promoting kitchen but not mkrom. mkrom is much simpler to setup and run, as long as you know about linux. the kitchen is much more complicated to get it to work and most people don't actually need such flexibility I believe.
ok i installed cygiwin and was with u till step 5, then i am lost.. when i run step 6 dumprom (in DOS) gives me an ewrror here atr the first few lines from dumprom( wiht latest ATT official release)
img 00000000 : hdr=8c0a1000 base=8c078000 commandlineoffset=8c077fe0
img 00040000 : hdr=800cdde0 base=80000000 commandlineoffset=7fffffe0
img 00180000 : hdr=8024db88 base=80000000 commandlineoffset=7fffffe0
img 00380000 : hdr=8039b334 base=80000000 commandlineoffset=7fffffe0
img 00670000 : hdr=80be2c40 base=80000000 commandlineoffset=7fffffe0
img 00c00000 : hdr=80e99400 base=80000000 commandlineoffset=7fffffe0
img 01050000 : hdr=813efc74 base=80000000 commandlineoffset=7fffffe0
img 01400000 : hdr=815d2ba4 base=80000000 commandlineoffset=7fffffe0
img 015f0000 : hdr=815f0650 base=80000000 commandlineoffset=7fffffe0
img 017c0000 : hdr=81bba0a4 base=80000000 commandlineoffset=7fffffe0
ERROR: could not find pointer for ofs 8c0a1000
invalid romhdr ofs 8c0a1000
ERROR: could not find pointer for ofs 00000000
7fffffe0 - 80000000 L00000020 unknown 30315750 452d3142 412d474e 2d30332e 2d353030 62373239 2d2d2d2d 2d2d2d2d
80000000 - 80000004 L00000004 romsection id=ea0003fe
80000004 - 80000040 L0000003c NUL
80000040 - 80000048 L00000008 'ECEC' -> 8c0a1000
errorsgalore...
so help me here how do i make sure the files extracted are all good also the size (as per ) windows explorer is 33+ not sure how all has been installed in the 32mb rom
did you get default.fdf initobj.dat initdb.ini out of dumprom. dumprom also reported tons of errors but as long as you get the three files out, it is ok.
Dumprom tries to figure out for each byte in the rom what it does. If it doesn't know it says 'unknown' this is not an error, just that dumprom could not determine the use of this byte. The 'could not find 00000000' message means that it encountered a NULL pointer somewhere in rom where it did not expect it, the other one is a pointer to RAM, which dumprom does not know exists. You can safely ignore these errors.
Dumprom was initially written to assist in figuring out what I did not know about the rom, so it tries to figure out stuff that is unknown. Later I added the code to extract files to it. Maybe I should split dumprom in one research tool, to do a detail examination of the rom, and one tool to only extract files.
Most files in rom are compressed, that is why they are more than 33M when uncompressed.
ok i understande the messages...
now here is what i did
ran ssnap and got a picture of the OS and did a compare and have a list of entries i want to add to registru and a folder with bunch of subfolders that need to be added on install
not sure how step 6 goes.. to convert the files to .reg and .txt and how/where do i add my files and registry entries....
any tips...
update...
i did fdf2reg and made a .reg file added my entries in there and then ran reg2fdf to recreatre the fdf...
i hope this is right now i need to fig out how to specify where the files i want added are to be copied i mean some go into windows some in new filders that need to be created...
plz tell me how to go forward.
you don't need to re-create the fdf file again, mkrom does it for you, you only need to take care of the default.reg file under cfg
I am not sure whether you can put files under directories other than \windows only. I did not try that. I suppose all files under /files1 and /files2 go to \windows directory just they happen to locate in different memory location in ROM
Hi all
I have a problem with unpacking the ROM file.
I've downloaded the file NL_11300_131_11200.exe and in the tutorial it says right click and unpack. Now I allready have Winrar but all I can choose is Add and Compress options no Unpack option.
Am I missing something?
thanks in advance
If you don't succeed with WinRar, try WinZip or just execute the exe-file & search in your temp folders for the .nbf files. Don't close the program before you copied those files to a save place.
M
Yes i tried to search the file *.nbf and *.nb1 on my computer while the setup is still on but it can't find any files.
I have 2 hardisc and i've allso search on the other one but no results.
i haven't tried winzip yet i'll try it now
Right-mouse click on the exe file and then select extract here. Files will be automatically placed in the same place where the exe file is.
Does anyone know to extract the nbf file from the romupdate utitlity of the prophet?
or where can I find the nbf file for the prophet in this forum? I need to make a rom image on my sd card..or can i do it using just the nba file in the customized rom upgrade?
When you run the exe, it puts all it's files into a temp dir, probably your %temp% dir.
I'm sure there's an extractor of some kind if you can't find the file you want just by searching your harddisk for the file you're after, after you run the installation executable.
Get winrar (http://www.rarlabs.com) and once its installed right click onthe .exe file and select extract to (it will provide a foldername the same as the original file) winrar will extract the contents of the exe file to a flder for you.
yup! i 've done it, but don't know how to download the nk.nbf to my sdcard so that it can be flashed from there? anyone know?
People says to name it RUU_signed.nbh but its bull****. What is needed its OS.nb I extracted my .nbh files from my .exe rom with winrar then i use NBHextract.exe with command promt. I get a bunch of .nb files, i take 06_OS.nb and rename it OS.nb and place it in Hypercore\Extract\Source and when i run DumpRom it says there is no OS.nb file. I tryed even by let it names 06_OS.nb and doesnt work. Tryed to name it RUU_signed.nbh and doesnt work. Even tryed to but the real RUU_signed.nbh and doesnt work. Then i clicked on Dump DIX. I foud that this little program work with OS.nb and when it open it quickly open the directory you have to put your OS.nb so i did. I ran Dump DIX again and says there is no OS.nb and opened the directory automatically so i can put it but it was already there. So it mean my OS.nb file is completely invisible and i really dont understand why. After that i saw there is 2 shortcut that open a command prompt and they are Extract folder and RUU forlder. When i click on them both says there is no Extract Folder and no RUU forlder. Is there someone out there that know the answer?
General Software Questions
May I reccomend posting it in the General Software Questions thread on the top of the page. You'll get an answer there if you follow the instructions. Im almost sure of it.
Just a reccomendation to try it.