yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] consam:
i can not find the UItools anywhere. Could you please upload it here ? ths
[8525, TyTN, MDA Vario II, JasJam ROM Development] monx®:
tadzio, u are great. now its time to BIG-STORAGE!
[8525, TyTN, MDA Vario II, JasJam ROM Development] jcespi2005:
ey, your ROM looks lovely :)

can you share to all of us?

Regards.
[8525, TyTN, MDA Vario II, JasJam ROM Development] BrightMoonHeart:
really cool tools, thank you!
[8525, TyTN, MDA Vario II, JasJam ROM Development] zoki:
There's must be I'm doing something wrong :( Using this tools I've created ROM image, it's smaller in size, but flashing it back to device storage size stays the same?
[8525, TyTN, MDA Vario II, JasJam ROM Development] consam:
aha,,,the same to me...
[8525, TyTN, MDA Vario II, JasJam ROM Development] Midget_1990:
its the same for universalm you anned a tool to repartition the DOC, im not sure if there is one for prophet, there isnt one for universal yet but i heard maimach was working on one :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] k0ster:
Midget_1990, zoki, consam

You know that i have the same thing. The storage didn`n change. :(

But i`m only make the UI, not the tools. May be mamaich could make the right tools for us.

The tadzio make this tools and show us that redusing rom-size is possible, and this is a great news.

I hope somebody fix errors in this tools and it`s will work on all devices.

P.S. Problem solved!
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Were you trying this on a Hermes? The Hermes does not use Disk-On-Chip, while others do. I am not familiar with the DOC layout and the control structures, ans my tools do not touch them. This is probably why you will currently not see an effect on non-Hermes devices. Someone with DOC knowledge needs to provide additional information here. :-)

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] margatenj:
Great job!

Anyone know of any sites that do RAM memory expansions? Like the guys over at pocketpctechs.com (I've checked their site, and searched on google nothing available).

Or maybe rip out everything thats not needed to make the phone/pda work, and make all the extras available as .cab add-ons?

Or even better, make OEM programs flashable instead, like Spb Mobile Shell, Sudoku (instead of that bubble-pop crap), CorePlayer (instead of Windows Media Player), IM+ (instead of Windows Messenger)...etc. This way you could do a hard-reset and still have it setup with what you need already (still) installed.
[8525, TyTN, MDA Vario II, JasJam ROM Development] VivaErBetis:
I think that spb and other brands prefer to sell their products to make them OEM.
[8525, TyTN, MDA Vario II, JasJam ROM Development] zoki:
No, I was trying it on wizard. I hope that someone will
[8525, TyTN, MDA Vario II, JasJam ROM Development] dle1232003:
i use both solitare and bubble breaker thanks :D but if someone was to create these games as add-ins to any new ROMS then i would be happy:)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Exel07:
Great tools, but...

I modified Asus p525 ROM with this utils.

While flashing i got "update fail" error, but after reboot i saw that its my modified ROM. But its still has the same free storage memory as it was before flashing.

Any ideas?
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Yes. Read the post two postings above yours. :-)

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] Exel07:
Oh... Sorry. Didnt mention it.

So no chance to use it with non hermes devices, right?

Maybe mDOC manuals can help?
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Well, I can certainly provide all information I have, but since I have no device that uses DOC, I can't test anything.

If you want to go into more details with the DOC stuff, I'm there, but let's continue in another forum, as it's irrelevant for Hermes devices.

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] chymmylt:
Hey Tadzio,

I've a question which I donno if you have an answer for. I've been working on trying to figure out how to cook a rom for my StrTrk. I was using the imgfs tools 186 which seemed to dump the os.nb files. However as I was trying to get it to work with the Koch with the help of (a very helpful and patient) Dutty, we figured out the issue is his tool uses v2 of the imgfs tools which no longer seem to be complatible. We think it has to do with NBSplit. It SEEMS the old version autodetected the structure of the .nb file where the current version has profiles for decompression (hermes, acer, etc) which it uses to determine the structure.

Is there anyway to get support for the StrTrk rom working again (of can you think of a work around or point me in the right direction to getting this working?)

Thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
No, mamaich's original version did not do any auto-detection, and my version is backward compatible with the original. All the "profile" parameter does is to determine the size of a block of "payload data" and the size of the "extra" data following each such block. For Hermes devices, it's 8 extra bytes every 512 bytes.

Unfortunately, I do not know the values for the StrTrk. My first guess would be that there are no extra bytes at all, which means you would not need to run NBSplit at all.

If you can ask over at the StrTrk forum for the correct values, I can easily implement explicit support for the StrTrk.

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] chymmylt:
Dude - you are WAY too smart :D just ran Imgfsfromnb.exe directly on the OS.bin and then imgfstodump on that and bam same results as the old version :) Now to see if I can get it going with the Koch!!! :) Thanks!!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] -=SH@RK=-:
Couldn't correctly split OS.nb file with the NBSplit tool. After split, ImgfsToNb coldn't extract files. Tried NBSplit with all avalaible parameters. But when I use ImgfsToNb with the imgfs_raw_data.bin made by prepare_imgfs.exe with parameter -nosplit everything is ok. Platform Tornado. Any ideas?
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Have you read the last two or three posts just above yours? :-)

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] K-Mile:
How about an extra 4 meg

I just took the standard, unmodified WM6 ROM that supplied by the Rom Koch, and got that one from 47Mb to 59Mb...

Don't know if it's been tried before, but a search on the forums gave no results:

Run UPX on all the EXE's in the ROM. This will pack the EXE's to the smallest size possible, while still functioning on WinCE. This reduced the size of all EXE's in the ROM from 10 Mb to 5 Mb.

I am currently working out the settings for DLL's, as that makes up the most part of the ROM. Compressing the DLL's got them from 60 Mb to 30 Mb, but I haven't been able to boot up the device past the splash screen with compressed DLL's.

Ofcourse, this adds some CPU and RAM overhead uncompressing the files, but that's only at boot time. Also, DLL's that are required by more than one program must be uncompressed for each program, and thus require more space than necessary.

BTW: My device also just failed to boot, while I was typing this, only compressing a few DLL's, so there seems to be something that's preventing me to run ANY compressed DLL on the device. Given overhead of each unpacked DLL, just compressing EXE's might be sufficient.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Midget_1990:
Just FYI upx is special as it is XIP (eXecute In Place) so there is NO RAM OVERHEAD.

i have been upxing things in roms since wm5 for BlueAngel days when we had to to cram it all into the 32mb ROM and i can tell you from experiance that about half the exes/dlls you compress will fail to function afterwards. Basically best solution is to go one by one, copy to device (no need to reflash) and test, but this takes a lot of time so maybe try in small batches?

Hopefully this is of some help :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Very good action! At least in the Hermes forums I haven't read about this before.

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] K-Mile:
Thanks for the update on the XIP. That's nice...

I have compressed all of the EXE's without any problems so far, but I haven't been able to do thourough testing of each exe, obviously. There used to be some problems, according to the forums, that have been resolved in the latest BETA (latest is of March 8) and they claim to be working even with maximum compression.

I've been trying DLL's, but no matter which one I try, or which compression setting, the device never boots beyond the HTC boot screen. Does that make sense?

Didn't know others have been doing this (but expected it!) when I searched the forum for 'UPX' it returned no results.. Didn't want to be reinventing the wheel here... At least I got used and comfortable with the cooking cycle, the first time it failed to boot did kinda freak me out :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] K-Mile:
Read all about it here:

http://upx.sourceforge.net/

Make sure to get the latest beta: 2.93w, and issue the following command when you pack it:

upx.exe -9 --strip-relocs=0 --compress-resources=0 --compress-icons=0 filename.exe

where '-9' is the compression level, could be: -1 ... -9, --best, --brute, or --ultra-brute

The other parameters provided best results for me so far. For more info, check the UPX forums.

If this doesn't work, the phone hangs at the HTC splash screen (at least for me..). Rebooting in Bootloader, and flashing the original ROM using RuuWrapper fixed it for me every time (phone is Hard-SPL, 1.40.Olipro, don't know if that matters anything before trying this).

BTW: I use Rom Koch for extracting and inserting the EXE's, and building the NBH.

This is what I do. Maybe Midget_1990 can provide some more details?
[8525, TyTN, MDA Vario II, JasJam ROM Development] -=SH@RK=-:
No:( Thanks.
[8525, TyTN, MDA Vario II, JasJam ROM Development] bannico:
Good job!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] roozbeh:
Well i know this is mostly hermes modifing tool,but as i saw in first post it is mentioned that it can be used on all wm image files,i was wondering to use it on my own device rom.

my rom comes just in .nb0 format.

using ImgfsFromNb and then imgfstodump i get some directory/dlls in dump directory,something like 7-8 files.

and also some of them are null size.

So,is there any ways i make these tools work on my rom?
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Probably. Which device do you have?

It seems most devices do not have the extra bytes after each sector at all, so try again without running NBsplit at all.

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] roozbeh:
it is moboda 3360/Hyunda A200

not pupular one,but well i have it :)

i can provide a link to rom if you are intrested :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] wpbear:
Tutorial to Make Storage

I was asked for a How-To.

Here it is:

Link to all the tools you need. They should unzip to the C:\temp folder. Make sure if you already have that folder that it is empty on your PC first.

Directions to do it yourself:

RUU-signed.nbh: Use ROMBaker and use NBHextract and extract NBH and take the OS.nb

Put OS.NB in same folder as the tools (C:\Temp)

At winxp cmd prompt (C:\Temp) enter C:\Temp\NBSplit -hermes OS.nb

Wait

At winxp cmd prompt (C:\Temp) enter C:\Temp\ImgfsFromNb OS.nb.payload imgfs.bin

Wait

At winxp cmd prompt (C:\Temp) enter C:\Temp\ImgfsToDump imgfs.bin

Wait

At winxp cmd prompt (C:\Temp) enter C:\Temp\ImgfsFromDump imgfs.bin imgfs-new.bin

Wait

At winxp cmd prompt (C:\Temp) enter C:\Temp\ImgfsToNb imgfs-new.bin os.nb.payload os-new.nb.payload

Wait

At winxp cmd prompt (C:\Temp) enter C:\Temp\NBMerge -hermes os-new.nb

Wait

Finanlly put the NBH back with the Radio/Splash/ExtRom etc...

Use ROMBaker and use NBHgen and generate RUUsigned.NBH using os-new.nb as the OS/Windows file.
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
Maybe is a dumb question...:confused:

But is it posible to remove things from the os.nb in the dump directory before creating the imgfs-new.bin??

Things like the help files in html format or the sample pictures and videos that are embeled in the ROM in order to gaing more free space...

I will like to try this before going all the way and remove apps I do not want (solitaire, PDF Viewer for example)

Thanks in advance for your help.

regards

Mablan
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Yes. That's actually the main idea behind this tool chain: to be able to edit a ROM by simply adding/removing/exchanging files. :-)

But also have a look at bepe's kitchen - it uses the imgfs tool chain, and additionally organizes the dump directory into packages and helps with the registry files. Both features make editing the ROM quite a bit simpler.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
:eek:

Does that mean that all I have to do is delete the folder/file I do not want from the dump directory and then rebuild de Os.nb with the reverse process of your tool...????

Or I'm missing some important part here ?

BTW thanks for your answer mate..!
[8525, TyTN, MDA Vario II, JasJam ROM Development] elklau:
I had built a new rom using this tools. Flashed to my Hermes but found that all the changes didn't take place (Welcomehead.96.png, Registries, and new files added were missing). Dump the newly cooked rom using this tool again and found all the changes were there. Any reason to cause such issue?
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
That is correct :). Look at the tutorial a few posts above this one. Between the two steps "ImgfsToDump" and "ImgfsFromDump", you can add/delete/change files in the dump directory.

To edit the registry, edit the .rgu files. However, these changes will take effect only if you run bepe's kitchen afterwards, as it builds the .hv files from the .rgu files.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Then you obviously did not flash the correct file. Have you followed all steps in the tutorial above?

Also, how did you edit the registry?

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] elklau:
I tried so many times and for sure the correct file was being flashed. The first try was done perfectly. But when I modified again to add some more files, the problem appeared.

I use the RGUCOMP tool to convert the .hv files and use UltraEdit to modify and saved in correct format. Use RGUCOMP again to convert back to .hv!

BTW, what's the limit on the rom?
[8525, TyTN, MDA Vario II, JasJam ROM Development] austinsnyc:
Every time i get an error saying "can not open Windows.nb file" wtf anyone please help here...
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
I do not know the exact limit, but due to the modifications I made to mamaich's tools, you can add around 8 MByte worth of data. If you run out of space, the tools will print an error message. So, if you don't see that error message, you're safe.

Just to make sure the build and flash process went okay, you should add a small text file with a version number in it to the dump directory. Increment that number every time you make changes to the dump directory, and after you have built and flashed your cooked ROM, look into that file on your PDA and cross-check the number there with the one in the dump directory.

Also, RGUCOMP is a bit picky about the .rgu files. bepe put in some extra processing in his kitchen to make that process more robust, so if you have problems with the registry, you could try bepe's kitchen.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
There is no Windows.nb file involved in the whole process. Which command are you trying to run wen you get that error message?

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] elklau:
Thanks tadzio!!! Will try again for what's going on.
[8525, TyTN, MDA Vario II, JasJam ROM Development] austinsnyc:
this is what i type C:\Documents and settings\Temp\NBSplit -Hermes Windows.nb

or i change the file name to OS.nb it doesnt matter i still get the error can not open file.
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
You have to use the name of your .nb file and that file has to be in the same directory where you have all the tools .exe

for example my .nb file is named 06_OS.nb, so I have to type :

NBSplit 06_OS.nb
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
I assume that your .nb file is in C:\Documents and Settings\Temp, right? Then first do a

cd \Documents and Settings\Temp

and then

NBSplit -hermes Windows.nb

Btw, I am quite sure that should be -hermes, not -Hermes. Can't check right now, as I'm away from my development PC.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] austinsnyc:
correct i do jusat as you have said in fact i have it open right in front of me right now. the same error message.

this is what i type exactly

for some reason my command prompt always starts at C:/documents and settings so here it is

C:\Documents and settings\owner\temp\NBSplit -hermes Windows.nb

the exact error message is -

NBSplit 2.0 RC 2 could not open input file

WTF errr this is the only thing i can get i can half way cook roms and do other things please help Tadzio

_______________________________________________________________________

THANK YOU THANK YOU

the cd \documents and settings\Owner\temp cleared everything up you are the MAN!!

thanks for the help and dealing with my dumb ass!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
So "C:\documents and settings" is your current (a.k.a. working) directory. You are familiar with the concept of a "current directory"?

That is not what I wrote. First type

cd \Documents and settings\owner\temp <return>

Your prompt should now read C:\Documents and settings\owner\temp

Then type

dir <return>

and verify that your Windows.nb file is listed.

If it is, type

NBSplit -hermes Windows.nb

and it should work.

If the 'dir' command does not list Windows.nb, then you made a mistake creating it.

Cheers

Daniel
[8525, TyTN, MDA Vario II, JasJam ROM Development] austinsnyc:
Yes it worked perfect your the man like i said above thank you very much for the help and for dealing with my dumb ass during this! I'm starting to get the hang of this after dealing with blackberry for 7 years...
[8525, TyTN, MDA Vario II, JasJam ROM Development] edhaas:
Hi Koster,

Could you share your solution? It would make my Wizard very happy:)

Thanks,
[8525, TyTN, MDA Vario II, JasJam ROM Development] jiggs:
tadzio tools on XDA Atom

Hi. I know this does not concern the Hermes, but its about tadzio tools.

I tried using your tools on an XDA Atom ROM; however, I can only dump 13 files. I think it's with the split routine because, if I use old mamaich tools with the split option, I can dump the files using ImgfsToDump. The ROM can easily be built by the old IMGFS tools. FYI, after a prepare_imgfs with the nb0 file, dumping starts at 0054000C / imgfs_raw_data.bin - 57,708kb / imgfs_removed_data.bin - 916kb/ Original nb0 ROM- 64,001kb

On the other hand, if I build the resulting bin of prepare_imgfs using ImgfsFromDump, the new.bin would be 38MB saving 40% from the original file - A VERY USEFUL TOOL!!! I just couldn't finalize the build because I don't have the original payload file. Although the Atom is a DOC device, the substantial savings in ROM would mean more built-in apps!

Can you help us with your tools?

Thanks in advance!
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
Well, if mamaich's version does the trick, then I should be able to fix my version so that it works, too. Can you send me all the ROM file and all information you have that I may need? (Just upload somewhere and PM me the location).

You'll need to give me a week or two, since I am currently quite busy with a completely diferent (not PocketPC related) project.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] jiggs:
tadzio tools on XDA Atom

Thank you very much! I have PMed you the link to the ROM file.
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
Little help needed...

@Tadzio

I've using your tool and it is very usefull!

I've dumping an os.nb file and removed some useles things like the sample pictures, some ringtones, etc...but I would like to remove some programs I don't like/use from the ROM...

Where can I learn about the ROM files??? I mean, in the dump directory are created a lot of folders with names that do not say too much for someone like me that it is not a guru or expert in cooking roms...where can I read or learn about this files...any guess would really be apreciated..!

Thanks in advance for your help.

Regards

Mablan
[8525, TyTN, MDA Vario II, JasJam ROM Development] pof:
@mablan: use Bepe's packagetool with the dump folder. It will make more sense to you after that ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
pof is right. The packages bepe's tool creates are also all I know.

Cheers

tadzio
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
Thank you both...!

I will give a try and let you know what did I get...
[8525, TyTN, MDA Vario II, JasJam ROM Development] peezy:
Hey Guys, Im trying to use the imgfstodump command, and I get the following:

C:\xda Rom tools\ImgfsTools2rc2b>imgfstodump.exe black.bin
ImgfsToDump 2.0 RC 2
guidBootSignature: F8 AC 2C 9D E3 D4 2B 4D BD 30 91 6E D8 4F 31
dwFSVersion: 00000001
dwSectorsPerHeaderBlock: 00000001
dwRunsPerFileHeader: 00000001
dwBytesPerHeader: 00000034
dwChunksPerSector: 00000008
dwFirstHeaderBlockOffset: 00000200
dwDataBlockSize: 00001000
szCompressionType: XPR
dwFreeSectorCount: 00000000
dwHiddenSectorCount: 00000100
dwUpdateModeFlag: 00000000

Address: 00000200, dwBlockSignature: 00003100
dwNextHeaderBlock: FFFBFFFD (size: FFFBFDFD)

Header type: 2F5314CE, Addr: 00000208
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: 0000023C
Unknown header type, FS_DATA_TABLE??

Header type: 00000400, Addr: 00000270
Unknown header type, FS_DATA_TABLE??

Header type: 00000480, Addr: 000002A4
Unknown header type, FS_DATA_TABLE??

Header type: 00000500, Addr: 000002D8
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: 0000030C
Unknown header type, FS_DATA_TABLE??

Header type: 00001380, Addr: 00000340
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: 00000374
Unknown header type, FS_DATA_TABLE??

Header type: 00001880, Addr: 000003A8
Unknown header type, FS_DATA_TABLE??

Address: FFFBFFFD, dwBlockSignature: 00000000
dwNextHeaderBlock: 00000000 (size: 00040003)

Header type: 00000000, Addr: FFFC0005
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC0039
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC006D
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC00A1
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC00D5
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC0109
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC013D
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC0171
Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: FFFC01A5
Unknown header type, FS_DATA_TABLE??

There is no dump subfolder created. There IS a dump.txt file created but it is empty. If have tried the method twice, with two different names. Any help would be greatly appreciated! Thanks

Edit: Just tried the nbdump batch as well. Seems like it only wants to dump portions of the image. grrrr........=(
[8525, TyTN, MDA Vario II, JasJam ROM Development] tadzio:
It seems the .nb file you're feeding into imgfstodump is not valid. How did you create it? And which device (Hermes?) are we talking about?

Cheers

tadzio